/* ==========================================================================
   MinieTech Custom User Auth (Login/Register) Portal Styling
   ========================================================================== */

/* Main Container */
.minietech-auth-container {
    display: flex;
    max-width: 1100px;
    margin: 4rem auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    min-height: 650px;
    border: 1px solid #e2e8f0;
}

/* Left Banner Column */
.minietech-auth-banner {
    flex: 1.1;
    position: relative;
    background: linear-gradient(135deg, #0b0c10 0%, #1a1c23 100%);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
}

.auth-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(147, 51, 234, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.auth-banner-content {
    position: relative;
    z-index: 2;
}

.auth-banner-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #3b82f6;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.auth-banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1.25rem 0;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-banner-sub {
    font-size: 1rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 2.5rem;
}

.auth-perks-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-perks-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.perk-icon {
    font-size: 1.5rem;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.perk-details {
    display: flex;
    flex-direction: column;
}

.perk-details strong {
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.15rem;
}

.perk-details span {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.auth-glowing-blob {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    filter: blur(80px);
    bottom: -50px;
    right: -50px;
    z-index: 1;
}

/* Right Form Wrapper Column */
.minietech-auth-form-wrap {
    flex: 1;
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

/* Tab Header */
.auth-tabs {
    display: flex;
    position: relative;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 3rem;
    padding-bottom: 0.5rem;
}

.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #64748b;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    text-align: center;
    outline: none;
    user-select: none;
}

.auth-tab-btn:hover {
    color: #0f172a;
}

.auth-tab-btn.active {
    color: #3b82f6;
}

.auth-tab-indicator {
    position: absolute;
    bottom: -2px;
    height: 2px;
    background: #3b82f6;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 99px;
}

.auth-single-title {
    margin-bottom: 2.5rem;
}

.auth-single-title h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.auth-single-title p {
    font-size: 0.9rem;
    color: #64748b;
}

/* Form Container & Panes */
.auth-panes {
    position: relative;
}

.auth-form-pane {
    animation: authFadeIn 0.4s ease forwards;
}

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auth Floating Input Groups */
.auth-input-group {
    position: relative;
    margin-bottom: 1.75rem;
}

.auth-input {
    width: 100%;
    padding: 1.1rem 1rem 0.9rem;
    font-size: 0.95rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
    outline: none;
    transition: all 0.25s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.auth-input:focus {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.auth-label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: #64748b;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    padding: 0 0.25rem;
}

.auth-input:focus~.auth-label,
.auth-input:not(:placeholder-shown)~.auth-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    background: #ffffff;
    color: #3b82f6;
    font-weight: 500;
}

.auth-input-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: all 0.3s ease;
}

.auth-input:focus~.auth-input-line {
    width: 100%;
    left: 0;
}

/* Password reveal specific styles */
.password-group {
    position: relative;
}

.password-group .auth-input {
    padding-right: 3rem;
}

.password-toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    outline: none;
}

.password-toggle-btn:hover {
    color: #0f172a;
}

.password-toggle-btn .eye-icon {
    font-size: 1.35rem;
}

/* Form Footer controls */
.auth-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

/* Custom Checkbox */
.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    color: #475569;
}

.auth-checkbox-label input {
    display: none;
}

.checkbox-box {
    width: 18px;
    height: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    background: #ffffff;
    transition: all 0.2s ease;
}

.auth-checkbox-label input:checked~.checkbox-box {
    background: #3b82f6;
    border-color: #3b82f6;
}

.auth-checkbox-label input:checked~.checkbox-box::after {
    content: "check";
    font-family: 'Material Symbols Outlined';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
}

.lost-password-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.lost-password-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    padding: 1.1rem 2rem;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    box-sizing: border-box;
    font-family: inherit;
}

.auth-submit-btn:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-submit-btn span {
    display: inline-block;
}

.auth-submit-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Info Note */
.auth-info-note {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* WooCommerce Alerts Override on Login Page */
.woocommerce-NoticeGroup-signin,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    max-width: 1100px;
    margin: 2rem auto 0 auto;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.woocommerce-error {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
    flex-direction: column;
    align-items: flex-start;
}

.woocommerce-error li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.woocommerce-error li::before {
    content: "error";
    font-family: 'Material Symbols Outlined';
    font-size: 1.25rem;
    color: #dc2626;
}

.woocommerce-message {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    color: #166534;
}

.woocommerce-message::before {
    content: "check_circle";
    font-family: 'Material Symbols Outlined';
    font-size: 1.25rem;
    color: #16a34a;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .minietech-auth-container {
        margin: 2rem 1.5rem;
        min-height: auto;
    }
}

