@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Global Font: Poppins for everywhere except Home */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #060b16 !important;
    background-image:
        radial-gradient(ellipse at 14% 8%, rgba(37, 99, 235, 0.3), transparent 36%),
        radial-gradient(ellipse at 88% 32%, rgba(8, 145, 178, 0.19), transparent 35%),
        radial-gradient(ellipse at 48% 100%, rgba(79, 70, 229, 0.13), transparent 46%),
        linear-gradient(180deg, #060b16 0%, #0b1424 48%, #050a14 100%) !important;
    background-attachment: fixed !important;
    color: #e2e8f0;
}

#app-content {
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse at 12% 8%, rgba(37, 99, 235, 0.2), transparent 36%),
        radial-gradient(ellipse at 90% 38%, rgba(8, 145, 178, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(7, 13, 26, 0.3) 0%, rgba(9, 19, 34, 0.22) 48%, rgba(5, 11, 22, 0.38) 100%) !important;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.45) !important;
}

.swal2-popup.auth-swal-popup {
    border-radius: 1.2rem;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.26);
    width: min(92vw, 620px);
    border: 1px solid rgba(148, 163, 184, 0.35);
    position: relative;
}

.swal2-popup.auth-swal-popup::before {
    content: "";
    display: block;
    height: 74px;
    background: linear-gradient(180deg, #0f6ba7 0%, #0d5d99 100%);
}

.swal2-popup.auth-swal-popup .auth-swal-close {
    color: #111827;
    font-size: 1.5rem;
    top: 1.2rem;
    right: 1.1rem;
    border-radius: 0.55rem;
    width: 1.6rem;
    height: 1.6rem;
    line-height: 1.4rem;
    background: rgba(255,255,255,0.18);
}

.swal2-popup.auth-swal-popup .swal2-icon {
    margin: -1.7rem auto 0.5rem;
    width: 110px;
    height: 110px;
    border-width: 4px !important;
    border-color: rgba(239, 68, 68, 0.8) !important;
    color: #ef4444 !important;
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.12);
}

.swal2-popup.auth-swal-popup .swal2-icon .swal2-icon-content {
    font-size: 4rem;
    line-height: 1;
}

