
        /* =========================================================
           GLOBAL & BASE STYLES
        ========================================================= */
        :root {
            --primary-bg: #f5f7fc; --white: #ffffff; --text-main: #1d1d1f; --text-muted: #86868b;
            --primary-color: #6366f1; --gradient-btn: linear-gradient(135deg, #a855f7, #6366f1);
            --border-radius: 16px; --danger: #ef4444; --success: #10b981; --warning: #f59e0b;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
        body { background-color: #e5e5e5; overflow-x: hidden; }
        .app-container { width: 100%; max-width: 480px; margin: 0 auto; background-color: var(--primary-bg); background-image: linear-gradient(180deg, #e0e7ff 0%, #f5f7fc 20%); min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow-x: hidden; box-shadow: 0 0 20px rgba(0,0,0,0.1); }
        .pc-flex { display: none !important; } .pc-block { display: none !important; } .mobile-flex { display: flex !important; } .mobile-block { display: block !important; }

        /* AUTH STATE */
        .auth-el { display: none !important; } body.is-logged-in .auth-el { display: flex !important; }
        body.is-logged-in img.auth-el { display: block !important; } body.is-logged-in .guest-el { display: none !important; }
        .balance-pill { background: #f8fafc; color: var(--primary-color); border: 1px solid #e2e8f0; padding: 6px 12px; border-radius: 20px; font-weight: 700; font-size: 13px; align-items: center; gap: 6px; cursor: pointer; transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.02); text-decoration: none; display: flex;}
        .balance-pill:hover { background: #e0e7ff; border-color: #c7d2fe; transform: translateY(-1px); }
        .balance-pill .fa-plus { font-size: 10px; margin-left: 2px; color: var(--primary-color); }

        /* HEADER MOBILE */
        .header { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: transparent; z-index: 10; }
        .icon-btn { background: var(--white); border: none; width: 36px; height: 36px; border-radius: 50%; color: var(--primary-color); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.05); cursor: pointer; transition: all 0.3s ease; }
        .icon-btn:hover { background: #e0e7ff; transform: scale(1.1); }
        .header-right { display: flex; align-items: center; gap: 10px; }
        .btn-login-trigger { background: var(--white); color: var(--primary-color); border: 1px solid rgba(99, 102, 241, 0.2); padding: 8px 16px; border-radius: 20px; font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: all 0.3s ease; }
        .btn-login-trigger:hover { background: var(--gradient-btn); color: white; transform: translateY(-2px); border-color: transparent; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); }
        .user-avatar-header { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--primary-color); object-fit: cover; cursor: pointer; transition: all 0.3s; }
        .flag-btn { background: var(--white); border: none; padding: 4px 10px; border-radius: 20px; display: flex; align-items: center; gap: 4px; font-weight: bold; font-size: 12px; color: #d32f2f; box-shadow: 0 2px 8px rgba(0,0,0,0.05); cursor: pointer; }

        /* SIDEBAR MOBILE */
        .mobile-sidebar-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(2px); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s; }
        .mobile-sidebar-overlay.active { opacity: 1; visibility: visible; }
        .mobile-sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; background: #f0f2f5; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1); overflow-y: auto; display: flex; flex-direction: column; }
        .mobile-sidebar.active { transform: translateX(0); }
        .mobile-sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--white); border-bottom: 1px solid #e2e8f0; }
        .mobile-sidebar-close { background: #f1f5f9; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 16px; color: #64748b; cursor: pointer; }
        .mobile-sidebar-content { padding: 20px; flex: 1; }

        /* SIDEBAR ITEMS (DÙNG CHUNG) */
        .sidebar-section { background-color: var(--white); background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px); background-size: 16px 16px; border-radius: 16px; padding: 16px; margin-bottom: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
        .sidebar-section-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; margin-bottom: 16px; padding: 0 4px; }
        .sidebar-section-header h4 { font-size: 16px; color: var(--text-main); font-weight: 700; margin: 0; }
        .sidebar-section-header img.filter-arrow { width: 16px; height: 16px; transition: transform 0.3s ease; }
        .sidebar-section.collapsed .sidebar-section-header img.filter-arrow { transform: rotate(180deg); }
        .section-wrapper { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.3s ease-out; }
        .sidebar-section.collapsed .section-wrapper { grid-template-rows: 0fr; }
        .section-content { overflow: hidden; }
        .sidebar-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; color: #334155; font-size: 14.5px; text-decoration: none; font-weight: 600; transition: all 0.2s; margin-bottom: 6px; cursor: pointer; }
        .sidebar-item:hover { background: #f8fafc; } .sidebar-item.active { background: #eef2ff; color: var(--primary-color); }
        .sb-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #ede9fe; color: #6366f1; transition: all 0.2s; font-size: 16px; flex-shrink: 0; }
        .sb-icon img { width: 22px; height: 22px; object-fit: contain; }
        .sidebar-item.active .sb-icon { background: var(--primary-color); color: white; box-shadow: 0 4px 10px rgba(99,102,241,0.3); }

        .badge-hot { background: linear-gradient(135deg, #ff4d4f, #ff7875); color: white; border-radius: 12px; padding: 2px 8px; font-size: 10px; margin-left: auto; font-weight: 800; }
        .badge-new { background: linear-gradient(135deg, #ff7a45, #ff9c6e); color: white; border-radius: 12px; padding: 2px 8px; font-size: 10px; margin-left: auto; font-weight: 800; }
        
        .has-sub { display: flex; flex-direction: column;}
        .has-sub > .sidebar-item { margin-bottom: 0; }
        .chevron-icon { margin-left: auto; font-size: 12px; color: #94a3b8; transition: transform 0.3s ease; }
        .has-sub.open .chevron-icon { transform: rotate(180deg); }
        .sub-menu-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
        .has-sub.open .sub-menu-wrapper { grid-template-rows: 1fr; }
        .sub-menu-inner { overflow: hidden; padding-left: 20px; display: flex; flex-direction: column; padding-top: 6px; padding-bottom: 6px; gap: 4px;}
        .sub-item { color: #475569; font-size: 13.5px; font-weight: 600; text-decoration: none; padding: 10px 12px; border-radius: 8px; transition: all 0.2s; display: flex; align-items: center; gap: 12px; }
        .sub-item .dot { width: 6px; height: 6px; background: #cbd5e1; border-radius: 50%; transition: background 0.2s; flex-shrink: 0;}
        .sub-item:hover { background: #f8fafc; color: var(--primary-color); }
        .sub-item:hover .dot { background: var(--primary-color); }

        /* MAIN & NAV */
        .main-layout { display: flex; flex-direction: column; flex: 1; }
        .main-content { flex: 1; padding-bottom: 90px; }
        .bottom-nav { position: fixed; bottom: 0; width: 100%; max-width: 480px; background: var(--white); display: flex; justify-content: space-between; padding: 10px 20px 20px; box-shadow: 0 -4px 20px rgba(0,0,0,0.05); border-top-left-radius: 24px; border-top-right-radius: 24px; z-index: 10; }
        .nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-muted); font-size: 11px; text-decoration: none; width: 20%; transition: all 0.3s; }
        .nav-item.active { color: var(--primary-color); font-weight: 600; }
        .nav-item.center-action { position: relative; text-decoration: none; }
        .center-btn { width: 56px; height: 56px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: absolute; top: -30px; border: 4px solid var(--white); box-shadow: 0 8px 16px rgba(0,0,0,0.08); transition: all 0.3s; }
        .center-text { margin-top: 32px; transition: color 0.3s; }

        /* =========================================================
           PAYMENT PAGE SPECIFIC STYLES
        ========================================================= */
        .payment-container { padding: 0 16px 24px; }
        .box-card { background: var(--white); border-radius: 24px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
        .box-title { font-size: 13px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px;}

        .alert-danger { background: #fef2f2; border: 1px solid #fecaca; border-radius: 16px; padding: 16px; margin-bottom: 20px; display: flex; gap: 12px; align-items: flex-start; }
        .alert-danger i { color: var(--danger); font-size: 20px; margin-top: 2px;}
        .alert-danger h5 { color: var(--danger); font-size: 15px; margin-bottom: 4px; }
        .alert-danger p { color: #991b1b; font-size: 13px; line-height: 1.5; }

        .payment-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
        .pay-tab { flex: 1; padding: 14px; text-align: center; border-radius: 12px; font-weight: 600; font-size: 13px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; }
        .pay-tab.active { background: var(--gradient-btn); color: white; box-shadow: 0 4px 12px rgba(99,102,241,0.3); }
        .pay-tab.inactive { background: #f8fafc; color: #94a3b8; border: 1px solid #e2e8f0; }

        .verified-name-box { background: #f0fdf4; border: 1px dashed #6ee7b7; border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 14px; margin-bottom: 24px; position: relative; overflow: hidden;}
        .verified-name-box::before {content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #10b981;}
        .verified-name-box i { color: #10b981; font-size: 24px; }
        .verified-name-box .v-text { display: flex; flex-direction: column; }
        .verified-name-box .v-label { font-size: 11px; color: #64748b; text-transform: uppercase; font-weight: 700; margin-bottom: 4px;}
        .verified-name-box .v-name { font-size: 16px; font-weight: 800; color: #1e293b; }
        .verified-name-editor { align-items: flex-start; }
        .verified-name-form { display: flex; gap: 10px; width: 100%; margin-top: 2px; }
        .verified-name-form input { flex: 1; min-width: 0; border: 1px solid #d1fae5; background: #fff; border-radius: 10px; padding: 11px 12px; outline: none; font-size: 14px; font-weight: 600; color: #1e293b; }
        .verified-name-form input:focus { border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,0.12); }
        .verified-name-form button { border: none; background: #10b981; color: #fff; border-radius: 10px; padding: 0 14px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: all .2s; }
        .verified-name-form button:hover { background: #059669; transform: translateY(-1px); }
        .verified-name-confirmed { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
        .edit-name-btn { border: 1px solid #cbd5e1; background: #fff; color: #64748b; border-radius: 9px; padding: 7px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
        .edit-name-btn:hover { border-color: #94a3b8; color: #334155; }
        @media (max-width: 520px) {
            .verified-name-form { flex-direction: column; }
            .verified-name-form button { min-height: 42px; }
        }

        /* Chọn Ngân Hàng */
        .bank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
        .bank-card { border: 2px solid #e2e8f0; border-radius: 16px; padding: 12px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: all 0.2s; position: relative; }
        .bank-card img { width: auto; height: 24px; object-fit: contain; }
        .bank-card .bank-info { display: flex; flex-direction: column; }
        .bank-card .bank-name { font-weight: 700; font-size: 14px; color: var(--text-main); }
        .bank-card .bank-desc { font-size: 11px; color: var(--text-muted); }
        .bank-card.active { border-color: var(--primary-color); background: #eef2ff; }
        .bank-check { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: var(--primary-color); color: white; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 10px; border: 2px solid white;}
        .bank-card.active .bank-check { display: flex; }

        /* Số Tiền Cần Nạp */
        .amount-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
        .amount-btn { background: #f8fafc; border: 2px solid transparent; border-radius: 12px; padding: 14px 10px; text-align: center; font-weight: 700; font-size: 14px; color: var(--text-main); cursor: pointer; transition: all 0.2s; position: relative;}
        .amount-btn.active { background: var(--primary-color); color: white; box-shadow: 0 4px 12px rgba(99,102,241,0.3); }
        .amount-check { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: #10b981; color: white; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 10px; border: 2px solid white;}
        .amount-btn.active .amount-check { display: flex; }

        .custom-amount { display: flex; align-items: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0 16px; margin-bottom: 8px; transition: all 0.3s;}
        .custom-amount:focus-within { border-color: var(--primary-color); background: white; box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
        .custom-amount input { flex: 1; border: none; background: transparent; padding: 14px 0; outline: none; font-size: 15px; font-weight: 600; color: var(--text-main);}
        .custom-amount span { color: var(--text-muted); font-weight: bold; font-size: 14px; background: #e2e8f0; padding: 4px 8px; border-radius: 6px;}

        /* Submit Button */
        .btn-create-order { background: var(--primary-color); color: white; border: none; width: 100%; padding: 16px; border-radius: 16px; font-weight: 700; font-size: 16px; cursor: pointer; box-shadow: 0 6px 20px rgba(99,102,241,0.3); transition: all 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px;}
        .btn-create-order:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.4); }
        .btn-cancel-order { background: #f87171; color: white; border: none; width: 100%; padding: 16px; border-radius: 16px; font-weight: 700; font-size: 16px; cursor: pointer; box-shadow: 0 6px 20px rgba(248, 113, 113, 0.3); transition: all 0.3s; display: none; justify-content: center; align-items: center; gap: 10px;}
        .btn-cancel-order:hover { background: #ef4444; transform: translateY(-2px); }

        /* QR & Info Box */
        .qr-section { background: var(--white); border-radius: 24px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center;}
        .qr-placeholder { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; width: 100%; padding: 60px 0;}
        .qr-placeholder i { font-size: 40px; margin-bottom: 16px; color: #cbd5e1;}
        
        .qr-result { display: none; width: 100%; margin-bottom: 20px; animation: fadeIn 0.5s ease; text-align: center; }
        .system-auto-badge { display: inline-flex; align-items: center; gap: 6px; background: #ecfdf5; color: #10b981; font-weight: bold; font-size: 12px; padding: 6px 16px; border-radius: 20px; margin-bottom: 16px; border: 1px solid #a7f3d0;}
        .dot-green { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 8px #10b981; }
        
        .vietqr-box { background: white; border-radius: 16px; padding: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); display: inline-block; margin-bottom: 12px;}
        .vietqr-box img.v-logo { height: 24px; margin-bottom: 8px;}
        .vietqr-box img.qr-img { width: 220px; height: 220px; border-radius: 8px; margin-bottom: 8px;}
        .vietqr-box .bank-logos { display: flex; justify-content: center; gap: 10px; align-items: center;}
        .vietqr-box .bank-logos img { height: 16px; }

        .qr-instruction { font-size: 13px; color: #64748b; margin-bottom: 24px;}
        
        .transfer-info { display: none; width: 100%; text-align: left; background: transparent; margin-bottom: 20px; animation: fadeIn 0.5s ease;}
        .info-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 13.5px; border-bottom: 1px dashed #e2e8f0; padding-bottom: 12px;}
        .info-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
        .info-label { color: #64748b; }
        .info-val { font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 8px; text-align: right;}
        .info-val.highlight { color: var(--primary-color); }
        .copy-btn { color: #94a3b8; cursor: pointer; transition: color 0.2s; background: #f1f5f9; width: 24px; height: 24px; border-radius: 6px; display: inline-flex; justify-content: center; align-items: center; font-size: 12px;}
        .copy-btn:hover { color: var(--primary-color); background: #e0e7ff;}

        .notes-list { list-style: none; padding: 0; text-align: left; width: 100%;}
        .notes-list li { position: relative; padding-left: 16px; margin-bottom: 12px; font-size: 13px; color: #475569; line-height: 1.5; }
        .notes-list li::before { content: "•"; color: var(--primary-color); font-weight: bold; position: absolute; left: 0; top: 0; }
        
        .alert-green-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; display: none; text-align: left;}
        .alert-green-box i { color: #22c55e; font-size: 18px; margin-top: 2px;}
        .alert-green-box p { color: #166534; font-size: 13px; line-height: 1.5; font-weight: 500;}

        /* Lịch Sử Nạp Tiền */
        .history-section { margin-top: 24px; }
        .history-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px;}
        .history-search { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 30px; padding: 10px 20px; display: flex; align-items: center; gap: 10px; width: 250px;}
        .history-search input { border: none; background: transparent; flex: 1; outline: none; font-size: 13px;}
        
        .history-table { width: 100%; border-collapse: collapse; display: none; }
        .history-table th { text-align: left; padding: 16px; font-size: 12px; color: #94a3b8; border-bottom: 1px solid #e2e8f0; text-transform: uppercase; font-weight: 700;}
        .history-table td { padding: 16px; font-size: 14px; border-bottom: 1px solid #f1f5f9; color: var(--text-main); font-weight: 500;}
        .status-badge { padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;}
        .status-pending { background: #fffbeb; color: #d97706; border: 1px solid #fde68a;}
        .status-canceled { background: #fef2f2; color: #ef4444; border: 1px solid #fecaca;}

        .history-list-mobile { display: flex; flex-direction: column; gap: 12px; }
        .history-item-m { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; display: flex; justify-content: space-between; align-items: center;}
        .h-left { display: flex; gap: 12px; align-items: center;}
        .h-icon { width: 40px; height: 40px; background: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #c7d2fe; border: 1px solid #e0e7ff;}
        .h-info { display: flex; flex-direction: column; gap: 4px;}
        .h-id { font-size: 12px; color: var(--primary-color); font-weight: 700; display: flex; align-items: center; gap: 6px; cursor: pointer;}
        .h-bank { font-size: 14px; font-weight: 700; color: var(--text-main); display: flex; align-items: center; gap: 6px;}
        .h-right { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end;}
        .h-amount { font-size: 15px; font-weight: 700; color: var(--warning); }

        /* =========================================================
           BỐ CỤC PC CHUYÊN NGHIỆP (> 1024px)
        ========================================================= */
        @media (min-width: 1024px) {
            html, body { height: 100%; overflow: hidden; }
            .app-container { max-width: 100% !important; height: 100vh; flex-direction: column; box-shadow: none; }
            .pc-flex { display: flex !important; } .pc-block { display: block !important; } .mobile-flex, .mobile-block { display: none !important; }

            /* HEADER PC */
            .header-pc { height: 76px; padding: 0 40px; border-bottom: 1px solid #e2e8f0; background: var(--white); display: flex; align-items: center; justify-content: space-between; width: 100%; }
            .header-pc-left { flex: 1; display: flex; align-items: center; }
            .logo-pc { display: flex; align-items: center; text-decoration: none;}
            .logo-pc img { width: 44px; height: 44px; object-fit: contain;}
            .logo-pc span { font-size: 22px; font-weight: 800; color: #1e293b; margin-left: 10px;}

            .header-pc-center { display: flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid #e2e8f0; padding: 6px 16px 6px 6px; border-radius: 40px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); justify-content: center; }
            .nav-chip-main { background: var(--gradient-btn); color: white; border-radius: 30px; padding: 8px 20px; font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; }
            .nav-icon-btn { width: 36px; height: 36px; background: transparent; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; text-decoration: none;}
            .nav-icon-btn:hover { background: #f1f5f9; transform: scale(1.1); }

            .header-pc-right { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
            .search-pill-pc { background: #f8fafc; color: #6366f1; font-weight: 600; font-size: 14px; border-radius: 30px; padding: 12px 28px; display: flex; align-items: center; gap: 8px; border: 1px solid #e2e8f0; margin-right: 10px; }
            .icon-pill-pc { width: 44px; height: 44px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #6366f1; text-decoration: none; }
            .btn-login-pc { background: #e0e7ff; color: #6366f1; font-weight: 700; font-size: 14px; border: none; border-radius: 30px; padding: 12px 28px; cursor: pointer; }
            .btn-register-pc { background: var(--gradient-btn); color: white; font-weight: 700; font-size: 14px; border: none; border-radius: 30px; padding: 12px 28px; cursor: pointer; box-shadow: 0 4px 12px rgba(99,102,241,0.3); }

            /* Layout PC */
            .main-layout { display: flex; flex-direction: row; flex: 1; overflow: hidden; background-image: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%); }
            .sidebar { width: 300px; background: transparent; overflow-y: auto; padding: 24px 20px; border-right: none;}
            .main-content { flex: 1; overflow-y: auto; padding: 32px 48px; }

            /* --- PAYMENT GRID PC --- */
            .payment-container { padding: 0; }
            .payment-grid-pc { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; }
            .box-card { padding: 32px; border-radius: 24px; margin-bottom: 32px; }
            .box-title { font-size: 14px; margin-bottom: 24px; color: #64748b;}
            .bank-card { padding: 16px; }
            .amount-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
            .amount-btn { padding: 16px 12px; font-size: 15px; }
            .history-table { display: table; }
            .history-list-mobile { display: none; }
        }

        /* --- Modals --- */
        .custom-alert-overlay, .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
        .custom-alert-overlay.active, .modal-overlay.active { opacity: 1; visibility: visible; }
        .custom-alert-box, .login-box { background: var(--white); width: 85%; max-width: 320px; padding: 24px; border-radius: 24px; text-align: center; transform: scale(0.9) translateY(20px); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
        .custom-alert-overlay.active .custom-alert-box, .modal-overlay.active .login-box { transform: scale(1) translateY(0); }
        .custom-alert-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
        .custom-alert-box h4, .login-box h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; color: var(--text-main); }
        .custom-alert-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
        .custom-alert-btn, .btn-submit { background: var(--gradient-btn); color: white; border: none; width: 100%; padding: 12px; border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); outline: none; display: flex; align-items: center; justify-content: center; gap: 8px;}
        .input-group { margin-bottom: 20px; text-align: left; margin-top: 16px;}
        .input-group label { display: block; font-size: 13px; margin-bottom: 8px; color: var(--text-muted); font-weight: 500;}
        .input-group input { width: 100%; padding: 12px; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 14px; outline: none; transition: all 0.3s; }
        .input-group input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
        .loader { display: none; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s infinite; margin-left: 10px; }
        @keyframes spin { to { transform: rotate(360deg); } }
        .close-modal { position: absolute; top: 12px; right: 16px; background: #f1f5f9; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 18px; color: #64748b; cursor: pointer; }
    