@media (max-width: 820px) {
    .minietech-auth-container {
        flex-direction: column;
    }

    .minietech-auth-banner {
        padding: 3rem 2rem;
    }

    .auth-banner-title {
        font-size: 2rem;
    }

    .minietech-auth-form-wrap {
        padding: 3rem 2rem;
    }
}

/* ==========================================================================
   Clean Gateway Override: Center Logo, Spacing & Hide Header/Footer
   ========================================================================== */

/* Centered Logo above the Auth Panel */
.auth-centered-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4rem auto 0 auto;
    padding: 0 1rem;
    animation: authFadeIn 0.5s ease forwards;
}

.auth-centered-logo img {
    max-height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.auth-centered-logo img:hover {
    transform: scale(1.05);
}

/* Page spacing and centering layout for logged-out login/signup */
body.woocommerce-account:not(.logged-in) {
    background: #f8fafc !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    box-sizing: border-box;
}

body.woocommerce-account:not(.logged-in) #primary,
body.woocommerce-account:not(.logged-in) .site-main {
    margin: 0 auto !important;
    padding: 0 1.5rem 4rem 1.5rem !important;
    width: 100%;
    box-sizing: border-box;
}

/* Hide Default Page Title & Container Spacing defaults */
body.woocommerce-account:not(.logged-in) .entry-header {
    display: none !important;
}

/* Clean Portal: Completely Remove Header, Announcement, Navbar, and Footer elements */
body.woocommerce-account:not(.logged-in) .announcement-bar,
body.woocommerce-account:not(.logged-in) .nav-header,
body.woocommerce-account:not(.logged-in) #subnavStickyWrap,
body.woocommerce-account:not(.logged-in) .desktop-subnav,
body.woocommerce-account:not(.logged-in) footer,
body.woocommerce-account:not(.logged-in) .site-footer {
    display: none !important;
}

/* ==========================================================================
   MinieTech Custom Logged-In User Dashboard & Minimal Header Styling
   ========================================================================== */

/* Spacing Reset for WooCommerce account wrappers to support full viewport layout */
body.woocommerce-account .woocommerce {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-account #primary,
body.woocommerce-account .site-main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide standard website wrappers on My Account page */
body.woocommerce-account .announcement-bar,
body.woocommerce-account .nav-header,
body.woocommerce-account #subnavStickyWrap,
body.woocommerce-account .desktop-subnav,
body.woocommerce-account footer,
body.woocommerce-account .site-footer,
body.woocommerce-account .entry-header {
    display: none !important;
}

/* Page base background styling when in My Account area */
body.woocommerce-account {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
}

/* Minimal Header Bar */
.mt-acct-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    z-index: 999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

body.admin-bar .mt-acct-header {
    top: 32px;
}

.mt-acct-header-inner {
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Logo */
.mt-acct-logo {
    flex-shrink: 0;
    margin-right: 2.5rem;
}

.mt-acct-logo img {
    height: 52px;
    width: auto;
    display: block;
}

/* Desktop Navigation tabs */
.mt-acct-nav {
    flex: 1;
    height: 100%;
}

.mt-acct-tabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

.mt-acct-tabs li {
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mt-acct-tabs li a {
    display: flex !important;
    align-items: center;
    height: 100%;
    padding: 0 1.25rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

.mt-acct-tabs li a:hover {
    color: #0f172a !important;
}

.mt-acct-tabs li.is-active a {
    color: #3b82f6 !important;
    border-bottom-color: #3b82f6 !important;
}

/* Logout tab accent color */
.mt-acct-tabs li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #ef4444 !important;
}

.mt-acct-tabs li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    color: #b91c1c !important;
}

/* Mobile Hamburger button */
.mt-acct-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #0f172a;
    align-items: center;
    justify-content: center;
}

/* Right User Trigger Menu */
.mt-acct-user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.mt-acct-user-trigger {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.mt-acct-user-trigger:hover {
    color: #3b82f6;
}

.mt-acct-user-trigger span {
    font-size: 2.25rem;
}

/* User Profile Dropdown Card */
.mt-acct-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 250px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    z-index: 1000;
    animation: authFadeIn 0.3s ease;
}

.mt-acct-dropdown.is-open {
    display: block;
}

.mt-acct-dropdown-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mt-acct-dropdown-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.mt-acct-dropdown-email {
    font-size: 0.8rem;
    color: #64748b;
}

.mt-acct-dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mt-acct-dropdown-list li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.mt-acct-dropdown-list li a:hover {
    background: #f8fafc;
    color: #0f172a;
}

.mt-acct-dropdown-list li a span {
    font-size: 1.25rem;
}

.mt-dropdown-logout {
    color: #ef4444 !important;
    border-top: 1px solid #f1f5f9;
    margin-top: 0.25rem;
    padding-top: 0.75rem !important;
}

.mt-dropdown-logout:hover {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

/* Mobile Drawer Overlay */
.mt-acct-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1001;
}

.mt-acct-drawer-overlay.is-open {
    display: block;
}

/* Mobile Navigation Side Drawer */
.mt-acct-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: #ffffff;
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 40px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
}

.mt-acct-drawer.is-open {
    transform: translateX(0);
}

.mt-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mt-drawer-user {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mt-drawer-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.mt-drawer-email {
    font-size: 0.8rem;
    color: #64748b;
}

.mt-drawer-close {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: background 0.2s ease, color 0.2s ease;
}

.mt-drawer-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.mt-drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.mt-drawer-nav ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.mt-drawer-nav ul li {
    margin: 0 !important;
}

.mt-drawer-nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    border-left: 4px solid transparent;
}

.mt-drawer-nav ul li a:hover,
.mt-drawer-nav ul li.is-active a {
    background: #f8fafc;
    color: #3b82f6;
    border-left-color: #3b82f6;
}

.mt-drawer-nav ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #ef4444;
}