.swal2-popup.auth-swal-popup .swal2-title.auth-swal-title {
    font-size: clamp(2rem, 2vw + 1rem, 2.8rem);
    font-weight: 800;
    color: #111827;
    margin: 0.3rem 0 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.swal2-popup.auth-swal-popup .auth-swal-text {
    color: #374151;
    font-size: 1.06rem;
    line-height: 1.7;
    font-weight: 500;
    padding: 0 1.5rem 1rem;
    font-family: 'Poppins', sans-serif;
}

.swal2-popup.auth-swal-popup .swal2-actions {
    margin: 0 0 1.4rem;
    padding: 0 1.2rem 0.2rem;
}

.swal2-popup.auth-swal-popup .auth-swal-confirm {
    background: linear-gradient(135deg, #5b4eea, #4f46e5) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0.75rem !important;
    min-width: 120px !important;
    height: 46px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    box-shadow: 0 16px 24px rgba(79, 70, 229, 0.28) !important;
    padding: 0 1.6rem !important;
}

.swal2-popup.auth-swal-popup .auth-swal-confirm:hover {
    filter: brightness(1.05);
}

.swal2-popup.auth-swal-popup .swal2-html-container {
    padding: 0 1.2rem;
}

.swal2-popup.auth-swal-popup .swal2-close:hover {
    background: rgba(255,255,255,0.25);
}

.payment-corner-alert {
    position: fixed;
    z-index: 20000;
    top: max(56px, calc(env(safe-area-inset-top) + 48px));
    right: max(16px, env(safe-area-inset-right));
    display: flex;
    width: 200px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    align-items: flex-start;
    gap: 8px;
    padding: 11px 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.24), 0 2px 7px rgba(15, 23, 42, 0.12);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    animation: payment-corner-alert-in 180ms ease-out both;
}

.payment-corner-alert-error {
    background: linear-gradient(135deg, #d85b5b 0%, #bd454b 100%);
}

.payment-corner-alert-success {
    background: linear-gradient(135deg, #26956c 0%, #177b58 100%);
}

.payment-corner-alert-icon {
    display: grid;
    flex: 0 0 14px;
    width: 14px;
    height: 16px;
    margin-top: 1px;
    place-items: center;
    background: rgba(255, 255, 255, 0.96);
    clip-path: polygon(50% 0, 100% 15%, 94% 69%, 78% 88%, 50% 100%, 22% 88%, 6% 69%, 0 15%);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.payment-corner-alert-error .payment-corner-alert-icon {
    color: #c95656;
}

.payment-corner-alert-success .payment-corner-alert-icon {
    color: #23845f;
}

.payment-corner-alert-content {
    display: block;
    min-width: 0;
    flex: 1;
}

.payment-corner-alert-title {
    display: none;
}

.payment-corner-alert-message {
    display: block;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.payment-corner-alert-close {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin: -4px -2px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
    line-height: 10px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .payment-corner-alert {
        position: fixed !important;
        top: max(56px, calc(env(safe-area-inset-top) + 48px)) !important;
        right: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        z-index: 2147483000 !important;
        box-sizing: border-box !important;
        gap: 14px;
        padding: 18px 20px;
        border-radius: 0 0 12px 12px;
        border-top: 0;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
        transform: none;
    }

    .payment-corner-alert-icon {
        flex-basis: 27px;
        width: 27px;
        height: 31px;
        font-size: 18px;
    }

    .payment-corner-alert-message {
        font-size: clamp(18px, 5vw, 24px);
        line-height: 1.45;
    }

    .payment-corner-alert-close {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
        font-size: 26px;
        line-height: 24px;
    }
}

.payment-corner-alert-leaving {
    animation: payment-corner-alert-out 200ms ease-in both;
}

@keyframes payment-corner-alert-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes payment-corner-alert-out {
    to {
        opacity: 0;
    }
}

.swal2-popup.payment-loading-swal-popup {
    border-radius: 1rem;
    background: #fff;
    color: #172033;
    font-family: 'Poppins', sans-serif;
}

/* Keep the requested route visible during async app initialization. */
html[class*="route-preload-"] main > section[id$="-sec"] { display: none !important; }
html.route-preload-home main > section#home-sec,
html.route-preload-addmoney main > section#addmoney-sec,
html.route-preload-checkout main > section#addmoney-sec,
html.route-preload-payment main > section#addmoney-sec,
html.route-preload-history main > section#history-sec,
html.route-preload-transactions main > section#transactions-sec,
html.route-preload-account main > section#account-sec,
html.route-preload-auth main > section#auth-sec,
html.route-preload-topup main > section#topup-sec { display: block !important; }
html.route-preload-checkout #addmoney-sec > #am-step-amount-screen,
html.route-preload-checkout #addmoney-sec > #am-step-2,
html.route-preload-checkout #addmoney-sec > #am-step-3,
html.route-preload-payment #addmoney-sec > #am-step-amount-screen,
html.route-preload-payment #addmoney-sec > #am-step-2,
html.route-preload-payment #addmoney-sec > #am-step-checkout { display: none !important; }
html.route-preload-checkout #addmoney-sec > #am-step-checkout { display: flex !important; }
html.route-preload-payment #addmoney-sec > #am-step-3 { display: block !important; }
@media (max-width: 640px) {
    html.route-preload-payment #addmoney-sec > #am-step-3 { display: flex !important; }
}
html.route-preload-checkout body,
html.route-preload-payment body {
    overflow: hidden;
}
html.route-preload-checkout #app-content .site-header,
html.route-preload-checkout #app-content #mobile-bottom-nav,
html.route-preload-checkout #app-content .premium-reference-footer,
html.route-preload-checkout #app-content .premium-floating-telegram,
html.route-preload-payment #app-content .site-header,
html.route-preload-payment #app-content #mobile-bottom-nav,
html.route-preload-payment #app-content .premium-reference-footer,
html.route-preload-payment #app-content .premium-floating-telegram {
    display: none !important;
}
html.route-preload-checkout #app-content > main,
html.route-preload-payment #app-content > main {
    min-height: 100dvh;
    padding: 0 !important;
}
html.route-preload-checkout #addmoney-sec > #am-step-checkout,
html.route-preload-payment #addmoney-sec > #am-step-3 {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left)) !important;
    overflow: auto !important;
    background: rgba(241, 245, 249, 0.88) !important;
    align-items: center;
    justify-content: center;
}
#addmoney-sec > #am-step-checkout:not(.hidden),
#addmoney-sec > #am-step-3:not(.hidden) {
    position: fixed;
    inset: 0;
    z-index: 80;
    width: 100%;
    height: 100dvh;
    max-width: none;
    margin: 0;
    padding: 1rem max(1rem, calc((100vw - 480px) / 2));
    overflow-y: auto;
    background: rgba(241, 245, 249, 0.88);
    align-items: center;
    justify-content: center;
}
#addmoney-sec > #am-step-checkout.step-transition,
#addmoney-sec > #am-step-3.step-transition {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
}
#addmoney-sec > #am-step-checkout:not(.hidden) .addmoney-checkout-panel,
#addmoney-sec > #am-step-3:not(.hidden) .addmoney-payment-panel {
    width: 100%;
    max-width: 480px;
    margin: auto;
}
/* Home Panel Specific Font: Bree Serif */
#home-sec {
    font-family: 'Bree Serif', serif;
    padding-top: 0 !important;
    margin-top: 0;
}

/* Account Section Font: Bree Serif for English */
#account-sec {
    font-family: 'Bree Serif', serif;
}



