/* assets/css/style.css - Unified CSS for all pages */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

body {
    background: #0b1424;
    min-height: 100vh;
    color: #e0ecff;
}

/* ===== COMMON CONTAINERS ===== */
.app-container,
.dashboard-container,
.container,
.help-container,
.profile-container {
    max-width: 420px;
    margin: 0 auto;
    background: #101b2e;
    min-height: 100vh;
}

/* ===== TOP BAR ===== */
.top-bar {
    padding: 16px 18px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #f0e9ff, #c7d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    font-weight: 300;
    color: #8aa3d0;
    -webkit-text-fill-color: #8aa3d0;
}

.logo-sm {
    font-size: 1.4rem;
}

.back-btn {
    color: #b6cbf0;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 4px 8px;
    border-radius: 8px;
    transition: 0.2s;
}

.back-btn:hover {
    background: rgba(255,255,255,0.05);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b6cbf0;
    font-size: 0.85rem;
}

.btn-icon {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #b6cbf0;
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.2s;
}

.btn-icon:hover {
    background: rgba(255,255,255,0.1);
}

.btn-logout {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #b6cbf0;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.2s;
}

.btn-logout:hover {
    background: rgba(255,50,50,0.1);
    border-color: rgba(255,50,50,0.2);
}

/* ===== AUTH PAGES ===== */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    background: #101b2e;
    border-radius: 32px;
    padding: 40px 30px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f0e9ff, #c7d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header h1 span {
    font-weight: 300;
    -webkit-text-fill-color: #8aa3d0;
}

.auth-header p {
    color: #8aa3d0;
    margin-top: 8px;
    font-size: 0.95rem;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #7d9ac9;
}

.auth-footer a {
    color: #b0cbf5;
    text-decoration: none;
    transition: 0.2s;
}

.auth-footer a:hover {
    color: #f5d98f;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #b6cbf0;
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 16px;
    background: #1a2a44;
    border: 1px solid rgba(255,255,255,0.08);
    color: #e0ecff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6d8fc9;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    border-radius: 12px;
}

.form-group .hint {
    font-size: 0.7rem;
    color: #5a7a9a;
    margin-top: 4px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #6d8fc9;
    flex-shrink: 0;
}