.mt-drawer-nav ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #fef2f2;
}

/* Account Body Centered Layout */
.mt-acct-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 2rem 80px;
    /* Heights aligned with the 72px fixed header */
    box-sizing: border-box;
}

body.admin-bar .mt-acct-body {
    padding-top: 152px;
}

.mt-acct-content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

/* ==========================================================================
   MinieTech Custom My Account Content Styling
   ========================================================================== */

/* Dashboard Elements */
.sp-dash-greeting {
    margin-bottom: 3rem;
}

.sp-dash-greeting h2 {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 0.5rem 0 !important;
}

.sp-dash-greeting p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    max-width: 750px;
}

/* Quick Actions Cards */
.sp-dash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.sp-dash-action {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.sp-dash-action:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.06);
}

.sp-dash-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.sp-dash-action-icon span {
    font-size: 1.5rem;
}

.sp-dash-action-text h3 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 0.25rem 0 !important;
}

.sp-dash-action-text p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Dashboard Recent Orders Row List */
.sp-dash-section-title {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 1.25rem 0 !important;
}

.sp-dash-orders {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.sp-dash-order-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.1rem 1.5rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.sp-dash-order-row:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.sp-dash-order-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    flex: 1;
}

.sp-dash-order-date {
    font-size: 0.85rem;
    color: #64748b;
    flex: 1;
}

.sp-dash-order-total {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

.sp-dash-order-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: capitalize;
    background: #cbd5e1;
    color: #475569;
}

.sp-dash-order-status.status-completed {
    background: #dcfce7;
    color: #166534;
}

.sp-dash-order-status.status-processing {
    background: #fef9c3;
    color: #854d0e;
}

.sp-dash-order-status.status-cancelled {
    background: #fef2f2;
    color: #991b1b;
}

.sp-dash-order-status.status-on-hold {
    background: #ffedd5;
    color: #9a3412;
}

.sp-dash-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #64748b;
    font-size: 0.9rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

.sp-dash-view-all {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sp-dash-view-all:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.sp-dash-logout {
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 3.5rem;
}

.sp-dash-logout a {
    color: #ef4444;
    font-weight: 700;
    text-decoration: none;
    margin-left: 0.25rem;
}

.sp-dash-logout a:hover {
    text-decoration: underline;
}

/* WooCommerce Orders Table, Address Grid, Forms styling */
body.woocommerce-account.logged-in table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1.5rem;
}