.nav-gradient { background: white; color: #1e293b; }
.active-tab { color: #03a9f4 !important; }

/* Stronger container borders and subtle bottom divider */
.border-gray-100,
.border-gray-200,
.border-slate-200,
.border-gray-300,
.border-slate-300 {
    border-color: #1f2937 !important;
}

.bg-white.rounded-xl,
.bg-white.rounded-lg,
.bg-white.rounded-2xl,
.bg-slate-50.rounded-xl,
.bg-slate-50.rounded-lg,
.bg-slate-50.rounded-2xl,
.bg-gray-50.rounded-xl,
.bg-gray-50.rounded-lg,
.bg-gray-50.rounded-2xl {
    border: 1px solid rgba(17, 24, 39, 0.16) !important;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.03), 0 10px 24px rgba(15, 23, 42, 0.06);
}

/* Divider with rounded ends and full width */
.divider-rounded {
    height: 2px;
    background: linear-gradient(to right, 
        transparent 0%, 
        #d1d5db 8%, 
        #d1d5db 92%, 
        transparent 100%);
    border: none;
    border-radius: 50px;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Language-specific fonts */
.font-en { font-family: 'Poppins', sans-serif; }
.font-bn { font-family: 'Noto Serif Bengali', serif; }

/* Auto-detect language */
.lang-auto { 
    font-family: 'Poppins', sans-serif;
}

/* Home section er vitor jodi lang-auto class thake, sheta Bree Serif hobe */
#home-sec .lang-auto {
    font-family: 'Bree Serif', serif;
}

.lang-auto:lang(bn), .lang-auto:lang(bn-BD) { 
    font-family: 'Noto Serif Bengali', serif;
}

.notice-scroll {
    display: inline-block;
    white-space: nowrap;
    animation: notice-scroll-pause 24s ease-in-out infinite;
}
@keyframes notice-scroll-pause {
    0%, 20% { transform: translateX(0); }
    50% { transform: translateX(calc(-1 * var(--notice-scroll-distance))); }
    70%, 100% { transform: translateX(0); }
}

/* Compact notice banner */
#notice-section { position: relative; z-index: 0; margin-bottom: 0rem; margin-top: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
#home-sec > #notice-section + #promo-banner-container { margin-top: 0.25rem; }
#notice-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 52px;
    padding: 0.45rem 0.55rem 0.45rem 0.65rem;
    border: 1px solid rgba(56, 189, 248, 0.26);
    border-radius: 12px;
    background: linear-gradient(110deg, #0d2138, #12334c 58%, #10283e);
    box-shadow: 0 5px 16px rgba(2, 10, 24, 0.22);
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    box-sizing: border-box;
}

#notice-card.hidden {
    display: none !important;
}

.notice-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(34, 211, 238, 0.14);
    color: #67e8f9;
    flex: 0 0 auto;
}
.notice-icon i { font-size: 0.82rem; }
.notice-copy {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
    gap: 0.65rem;
}
.notice-label {
    flex: 0 0 auto;
    padding: 0.25rem 0.4rem;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 5px;
    background: rgba(14, 165, 233, 0.12);
    color: #bae6fd;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
}
.notice-message-viewport {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}
#notice-text {
    margin: 0;
    color: #f8fafc;
    font-size: 0.875rem;
    line-height: 1.25;
}
.notice-close {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background 0.2s ease, color 0.2s ease;
}
.notice-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.promo-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 8, 20, 0.78);
    backdrop-filter: blur(3px);
    animation: promo-popup-fade-in 180ms ease-out;
}

.promo-popup-overlay[hidden] {
    display: none;
}

.promo-popup-dialog {
    position: relative;
    width: min(100%, 420px);
    animation: promo-popup-enter 220ms ease-out;
}

.promo-popup-link {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.promo-popup-link[aria-disabled="true"] {
    cursor: default;
}

.promo-popup-link.has-caption {
    border-radius: 12px 12px 0 0;
}

.promo-popup-link img {
    display: block;
    width: 100%;
    max-height: min(72vh, 560px);
    object-fit: contain;
}

.promo-popup-caption {
    position: relative;
    display: grid;
    gap: 0.55rem;
    padding: 1.35rem 1.5rem 1.3rem;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background:
        radial-gradient(ellipse at 50% 0, rgba(212, 175, 55, 0.13), transparent 68%),
        linear-gradient(145deg, #08111f, #111b2b 52%, #080f1c);
    color: #f8fafc;
    text-align: center;
    overflow-wrap: anywhere;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.promo-popup-caption::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 64px;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, #f5d477, transparent);
    content: "";
    transform: translateX(-50%);
}

.promo-popup-title {
    margin: 0;
    color: #fff2c6;
    font-size: clamp(1.08rem, 4vw, 1.4rem);
    font-weight: 800;
    line-height: 1.5;
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(245, 212, 119, 0.16);
}

.promo-popup-message {
    margin: 0;
    color: #cbd5e1;
    font-size: clamp(0.86rem, 3.5vw, 0.95rem);
    font-weight: 500;
    line-height: 1.75;
    white-space: pre-line;
}

.promo-popup-title:not([hidden]) + .promo-popup-message:not([hidden]) {
    margin-top: 0.15rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-popup-title[hidden],
.promo-popup-message[hidden] {
    display: none;
}

.promo-popup-caption[hidden] {
    display: none;
}

.promo-popup-close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 1;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 2px solid rgba(15, 23, 42, 0.18);
    border-radius: 9999px;
    background: #fff;
    color: #1e293b;
    font-size: 1rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.promo-popup-close:hover {
    background: #e2e8f0;
}

@media (max-width: 480px) {
    .promo-popup-caption {
        padding: 1.1rem 1rem 1.05rem;
    }

    .promo-popup-close {
        top: -12px;
        right: -8px;
    }
}

#account-sec {
    padding: 2rem 1rem 4rem;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif !important;
}

#account-sec .account-layout {
    display: grid;
    width: min(100%, 680px);
    gap: 0.8rem;
    margin: 0 auto;
}

#account-sec .account-profile-card {
    position: relative;
    display: flex;
    min-height: 6.1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-top: 1.5rem;
    padding: 1.8rem 1rem 0.9rem;
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 0.8rem;
    background:
        radial-gradient(ellipse at 15% 45%, rgba(37, 99, 235, 0.16), transparent 40%),
        radial-gradient(ellipse at 88% 35%, rgba(79, 70, 229, 0.13), transparent 36%),
        rgba(7, 19, 38, 0.8);
    box-shadow: 0 12px 30px rgba(1, 7, 18, 0.2), inset 0 1px 0 rgba(148, 216, 255, 0.04);
    text-align: center;
}

