.account-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.account-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.account-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .account-panel {
        max-width: 100%;
    }
}

.account-overlay.active .account-panel {
    transform: translateX(0);
}

.account-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #efe7e3;
    background: #fcfaf8;
}

.account-header h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #2a1d1b;
}

.close-account-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #6b5a54;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.close-account-btn:hover {
    background: #efe7e3;
    color: #2a1d1b;
}

.account-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    position: relative;
}

/* Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 24px;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab.active {
    background: #fff;
    color: #7b1e2b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Input Wrappers & Icons */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #999;
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.input-wrapper .form-input {
    padding-left: 44px;
}

/* Phone Group */
.phone-group {
    display: flex;
    gap: 12px;
}

.phone-select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 10px auto;
    padding-right: 30px;
}

/* Auth Container & Slides */
.auth-container {
    overflow: hidden;
}

/* We now have different slides logic */
.auth-slide-wrapper {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-slide {
    width: 33.33%;
    padding: 10px;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #6b5a54;
}

/* Input with Icon Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    color: #6b5a54;
    font-size: 16px;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 12px 12px 12px 40px; /* Space for icon */
    border: 1px solid #e2d6cf;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input.no-icon {
    padding-left: 12px;
}

.form-input:focus {
    outline: none;
    border-color: #7b1e2b;
    box-shadow: 0 0 0 3px rgba(123, 30, 43, 0.1);
}

/* Phone Input Group */
.phone-group {
    display: flex;
    gap: 8px;
}

.phone-select {
    width: 80px;
    padding: 12px 8px;
    border: 1px solid #e2d6cf;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #2a1d1b;
    text-align: center;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #7b1e2b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #9e2637;
}

.otp-instructions {
    text-align: center;
    margin-bottom: 24px;
    color: #6b5a54;
}

.otp-email-display {
    font-weight: 600;
    color: #2a1d1b;
}

