        /* My Account redesign */
        .account-page {
            --account-green: #198a2e;
            --account-green-dark: #126b22;
            --account-green-soft: #eef8ef;
            --account-green-border: #d7ead9;
            --account-border: #e6e8ec;
            --account-text: #161a22;
            --account-muted: #5f6673;
            --account-bg: #f7f8fa;
            color: var(--account-text);
        }

        .account-page .page-header.account-page-head {
            display: block;
            margin-bottom: 18px;
            padding-bottom: 18px;
            border-bottom: 1px solid #d7dbe2;
        }

        .account-page .page-title {
            color: #111827;
            font-size: 28px;
            line-height: 1.15;
            font-weight: 750;
            letter-spacing: -0.025em;
            margin: 0 0 8px 0;
        }

        .account-page-subtitle {
            font-size: 15px;
            line-height: 1.45;
            color: #4b5563;
            margin: 0;
        }

        .account-card {
            background: #fff;
            border: 1px solid var(--account-border);
            border-radius: 10px;
            box-shadow: 0 5px 18px rgba(17, 24, 39, 0.045);
            padding: 22px;
            margin-bottom: 18px;
        }

        .account-card-title-row {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .account-card-icon {
            width: 24px;
            height: 24px;
            color: var(--account-green);
            flex: 0 0 auto;
        }

        .account-card-title {
            margin: 0;
            color: #121826;
            font-size: 18px;
            font-weight: 750;
            letter-spacing: -0.01em;
        }

        .account-profile-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
            gap: 24px;
            align-items: start;
        }

        .account-profile-section {
            min-width: 0;
        }

        .account-profile-section + .account-profile-section {
            border-left: 1px solid #e5e7eb;
            padding-left: 24px;
        }

        .account-section-title {
            margin: 0 0 14px 0;
            color: #111827;
            font-size: 14px;
            font-weight: 750;
            letter-spacing: -0.01em;
        }

        .account-field-stack {
            display: grid;
            gap: 14px;
        }

        .account-field-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 0.76fr);
            gap: 12px;
        }

        .account-form-group {
            margin: 0;
        }

        .account-label {
            display: block;
            margin-bottom: 7px;
            color: #4b5563;
            font-size: 13px;
            line-height: 1.25;
            font-weight: 500;
        }

        .account-input,
        .account-page .form-input,
        .account-page select.form-input {
            width: 100%;
            height: 42px;
            border: 1px solid #d9dde5;
            border-radius: 7px;
            background: #fff;
            color: #111827;
            font-size: 14px;
            line-height: 1.25;
            font-weight: 450;
            padding: 0 13px;
            outline: none;
            transition: border-color 160ms ease, box-shadow 160ms ease;
        }

        .account-page .form-input:focus,
        .account-page select.form-input:focus {
            border-color: rgba(25, 138, 46, 0.7);
            box-shadow: 0 0 0 3px rgba(25, 138, 46, 0.12);
        }

        .account-billing-note {
            color: #4b5563;
            font-size: 13px;
            line-height: 1.45;
            margin: -2px 0 18px 0;
        }

        .account-save-row {
            display: flex;
            justify-content: flex-end;
            margin-top: 8px;
        }

        .account-save-btn {
            min-width: 116px;
            height: 36px;
            border-radius: 6px;
            background: var(--account-green);
            color: #fff;
            font-size: 13px;
            font-weight: 700;
            padding: 0 18px;
            box-shadow: 0 8px 15px rgba(25, 138, 46, 0.16);
        }

        .account-save-btn:hover {
            background: var(--account-green-dark);
        }

        .email-notification-card {
            padding: 20px;
        }

        .account-card-subtitle {
            color: #4b5563;
            font-size: 13px;
            line-height: 1.45;
            margin: -8px 0 16px 0;
        }

        .email-master-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            border: 1px solid var(--account-green-border);
            background: rgba(240, 249, 241, 0.75);
            border-radius: 9px;
            padding: 14px 18px;
            margin-bottom: 18px;
        }

        .email-master-left {
            display: flex;
            align-items: center;
            gap: 14px;
            min-width: 0;
        }

        .email-master-icon,
        .notification-card-icon {
            width: 24px;
            height: 24px;
            color: var(--account-green);
            flex: 0 0 auto;
        }

        .email-master-title {
            color: #145c20;
            font-size: 14px;
            font-weight: 750;
            margin-bottom: 3px;
        }

        .email-master-text {
            color: #4b5563;
            font-size: 13px;
            line-height: 1.35;
        }

        .notification-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            gap: 18px;
        }

        .notification-panel {
            border: 1px solid var(--account-border);
            border-radius: 9px;
            background: #fff;
            padding: 18px;
        }

        .notification-panel-head {
            display: flex;
            align-items: flex-start;
            gap: 13px;
            margin-bottom: 16px;
        }

        .notification-panel-title {
            margin: 0 0 5px 0;
            font-size: 16px;
            line-height: 1.25;
            color: #111827;
            font-weight: 750;
            letter-spacing: -0.01em;
        }

        .notification-panel-subtitle {
            color: #4b5563;
            font-size: 13px;
            line-height: 1.4;
        }

        .notification-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 14px 0;
            border-top: 1px solid #edf0f3;
        }

        .notification-row-main {
            display: flex;
            align-items: center;
            gap: 13px;
            min-width: 0;
        }

        .notification-row-icon {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #f3f4f6;
            color: #4b5563;
            flex: 0 0 auto;
        }

        .notification-row-icon svg {
            width: 20px;
            height: 20px;
        }

        .notification-row-title {
            font-size: 14px;
            font-weight: 720;
            color: #111827;
            line-height: 1.25;
            margin-bottom: 3px;
        }

        .notification-row-desc {
            font-size: 12.5px;
            line-height: 1.35;
            color: #4b5563;
        }

        .notification-row-action {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            flex: 0 0 auto;
        }

        .notification-enabled-text {
            color: var(--account-green);
            font-size: 12px;
            font-weight: 750;
        }

        .notification-always-text {
            color: #4b5563;
            font-size: 12px;
            font-weight: 650;
            white-space: nowrap;
        }

        .account-info-dot {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 1px solid #9ca3af;
            color: #4b5563;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
            line-height: 1;
        }

        .account-page .toggle-switch {
            width: 42px;
            height: 22px;
        }

        .account-page .toggle-slider {
            background-color: #cfd6df;
        }

        .account-page .toggle-slider:before {
            height: 20px;
            width: 20px;
            left: 1px;
            bottom: 1px;
            box-shadow: 0 1px 4px rgba(17, 24, 39, 0.22);
        }

        .account-page .toggle-switch input:checked + .toggle-slider {
            background-color: var(--account-green);
        }

        .account-page .toggle-switch input:checked + .toggle-slider:before {
            transform: translateX(20px);
        }

        @media (max-width: 1180px) {
            .account-profile-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }
            .account-profile-section + .account-profile-section {
                border-left: none;
                padding-left: 0;
                border-top: 1px solid #e5e7eb;
                padding-top: 18px;
            }
            .notification-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 680px) {
            .account-card {
                padding: 18px;
            }
            .account-field-row {
                grid-template-columns: 1fr;
            }
            .email-master-row,
            .notification-row {
                align-items: flex-start;
                flex-direction: column;
            }
            .notification-row-action {
                align-self: flex-end;
            }
        }

        .account-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        @media (max-width: 768px) {
            .account-grid {
                grid-template-columns: 1fr;
            }
        }