#account-sec .account-profile-card::before {
    position: absolute;
    top: 42%;
    right: 1.2rem;
    left: 1.2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.55), transparent);
    content: "";
}

#account-sec .account-avatar-frame {
    position: absolute;
    top: -1.85rem;
    left: 50%;
    z-index: 1;
    width: 4.5rem;
    height: 4.5rem;
    padding: 0.2rem;
    transform: translateX(-50%);
    border: 1px solid #22d3ee;
    border-radius: 50%;
    background: #101c3b;
    box-shadow: 0 0 0 4px rgba(8, 16, 35, 0.85), 0 0 18px rgba(14, 165, 233, 0.3);
}

#account-sec .account-avatar {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: inherit;
    background: linear-gradient(145deg, #1d4ed8, #0e7490);
}

#account-sec #acc-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#account-sec #profile-initial {
    color: #effaff;
    font-size: 1.35rem;
    font-weight: 700;
}

#account-sec .account-online-indicator {
    position: absolute;
    right: -0.05rem;
    bottom: 0.02rem;
    width: 0.72rem;
    height: 0.72rem;
    border: 2px solid #071326;
    border-radius: 50%;
    background: #10b981;
}

#account-sec .account-eyebrow {
    z-index: 1;
    margin: 0 0 0.15rem;
    color: #22d3ee;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

#account-sec > div:first-child.account-layout .account-profile-card h2 {
    z-index: 1;
    margin: 0;
    color: #f4f8ff;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.015em;
    line-height: 1.2;
}

#account-sec .account-profile-name-row {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    max-width: 100%;
}

#account-sec .account-name-edit-button {
    display: grid;
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(56, 116, 190, 0.38);
    border-radius: 0.45rem;
    background: rgba(14, 31, 57, 0.9);
    color: #9ab0ca;
    cursor: pointer;
    font-size: 0.58rem;
}

#account-sec .account-name-edit-button:hover {
    border-color: #38bdf8;
    color: #7dd3fc;
}

#account-sec .account-name-form {
    z-index: 1;
    display: grid;
    width: min(100%, 24rem);
    gap: 0.4rem;
    margin-top: 0.35rem;
    text-align: left;
}

#account-sec .account-name-form.hidden {
    display: none;
}

#account-sec .account-name-form label {
    color: #a9bed6;
    font-size: 0.7rem;
    font-weight: 700;
}

#account-sec .account-name-form-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

#account-sec .account-name-form input {
    min-width: 10rem;
    min-height: 2.2rem;
    flex: 1 1 10rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(56, 116, 190, 0.42);
    border-radius: 0.45rem;
    outline: none;
    background: #07162b;
    color: #edf6ff;
    font: inherit;
    font-size: 0.8rem;
}

#account-sec .account-name-form input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.12);
}

#account-sec .account-name-form button {
    min-height: 2.2rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(56, 116, 190, 0.38);
    border-radius: 0.45rem;
    background: rgba(14, 31, 57, 0.9);
    color: #cbd9eb;
    cursor: pointer;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 700;
}

#account-sec .account-name-form .account-name-save {
    border-color: #0284c7;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #fff;
}

#account-sec .account-name-form p {
    margin: 0;
    color: #7187a2;
    font-size: 0.6rem;
}

#account-sec .account-profile-email {
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.32rem;
    margin: 0.28rem 0 0;
    color: #9aadc6;
    font-size: 0.76rem;
}

#account-sec .account-profile-email i {
    color: #38bdf8;
    font-size: 0.75rem;
}

#account-sec .account-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

#account-sec .account-stat-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 3.25rem;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    padding: 0.5rem;
    border: 1px solid rgba(56, 116, 190, 0.34);
    border-radius: 0.7rem;
    background: linear-gradient(145deg, rgba(12, 31, 59, 0.96), rgba(8, 22, 45, 0.96));
    box-shadow: inset 0 1px 0 rgba(147, 197, 253, 0.04);
}

#account-sec .account-stat-card::after {
    position: absolute;
    right: -0.6rem;
    bottom: -1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    transform: rotate(35deg);
    background: rgba(37, 99, 235, 0.12);
    content: "";
}