body.woocommerce-account.logged-in table.shop_table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

body.woocommerce-account.logged-in table.shop_table td {
    padding: 1.1rem 1rem;
    color: #0f172a;
    font-size: 0.95rem;
    border-bottom: 1px solid #e2e8f0;
}

body.woocommerce-account.logged-in table.shop_table tr:last-child td {
    border-bottom: none;
}

body.woocommerce-account.logged-in table.shop_table td .button {
    background: #f1f5f9;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
}

body.woocommerce-account.logged-in table.shop_table td .button:hover {
    background: #3b82f6;
    color: #ffffff;
}

body.woocommerce-account.logged-in mark.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
}

body.woocommerce-account.logged-in mark.order-status.completed {
    background: #dcfce7;
    color: #166534;
}

body.woocommerce-account.logged-in mark.order-status.processing {
    background: #fef9c3;
    color: #854d0e;
}

body.woocommerce-account.logged-in mark.order-status.cancelled {
    background: #fef2f2;
    color: #991b1b;
}

body.woocommerce-account.logged-in .addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

body.woocommerce-account.logged-in .addresses .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

body.woocommerce-account.logged-in .addresses .title h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

body.woocommerce-account.logged-in .addresses .title .edit {
    font-size: 0.875rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

body.woocommerce-account.logged-in .addresses .title .edit:hover {
    color: #1d4ed8;
}

body.woocommerce-account.logged-in .addresses address {
    font-style: normal;
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
}

body.woocommerce-account.logged-in form.edit-account,
body.woocommerce-account.logged-in form.checkout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

body.woocommerce-account.logged-in form.edit-account fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

body.woocommerce-account.logged-in form.edit-account fieldset legend {
    font-weight: 700;
    color: #0f172a;
    padding: 0 0.5rem;
}

body.woocommerce-account.logged-in form p.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0;
}

body.woocommerce-account.logged-in form p.form-row label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
}

body.woocommerce-account.logged-in form p.form-row input.input-text {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

body.woocommerce-account.logged-in form p.form-row input.input-text:focus {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

body.woocommerce-account.logged-in form .button {
    background: #0f172a;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-block;
    align-self: flex-start;
}

body.woocommerce-account.logged-in form .button:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.2);
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================================================== */
@media (max-width: 1024px) {
    .mt-acct-header-inner {
        padding: 0 1.5rem;
    }

    .sp-dash-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mt-acct-header {
        height: 64px;
    }

    body.admin-bar .mt-acct-header {
        top: 46px;
    }

    .mt-acct-header-inner {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
    }

    .mt-acct-nav {
        display: none !important;
    }

    .mt-acct-hamburger {
        display: flex;
        grid-column: 1;
        justify-self: start;
        align-items: center;
        justify-content: center;
    }

    .mt-acct-logo {
        grid-column: 2;
        display: flex;
        justify-content: center;
        margin-right: 0;
    }

    .mt-acct-logo img {
        height: 50px;
    }

    .mt-acct-user-menu {
        grid-column: 3;
        margin-left: 0;
        justify-content: flex-end;
    }

    .mt-acct-body {
        padding: 94px 1rem 60px;
    }

    body.admin-bar .mt-acct-body {
        padding-top: 140px;
    }

    .mt-acct-content-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    .sp-dash-grid {
        gap: 1rem;
    }

    .sp-dash-action {
        padding: 1.25rem 1rem;
        gap: 0.75rem;
    }

    .sp-dash-action-icon {
        width: 40px;
        height: 40px;
    }

    .sp-dash-action-icon span {
        font-size: 1.25rem;
    }

    .sp-dash-action-text h3 {
        font-size: 0.95rem !important;
    }

    .sp-dash-action-text p {
        display: none;
    }

    .sp-dash-greeting h2 {
        font-size: 1.5rem !important;
    }

    .sp-dash-greeting p {
        font-size: 0.85rem;
    }

    .sp-dash-order-row {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem;
    }

    .sp-dash-order-date {
        flex: 0 0 100%;
        order: 1;
        font-size: 0.8rem;
    }

    .sp-dash-order-num {
        order: 0;
    }
}

@media (max-width: 480px) {
    .sp-dash-grid {
        grid-template-columns: 1fr;
    }
}