/* Dashboard Styles */
.dashboard-container {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-container.active {
    display: block;
    opacity: 1;
}

/* User Card with Animated Bubbles */
.user-card {
    background: #4a0e16; /* Deep Bordeaux */
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    color: #fff;
    box-shadow: 0 15px 40px rgba(74, 14, 22, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.user-card::before, .user-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    opacity: 0.5;
    animation: floatBubbles 10s infinite ease-in-out;
}

.user-card::before {
    width: 200px;
    height: 200px;
    background: #d32f2f; /* Red */
    top: -50px;
    left: -50px;
}

.user-card::after {
    width: 180px;
    height: 180px;
    background: #f9a825; /* Dark Yellow */
    bottom: -40px;
    right: -40px;
    animation-delay: -5s;
}

@keyframes floatBubbles {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.user-card > * {
    position: relative;
    z-index: 2;
}

.user-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.user-info-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.user-avatar-large {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.user-welcome {
    flex: 1;
    min-width: 0;
}

.user-welcome h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edit-profile-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.user-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.user-detail-item {
    min-width: 0; /* Prevents flex/grid overflow */
}

.user-detail-item label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.user-detail-item div {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.orders-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-orders {
    text-align: center;
    padding: 40px 20px;
    background: #fcfaf8;
    border: 1px dashed #e2d6cf;
    border-radius: 12px;
    color: #6b5a54;
}

.no-orders i {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 0; /* Reset */
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #eef0f2;
}

.order-id-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-ref {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 15px;
}

.order-date {
    font-size: 13px;
    color: #6c757d;
}

.order-body {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.item-count {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 15px;
}

.order-total {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #7b1e2b;
    margin-bottom: 0;
}

.order-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
    font-size: 13px;
    color: #6c757d;
}

.order-footer {
    padding: 12px 24px;
    background: #fff;
    border-top: 1px solid #eef0f2;
    display: flex;
    justify-content: flex-end;
}

.order-status {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status.pending { background: #fff3e0; color: #ef6c00; }
.order-status.shipped { background: #e3f2fd; color: #1565c0; }
.order-status.delivered { background: #e8f5e9; color: #2e7d32; }
.order-status.cancelled { background: #ffebee; color: #c62828; }

.payment-status {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.payment-status.success { background: #c8e6c9; color: #2e7d32; }
.payment-status.pending { background: #bbdefb; color: #1565c0; }
.payment-status.failed { background: #ffcdd2; color: #c62828; }
.payment-status.partial { background: #fff9c4; color: #f57f17; }

.btn-order-details {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #e2d6cf;
    color: #6b5a54;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-order-details:hover {
    background: #7b1e2b;
    border-color: #7b1e2b;
    color: #fff;
}

@media (max-width: 500px) {
    .order-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .order-meta {
        text-align: left;
    }
    .order-header {
        padding: 14px 16px;
    }
    .order-body, .order-footer {
        padding: 16px;
    }
}

.billing-section {
    margin-top: 26px;
}

.billing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.billing-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #efe7e3;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    position: relative;
    min-height: 112px;
    overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    backdrop-filter: blur(10px);
}

.billing-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(123, 30, 43, 1), rgba(199, 161, 90, 1));
    opacity: 0.9;
}

.billing-card::after {
    content: '';
    position: absolute;
    inset: -40% -20% -50% -20%;
    background:
        radial-gradient(closest-side at 20% 20%, rgba(199, 161, 90, 0.55), rgba(199, 161, 90, 0) 65%),
        radial-gradient(closest-side at 85% 35%, rgba(123, 30, 43, 0.45), rgba(123, 30, 43, 0) 60%),
        radial-gradient(closest-side at 40% 90%, rgba(123, 30, 43, 0.25), rgba(123, 30, 43, 0) 55%);
    filter: blur(28px);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.billing-card > * {
    position: relative;
    z-index: 1;
}

.billing-card:hover {
    transform: translateY(-3px);
    border-color: rgba(123, 30, 43, 0.20);
    box-shadow: 0 16px 34px rgba(123, 30, 43, 0.12);
}

.billing-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-top: 6px;
}

.billing-card-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.billing-card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 30, 43, 0.10);
    border: 1px solid rgba(123, 30, 43, 0.16);
    color: #7b1e2b;
    flex-shrink: 0;
}

.billing-card-title {
    font-weight: 900;
    color: #2a1d1b;
    font-size: 14px;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    cursor: pointer;
}

.billing-card-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.billing-card-action {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(2, 6, 23, 0.03);
    color: rgba(15, 23, 42, 0.72);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.billing-card-action:hover {
    transform: translateY(-1px);
    border-color: rgba(123, 30, 43, 0.25);
    background: rgba(123, 30, 43, 0.08);
    color: #7b1e2b;
}

.billing-card-action.is-danger {
    color: rgba(220, 38, 38, 0.92);
    background: rgba(220, 38, 38, 0.06);
    border-color: rgba(220, 38, 38, 0.18);
}

.billing-card-action.is-danger:hover {
    background: rgba(220, 38, 38, 0.10);
    border-color: rgba(220, 38, 38, 0.26);
}

.billing-card-body {
    margin-top: 10px;
}

.billing-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.billing-pill {
    max-width: 100%;
    border: 1px solid #efe7e3;
    background: #fcfaf8;
    border-radius: 999px;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
    justify-content: center;
}

.billing-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(123, 30, 43, 0.26);
    background: rgba(123, 30, 43, 0.06);
}

.billing-pill-ico {
    color: #7b1e2b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
}

.billing-pill-label {
    font-weight: 900;
    font-size: 12px;
    color: rgba(107, 90, 84, 0.90);
    white-space: nowrap;
}

.billing-pill-value {
    font-weight: 950;
    font-size: 12px;
    color: #2a1d1b;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.billing-pills-empty {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px dashed #e2d6cf;
    background: #fcfaf8;
    color: rgba(107, 90, 84, 0.80);
    text-align: center;
    font-weight: 900;
    width: 100%;
}

.billing-add-btn {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 16px;
    border: 1px dashed #e2d6cf;
    background: #fff;
    padding: 12px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #2a1d1b;
    font-weight: 950;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.billing-add-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(123, 30, 43, 0.35);
    box-shadow: 0 16px 34px rgba(123, 30, 43, 0.12);
    background: #fcfaf8;
}

.billing-add-btn:disabled,
.billing-add-btn[aria-disabled="true"] {
    opacity: 0.65;
    cursor: not-allowed;
}

.billing-add-btn:disabled:hover,
.billing-add-btn[aria-disabled="true"]:hover {
    transform: none;
    box-shadow: none;
    border-color: #e2d6cf;
    background: #fff;
}

.billing-add-btn-ico {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 30, 43, 0.10);
    border: 1px solid rgba(123, 30, 43, 0.16);
    color: #7b1e2b;
}

.billing-card-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: rgba(107, 90, 84, 0.80);
    min-height: 92px;
    background: #fcfaf8;
    border: 1px dashed #e2d6cf;
}

.billing-card-empty::before,
.billing-card-empty::after {
    display: none;
}

.billing-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 16px;
}

.billing-modal {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.20);
    overflow: hidden;
}

.billing-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #fcfaf8;
    border-bottom: 1px solid #efe7e3;
}

.billing-modal-title {
    font-weight: 900;
    color: #2a1d1b;
}

.billing-modal-close {
    border: none;
    background: rgba(0, 0, 0, 0.04);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    cursor: pointer;
}

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

.billing-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 520px) {
    .billing-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.billing-form-grid .form-group {
    margin-bottom: 0;
}

.billing-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.billing-btn {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #e2d6cf;
    cursor: pointer;
    font-weight: 700;
}

.billing-btn.primary {
    background: #7b1e2b;
    border-color: #7b1e2b;
    color: #fff;
}

.billing-btn.secondary {
    background: #fff;
    color: #6b5a54;
}

.logout-btn {
    width: 100%;
    padding: 14px;
    background: #fff;
    border: 1px solid #e2d6cf;
    color: #7b1e2b;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: #fcfaf8;
    border-color: #7b1e2b;
}

/* Desktop Account Button (Disconnected & Connected) */
#accountBtn {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 14px;
    font-weight: 500;
    padding: 0 16px;
    border-radius: 14px;
    transition: all 0.2s;
    background: #fff;
    border: 1px solid #e2d6cf;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 46px;
    color: #2a1d1b;
    cursor: pointer;
    white-space: nowrap;
}

#accountBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(123, 30, 43, 0.15);
    border-color: #7b1e2b;
}

#accountBtn .btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

#accountBtn i {
    color: #7b1e2b;
    font-size: 16px;
}

#accountBtn .sep {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: #e0e0e0;
    margin: 0 4px;
}

#accountBtn .user-name {
    font-family: 'Inter', sans-serif;
    color: #2a1d1b;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#accountBtn .btn-text {
    font-weight: 600;
    color: #2a1d1b;
}