#account-sec .account-stat-icon,
#account-sec .account-information-icon,
#account-sec .account-detail-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #effaff;
}

#account-sec .account-stat-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.38rem;
    font-size: 0.65rem;
}

#account-sec .account-stat-icon-blue,
#account-sec .account-detail-icon-phone {
    background: linear-gradient(145deg, #38bdf8, #2563eb);
}

#account-sec .account-stat-icon-green {
    background: linear-gradient(145deg, #10b981, #059669);
}

#account-sec .account-stat-icon-amber {
    background: linear-gradient(145deg, #fbbf24, #f97316);
}

#account-sec .account-stat-icon-purple,
#account-sec .account-detail-icon-email {
    background: linear-gradient(145deg, #a855f7, #4f46e5);
}

#account-sec .account-stat-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.08rem;
}

#account-sec .account-stat-copy strong {
    overflow: hidden;
    color: #f3f8ff;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#account-sec .account-stat-copy > span:not(.account-visually-hidden) {
    color: #91a5bf;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

#account-sec .account-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

#account-sec .account-information-card {
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 0.8rem;
    background: rgba(7, 20, 40, 0.84);
    box-shadow: 0 12px 28px rgba(1, 7, 18, 0.17);
}

#account-sec .account-information-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(56, 116, 190, 0.28);
}

#account-sec .account-information-icon {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 0.38rem;
    background: linear-gradient(145deg, #0ea5e9, #2563eb);
    font-size: 0.6rem;
}

#account-sec .account-information-heading h3 {
    margin: 0;
    color: #e7f1ff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.15;
}

#account-sec .account-information-heading p {
    margin: 0.12rem 0 0;
    color: #8095b0;
    font-size: 0.65rem;
}

#account-sec .account-information-body {
    display: grid;
    gap: 0.42rem;
    padding: 0.55rem;
}

#account-sec .account-detail-row {
    display: flex;
    min-height: 3.2rem;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem;
    border: 1px solid rgba(56, 116, 190, 0.28);
    border-radius: 0.7rem;
    background: rgba(10, 28, 54, 0.78);
}

#account-sec .account-detail-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.34rem;
    font-size: 0.57rem;
}

#account-sec .account-detail-copy {
    display: grid;
    min-width: 0;
    gap: 0.22rem;
}

#account-sec .account-detail-label {
    color: #8ea4bf;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#account-sec .account-detail-copy strong {
    overflow-wrap: anywhere;
    color: #e5edf8;
    font-size: 0.78rem;
    font-weight: 700;
}

#account-sec .account-copy-button {
    display: grid;
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 auto;
    place-items: center;
    margin-left: auto;
    border: 1px solid rgba(56, 116, 190, 0.38);
    border-radius: 0.35rem;
    background: rgba(14, 31, 57, 0.9);
    color: #9ab0ca;
    cursor: pointer;
    font-size: 0.55rem;
    transition: border-color 160ms ease, color 160ms ease;
}

#account-sec .account-copy-button:hover {
    border-color: #38bdf8;
    color: #7dd3fc;
}

#account-sec .account-user-id-copy {
    position: relative;
    z-index: 1;
    margin-left: auto;
}

#account-sec .account-edit-button {
    display: grid;
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 auto;
    place-items: center;
    margin-left: auto;
    border: 1px solid rgba(56, 116, 190, 0.38);
    border-radius: 0.35rem;
    background: rgba(37, 99, 235, 0.78);
    color: #dff6ff;
    cursor: pointer;
    font-size: 0.52rem;
    transition: background-color 160ms ease, border-color 160ms ease;
}

#account-sec .account-edit-button:hover {
    border-color: #7dd3fc;
    background: #0284c7;
}

#account-sec .account-phone-form {
    display: grid;
    gap: 0.4rem;
    padding: 0.65rem;
    border: 1px solid rgba(56, 116, 190, 0.28);
    border-radius: 0.55rem;
    background: rgba(10, 28, 54, 0.78);
}

#account-sec .account-phone-form.hidden {
    display: none;
}

#account-sec .account-phone-form label {
    color: #a9bed6;
    font-size: 0.75rem;
    font-weight: 700;
}

#account-sec .account-phone-form-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

#account-sec .account-phone-form input {
    min-width: 10rem;
    min-height: 2rem;
    flex: 1 1 12rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(56, 116, 190, 0.42);
    border-radius: 0.4rem;
    outline: none;
    background: #07162b;
    color: #edf6ff;
    font: inherit;
    font-size: 0.75rem;
}

#account-sec .account-phone-form input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.12);
}

#account-sec .account-phone-form button {
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(56, 116, 190, 0.38);
    border-radius: 0.4rem;
    background: rgba(14, 31, 57, 0.9);
    color: #cbd9eb;
    cursor: pointer;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
}

#account-sec .account-phone-form .account-phone-save {
    border-color: #0284c7;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #fff;
}

#account-sec .account-phone-form p {
    margin: 0;
    color: #7187a2;
    font-size: 0.58rem;
}