.card {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 20px;
            margin-bottom: 20px;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        th, td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        
        th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        tr:hover {
            background-color: #f9f9f9;
        }
        
        .btn {
            padding: 8px 16px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }

        .btn-success {
            background-color: var(--primary-color);
            color: white;
        }
        
        .btn-primary:hover {
            background-color: var(--primary-dark);
        }
        
                .btn-success {
            background-color: var(--success-color);
            color: white;
        }

        .btn-success:hover {
            background-color: var(--primary-dark);
        }

.btn-secondary {
            background-color: #6c757d;
            color: white;
        }

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #b9c2cc;
    transition: 0.2s;
    border-radius: 999px;
}
.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}
.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}
.toggle-switch input:disabled + .toggle-slider {
    cursor: not-allowed;
    opacity: 0.55;
}
.toggle-switch input:focus + .toggle-slider {
    outline: 2px solid rgba(76, 175, 80, 0.35);
    outline-offset: 2px;
}

        
        .btn-secondary:hover {
            background-color: #5a6268;
        }
        
        .checkbox {
            width: 18px;
            height: 18px;
        }
        
        .radio {
            width: 18px;
            height: 18px;
        }
        
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }


        /* Modal Content (for popups like Warehouse address and Welcome onboarding) */
        .modal-content {
            background: #fff;
            border-radius: 12px;
            width: min(680px, 92vw);
            max-height: 86vh;
            overflow: auto;
            box-shadow: 0 10px 30px rgba(0,0,0,0.18);
        }

        .modal-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            padding: 16px 18px;
            border-bottom: 1px solid var(--border-color);
        }

        .modal-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary-dark);
            line-height: 1.2;
        }

        .modal-subtitle {
            margin-top: 6px;
            font-size: 13px;
            color: #666;
        }

        .modal-close {
            background: transparent;
            border: none;
            cursor: pointer;
            font-size: 18px;
            color: #666;
            padding: 6px 10px;
            border-radius: 6px;
        }

        .modal-close:hover {
            background-color: var(--light-gray);
        }

        .modal-body {
            padding: 16px 18px 18px 18px;
        }

        .suggest-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            margin-top: 14px;
        }

        .suggest-card {
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 14px;
            cursor: pointer;
            background: #fff;
            transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .suggest-card:hover {
            border-color: rgba(76, 175, 80, 0.7);
            box-shadow: 0 6px 18px rgba(76,175,80,0.18);
            transform: translateY(-1px);
        }

        .suggest-title {
            font-weight: 700;
            color: #333;
            margin-bottom: 6px;
        }

        .suggest-text {
            color: #666;
            font-size: 13px;
            line-height: 1.35;
        }

        @media (max-width: 640px) {
            .suggest-grid { grid-template-columns: 1fr; }
        }

        .mini-details {
            margin-top: 12px;
            background-color: var(--light-gray);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 10px 12px;
        }

        .mini-details summary {
            cursor: pointer;
            font-weight: 700;
            color: var(--primary-dark);
            font-size: 13px;
            outline: none;
        }

        .mini-details p {
            margin-top: 10px;
            color: #555;
            font-size: 13px;
            line-height: 1.45;
        }

        .addr-grid {
            margin-top: 14px;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 12px;
            background: #fff;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .addr-field {
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 10px;
            background: #fafafa;
        }

        .addr-label {
            font-size: 12px;
            color: #666;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .addr-value {
            font-size: 14px;
            color: #333;
            font-weight: 600;
            word-break: break-word;
        }

        @media (max-width: 640px) {
            .addr-grid { grid-template-columns: 1fr; }
        }

        .toast {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 15px 25px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 4px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 1001;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .status-badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }
        
        .status-ready {
            background-color: var(--primary-light);
            color: var(--primary-dark);
        }
        
        .status-not-ready {
            background-color: #ffecb3;
            color: #ff8f00;
        }

        .status-pending {
            background-color: #fff3cd;
            color: #856404;
        }
        
        .status-shipped {
            background-color: #e8f5e9;
            color: #2e7d32;
        }
        