/* Remove old conflicting rules if necessary or just override them above with ID selector */

/* Edit Profile Styles */
.user-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.user-info-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.edit-profile-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.edit-profile-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.edit-form-container {
    margin-top: 16px;
}

.edit-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.edit-input-group label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.edit-input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 14px;
}

.edit-input:focus {
    outline: none;
    border-color: #fff;
    background: rgba(0, 0, 0, 0.3);
}

.edit-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-save-profile {
    padding: 8px 16px;
    background: #fff;
    color: #1e3c72;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
}

.btn-cancel-edit {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
}

.btn-cancel-edit:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Button Badge Fix */
#mobileAccountBtn .icon {
    position: relative;
}

#mobileAccountBtn .icon::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px; 
    height: 10px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s;
}

#mobileAccountBtn.connected .icon::after {
    background: #2e7d32;
    width: 6px; /* Reduced by half (approx from 10-12px visually) as requested */
    height: 6px;
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #fff;
}

 #mobileAccountBtn {
    color: #9e9e9e !important; /* Always gray as requested */
 }
 
 #mobileAccountBtn.active {
    color: #9e9e9e !important; /* Keep gray even if active? Or maybe user meant the option in general. I will keep it gray. */
 }
 
 #mobileAccountBtn .label {
    color: inherit;
 }