#account-sec .account-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0.1rem 0.1rem;
    border-top: 1px solid rgba(56, 116, 190, 0.2);
    color: #91a5bf;
    font-size: 0.68rem;
}

#account-sec .account-status-row > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

#account-sec .account-status-row > span:first-child i {
    color: #22d3ee;
}

#account-sec .account-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.45rem;
    border: 1px solid rgba(16, 185, 129, 0.34);
    border-radius: 999px;
    background: rgba(6, 78, 59, 0.42);
    color: #6ee7b7;
    font-size: 0.62rem;
    font-weight: 700;
}

#account-sec .account-status-badge i {
    font-size: 0.34rem;
}

#account-sec .account-last-login {
    margin: -0.15rem 0 0;
    color: #7187a2;
    font-size: 0.6rem;
}

@media (max-width: 640px) {
    #account-sec {
        padding: 1.25rem 0.65rem 1rem;
    }

    #account-sec .account-layout {
        width: 100%;
        gap: 0.7rem;
    }

    #account-sec .account-profile-card {
        min-height: 8rem;
        margin-top: 2rem;
        padding: 2.65rem 0.85rem 0.9rem;
        border-radius: 1rem;
    }

    #account-sec .account-avatar-frame {
        top: -2.5rem;
        width: 5rem;
        height: 5rem;
    }

    #account-sec .account-eyebrow {
        font-size: 0.66rem;
    }

    #account-sec > div:first-child.account-layout .account-profile-card h2 {
        max-width: 100%;
        font-size: 1.35rem;
        overflow-wrap: anywhere;
    }

    #account-sec .account-name-edit-button {
        width: 1.8rem;
        height: 1.8rem;
        border-radius: 0.55rem;
        font-size: 0.68rem;
    }

    #account-sec .account-name-form {
        width: min(100%, 26rem);
    }

    #account-sec .account-name-form input {
        min-height: 2.6rem;
        font-size: 1rem;
    }

    #account-sec .account-name-form button {
        min-height: 2.6rem;
        padding-inline: 0.85rem;
        font-size: 0.78rem;
    }

    #account-sec .account-profile-email {
        max-width: 100%;
        font-size: 0.72rem;
        overflow-wrap: anywhere;
    }

    #account-sec .account-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    #account-sec .account-stat-card {
        min-height: 4rem;
        gap: 0.6rem;
        padding: 0.65rem;
        border-radius: 0.85rem;
    }

    #account-sec .account-stat-icon {
        width: 1.8rem;
        height: 1.8rem;
        border-radius: 0.5rem;
        font-size: 0.75rem;
    }

    #account-sec .account-stat-copy strong {
        font-size: 1rem;
    }

    #account-sec .account-stat-copy > span:not(.account-visually-hidden) {
        font-size: 0.58rem;
        letter-spacing: 0.045em;
    }

    #account-sec .account-information-card {
        border-radius: 1rem;
    }

    #account-sec .account-information-heading {
        gap: 0.65rem;
        padding: 0.8rem;
    }

    #account-sec .account-information-icon {
        width: 1.75rem;
        height: 1.75rem;
        border-radius: 0.5rem;
        font-size: 0.72rem;
    }

    #account-sec .account-information-heading h3 {
        font-size: 0.98rem;
    }

    #account-sec .account-information-heading p {
        font-size: 0.68rem;
    }

    #account-sec .account-information-body {
        gap: 0.5rem;
        padding: 0.65rem;
    }

    #account-sec .account-detail-row {
        min-height: 3.65rem;
        gap: 0.65rem;
        padding: 0.55rem;
        border-radius: 0.75rem;
    }

    #account-sec .account-detail-icon {
        width: 1.65rem;
        height: 1.65rem;
        border-radius: 0.45rem;
        font-size: 0.68rem;
    }

    #account-sec .account-detail-label {
        font-size: 0.62rem;
        letter-spacing: 0.05em;
    }

    #account-sec .account-detail-copy strong {
        font-size: 0.82rem;
    }

    #account-sec .account-copy-button,
    #account-sec .account-edit-button {
        width: 2rem;
        height: 2rem;
        border-radius: 0.55rem;
        font-size: 0.68rem;
    }

    #account-sec .account-status-row {
        padding: 0.4rem 0.1rem 0.1rem;
        font-size: 0.72rem;
    }

    #account-sec .account-status-badge {
        padding: 0.3rem 0.55rem;
        font-size: 0.65rem;
    }

    #account-sec .account-last-login {
        font-size: 0.62rem;
    }
}

@media (max-width: 360px) {
    #account-sec {
        padding-right: 0.55rem;
        padding-left: 0.55rem;
    }

    #account-sec .account-stats-grid {
        gap: 0.4rem;
    }

    #account-sec .account-stat-card {
        gap: 0.38rem;
        padding: 0.45rem;
    }
}

#topup-sec {
    width: min(calc(100% - 2rem), 640px);
    max-width: 640px;
    margin: 0 auto;
    padding: 0.75rem 0 2.5rem;
    border-radius: 0;
    background: transparent !important;
    color: #e7f1ff;
    box-sizing: border-box;
}

