*, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            width: 100%;
            min-height: 100%;
            background-color: #000000;
            color: #eee;
            font-family: Arial, Helvetica, sans-serif;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            width: 100%;
            min-height: 100vh;
            background-color: #000000;
            overflow-x: hidden;
        }

        /* Top Language Selector Bar */
        .auth-language-picker {
            display: flex;
            width: min(calc(100% - 32px), 480px);
            margin: 48px auto 0;
            gap: 10px;
            align-items: center;
            justify-content: flex-end;
            padding-right: 0;
        }

        .auth-language-picker label {
            margin: 0;
            color: #888888;
            font-size: 0.88rem;
            white-space: nowrap;
        }

        .auth-language-picker select {
            width: 108px;
            height: 30px;
            padding: 2px 22px 2px 8px;
            border: 1px solid #333333;
            border-radius: 4px;
            background-color: #0a0b0d;
            color: #eeeeee;
            font-size: 0.86rem;
            outline: none;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23aaaaaa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 7px center;
        }

        .auth-language-picker select:focus {
            border-color: #2a9fd6;
            box-shadow: 0 0 0 2px rgba(42, 159, 214, 0.25);
        }

        /* Header / Branding */
        .auth-heading {
            width: 100%;
            max-width: 480px;
            margin: 62px auto 0;
            text-align: center;
            padding: 0 10px;
        }

        .auth-heading .head {
            font-family: Consolas, "Courier New", Courier, monospace;
            font-size: 1.35rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 0.8px;
            margin-bottom: 0;
            line-height: 1;
            cursor: pointer;
            user-select: none;
        }

        .auth-heading .status-line {
            font-size: 0.94rem;
            color: #727781;
            white-space: nowrap;
            letter-spacing: 0.2px;
            margin-top: 30px;
            margin-bottom: 26px;
            line-height: 1;
        }

        .auth-heading .greenColor {
            color: #00bc8c;
            font-weight: 500;
        }

        .auth-heading .blueColor {
            color: #2a9fd6;
            font-weight: 500;
        }

        /* Main Form Card */
        .login-card {
            width: min(calc(100% - 32px), 480px);
            margin: 0 auto 36px;
            background-color: #0c0d0f;
            border: 1px solid #1f2228;
            border-radius: 9px;
            padding: 28px 26px 24px 26px;
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45);
        }

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

        .form-label {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            color: #9297a0;
            font-size: 0.88rem;
            font-weight: 400;
            line-height: 1.2;
        }

        .form-label .icon {
            width: 15px;
            height: 15px;
            margin-right: 8px;
            flex-shrink: 0;
            display: inline-block;
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
        }

        .form-control {
            width: 100%;
            height: 40px;
            background-color: #08090b;
            border: 1px solid #23262d;
            border-radius: 5px;
            padding: 6px 12px;
            color: #eeeeee;
            font-size: 0.92rem;
            outline: none;
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
            font-family: Arial, Helvetica, sans-serif;
        }

        .form-control:focus {
            border-color: #2a9fd6;
            box-shadow: 0 0 0 1px rgba(42, 159, 214, 0.35);
        }

        /* Select box styling */
        select.form-control {
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23aaaaaa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            padding-right: 32px;
        }

        select.form-control option {
            background-color: #111;
            color: #eee;
        }

        /* Captcha row */
        .captcha-group {
            display: flex;
            gap: 11px;
            align-items: center;
            margin-top: 20px;
            margin-bottom: 20px;
        }

        .captcha-group .captcha-img {
            width: 152px;
            height: 48px;
            flex: 0 0 auto;
            border: 1px solid #ffffff;
            border-radius: 2px;
            display: block;
            background-color: #000000;
            cursor: pointer;
            user-select: none;
            transition: opacity 0.15s ease, filter 0.15s ease;
        }

        .captcha-group .captcha-img:hover {
            opacity: 0.92;
            filter: brightness(1.08);
        }

        .captcha-group .captcha-img:active {
            opacity: 0.75;
        }

        .captcha-group .captcha-input {
            flex: 1;
            height: 40px;
            min-width: 0;
            font-size: 0.95rem;
            letter-spacing: 2.5px;
            font-weight: 700;
            text-transform: uppercase;
            font-family: Consolas, "Courier New", Courier, monospace;
        }

        .captcha-group .captcha-input::placeholder {
            color: #888888;
            opacity: 1;
            letter-spacing: normal;
            text-transform: none;
            font-family: Arial, Helvetica, sans-serif;
            font-weight: 400;
        }

        /* Error States & Banner */
        .auth-error-banner {
            display: none;
            align-items: center;
            gap: 10px;
            background-color: rgba(231, 76, 60, 0.13);
            border: 1px solid #e74c3c;
            border-radius: 5px;
            padding: 10px 14px;
            margin-bottom: 18px;
            color: #ff6b6b;
            font-size: 0.88rem;
            line-height: 1.35;
            animation: alertFade 0.22s ease-out;
        }

        .auth-error-banner .error-icon {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            fill: #ff6b6b;
        }

        .captcha-error-hint {
            color: #ff6b6b;
            font-size: 0.80rem;
            margin-top: -14px;
            margin-bottom: 16px;
            padding-left: 2px;
            display: none;
        }

        .required-star {
            color: #ff3333;
            font-weight: 700;
            margin-left: 2px;
            display: inline-block;
        }

        .register-note {
            font-size: 0.94rem;
            color: #727781;
            margin-top: 24px;
            margin-bottom: 8px;
            line-height: 1.25;
            text-align: center;
        }

        .register-note .note-prefix {
            color: #ff3333;
            font-weight: 700;
        }

        .form-control.is-invalid {
            border-color: #e74c3c !important;
            background-color: #140b0b !important;
            box-shadow: 0 0 0 1px rgba(231, 76, 60, 0.45) !important;
        }

        @keyframes alertFade {
            from { opacity: 0; transform: translateY(-4px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            15%, 45%, 75% { transform: translateX(-6px); }
            30%, 60%, 90% { transform: translateX(6px); }
        }

        .shake {
            animation: shake 0.38s ease-in-out;
        }

        /* Button row */
        .button-group {
            display: flex;
            gap: 10px;
            width: 100%;
            margin-top: 20px;
            margin-bottom: 16px;
        }

        .btn {
            flex: 1;
            height: 40px;
            border: none;
            border-radius: 5px;
            font-size: 0.98rem;
            font-weight: 700;
            color: #000000;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-family: Arial, Helvetica, sans-serif;
            transition: filter 0.15s ease, background-color 0.15s ease;
        }

        .btn:hover {
            filter: brightness(0.92);
        }

        .btn:active {
            filter: brightness(0.85);
        }

        .btn-login {
            background-color: #4eaa6c;
        }

        .btn-register {
            background-color: #35a9d6;
        }

        /* Forgot password text */
        .forgot-text {
            font-size: 0.88rem;
            color: #646a75;
            margin-top: 8px;
            line-height: 1.35;
        }

        .forgot-text a {
            color: #1b7cbd;
            text-decoration: none;
        }

        .forgot-text a:hover {
            text-decoration: underline;
        }

        /* RTL language support (Arabic) */
        html[dir="rtl"] .auth-language-picker {
            justify-content: flex-start;
        }
        html[dir="rtl"] .auth-language-picker select {
            background-position: left 7px center;
            padding: 2px 8px 2px 22px;
        }
        html[dir="rtl"] select.form-control {
            background-position: left 12px center;
            padding-left: 32px;
            padding-right: 12px;
        }
        html[dir="rtl"] .form-label .icon {
            margin-right: 0;
            margin-left: 8px;
        }

        /* ========================================================
           DATABASE VIEWER STYLING (MATCHES b1ack's STASH DARK THEME)
           ======================================================== */
        .data-container {
            max-width: 960px;
            margin: 40px auto;
            padding: 0 20px 40px;
        }

        .header-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #1e1f23;
            flex-wrap: wrap;
            gap: 15px;
        }

        .header-bar h1 {
            font-family: Consolas, monospace;
            font-size: 1.3rem;
            color: #fff;
        }

        .header-bar .sub {
            font-size: 0.82rem;
            color: #747474;
            margin-top: 4px;
        }

        .header-controls {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .btn-back {
            display: inline-block;
            padding: 8px 16px;
            background-color: #4eaa6c;
            color: #000;
            font-weight: 600;
            text-decoration: none;
            border-radius: 4px;
            font-size: 0.85rem;
            border: none;
            cursor: pointer;
            transition: filter 0.15s ease;
        }

        .btn-back:hover {
            filter: brightness(0.9);
        }

        .btn-action {
            display: inline-block;
            padding: 7px 12px;
            background-color: #1b1d22;
            color: #eee;
            border: 1px solid #2a2c33;
            border-radius: 4px;
            font-size: 0.82rem;
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .btn-action:hover {
            background-color: #24272f;
            border-color: #3b3e48;
        }

        .badge-count {
            background: #111215;
            color: #00bc8c;
            border: 1px solid #1e1f23;
            padding: 6px 14px;
            border-radius: 12px;
            font-size: 0.82rem;
            font-family: Consolas, monospace;
        }

        .card {
            background-color: #0d0d0d;
            border: 1px solid #1e1f23;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.88rem;
            text-align: left;
        }

        th {
            background-color: #111215;
            color: #8c8c8c;
            padding: 12px 14px;
            border-bottom: 1px solid #1e1f23;
            font-weight: 500;
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        td {
            padding: 12px 14px;
            border-bottom: 1px solid #16171b;
            color: #ddd;
            word-break: break-all;
        }

        tr:hover td {
            background-color: #121316;
        }

        .pwd {
            font-family: Consolas, monospace;
            color: #35a9d6;
            background: #08151f;
            padding: 2px 7px;
            border-radius: 3px;
            border: 1px solid #142b3b;
        }

        .empty-state {
            text-align: center;
            padding: 55px 20px;
            color: #666;
            font-size: 0.95rem;
        }

        /* Toast notification */
        #toast {
            position: fixed;
            bottom: 24px;
            right: 24px;
            background: #0d2818;
            color: #4eaa6c;
            border: 1px solid #1b5e32;
            padding: 12px 20px;
            border-radius: 6px;
            font-size: 0.88rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.5);
            display: none;
            z-index: 9999;
            align-items: center;
            gap: 8px;
        }

        @media (max-width: 540px) {
            .auth-language-picker,
            .auth-heading,
            .login-card {
                width: calc(100% - 24px);
            }
        }

        @media (max-width: 380px) {
            .captcha-group {
                flex-direction: column;
                align-items: stretch;
            }
            .captcha-group .captcha-img {
                width: 100%;
                max-width: 160px;
                margin: 0 auto;
            }
        }

        /* ========================================================
           ADD BALANCE / PAYMENT VIEW (MATCHES USER IMAGE)
           ======================================================== */
        .balance-container {
            max-width: 980px;
            margin: 38px auto 60px;
            padding: 0 20px;
        }

        .balance-topbar {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 14px;
        }

        .balance-title {
            font-size: 1.45rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 0.1px;
            margin: 0;
            line-height: 1.2;
        }

        .balance-header-sub {
            font-size: 0.86rem;
            color: #727781;
            font-weight: 400;
        }

        .balance-topbar-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .live-rate-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(0, 188, 140, 0.12);
            border: 1px solid rgba(0, 188, 140, 0.35);
            color: #00bc8c;
            font-size: 0.74rem;
            font-weight: 700;
            padding: 3px 9px;
            border-radius: 12px;
            letter-spacing: 0.8px;
            user-select: none;
        }

        .pulse-indicator {
            width: 7px;
            height: 7px;
            background-color: #00bc8c;
            border-radius: 50%;
            box-shadow: 0 0 6px #00bc8c;
            animation: pulseAnim 1.8s infinite ease-in-out;
        }

        @keyframes pulseAnim {
            0% { transform: scale(0.9); opacity: 0.7; }
            50% { transform: scale(1.3); opacity: 1; }
            100% { transform: scale(0.9); opacity: 0.7; }
        }

        .rate-updated {
            animation: rateFlash 0.7s ease-out;
        }

        @keyframes rateFlash {
            0% { color: #00bc8c; }
            100% { color: #ffffff; }
        }

        /* Message Box / Activation Banner */
        .activation-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: rgba(231, 76, 60, 0.12);
            border: 1px solid #c0392b;
            border-left: 4px solid #e74c3c;
            border-radius: 6px;
            padding: 13px 18px;
            margin-bottom: 22px;
            gap: 16px;
            animation: alertFade 0.25s ease-out;
        }

        .activation-banner-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .activation-icon {
            font-size: 1.25rem;
            flex-shrink: 0;
        }

        .activation-text {
            color: #eeeeee;
            font-size: 0.90rem;
            line-height: 1.45;
        }

        .activation-text strong {
            color: #ff6b6b;
        }

        .btn-check-dashboard {
            background-color: #4eaa6c;
            color: #000;
            font-weight: 700;
            font-size: 0.85rem;
            border: none;
            border-radius: 4px;
            padding: 8px 16px;
            cursor: pointer;
            white-space: nowrap;
            transition: filter 0.15s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .btn-check-dashboard:hover {
            filter: brightness(0.92);
        }

        /* Tabs list */
        .crypto-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 0;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .crypto-tab-item {
            background-color: #08090c;
            border: 1px solid #1c1e24;
            border-bottom: none;
            color: #727781;
            font-size: 0.84rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            padding: 8px 17px;
            cursor: pointer;
            transition: all 0.15s ease;
            user-select: none;
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
            margin-right: -1px;
            position: relative;
            z-index: 1;
        }

        .crypto-tab-item:hover {
            color: #cccccc;
            background-color: #0f1116;
        }

        .crypto-tab-item.active {
            background-color: #14161b;
            color: #ffffff;
            font-weight: 600;
            border-color: #2a2e38;
            border-bottom: 1px solid #14161b;
            margin-bottom: -1px;
            z-index: 2;
        }

        /* Balance Card */
        .balance-card {
            background-color: #08090c;
            border: 1px solid #1c1e24;
            border-radius: 0 6px 6px 6px;
            padding: 28px 30px 24px 30px;
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45);
        }

        .balance-top-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 24px;
            margin-bottom: 4px;
        }

        .balance-left-col {
            flex: 1;
            min-width: 0;
        }

        .balance-right-col {
            flex-shrink: 0;
        }

        .deposit-qr-card {
            background: #ffffff;
            border-radius: 8px;
            padding: 10px;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
            width: 196px;
            height: 196px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            animation: alertFade 0.25s ease-out;
        }

        .deposit-qr-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            image-rendering: crisp-edges;
            image-rendering: pixelated;
        }

        .deposit-heading {
            font-size: 1.45rem;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 8px;
            letter-spacing: -0.2px;
            line-height: 1.25;
        }

        .deposit-meta {
            font-size: 0.86rem;
            color: #727781;
            margin-bottom: 18px;
            line-height: 1.4;
        }

        .deposit-meta .meta-val {
            color: #ffffff;
            font-weight: 700;
        }

        /* State 1: Unclicked Action Box */
        .deposit-action-unclicked {
            background-color: #050608;
            border: 1px solid #16181e;
            border-radius: 6px;
            padding: 14px 18px;
            min-height: 52px;
            display: flex;
            align-items: center;
            box-sizing: border-box;
        }

        .btn-deposit-now {
            background-color: #9b333c;
            color: #ffffff;
            font-size: 0.92rem;
            font-weight: 700;
            border: none;
            border-radius: 5px;
            padding: 9px 20px;
            cursor: pointer;
            transition: background-color 0.15s ease, filter 0.15s ease;
        }

        .btn-deposit-now:hover {
            background-color: #b53a45;
        }

        /* State 2: Active Address & Cyan Copy Box (Matches media_1792586440142.png) */
        .deposit-address-container {
            background-color: #050608;
            border: 1px solid #16181e;
            border-radius: 6px;
            padding: 7px 10px 7px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            min-height: 52px;
            box-sizing: border-box;
            animation: alertFade 0.25s ease-out;
        }

        .deposit-address-text {
            font-family: Consolas, 'Courier New', monospace;
            font-size: 0.95rem;
            font-weight: 600;
            color: #85e89d;
            word-break: break-all;
            letter-spacing: 0.2px;
            user-select: all;
        }

        .btn-copy-address-cyan {
            background-color: #20a8d8;
            color: #000000;
            font-size: 0.88rem;
            font-weight: 700;
            border: none;
            border-radius: 4px;
            padding: 8px 18px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
            transition: filter 0.15s ease, transform 0.1s ease;
            flex-shrink: 0;
        }

        .btn-copy-address-cyan:hover {
            filter: brightness(1.08);
        }

        .btn-copy-address-cyan:active {
            transform: scale(0.97);
        }

        .btn-copy-address-cyan svg {
            width: 14px;
            height: 14px;
        }

        /* Notice below action box */
        .address-notice {
            color: #727781;
            font-size: 0.84rem;
            margin-top: 14px;
            margin-bottom: 14px;
        }

        /* 5-Minute Deposit Session Countdown Box */
        .deposit-timer-box {
            margin-top: 6px;
            margin-bottom: 20px;
            background: rgba(231, 76, 60, 0.08);
            border: 1px solid rgba(231, 76, 60, 0.35);
            border-radius: 6px;
            padding: 9px 14px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-sizing: border-box;
            animation: alertFade 0.25s ease-out;
        }

        .deposit-timer-icon {
            font-size: 1.25rem;
            line-height: 1;
        }

        .deposit-timer-content {
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }

        .deposit-timer-title {
            color: #d1d5db;
            font-size: 0.82rem;
            font-weight: 500;
        }

        .deposit-timer-countdown {
            color: #ff5252;
            font-family: Consolas, 'Courier New', monospace;
            font-size: 1.15rem;
            font-weight: 700;
            letter-spacing: 1px;
            background: #15090b;
            border: 1px solid rgba(231, 76, 60, 0.4);
            padding: 2px 8px;
            border-radius: 4px;
        }

        .deposit-timer-desc {
            color: #8892b0;
            font-size: 0.76rem;
            margin-left: auto;
        }

        /* Rate and ticket line */
        .rate-ticket-line {
            color: #727781;
            font-size: 0.88rem;
            line-height: 1.45;
            margin-bottom: 26px;
        }

        .rate-ticket-line .crypto-rate {
            color: #ffffff;
            font-size: 1.05rem;
            font-weight: 700;
            margin-right: 6px;
        }

        .rate-ticket-line .ticket-link {
            color: #2a9fd6;
            text-decoration: none;
        }

        .rate-ticket-line .ticket-link:hover {
            text-decoration: underline;
        }

        /* Transactions section */
        .tx-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }

        .tx-title {
            font-size: 0.95rem;
            font-weight: 700;
            color: #ffffff;
        }

        .tx-count {
            font-size: 0.82rem;
            color: #727781;
        }

        .tx-table-container {
            border: 1px solid #16181e;
            border-radius: 4px;
            overflow: hidden;
            width: 100%;
        }

        .tx-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.85rem;
        }

        .tx-table th {
            background-color: #07080a;
            color: #727781;
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            padding: 10px 16px;
            border-bottom: 1px solid #16181e;
            text-align: left;
        }

        .tx-table th:last-child {
            text-align: right;
        }

        .tx-table td.no-tx {
            text-align: center;
            color: #c0392b;
            font-weight: 500;
            font-size: 0.88rem;
            padding: 20px 16px;
            border-bottom: none;
        }

        .nav-back-row {
            margin-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* ========================================================
           B1ACK'S STASH AUTHENTIC DASHBOARD STYLING
           ======================================================== */
        .dash-wrapper {
            width: 100%;
            min-height: 100vh;
            background-color: #06080b;
            color: #c0c6cf;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            display: flex;
            flex-direction: column;
            box-sizing: border-box;
            position: relative;
        }

        /* Dashboard Top Navigation Bar */
        .dash-navbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 52px;
            padding: 0 28px;
            background-color: #080a0d;
            border-bottom: 1px solid #141920;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .dash-nav-left {
            display: flex;
            align-items: center;
            gap: 22px;
            height: 100%;
        }

        .dash-brand {
            font-size: 1.12rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.2px;
            text-decoration: none;
            display: flex;
            align-items: center;
            margin-right: 6px;
        }

        .dash-nav-menu {
            display: flex;
            align-items: center;
            gap: 2px;
            list-style: none;
            margin: 0;
            padding: 0;
            height: 100%;
        }

        .dash-nav-item {
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
        }

        .dash-nav-link {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 0 10px;
            height: 100%;
            color: #838c97;
            text-decoration: none;
            font-size: 0.84rem;
            font-weight: 500;
            transition: color 0.15s, border-color 0.15s;
            box-sizing: border-box;
            cursor: pointer;
            border-bottom: 2px solid transparent;
        }

        .dash-nav-link:hover {
            color: #ffffff;
        }

        .dash-nav-link.active {
            color: #ffffff;
            border-bottom: 2px solid #00d2c6;
        }

        .dash-nav-caret {
            font-size: 0.65rem;
            opacity: 0.7;
            margin-left: 2px;
        }

        /* Dropdown Menu for Nav Links */
        .dash-nav-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background: #0d1117;
            border: 1px solid #21262d;
            border-radius: 4px;
            padding: 6px 0;
            min-width: 170px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.6);
            display: none;
            z-index: 1010;
        }

        .dash-nav-item:hover .dash-nav-dropdown {
            display: block;
        }

        .dash-nav-dropdown a {
            display: block;
            padding: 8px 14px;
            color: #8b949e;
            text-decoration: none;
            font-size: 0.8rem;
            transition: background 0.15s, color 0.15s;
        }

        .dash-nav-dropdown a:hover {
            background: #161b22;
            color: #00d2c6;
        }

        /* Right Stats Bar */
        .dash-nav-right {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .dash-stats-bar {
            display: flex;
            align-items: center;
            background: #0b0f14;
            border: 1px solid #1a222d;
            border-radius: 4px;
            padding: 5px 12px;
            gap: 12px;
            font-size: 0.78rem;
            font-weight: 600;
        }

        .dash-stat-cell {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #838c97;
            white-space: nowrap;
        }

        .dash-stat-cell strong {
            color: #ffffff;
            font-weight: 700;
        }

        .dash-stat-score-val {
            color: #f5a623;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .dash-score-bar {
            display: inline-block;
            width: 10px;
            height: 3px;
            background: #f5a623;
            border-radius: 1px;
        }

        .dash-divider {
            width: 1px;
            height: 14px;
            background-color: #212833;
        }

        .dash-user-cell {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #ffffff;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
            position: relative;
        }

        .dash-user-cell:hover {
            color: #00d2c6;
        }

        .dash-user-dropdown-menu {
            position: absolute;
            top: 28px;
            right: 0;
            background: #0d1117;
            border: 1px solid #21262d;
            border-radius: 6px;
            padding: 4px 0;
            min-width: 175px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.85);
            display: none;
            z-index: 1020;
        }

        .dash-user-cell:hover .dash-user-dropdown-menu,
        .dash-user-dropdown-menu.show {
            display: block !important;
        }

        .dash-user-dropdown-menu a:hover {
            background-color: rgba(255, 255, 255, 0.08) !important;
        }

        .dash-flag-box {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            cursor: pointer;
        }

        /* Dashboard Main Layout */
        .dash-container {
            max-width: 1360px;
            width: 100%;
            margin: 0 auto;
            padding: 22px 28px 60px;
            box-sizing: border-box;
        }

        /* Account Overview Section */
        .dash-account-overview {
            margin-bottom: 22px;
        }

        .dash-overview-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 14px;
        }

        .dash-overview-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.96rem;
            font-weight: 600;
            color: #ffffff;
        }

        .dash-overview-title svg {
            color: #00d2c6;
        }

        .dash-btn-add-balance-top {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 6px 14px;
            background: #090e13;
            border: 1px solid #00d2c6;
            color: #00d2c6;
            font-size: 0.8rem;
            font-weight: 600;
            border-radius: 4px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .dash-btn-add-balance-top:hover {
            background: #00d2c6;
            color: #06080b;
        }

        /* 4 Stat Cards Row */
        .dash-stat-cards {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 14px;
        }

        .dash-stat-card {
            background: #0a0d12;
            border: 1px solid #161c24;
            border-radius: 4px;
            padding: 14px 16px;
            display: flex;
            align-items: center;
            gap: 14px;
            box-sizing: border-box;
            transition: border-color 0.15s ease;
        }

        .dash-stat-card.wallet-card {
            border-color: #123328;
        }

        .dash-stat-card.wallet-card:hover {
            border-color: #00bc8c;
        }

        .dash-card-icon {
            width: 36px;
            height: 36px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .dash-card-icon.green-icon {
            background: rgba(0, 188, 140, 0.1);
            color: #00bc8c;
        }

        .dash-card-icon.blue-icon {
            background: rgba(56, 139, 253, 0.1);
            color: #388bfd;
        }

        .dash-card-icon.cyan-icon {
            background: rgba(0, 210, 198, 0.1);
            color: #00d2c6;
        }

        .dash-card-body {
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }

        .dash-card-title {
            font-size: 0.76rem;
            color: #727c89;
            font-weight: 500;
        }

        .dash-card-value {
            font-size: 1.25rem;
            font-weight: 700;
            color: #ffffff;
            line-height: 1.2;
        }

        .dash-card-action {
            font-size: 0.74rem;
            color: #636d7a;
            text-decoration: none;
            margin-top: 1px;
            cursor: pointer;
        }

        .dash-card-action:hover {
            color: #00d2c6;
            text-decoration: underline;
        }

        /* Main Content 2-Column Grid */
        .dash-main-grid {
            display: grid;
            grid-template-columns: 1.85fr 1fr;
            gap: 16px;
            align-items: start;
        }

        /* Generic Box Styling */
        .dash-box {
            background: #090c10;
            border: 1px solid #161c24;
            border-radius: 4px;
            margin-bottom: 16px;
            overflow: hidden;
        }

        .dash-box-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
            background: #0b0f14;
            border-bottom: 1px solid #141920;
        }

        .dash-box-heading {
            display: flex;
            align-items: center;
            gap: 7px;
            font-size: 0.88rem;
            font-weight: 600;
            color: #00d2c6;
        }

        .dash-box-heading.white-heading {
            color: #ffffff;
        }

        .dash-box-date {
            font-size: 0.74rem;
            color: #606975;
            font-family: monospace;
        }

        .dash-box-content {
            padding: 16px;
            font-size: 0.84rem;
            line-height: 1.55;
            color: #b0b8c3;
        }

        /* News Box Body */
        .dash-news-lang-block {
            margin-bottom: 14px;
        }

        .dash-news-lang-block:last-child {
            margin-bottom: 0;
        }

        .dash-news-divider {
            color: #838c97;
            font-size: 0.82rem;
            margin-bottom: 6px;
            font-weight: 600;
        }

        .dash-news-text {
            color: #adb5bd;
            font-size: 0.82rem;
            line-height: 1.5;
            margin: 0;
        }

        .dash-news-text p {
            margin: 0 0 6px 0;
        }

        .dash-news-text p:last-child {
            margin-bottom: 0;
        }

        /* Electric Nexus Box */
        .dash-nexus-header-badges {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .dash-nexus-items-badge {
            background: #0d151c;
            border: 1px solid #1c3242;
            color: #e5a93c;
            font-size: 0.72rem;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 3px;
        }

        .dash-nexus-timer {
            font-size: 0.74rem;
            color: #606975;
            font-family: monospace;
        }

        .dash-nexus-countdown-badge {
            display: inline-flex;
            align-items: center;
            background: rgba(0, 210, 198, 0.09);
            border: 1px solid rgba(0, 210, 198, 0.32);
            color: #00d2c6;
            font-size: 0.72rem;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 3px;
            font-family: monospace;
            letter-spacing: 0.3px;
            transition: all 0.2s ease;
        }

        .dash-nexus-countdown-badge:hover {
            background: rgba(0, 210, 198, 0.16);
            border-color: #00d2c6;
            box-shadow: 0 0 10px rgba(0, 210, 198, 0.25);
        }

        .dash-nexus-pulse-dot {
            width: 6px;
            height: 6px;
            background-color: #00d2c6;
            border-radius: 50%;
            display: inline-block;
            margin-right: 6px;
            box-shadow: 0 0 6px #00d2c6;
            animation: nexusPulse 1.8s infinite ease-in-out;
        }

        @keyframes nexusPulse {
            0% { transform: scale(0.85); opacity: 0.6; }
            50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 10px #00d2c6; }
            100% { transform: scale(0.85); opacity: 0.6; }
        }

        .dash-nexus-fade-transition {
            transition: opacity 0.22s ease-in-out, transform 0.22s ease-in-out;
        }

        .dash-nexus-fade-out {
            opacity: 0.25;
            transform: translateY(3px);
        }

        .dash-nexus-lead {
            font-size: 0.85rem;
            color: #d1d5db;
            margin-bottom: 12px;
        }

        .dash-nexus-specs {
            margin: 12px 0;
            display: flex;
            flex-direction: column;
            gap: 3px;
            font-size: 0.84rem;
            color: #00d2c6;
            font-weight: 600;
        }

        .dash-nexus-bin-row {
            margin-top: 14px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px;
        }

        .dash-nexus-bin-label {
            font-size: 0.78rem;
            color: #727c89;
            margin-right: 4px;
        }

        .dash-bin-tag {
            background: #0f1620;
            border: 1px solid #1a2736;
            color: #58a6ff;
            font-family: monospace;
            font-size: 0.78rem;
            padding: 2px 7px;
            border-radius: 3px;
        }

        .dash-nexus-footer-note {
            margin-top: 12px;
            font-size: 0.78rem;
            color: #656f7d;
        }

        /* Right Column: Main Info */
        .dash-subhead {
            font-size: 0.78rem;
            font-weight: 600;
            color: #e5a93c;
            margin-bottom: 6px;
        }

        .dash-link-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #06080b;
            border: 1px solid #151b22;
            border-radius: 3px;
            padding: 7px 10px;
            margin-bottom: 12px;
            text-decoration: none;
            color: #58a6ff;
            font-family: monospace;
            font-size: 0.75rem;
            word-break: break-all;
            transition: border-color 0.15s;
        }

        .dash-link-row:hover {
            border-color: #388bfd;
        }

        .dash-link-row svg {
            flex-shrink: 0;
            margin-left: 8px;
            color: #6e7681;
        }

        /* Useful Links Box */
        .dash-knowledge-buttons {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
            margin-bottom: 12px;
        }

        .dash-btn-link-action {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            background: #0d1117;
            border: 1px solid #21262d;
            border-radius: 3px;
            padding: 8px 6px;
            color: #c9d1d9;
            font-size: 0.78rem;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.15s;
        }

        .dash-btn-link-action:hover {
            background: #161b22;
            border-color: #00d2c6;
            color: #00d2c6;
        }

        .dash-join-banner {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #081410;
            border: 1px solid #133324;
            border-radius: 3px;
            padding: 9px 12px;
            color: #00bc8c;
            font-size: 0.8rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.15s;
        }

        .dash-join-banner:hover {
            background: #0c1c16;
            border-color: #00bc8c;
        }

        /* Latest Blogs Box */
        .dash-blog-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 9px 4px;
            border-bottom: 1px solid #141920;
            color: #8b949e;
            text-decoration: none;
            font-size: 0.8rem;
            transition: color 0.15s;
        }

        .dash-blog-item:last-child {
            border-bottom: none;
            padding-bottom: 2px;
        }

        .dash-blog-item:hover {
            color: #00d2c6;
        }

        .dash-blog-item svg {
            color: #606975;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .dash-stat-cards {
                grid-template-columns: repeat(2, 1fr);
            }
            .dash-main-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .dash-navbar {
                padding: 0 14px;
            }
            .dash-nav-menu {
                display: none;
            }
            .dash-container {
                padding: 16px 14px 40px;
            }
            .dash-stat-cards {
                grid-template-columns: 1fr;
            }
            .dash-stats-bar {
                gap: 8px;
                padding: 4px 8px;
                font-size: 0.72rem;
            }
        }

        /* ========================================================
           TOP-UP ACCOUNT & PAYMENT POPUP MODAL STYLES
           ======================================================== */
        .topup-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(3, 4, 7, 0.88);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 9999999 !important;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            box-sizing: border-box;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease;
        }

        .topup-modal-overlay.active {
            display: flex !important;
            opacity: 1 !important;
            pointer-events: auto !important;
        }

        .topup-modal-container {
            background-color: #07090d;
            border: 1px solid #1c212c;
            border-radius: 8px;
            width: 100%;
            max-width: 900px;
            max-height: 92vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 210, 198, 0.35);
            overflow: hidden;
            box-sizing: border-box;
            position: relative;
            z-index: 10000000 !important;
            transform: scale(0.96) translateY(12px);
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .topup-modal-overlay.active .topup-modal-container {
            transform: scale(1) translateY(0);
        }

        .topup-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 24px;
            background-color: #090c11;
            border-bottom: 1px solid #161a22;
        }

        .topup-modal-title-group {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .topup-modal-close-btn {
            background: transparent;
            border: none;
            color: #8b949e;
            font-size: 1.35rem;
            font-weight: 400;
            cursor: pointer;
            line-height: 1;
            padding: 4px 8px;
            border-radius: 4px;
            transition: all 0.15s ease;
        }

        .topup-modal-close-btn:hover {
            color: #ffffff;
            background-color: rgba(255, 255, 255, 0.1);
        }

        .topup-modal-body {
            padding: 22px 26px 26px;
            overflow-y: auto;
            max-height: calc(92vh - 65px);
        }

        /* Top-Up Notification & Amount Selection Box */
        .topup-selection-box {
            background: linear-gradient(135deg, rgba(0, 210, 198, 0.08) 0%, rgba(13, 22, 30, 0.95) 100%);
            border: 1px solid rgba(0, 210, 198, 0.35);
            border-radius: 6px;
            padding: 16px 20px;
            margin-bottom: 20px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        }

        .topup-alert-row {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 14px;
        }

        .topup-alert-icon {
            font-size: 1.3rem;
            line-height: 1;
            color: #00d2c6;
            background: rgba(0, 210, 198, 0.15);
            padding: 6px 8px;
            border-radius: 6px;
        }

        .topup-alert-content {
            flex: 1;
        }

        .topup-main-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.2px;
            margin-bottom: 3px;
        }

        .topup-sub-title {
            font-size: 0.84rem;
            color: #9aa4b2;
        }

        .topup-options-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin-bottom: 12px;
        }

        .topup-opt-btn {
            background-color: #0d1117;
            border: 1px solid #21262d;
            border-radius: 6px;
            padding: 10px 12px;
            color: #c9d1d9;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            transition: all 0.15s ease;
            outline: none;
        }

        .topup-opt-btn:hover {
            border-color: #00d2c6;
            background-color: #121820;
            color: #ffffff;
            transform: translateY(-1px);
        }

        .topup-opt-btn.active {
            background: rgba(0, 210, 198, 0.14);
            border-color: #00d2c6;
            color: #00d2c6;
            box-shadow: 0 0 14px rgba(0, 210, 198, 0.25);
        }

        .topup-opt-amount {
            font-size: 1.15rem;
            font-weight: 800;
            letter-spacing: -0.3px;
        }

        .topup-opt-tag {
            font-size: 0.68rem;
            text-transform: uppercase;
            font-weight: 600;
            opacity: 0.75;
            letter-spacing: 0.4px;
        }

        .topup-opt-tag.bonus {
            color: #00bc8c;
            opacity: 1;
        }

        .topup-custom-field-container {
            margin-top: 10px;
            margin-bottom: 12px;
            padding: 12px 14px;
            background: #090d13;
            border: 1px dashed #2a3442;
            border-radius: 6px;
            animation: alertFade 0.2s ease-out;
        }

        .topup-custom-label {
            display: block;
            font-size: 0.8rem;
            color: #8b949e;
            margin-bottom: 6px;
            font-weight: 600;
        }

        .topup-custom-input-group {
            display: flex;
            align-items: center;
            background: #05070a;
            border: 1px solid #30363d;
            border-radius: 4px;
            padding: 4px 10px;
            max-width: 260px;
        }

        .topup-custom-input-group:focus-within {
            border-color: #00d2c6;
            box-shadow: 0 0 0 2px rgba(0, 210, 198, 0.2);
        }

        .topup-input-prefix, .topup-input-suffix {
            color: #8b949e;
            font-weight: 700;
            font-size: 0.95rem;
        }

        .topup-custom-input {
            flex: 1;
            background: transparent;
            border: none;
            color: #ffffff;
            font-size: 1.05rem;
            font-weight: 700;
            padding: 4px 8px;
            outline: none;
            min-width: 0;
        }

        .topup-calculation-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: #040608;
            border: 1px solid #161b22;
            border-radius: 4px;
            padding: 10px 16px;
            font-size: 0.88rem;
        }

        .topup-calc-left, .topup-calc-right {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .topup-calc-label {
            color: #8b949e;
            font-size: 0.82rem;
        }

        .topup-calc-usd {
            color: #00d2c6;
            font-weight: 800;
            font-size: 1.05rem;
        }

        .topup-calc-arrow {
            color: #484f58;
            font-weight: 700;
        }

        .topup-calc-crypto {
            color: #ffffff;
            font-weight: 800;
            font-family: Consolas, monospace;
            font-size: 0.98rem;
        }

        .topup-modal-footer {
            margin-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .btn-copy-highlight {
            background-color: #121922;
            border-color: #00d2c6;
            color: #00d2c6;
        }

        .btn-copy-highlight:hover {
            background-color: #00d2c6;
            color: #000;
        }

        /* ========================================================
           COMPREHENSIVE RESPONSIVE SUITE (MOBILE, TABLET, DESKTOP, ULTRA-WIDE)
           ======================================================== */

        /* 1. Large Displays & High-Resolution Desktops (>= 1440px) */
        @media (min-width: 1440px) {
            .dash-container {
                max-width: 1360px;
                margin: 0 auto;
            }
            .balance-container {
                max-width: 1020px;
                margin: 40px auto 60px;
            }
            .topup-modal-container {
                max-width: 920px;
            }
        }

        /* 2. Tablet & Medium Screens (<= 1024px) */
        @media (max-width: 1024px) {
            .dash-stat-cards {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 12px !important;
            }
            .dash-main-grid {
                grid-template-columns: 1fr !important;
                gap: 16px !important;
            }
            .dash-container {
                padding: 18px 16px 40px !important;
            }
            .topup-modal-container {
                max-width: 760px;
            }
        }

        /* 3. Phablets & Mobile Screens (<= 768px) - Complete Layout Transformation */
        @media (max-width: 768px) {
            /* Dashboard Navigation & Header */
            .dash-navbar {
                padding: 0 12px !important;
                height: 52px !important;
            }
            .dash-brand {
                font-size: 1.05rem !important;
            }
            .dash-nav-menu {
                display: none !important;
            }
            .dash-container {
                padding: 14px 10px 36px !important;
            }
            .dash-overview-top {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 10px !important;
            }
            .dash-btn-add-balance-top {
                width: 100% !important;
                justify-content: center !important;
                padding: 8px 14px !important;
            }
            .dash-stat-cards {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 10px !important;
            }
            .dash-box-header {
                flex-wrap: wrap !important;
                gap: 6px !important;
            }
            .dash-nexus-header-badges {
                flex-wrap: wrap !important;
                gap: 6px !important;
            }

            /* Add Balance / Payment Section & Modal */
            .balance-container {
                padding: 0 10px !important;
                margin: 20px auto 40px !important;
            }
            .balance-topbar {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 8px !important;
            }
            .activation-banner {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 10px !important;
                padding: 12px 14px !important;
            }
            .activation-banner-content {
                align-items: flex-start !important;
            }
            .btn-check-dashboard {
                width: 100% !important;
                justify-content: center !important;
            }

            /* Topup Modal Dimensions */
            .topup-modal-overlay {
                padding: 8px 6px !important;
            }
            .topup-modal-container {
                width: 100% !important;
                max-width: 100% !important;
                max-height: 96vh !important;
                border-radius: 8px !important;
            }
            .topup-modal-header {
                padding: 12px 14px !important;
            }
            .topup-modal-title-group {
                flex-wrap: wrap !important;
                gap: 6px 10px !important;
            }
            .topup-modal-title-group .balance-topbar-right {
                margin-left: 0 !important;
            }
            .topup-modal-body {
                padding: 14px 10px 18px !important;
            }
            .balance-card {
                padding: 16px 12px 14px !important;
                border-radius: 6px !important;
            }

            /* Crypto Currency Tab Bar: Touch-Scrollable Without Breaking Alignment */
            .crypto-tabs {
                display: flex !important;
                flex-wrap: nowrap !important;
                overflow-x: auto !important;
                -webkit-overflow-scrolling: touch !important;
                scrollbar-width: none !important;
                margin: 0 !important;
                padding-bottom: 1px !important;
            }
            .crypto-tabs::-webkit-scrollbar {
                display: none !important;
            }
            .crypto-tab-item {
                flex: 0 0 auto !important;
                white-space: nowrap !important;
                padding: 8px 14px !important;
                font-size: 0.78rem !important;
            }

            /* CRITICAL FIX FOR USER SCREENSHOT: Reorder & Center Elements Inside Balance Card */
            .balance-top-row {
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                gap: 0 !important;
                margin-bottom: 8px !important;
            }
            .balance-left-col {
                display: contents !important;
            }
            .deposit-heading {
                order: 1 !important;
                width: 100% !important;
                text-align: center !important;
                font-size: 1.25rem !important;
                margin-bottom: 8px !important;
                line-height: 1.3 !important;
            }
            .deposit-meta {
                order: 2 !important;
                width: 100% !important;
                text-align: center !important;
                font-size: 0.82rem !important;
                margin-bottom: 14px !important;
                line-height: 1.5 !important;
            }
            .balance-right-col {
                order: 3 !important;
                width: 100% !important;
                display: flex !important;
                justify-content: center !important;
                margin: 0 auto 16px !important;
            }
            .deposit-qr-card {
                width: 160px !important;
                height: 160px !important;
                margin: 0 auto !important;
                padding: 8px !important;
            }
            .deposit-address-container {
                order: 4 !important;
                width: 100% !important;
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 10px !important;
                padding: 12px 14px !important;
                min-height: auto !important;
            }
            .deposit-address-text {
                width: 100% !important;
                display: block !important;
                font-size: 0.82rem !important;
                line-height: 1.45 !important;
                word-break: break-all !important;
                text-align: center !important;
                padding: 4px 0 !important;
                letter-spacing: 0.3px !important;
            }
            .btn-copy-address-cyan {
                width: 100% !important;
                justify-content: center !important;
                padding: 10px 14px !important;
                font-size: 0.88rem !important;
            }
            .address-notice {
                order: 5 !important;
                width: 100% !important;
                text-align: center !important;
                font-size: 0.80rem !important;
                margin: 10px 0 14px !important;
            }
            .rate-ticket-line {
                font-size: 0.82rem !important;
                text-align: center !important;
                line-height: 1.5 !important;
                margin-bottom: 18px !important;
            }
            .rate-ticket-line .crypto-rate {
                display: block !important;
                margin: 0 0 4px 0 !important;
                font-size: 0.98rem !important;
            }
            .tx-table-container {
                overflow-x: auto !important;
                -webkit-overflow-scrolling: touch !important;
                width: 100% !important;
            }
            .tx-table {
                min-width: 480px !important;
            }
            .nav-back-row {
                flex-direction: column !important;
                gap: 10px !important;
            }
            .nav-back-row .btn-action {
                width: 100% !important;
                text-align: center !important;
            }

            /* Database Records Section */
            .data-container {
                padding: 0 10px 40px !important;
            }
            .header-bar {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 12px !important;
            }
            .header-controls {
                width: 100% !important;
                justify-content: flex-start !important;
            }
        }

        /* 4. Compact Mobile Devices (<= 580px) */
        @media (max-width: 580px) {
            /* Navbar Stats: Hide Score & Level to Keep Clean Single Line */
            .dash-stat-cell:nth-child(1),
            .dash-divider:nth-child(2),
            .dash-stat-cell:nth-child(3),
            .dash-divider:nth-child(4) {
                display: none !important;
            }
            .dash-stats-bar {
                padding: 4px 8px !important;
                gap: 6px !important;
                font-size: 0.72rem !important;
            }
            .dash-stat-cards {
                grid-template-columns: 1fr !important;
                gap: 8px !important;
            }
            .dash-stat-card {
                padding: 12px 14px !important;
            }
            .dash-card-value {
                font-size: 1.15rem !important;
            }

            /* Topup Selection Box */
            .topup-options-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 8px !important;
            }
            .topup-opt-btn {
                padding: 8px 10px !important;
            }
            .topup-opt-amount {
                font-size: 1.05rem !important;
            }
            .topup-calculation-banner {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 6px !important;
                padding: 10px 12px !important;
            }
            .topup-calc-arrow {
                display: none !important;
            }
            .topup-custom-input-group {
                max-width: 100% !important;
                width: 100% !important;
            }

            /* Auth / Login / Register */
            .auth-language-picker {
                width: calc(100% - 20px) !important;
                margin-top: 24px !important;
            }
            .auth-heading {
                width: calc(100% - 20px) !important;
                margin-top: 30px !important;
            }
            .auth-heading .head {
                font-size: 1.25rem !important;
            }
            .auth-heading .status-line {
                font-size: 0.84rem !important;
                white-space: normal !important;
                margin-top: 16px !important;
                margin-bottom: 16px !important;
                line-height: 1.4 !important;
            }
            .login-card {
                width: calc(100% - 20px) !important;
                padding: 22px 16px 20px 16px !important;
                margin-bottom: 24px !important;
            }
            .captcha-group {
                gap: 8px !important;
            }
            .captcha-group .captcha-img {
                width: 126px !important;
                height: 40px !important;
            }
            .button-group {
                gap: 8px !important;
            }
        }

        /* 5. Ultra-Small Devices (<= 380px) */
        @media (max-width: 380px) {
            .captcha-group {
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 8px !important;
            }
            .captcha-group .captcha-img {
                width: 100% !important;
                max-width: 170px !important;
                height: 44px !important;
                margin: 0 auto !important;
            }
            .button-group {
                flex-direction: column !important;
            }
            .button-group .btn {
                width: 100% !important;
            }
            .deposit-qr-card {
                width: 140px !important;
                height: 140px !important;
                padding: 6px !important;
            }
            .deposit-address-text {
                font-size: 0.76rem !important;
            }
            .topup-options-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 6px !important;
            }
            .topup-opt-amount {
                font-size: 0.98rem !important;
            }
            .topup-opt-tag {
                font-size: 0.62rem !important;
            }
            .topup-modal-title-group .balance-header-sub {
                display: none !important;
            }
        }