.checkbox-group label {
    color: #b6cbf0;
    font-size: 0.8rem;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-group label a {
    color: #f5d98f;
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

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

/* ===== BUTTONS ===== */
.btn-primary {
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, #4a7ab5, #3a5a8a);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(74, 122, 181, 0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: #7d9ac9;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.03);
}

.btn-gold {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #f5d98f, #e8c84a);
    color: #1a2a44;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-gold:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(245, 217, 143, 0.3);
}

.btn-gold:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== ALERTS ===== */
.alert-error {
    background: rgba(255,50,50,0.1);
    border: 1px solid #ff4444;
    color: #ff6b6b;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(50,255,50,0.1);
    border: 1px solid #44ff44;
    color: #51cf66;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 12px 18px 16px;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #62749b;
}

.footer a {
    color: #7f9ed0;
    text-decoration: none;
    transition: 0.2s;
}

.footer a:hover {
    color: #b0cbf5;
}

/* ===== WALLET CARD ===== */
.wallet-card {
    background: linear-gradient(145deg, #1d2c48, #132035);
    padding: 20px 18px 18px;
    border: none;
    color: white;
    width: 100%;
}

.wallet-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wallet-date {
    font-size: 0.75rem;
    opacity: 0.6;
    background: rgba(255,255,255,0.04);
    padding: 4px 12px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.03);
}

.wallet-ref-code {
    font-size: 0.7rem;
    color: #f5d98f;
    background: rgba(255,215,0,0.08);
    padding: 4px 12px;
    border-radius: 40px;
    border: 1px solid rgba(255,215,0,0.1);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.wallet-ref-code i {
    margin-right: 4px;
    font-size: 0.6rem;
}

.balance-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 8px 0 6px;
}

.balance-amount {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.balance-amount small {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.5;
    margin-left: 6px;
}

.wallet-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 10px 0 12px;
    background: rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 10px 12px;
}

.wallet-stat {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.wallet-stat .stat-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    opacity: 0.5;
    letter-spacing: 0.3px;
}

.wallet-stat .stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 2px;
}

.wallet-stat .stat-value.gold {
    color: #f5d98f;
}

.wallet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.wallet-btn {
    padding: 10px;
    border-radius: 10px;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.wallet-btn:hover {
    transform: scale(1.02);
}

.wallet-btn-withdraw {
    background: linear-gradient(135deg, #f5d98f, #e8c84a);
    color: #1a2a44;
}

.wallet-btn-withdraw:hover {
    box-shadow: 0 4px 16px rgba(245, 217, 143, 0.3);
}

.wallet-btn-referrals {
    background: rgba(100, 200, 255, 0.15);
    color: #64c8ff;
    border: 1px solid rgba(100, 200, 255, 0.1);
}

.wallet-btn-help {
    background: rgba(255,255,255,0.05);
    color: #b6cbf0;
    border: 1px solid rgba(255,255,255,0.08);
}

/* ===== FLIP CARD ===== */
.flip-container {
    perspective: 1200px;
    height: 200px;
    margin: 10px 16px;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    border-radius: 16px;
}

.flip-card.flipped {
    transform: rotateY(180deg);
}

.flip-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

.flip-front {
    background: linear-gradient(145deg, #1f3152, #16253e);
    color: white;
    transform: rotateY(0deg);
    justify-content: space-between;
}

.flip-back {
    background: linear-gradient(145deg, #1b2a44, #111f35);
    color: white;
    transform: rotateY(180deg);
    padding: 12px 14px;
    justify-content: space-between;
}

.flip-front .card-label {
    color: #a0b9e6;
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.flip-front .holder-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 4px 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flip-front .holder-name small {
    font-size: 0.8rem;
    font-weight: 400;
    color: #9bb3dd;
    background: rgba(255,255,255,0.06);
    padding: 2px 12px;
    border-radius: 40px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
    margin-top: 4px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item .label {
    font-size: 0.5rem;
    text-transform: uppercase;
    opacity: 0.5;
    letter-spacing: 0.3px;
}

.detail-item .value {
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0;
    word-break: break-word;
}

.detail-item .value.code-mono {
    font-family: 'Courier New', monospace;
    background: rgba(255,255,255,0.04);
    padding: 0 6px;
    border-radius: 20px;
    font-size: 0.65rem;
}

.flip-hint {
    text-align: right;
    font-size: 0.5rem;
    opacity: 0.3;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-block;
    padding: 1px 10px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 500;
}

.status-badge.active {
    background: #1c5a3a;
    color: #bef5d0;
}

.status-badge.pending {
    background: #7a642a;
    color: #f5e3a0;
}

.status-badge.inactive {
    background: #6a3a3a;
    color: #f5b0b0;
}

/* ===== REFERRAL CHAIN TABLE ===== */
.chain-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.6rem;
    color: #e0ecff;
}

.chain-table th {
    text-align: left;
    padding: 2px 4px;
    font-weight: 500;
    color: #7d9ac9;
    font-size: 0.45rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chain-table td {
    padding: 2px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.5rem;
}

.chain-table .current-row td {
    background: rgba(255,215,0,0.06);
    border-left: 2px solid #f5d98f;
}

.chain-table .brand-row td {
    background: rgba(255,255,255,0.03);
}

.chain-table .admin-row td {
    background: rgba(100, 200, 255, 0.03);
}

.chain-table .empty-row td {
    opacity: 0.4;
    font-style: italic;
}

.pos-number {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    font-size: 0.45rem;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
}

.pos-number.brand-pos {
    background: linear-gradient(135deg, #f0e9ff, #c7d9ff);
    color: #1a2a44;
}

.pos-number.admin-pos {
    background: rgba(100, 200, 255, 0.15);
    color: #64c8ff;
}

.pos-number.current-pos {
    background: rgba(255,215,0,0.2);
    color: #f5d98f;
    border: 2px solid #f5d98f;
}

.pos-number.referrer-pos {
    background: rgba(100, 255, 150, 0.1);
    color: #64ff96;
}

.pos-number.empty-pos {
    background: rgba(255,255,255,0.03);
    color: #5a7a9a;
}

.badge-small {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 20px;
    font-size: 0.4rem;
    font-weight: 500;
}

.badge-small.current {
    background: rgba(255,215,0,0.2);
    color: #f5d98f;
    border: 1px solid rgba(255,215,0,0.2);
}

.badge-small.brand {
    background: linear-gradient(135deg, #f0e9ff, #c7d9ff);
    color: #1a2a44;
}

.badge-small.admin {
    background: rgba(100, 200, 255, 0.15);
    color: #64c8ff;
}

/* ===== REFERRAL LOG ===== */
.referral-log-section {
    background: #0f1a2d;
    padding: 8px 0 4px;
    border: 1px solid rgba(255,255,255,0.04);
    margin: 4px 16px;
    border-radius: 16px;
}

.referral-log-section .section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px 8px;
    color: #bdd0f0;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.table-wrap {
    overflow-x: auto;
    padding: 4px 16px 8px;
}

.log-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    color: #e0ecff;
}

.log-table th {
    text-align: left;
    padding: 8px 4px 4px 4px;
    font-weight: 500;
    color: #7d9ac9;
    font-size: 0.6rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.log-table td {
    padding: 6px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.7rem;
}

.log-table tr:last-child td {
    border-bottom: none;
}

.status-badge-small {
    display: inline-block;
    padding: 1px 10px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 500;
}

.status-badge-small.active {
    background: #1c5a3a;
    color: #bef5d0;
}

.status-badge-small.pending {
    background: #7a642a;
    color: #f5e3a0;
}

.status-badge-small.inactive {
    background: #6a3a3a;
    color: #f5b0b0;
}

.status-badge-small.completed {
    background: #1c5a3a;
    color: #bef5d0;
}

.status-badge-small.failed {
    background: #6a3a3a;
    color: #f5b0b0;
}

.status-badge-small.referral_bonus {
    background: #2a6a4a;
    color: #bef5d0;
}

.status-badge-small.deposit {
    background: #2a4a6a;
    color: #b0cbf5;
}

.status-badge-small.withdrawal {
    background: #6a2a2a;
    color: #f5b0b0;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 20px;
    color: #7d9ac9;
    font-size: 0.85rem;
}

.empty-state i {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
    opacity: 0.3;
}

/* ===== STATS BOXES ===== */
.stats-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 16px 0;
}

.stat-box {
    background: #0f1a2d;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.04);
}

.stat-box .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f5d98f;
}

.stat-box .label {
    font-size: 0.6rem;
    color: #7d9ac9;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ===== TABLE WRAPPER ===== */
.table-wrapper {
    background: #0f1a2d;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.04);
    margin-top: 16px;
}

.table-wrapper h3 {
    color: #bdd0f0;
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: #e0ecff;
    font-size: 0.85rem;
}

.admin-table th {
    text-align: left;
    padding: 8px 4px;
    color: #7d9ac9;
    font-size: 0.6rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-table td {
    padding: 8px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.8rem;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

/* ===== LEADERBOARD ===== */
.leaderboard-rank {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
}

.leaderboard-rank.gold {
    background: rgba(255,215,0,0.2);
    color: #f5d98f;
}

.leaderboard-rank.silver {
    background: rgba(192,192,192,0.15);
    color: #c0c0c0;
}

.leaderboard-rank.bronze {
    background: rgba(205,127,50,0.15);
    color: #cd7f32;
}

/* ===== TYPE ICONS ===== */
.type-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    font-size: 0.7rem;
}

.type-icon.positive {
    background: rgba(50,255,50,0.1);
    color: #51cf66;
}

.type-icon.negative {
    background: rgba(255,50,50,0.1);
    color: #ff6b6b;
}

/* ===== WHATSAPP LINK ===== */
.whatsapp-link {
    background: #1b3a2e;
    border-radius: 60px;
    padding: 14px 18px;
    text-align: center;
    font-weight: 500;
    color: #c4f0d0;
    border: 1px solid rgba(37, 211, 102, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    background: #1e4a3a;
    border-color: rgba(37, 211, 102, 0.4);
    transform: scale(1.02);
}

.whatsapp-link i {
    font-size: 1.6rem;
    color: #25D366;
}

/* ===== FAQ ===== */
.faq-item {
    background: #0f1a2d;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255,255,255,0.08);
    background: #14203a;
}

.faq-item .question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #d6e4ff;
    font-weight: 500;
    font-size: 0.9rem;
}

.faq-item .question i {
    color: #6d8fc9;
    margin-right: 8px;
}

.faq-item .question .arrow {
    color: #5a7a9a;
    transition: transform 0.3s ease;
}

.faq-item.active .question .arrow {
    transform: rotate(180deg);
}

.faq-item .answer {
    color: #98b2df;
    font-size: 0.85rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0;
}

.faq-item.active .answer {
    max-height: 150px;
    opacity: 1;
    padding-top: 10px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: #0f1a2d;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.04);
    margin-top: 16px;
}

.contact-section h3 {
    color: #bdd0f0;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #b6cbf0;
    text-decoration: none;
}

.contact-item i {
    width: 30px;
    color: #6d8fc9;
    font-size: 1.1rem;
}

.contact-item span {
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .auth-box {
        padding: 30px 20px;
    }
    
    .auth-header h1 {
        font-size: 1.8rem;
    }
    
    .balance-amount {
        font-size: 1.8rem;
    }
    
    .flip-container {
        height: 180px;
    }
    
    .wallet-actions {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .wallet-btn {
        font-size: 0.65rem;
        padding: 8px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-summary {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .stat-box .number {
        font-size: 1.2rem;
    }
    
    .admin-table {
        font-size: 0.75rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 6px 3px;
    }
    
    .faq-item .question {
        font-size: 0.82rem;
    }
}