#topup-sec .order-box {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 0 0.8rem;
    padding: 0.8rem 0.85rem;
    border: 1px solid rgba(56, 139, 201, 0.4);
    border-radius: 0.8rem;
    background: linear-gradient(145deg, rgba(8, 25, 50, 0.97), rgba(6, 20, 42, 0.98));
    box-shadow: 0 8px 24px rgba(1, 7, 18, 0.16), inset 0 1px 0 rgba(147, 197, 253, 0.035);
    box-sizing: border-box;
}

#topup-sec .order-box:first-child {
    display: flex;
    min-height: 5rem;
    align-items: center;
    gap: 0.8rem;
}

#topup-sec .order-box:first-child > img {
    flex: 0 0 auto;
    border-color: rgba(56, 189, 248, 0.4);
}

#topup-sec .order-box:first-child h3 {
    margin: 0 0 0.2rem;
    color: #f0f7ff;
}

#topup-sec .order-box:first-child p {
    margin: 0;
    color: #9bb0ca;
}

#topup-sec .order-box-header {
    display: none;
}

#topup-sec .order-step-circle {
    top: 0.8rem;
    left: 0.85rem;
    width: 1.45rem;
    height: 1.45rem;
    border: 1px solid rgba(56, 189, 248, 0.18);
    background: rgba(14, 116, 180, 0.2);
    color: #67e8f9;
    box-shadow: none;
    font-size: 0.7rem;
}

#topup-sec .order-box-title {
    margin: 0 0 0.7rem;
    padding: 0.1rem 0 0.65rem 2rem;
    border-bottom: 1px solid rgba(56, 116, 190, 0.26);
    color: #edf6ff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

#topup-sec #products-grid {
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

#topup-sec #products-grid .product-card {
    min-height: 2.65rem;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(56, 139, 201, 0.35);
    border-radius: 0.65rem;
    background: rgba(10, 30, 58, 0.84);
    box-shadow: none;
}

#topup-sec #products-grid .product-card:hover,
#topup-sec #products-grid .product-card.selected {
    transform: translateY(-1px);
    border-color: #38bdf8;
    background: rgba(14, 55, 94, 0.9);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12);
}

#topup-sec #products-grid .product-card .prod-title {
    color: #e5efff;
    font-size: 0.72rem;
    line-height: 1.35;
}

#topup-sec #products-grid .product-card .prod-price {
    flex: 0 0 auto;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #2563c9;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
}

#topup-sec a {
    color: #9bbbe0;
}

#topup-sec #player-id-section {
    gap: 0.55rem;
}

#topup-sec #player-id-section label {
    margin-bottom: 0.35rem;
    color: #aebfd5;
    font-size: 0.72rem;
}

#topup-sec #game-player-id {
    min-height: 2.35rem;
    border: 1px solid rgba(56, 189, 248, 0.65) !important;
    border-radius: 0.55rem;
    background: rgba(5, 20, 42, 0.92);
    color: #edf6ff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

#topup-sec #game-player-id:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
    outline: none;
}

#topup-sec #game-player-id::placeholder {
    color: #7086a2;
}

#topup-sec #uidCheckBtn,
#topup-sec button[onclick="processOrder()"] {
    min-height: 2.25rem;
    border-radius: 0.5rem;
    background: linear-gradient(100deg, #1d4ed8, #2563c9);
    box-shadow: none;
}

#topup-sec #uidCheckBtn:hover,
#topup-sec button[onclick="processOrder()"]:hover {
    background: linear-gradient(100deg, #2563eb, #0284c7);
}

#topup-sec #uidCheckBtn.player-name-found {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#topup-sec .pay-option-card-new {
    overflow: hidden;
    border: 1px solid rgba(56, 139, 201, 0.35);
    border-radius: 0.65rem;
    background: rgba(10, 30, 58, 0.84);
}

#topup-sec .pay-option-card-new .pay-card-body {
    background: transparent;
}

#topup-sec .pay-option-card-new .pay-card-footer {
    border-color: rgba(56, 139, 201, 0.24);
    background: rgba(13, 39, 72, 0.9);
}

#topup-sec .pay-option-card-new .pay-card-label {
    color: #dceaff;
}

#topup-sec .pay-option-card-new.selected {
    border-color: #38bdf8;
    background: rgba(14, 55, 94, 0.92);
}

#topup-sec .pay-option-card-new.selected .pay-card-footer {
    background: linear-gradient(100deg, #1d4ed8, #0284c7);
}

#topup-sec .pay-option-card-new {
    height: 190px;
}

#topup-sec .pay-option-card-new .pay-card-body {
    min-height: 0;
    padding: 0.75rem;
}

#topup-sec .pay-option-card-new .pay-card-body img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

#topup-sec #opt-wallet .pay-card-body i {
    font-size: 1.75rem;
}

#topup-sec .space-y-2 > div {
    border-color: rgba(56, 139, 201, 0.28);
    background: rgba(9, 29, 56, 0.82);
}

#topup-sec .space-y-2 > div p {
    color: #b7c8dd;
}

#topup-sec #game-rules-text {
    color: #b8c9dd;
    font-size: 0.75rem;
    line-height: 1.7;
}

#topup-sec #game-rules-text p {
    margin: 0 0 0.35rem;
}

#topup-sec .topup-footer {
    overflow: hidden;
    border: 1px solid rgba(56, 139, 201, 0.3);
    border-radius: 0.75rem;
    background: rgba(7, 23, 46, 0.92);
    color: #9bb0ca;
}

#topup-sec .topup-footer > div {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    color: inherit;
}

@media (max-width: 640px) {
    #topup-sec {
        width: calc(100% - 1.25rem);
        padding-top: 0.55rem;
    }

    #topup-sec .order-box {
        margin-bottom: 0.65rem;
        padding: 0.7rem;
    }

    #topup-sec .order-step-circle {
        top: 0.72rem;
        left: 0.7rem;
    }

    #topup-sec .order-box-title {
        font-size: 0.88rem;
    }

    #topup-sec #products-grid .product-card .prod-title {
        font-size: 0.68rem;
    }
}

#topup-sec #products-grid .product-card,
#topup-sec #products-grid .product-card.out-of-stock {
    border-color: rgba(56, 139, 201, 0.35);
    background: rgba(10, 30, 58, 0.84);
    box-shadow: none;
}

#topup-sec #products-grid .product-card:hover,
#topup-sec #products-grid .product-card.selected {
    border-color: #38bdf8;
    background: rgba(14, 55, 94, 0.9);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12);
}

#topup-sec #products-grid .product-card .prod-title,
#topup-sec #products-grid .product-card.out-of-stock .prod-title,
#topup-sec #products-grid .product-card.selected .prod-title {
    color: #e5efff;
}

#topup-sec #products-grid .product-card .prod-price,
#topup-sec #products-grid .product-card.out-of-stock .prod-price {
    background: #2563c9;
    color: #fff;
}

#topup-sec #products-grid .product-card .prod-sub {
    color: #93aac4;
}

#topup-sec #products-grid .product-card .stock-badge {
    border-color: rgba(248, 113, 113, 0.32);
    background: rgba(127, 29, 29, 0.75);
    color: #fecaca;
}

@media (min-width: 1024px) {
    #account-sec .account-layout {
        width: min(100%, 1600px);
        min-height: calc(100vh - 12rem);
        grid-template-rows: auto auto minmax(18rem, 1fr);
        gap: 1.1rem;
    }

    #account-sec .account-profile-card {
        min-height: 13rem;
        margin-top: 2.8rem;
        padding-top: 4rem;
        padding-bottom: 1.6rem;
        border-radius: 1rem;
    }

    #account-sec .account-avatar-frame {
        top: -3.1rem;
        width: 6.25rem;
        height: 6.25rem;
    }

    #account-sec > div:first-child.account-layout .account-profile-card h2 {
        font-size: 2.3rem;
    }

    #account-sec .account-eyebrow {
        font-size: 0.8rem;
    }

    #account-sec .account-profile-email {
        gap: 0.5rem;
        margin-top: 0.45rem;
        font-size: 1.05rem;
    }

    #account-sec .account-stats-grid {
        gap: 1.1rem;
    }

    #account-sec .account-stat-card {
        min-height: 6.5rem;
        gap: 1rem;
        padding: 1rem 1.25rem;
        border-radius: 0.85rem;
    }

    #account-sec .account-stat-icon {
        width: 3rem;
        height: 3rem;
        border-radius: 0.7rem;
        font-size: 1.15rem;
    }

    #account-sec .account-stat-copy strong {
        font-size: 1.5rem;
    }

    #account-sec .account-stat-copy > span:not(.account-visually-hidden) {
        font-size: 0.95rem;
    }

    #account-sec .account-information-heading {
        gap: 1rem;
        padding: 1.2rem 1.4rem;
    }

    #account-sec .account-information-card {
        display: grid;
        grid-template-rows: auto 1fr;
    }

    #account-sec .account-information-icon {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 0.65rem;
        font-size: 1rem;
    }

    #account-sec .account-information-heading h3 {
        font-size: 1.4rem;
    }

    #account-sec .account-information-heading p {
        font-size: 0.95rem;
    }

    #account-sec .account-information-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-content: space-evenly;
        gap: 0.9rem;
        padding: 1.2rem;
    }

    #account-sec .account-detail-row {
        min-height: 5.25rem;
        gap: 1rem;
        padding: 0.9rem;
        border-radius: 0.7rem;
    }

    #account-sec .account-detail-icon {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.6rem;
        font-size: 1rem;
    }

    #account-sec .account-detail-label {
        font-size: 0.95rem;
    }

    #account-sec .account-detail-copy strong {
        font-size: 1.15rem;
    }

    #account-sec .account-copy-button {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    #account-sec .account-edit-button {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.95rem;
    }

    #account-sec .account-status-row,
    #account-sec .account-last-login {
        grid-column: 1 / -1;
    }

    #account-sec .account-status-row {
        padding: 0.9rem 0.3rem 0.3rem;
        font-size: 0.95rem;
    }

    #account-sec .account-status-badge {
        padding: 0.45rem 0.8rem;
        font-size: 0.85rem;
    }

    #account-sec .account-last-login {
        font-size: 0.85rem;
    }
}

