:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}body{color:#fff;background:#070714;margin:0;font-family:Inter,Arial,sans-serif}.phone-screen{background:linear-gradient(#101026,#060611);border:1px solid #27274a;border-radius:36px;width:390px;min-height:760px;margin:30px auto;padding:24px;box-shadow:0 0 40px #8000ff40}.top-bar{justify-content:space-between;align-items:center;display:flex}.wallet-card,.qr-card,.stat-card,.table-card,.success-card{background:#121225;border:1px solid #24244a;border-radius:20px;margin-top:20px;padding:20px}.wallet-card h1{margin:5px 0;font-size:56px}.qr-box{background:#fff;border-radius:16px;justify-content:center;margin:20px 0;padding:18px;display:flex}.primary-btn{color:#fff;cursor:pointer;background:linear-gradient(90deg,#7c3aed,#a855f7);border:none;border-radius:14px;width:100%;margin-top:15px;padding:15px;font-weight:700}.secondary-btn{color:#fff;cursor:pointer;background:0 0;border:1px solid #7c3aed;border-radius:14px;width:100%;margin-top:12px;padding:15px;font-weight:700}.machine-screen{text-align:center;background:#070714;border:1px solid #27274a;border-radius:28px;max-width:600px;margin:40px auto;padding:30px}.game-price{background:#111127;border-radius:22px;margin:30px 0;padding:25px}.game-price h2{color:#facc15;font-size:42px}.scan-panel{border:2px dashed #7c3aed;border-radius:22px;padding:30px}.scan-panel.success{border-color:#22c55e}.scan-panel.error{border-color:#ef4444}.qr-input{color:#fff;background:#0b0b18;border:1px solid #33335d;border-radius:12px;width:100%;margin-top:15px;padding:15px}.dashboard-layout{min-height:100vh;display:flex}.sidebar{background:#080817;border-right:1px solid #24244a;width:240px;padding:24px}.sidebar h2{color:#a855f7}.sidebar a:hover{background:#181832}.dashboard-main{flex:1;padding:30px}.dashboard-header{justify-content:space-between;align-items:center;display:flex}.dashboard-header .primary-btn{width:auto;padding:14px 24px}.stats-grid{grid-template-columns:repeat(4,1fr);gap:20px;margin-top:25px;display:grid}.stat-card h2{font-size:34px}table{border-collapse:collapse;width:100%;margin-top:15px}th,td{text-align:left;border-bottom:1px solid #24244a;padding:14px}.positive{color:#22c55e}.negative{color:#ef4444}.sidebar a{color:#d4d4d8;border-radius:12px;margin-top:10px;padding:14px;text-decoration:none;display:block}.sidebar a:hover,.active-link{color:#fff;background:#1d1438}.form-card{background:#121225;border:1px solid #24244a;border-radius:20px;max-width:620px;margin-top:24px;padding:24px}.form-card form{flex-direction:column;gap:14px;display:flex}.form-card label{color:#d4d4d8;font-size:14px}.form-card input,.form-card select,.search-input{color:#fff;background:#0b0b18;border:1px solid #33335d;border-radius:12px;width:100%;padding:14px}.search-input{margin-bottom:18px}.mini-info-card{background:#090918;border:1px solid #33335d;border-radius:16px;margin:8px 0;padding:18px}.mini-info-card h2{color:#a855f7;margin:4px 0}.small-btn{color:#fff;cursor:pointer;background:0 0;border:1px solid #7c3aed;border-radius:10px;padding:9px 14px}.filter-row{gap:12px;margin-top:20px;display:flex}.filter-btn{color:#fff;cursor:pointer;background:#101026;border:1px solid #33335d;border-radius:12px;padding:10px 16px}.active-filter{background:#7c3aed;border-color:#7c3aed}.customer-check-page{background:radial-gradient(circle at top,#241044,#070714 55%);justify-content:center;align-items:flex-start;min-height:100vh;padding:40px 18px;display:flex}.balance-check-card{color:#fff;background:#101026;border:1px solid #29294d;border-radius:28px;width:100%;max-width:460px;padding:24px;box-shadow:0 0 45px #7c3aed38}.customer-check-page{color:#fff;background:radial-gradient(circle at top,#241044,#070714 55%);justify-content:center;align-items:flex-start;min-height:100vh;padding:40px 18px;display:flex}.balance-check-card{background:#101026;border:1px solid #29294d;border-radius:28px;width:100%;max-width:500px;padding:24px;box-shadow:0 0 45px #7c3aed38}.balance-header{text-align:center;margin-bottom:24px}.balance-header h1{color:#a855f7;margin:0;font-size:34px}.balance-header p{color:#c4c4cc;margin-top:8px}.balance-form{flex-direction:column;gap:13px;display:flex}.balance-form label{color:#d4d4d8;font-size:14px}.balance-form input{color:#fff;background:#080817;border:1px solid #33335d;border-radius:14px;outline:none;padding:15px}.balance-form input:focus{border-color:#a855f7}.customer-balance-result{margin-top:24px}.customer-name-row{background:#080817;border:1px solid #29294d;border-radius:18px;justify-content:space-between;align-items:center;padding:18px;display:flex}.customer-name-row p{color:#a1a1aa;margin:0;font-size:13px}.customer-name-row h2{margin:5px 0 0}.status-pill{color:#86efac;background:#22c55e26;border:1px solid #22c55e59;border-radius:999px;padding:7px 12px;font-size:13px}.big-credit-card{text-align:center;background:linear-gradient(135deg,#7c3aed,#a855f7);border-radius:22px;margin-top:18px;padding:26px}.big-credit-card p{color:#ede9fe;margin:0}.big-credit-card h1{margin:6px 0;font-size:72px}.big-credit-card span{color:#ede9fe}.customer-stats-grid{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px;display:grid}.customer-info-box{background:#080817;border:1px solid #29294d;border-radius:18px;margin-top:18px;padding:16px}.customer-info-box p{color:#e4e4e7;margin:8px 0}.customer-history{background:#080817;border:1px solid #29294d;border-radius:18px;margin-top:18px;padding:18px}.customer-history h3{margin-top:0}.empty-message{color:#a1a1aa}.modal-overlay{z-index:999;background:#00000073;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.modal-content{background:#fff;border-radius:12px;width:90%;max-width:380px;max-height:85vh;padding:16px;overflow-y:auto}.qr-modal{color:#fff;background:#101026;border:1px solid #29294d;border-radius:28px;width:100%;max-width:460px;padding:26px;position:relative;box-shadow:0 0 45px #7c3aed59}.modal-close-btn{color:red;cursor:pointer;background:0 0;border:none;font-size:32px;position:absolute;top:16px;right:18px}.qr-modal h2{text-align:center;margin:0}.modal-subtitle{text-align:center;color:#a1a1aa;margin-top:6px}.qr-preview-box{background:#fff;border-radius:18px;justify-content:center;width:fit-content;margin:22px auto;padding:18px;display:flex}.qr-details{background:#080817;border:1px solid #29294d;border-radius:18px;padding:16px}.qr-details p{margin:12px 0 8px}.copy-row{background:#121225;border:1px solid #24244a;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex;overflow:hidden}.copy-row span{color:#d4d4d8;overflow-wrap:anywhere;font-size:13px}.modal-actions{gap:12px;margin-top:18px;display:flex}.primary-link-btn,.secondary-link-btn{text-align:center;border-radius:14px;flex:1;padding:13px;font-weight:700;text-decoration:none}.primary-link-btn{color:#fff;background:linear-gradient(90deg,#7c3aed,#a855f7)}.secondary-link-btn{color:#fff;border:1px solid #7c3aed}.table-card a{color:#a855f7}.wallet-stats-grid{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px;display:grid}.customer-stat-box{text-align:center;background:#080817;border:1px solid #29294d;border-radius:18px;padding:18px}.customer-stat-box p{color:#a1a1aa;margin:0}.customer-stat-box h2{margin:8px 0 0;font-size:32px}.history-card{background:#121225;border:1px solid #24244a;border-radius:20px;margin-top:20px;padding:20px}.history-item{border-bottom:1px solid #24244a;justify-content:space-between;align-items:center;padding:14px 0;display:flex}.history-item p{color:#a1a1aa;margin:4px 0 0;font-size:13px}@media print{@page{size:80mm auto;margin:0}body *{visibility:hidden!important}.thermal-print-area,.thermal-print-area *{visibility:visible!important}.thermal-print-area{color:#000;background:#fff;width:72mm;padding:4mm;font-family:Arial,sans-serif;position:absolute;top:0;left:0;display:block!important}.no-print{display:none!important}.modal-overlay,.qr-modal{box-shadow:none!important;background:#fff!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important}}@media print{@page{size:80mm auto;margin:0}body *{visibility:hidden!important}.thermal-print-area,.thermal-print-area *{visibility:visible!important}.thermal-print-area{color:#000;background:#fff;width:72mm;padding:4mm;font-family:Arial,sans-serif;position:absolute;top:0;left:0;display:block!important}.no-print{display:none!important}.modal-overlay,.qr-modal{box-shadow:none!important;background:#fff!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important}}@media print{@page{size:80mm auto;margin:0}body *{visibility:hidden!important}.thermal-print-area,.thermal-print-area *{visibility:visible!important}.thermal-print-area{color:#000;background:#fff;width:72mm;padding:4mm;font-family:Arial,sans-serif;position:absolute;top:0;left:0;display:block!important}.no-print{display:none!important}.modal-overlay,.qr-modal{box-shadow:none!important;background:#fff!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important}}@media print{@page{size:80mm auto;margin:0}body *{visibility:hidden!important}.thermal-print-area,.thermal-print-area *{visibility:visible!important}.thermal-print-area{color:#000;background:#fff;width:72mm;padding:4mm;font-family:Arial,sans-serif;position:absolute;top:0;left:0;display:block!important}.no-print{display:none!important}.modal-overlay,.qr-modal{box-shadow:none!important;background:#fff!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important}}.qr-modal{background:#fff;border-radius:14px;width:90%;max-width:380px;max-height:85vh;padding:16px;position:relative;overflow-y:auto}.qr-preview-box{justify-content:center;margin:12px 0;display:flex}.modal-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.thermal-print-area{display:none}.receipt-header{text-align:center}.receipt-header h2{margin:0;font-size:18px}.receipt-header p,.receipt-footer p,.receipt-qr p{margin:2px 0;font-size:11px}.receipt-line{border-top:1px dashed #000;margin:8px 0}.receipt-row,.receipt-total-row{justify-content:space-between;gap:8px;margin:4px 0;font-size:12px;display:flex}.receipt-total-row{margin-top:8px;font-size:15px;font-weight:700}.receipt-qr{text-align:center;margin-top:8px}.receipt-wallet-link{word-break:break-all;text-align:center;font-size:9px}.receipt-footer{text-align:center}@media print{@page{size:80mm auto;margin:0}body *{visibility:hidden!important}.thermal-print-area,.thermal-print-area *{visibility:visible!important}.thermal-print-area{color:#000;background:#fff;width:72mm;padding:4mm;font-family:Arial,sans-serif;position:absolute;top:0;left:0;display:block!important}.no-print{display:none!important}.modal-overlay,.qr-modal{box-shadow:none!important;background:#fff!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important}}.table-summary-row{color:#a1a1aa;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.table-summary-row p{margin:0}.pagination-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;margin-top:22px;display:flex}.pagination-numbers{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.pagination-btn,.pagination-number{color:#fff;cursor:pointer;background:#0b0b18;border:1px solid #33335d;border-radius:10px;padding:9px 14px}.pagination-btn:disabled{opacity:.4;cursor:not-allowed}.pagination-number.active-page{color:#fff;background:#7c3aed;border-color:#7c3aed;font-weight:700}.pagination-btn:hover:not(:disabled),.pagination-number:hover{background:#1d1438}.staff-login-page{background:radial-gradient(circle at top,#241044,#070714 55%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.staff-login-card{color:#fff;background:#101026;border:1px solid #29294d;border-radius:28px;width:100%;max-width:420px;padding:28px;box-shadow:0 0 45px #7c3aed38}.staff-login-card h1{color:#a855f7;text-align:center;margin:0}.staff-login-card p{text-align:center;color:#c4c4cc}.staff-login-card form{flex-direction:column;gap:14px;display:flex}.staff-login-card label{color:#d4d4d8;font-size:14px}.staff-login-card input{color:#fff;background:#080817;border:1px solid #33335d;border-radius:14px;padding:15px}.staff-scan-page{color:#fff;background:radial-gradient(circle at top,#26104a,#070714 55%);justify-content:center;align-items:flex-start;min-height:100vh;padding:24px;display:flex}.staff-scan-card{background:#101026f5;border:1px solid #29294d;border-radius:28px;width:100%;max-width:720px;padding:24px;box-shadow:0 0 45px #7c3aed3d}.staff-scan-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;display:flex}.staff-scan-header h1{color:#fff;margin:0;font-size:34px}.staff-scan-header p{color:#a1a1aa;margin:8px 0 0}.staff-game-info{grid-template-columns:1fr 1fr;gap:14px;margin-top:16px;display:grid}.staff-game-info>div{background:#121225;border:1px solid #24244a;border-radius:18px;padding:18px}.staff-game-info p{color:#a1a1aa;margin:0;font-size:13px}.staff-game-info h2{color:#facc15;margin:8px 0 0}.staff-status-box{text-align:center;background:#080817;border:1px solid #33335d;border-radius:18px;margin-top:18px;padding:18px}.staff-status-box h3{margin:0}.staff-status-box.waiting{border-color:#7c3aed}.staff-status-box.checking{border-color:#facc15}.staff-status-box.success{border-color:#22c55e}.staff-status-box.error{border-color:#ef4444}.staff-camera-box{background:#050510;border:1px solid #29294d;border-radius:18px;margin-top:18px;padding:14px;overflow:hidden}#customer-qr-reader{border-radius:16px;width:100%;overflow:hidden}#customer-qr-reader video{border-radius:16px}.staff-manual-form{background:#080817;border:1px solid #29294d;border-radius:18px;margin-top:18px;padding:16px}.staff-manual-form label{color:#d4d4d8;margin-bottom:8px;font-size:14px;display:block}.staff-manual-form input{color:#fff;background:#0b0b18;border:1px solid #33335d;border-radius:14px;outline:none;width:100%;padding:15px}.staff-manual-form button{color:#fff;cursor:pointer;background:linear-gradient(90deg,#7c3aed,#a855f7);border:none;border-radius:14px;width:100%;margin-top:14px;padding:15px;font-weight:700}.staff-manual-form button:disabled{opacity:.45;cursor:not-allowed}.staff-success-card{background:#22c55e1a;border:1px solid #22c55e59;border-radius:18px;margin-top:18px;padding:18px}.staff-success-card h2{color:#86efac;margin-top:0}.staff-result-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.staff-result-grid p{background:#080817;border:1px solid #29294d;border-radius:12px;margin:0;padding:12px}.staff-logs-link{text-align:center;color:#a855f7;margin-top:18px;font-weight:700;text-decoration:none;display:block}.error-box{color:#fecaca;background:#ef44441f;border:1px solid #ef444473;border-radius:14px;margin-top:18px;padding:14px}@media (width<=640px){.staff-scan-page{padding:12px}.staff-scan-card{border-radius:22px;padding:18px}.staff-scan-header{flex-direction:column}.staff-scan-header h1{font-size:28px}.staff-game-info,.staff-result-grid{grid-template-columns:1fr}}.staff-profile-page{color:#fff;background:radial-gradient(circle at top,#241044,#070714 55%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.staff-profile-card{text-align:center;background:#101026;border:1px solid #29294d;border-radius:30px;width:100%;max-width:520px;padding:30px;box-shadow:0 0 45px #7c3aed40}.staff-avatar{background:linear-gradient(135deg,#7c3aed,#a855f7);border-radius:50%;justify-content:center;align-items:center;width:90px;height:90px;margin:0 auto 18px;font-size:40px;font-weight:700;display:flex}.staff-profile-card h1{margin:0}.staff-subtitle{color:#a1a1aa;margin-top:8px}.staff-info-grid{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:24px;display:grid}.staff-info-box{background:#080817;border:1px solid #29294d;border-radius:18px;padding:18px}.staff-info-box p{color:#a1a1aa;margin:0;font-size:13px}.staff-info-box h3{color:#fff;margin:8px 0 0}.staff-profile-actions{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:24px;display:grid}.profile-action-btn{color:#fff;background:#121225;border:1px solid #7c3aed;border-radius:16px;padding:15px;font-weight:700;text-decoration:none}.profile-action-btn:hover{background:#1d1438}.logout-btn{color:#ef4444;cursor:pointer;background:0 0;border:1px solid #ef4444;border-radius:16px;width:100%;margin-top:22px;padding:15px;font-weight:700}.logout-btn:hover{background:#ef44441f}@media (width<=600px){.staff-info-grid,.staff-profile-actions{grid-template-columns:1fr}}.staff-profile-wide{max-width:900px}.attendance-section{text-align:left;background:#080817;border:1px solid #29294d;border-radius:22px;margin-top:24px;padding:20px}.attendance-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.attendance-header h2{margin:0}.attendance-header p{color:#a1a1aa;margin:6px 0 0}.attendance-count-card{text-align:center;background:#121225;border:1px solid #24244a;border-radius:18px;min-width:180px;padding:16px}.attendance-count-card p{color:#a1a1aa;margin:0;font-size:13px}.attendance-count-card h1{color:#a855f7;margin:6px 0 0;font-size:48px}.attendance-form{grid-template-columns:1fr 1fr;gap:14px;margin-top:20px;display:grid}.attendance-note-field{grid-column:span 2}.attendance-form label{color:#d4d4d8;margin-bottom:8px;font-size:14px;display:block}.attendance-form input{color:#fff;background:#0b0b18;border:1px solid #33335d;border-radius:12px;width:100%;padding:14px}.attendance-form .primary-btn{grid-column:span 2}.attendance-message,.success-box{color:#86efac;background:#22c55e1f;border:1px solid #22c55e59;border-radius:14px;margin-top:16px;padding:14px}.attendance-table-card{margin-top:20px;overflow-x:auto}.attendance-table-card table{min-width:600px}@media (width<=700px){.attendance-header{flex-direction:column;align-items:stretch}.attendance-form{grid-template-columns:1fr}.attendance-note-field,.attendance-form .primary-btn{grid-column:span 1}}.attendance-report-page{color:#fff;background:#070714;min-height:100vh;padding:30px}.attendance-report-container{max-width:1200px;margin:0 auto}.attendance-report-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.attendance-report-header h1{margin:0}.attendance-report-header p{color:#a1a1aa;margin:8px 0 0}.attendance-filter-card,.attendance-table-card,.attendance-summary-card{background:#121225;border:1px solid #24244a;border-radius:20px;margin-top:20px;padding:20px}.filter-grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.filter-grid label{color:#d4d4d8;margin-bottom:8px;font-size:14px;display:block}.filter-grid input{color:#fff;background:#0b0b18;border:1px solid #33335d;border-radius:12px;width:100%;padding:14px}.filter-button-box{align-items:end;display:flex}.attendance-summary-grid{grid-template-columns:repeat(4,1fr);gap:18px;display:grid}.attendance-summary-card p{color:#a1a1aa;margin:0}.attendance-summary-card h2{margin:8px 0 0;font-size:32px}.attendance-table-card{overflow-x:auto}.attendance-table-card table{border-collapse:collapse;width:100%;min-width:900px;margin-top:14px}.attendance-table-card th,.attendance-table-card td{text-align:left;border-bottom:1px solid #24244a;padding:14px}.attendance-table-card th{color:#d4d4d8}.empty-message{color:#a1a1aa;padding:16px 0}@media (width<=900px){.attendance-report-header{flex-direction:column;align-items:flex-start}.filter-grid{grid-template-columns:1fr}.attendance-summary-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=520px){.attendance-report-page{padding:18px}.attendance-summary-grid{grid-template-columns:1fr}}.table-input{color:#fff;background:#0b0b18;border:1px solid #33335d;border-radius:10px;width:100%;padding:10px}.action-row{flex-wrap:wrap;gap:8px;display:flex}.save-btn{color:#22c55e;border-color:#22c55e}.danger-btn{color:#ef4444;border-color:#ef4444}.table-card a{color:#a855f7;margin-right:8px;font-weight:700}.table-header p{color:#666;margin:.25rem 0 0;font-size:.9rem}.filter-group{flex-direction:column;gap:.35rem;display:flex}.filter-group input,.filter-group select{border:1px solid #ddd;border-radius:8px;outline:none;padding:.7rem;font-size:.95rem}.reset-filter-btn{color:#fff;cursor:pointer;background:#111;border:none;border-radius:8px;padding:.7rem 1rem;font-weight:600}.table-responsive{width:100%;overflow-x:auto}.type-badge{text-transform:capitalize;border-radius:999px;padding:.3rem .6rem;font-size:.8rem;font-weight:600}@media (width<=1000px){.filters-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.table-header{flex-direction:column;align-items:flex-start}.filters-grid{grid-template-columns:1fr}}.scan-logs-table{border-collapse:collapse;table-layout:fixed;width:100%}.scan-logs-table th,.scan-logs-table td{text-align:left;vertical-align:top;word-break:break-word;overflow-wrap:anywhere;padding:.75rem .6rem;font-size:.85rem}.scan-logs-table th{color:#374151;background:#f8fafc;font-weight:700}.scan-logs-table td small{color:#6b7280;font-size:.75rem}.completed-log-row td{color:#0b6b2f;font-weight:600}.completed-badge,.active-badge{white-space:nowrap;border-radius:999px;padding:.35rem .65rem;font-size:.75rem;font-weight:700;display:inline-block}.completed-badge{color:#fff;background:#16a34a}.active-badge{color:#92400e;background:#fef3c7}@media (width<=1200px){.filters-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.scan-logs-table th,.scan-logs-table td{padding:.65rem .45rem;font-size:.8rem}}@media (width<=900px){.table-responsive{overflow-x:hidden}.scan-logs-table,.scan-logs-table thead,.scan-logs-table tbody,.scan-logs-table th,.scan-logs-table td,.scan-logs-table tr{width:100%;display:block}.scan-logs-table thead{display:none}.scan-logs-table tr{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:1rem;padding:.75rem}.scan-logs-table tr.completed-log-row{background:#e8f8ee;border-color:#bbf7d0}.scan-logs-table td{border-bottom:1px solid #f1f5f9;justify-content:space-between;gap:1rem;padding:.65rem 0;font-size:.9rem;display:flex}.scan-logs-table td:last-child{border-bottom:none}.scan-logs-table td:before{content:attr(data-label);color:#374151;min-width:90px;font-weight:700}.scan-logs-table td small{margin-top:.2rem;display:inline-block}.empty-table-message{display:block}}@media (width<=800px){.filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-header{flex-direction:column;align-items:flex-start}.reset-filter-btn{width:100%}}@media (width<=600px){.filters-grid{grid-template-columns:1fr}.pagination{flex-wrap:wrap;justify-content:center}.pagination button{flex:1}}.table-card{box-sizing:border-box;width:100%;max-width:100%;overflow:hidden}.table-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.table-header h2{margin:0}.table-header p{color:#666;margin-top:.25rem;font-size:.9rem}.filters-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;margin-bottom:1.5rem;display:grid}.filter-group input,.filter-group select{box-sizing:border-box;background:#fff;border:1px solid #ddd;border-radius:8px;outline:none;width:100%;padding:.75rem;font-size:.9rem}.filter-group input:focus,.filter-group select:focus{border-color:#111}.reset-filter-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#111;border:none;border-radius:8px;padding:.75rem 1rem;font-weight:600}.table-responsive{width:100%;max-width:100%;overflow-x:auto}.transactions-table{border-collapse:collapse;width:100%}.transactions-table th,.transactions-table td{text-align:left;vertical-align:top;padding:.85rem .7rem;font-size:.9rem}.transactions-table th{color:#374151;background:#f8fafc;font-weight:700}.completed-transaction-row{background:#e8f8ee}.completed-transaction-row td{color:#0b6b2f;font-weight:600}.type-badge{text-transform:capitalize;border-radius:999px;padding:.35rem .7rem;font-size:.8rem;font-weight:700;display:inline-block}.type-badge.topup{color:#1d4ed8;background:#dbeafe}.type-badge.play{color:#92400e;background:#fef3c7}.type-badge.complete{color:#fff;background:#16a34a}.pagination{justify-content:flex-end;align-items:center;gap:1rem;margin-top:1.2rem;display:flex}.pagination button{color:#fff;cursor:pointer;background:#111;border:none;border-radius:8px;padding:.65rem 1rem;font-weight:600}.pagination button:disabled{cursor:not-allowed;background:#ccc}.empty-table-message{text-align:center;color:#777;padding:2rem}@media (width<=1000px){.filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=800px){.table-header{flex-direction:column;align-items:flex-start}.reset-filter-btn{width:100%}.transactions-table,.transactions-table thead,.transactions-table tbody,.transactions-table th,.transactions-table td,.transactions-table tr{width:100%;display:block}.transactions-table thead{display:none}.transactions-table tr{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:1rem;padding:.75rem}.transactions-table tr.completed-transaction-row{background:#e8f8ee;border-color:#bbf7d0}.transactions-table td{word-break:break-word;border-bottom:1px solid #f1f5f9;justify-content:space-between;gap:1rem;padding:.65rem 0;display:flex}.transactions-table td:last-child{border-bottom:none}.transactions-table td:before{content:attr(data-label);color:#374151;min-width:85px;font-weight:700}.pagination{flex-wrap:wrap;justify-content:center}}@media (width<=600px){.filters-grid{grid-template-columns:1fr}.pagination button{flex:1}}.completed-log-row{background:#dcfce7!important}.completed-log-row td{font-weight:600;color:#064e3b!important}.completed-log-row .negative{color:#991b1b!important}.completed-badge{border:1px solid #16a34a;color:#064e3b!important;background:#bbf7d0!important}.active-badge{border:1px solid #f59e0b;color:#78350f!important;background:#fef3c7!important}.ranking-card{color:#111827;background:#fff}.rank-badge{border:1px solid #f59e0b;color:#78350f!important;background:#fef3c7!important}.performance-badge.best{border:1px solid #16a34a;color:#064e3b!important;background:#dcfce7!important}.performance-badge.good{border:1px solid #2563eb;color:#1e3a8a!important;background:#dbeafe!important}.scan-logs-table th,.ranking-table th{color:#111827!important;background:#f1f5f9!important}.scan-logs-table td,.ranking-table td{color:#111827}.scan-logs-table small,.ranking-table small{color:#475569!important}.reset-filter-btn,.pagination button{color:#fff!important;background:#1f2937!important}.pagination button:disabled{color:#6b7280!important;background:#e5e7eb!important}.scan-logs-table td:before,.ranking-table td:before{color:#111827!important}.admin-layout{width:100%;max-width:100vw;overflow-x:hidden}.admin-main{box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow-x:hidden}.scan-logs-page{width:100%;max-width:none;margin:0;padding:0}.table-card,.ranking-card{box-sizing:border-box;color:#111827;background:#fff;border-radius:14px;width:100%;max-width:100%;margin-bottom:1.5rem;padding:1.2rem;overflow:hidden;box-shadow:0 8px 24px #0f172a0f}.table-header,.ranking-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.table-header h2,.ranking-header h2{color:#111827;margin:0}.table-header p,.ranking-header p{color:#475569;margin-top:.25rem;font-size:.9rem}.filters-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;width:100%;margin-bottom:1.5rem;display:grid}.filter-group{flex-direction:column;gap:.35rem;min-width:0;display:flex}.filter-group label{color:#334155;font-size:.85rem;font-weight:700}.filter-group input,.filter-group select{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:.75rem;font-size:.9rem}.filter-group input:focus,.filter-group select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.reset-filter-btn,.pagination button{color:#111827;cursor:pointer;white-space:nowrap;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;padding:.7rem 1rem;font-weight:700}.reset-filter-btn:hover,.pagination button:hover:not(:disabled){color:#0f172a;background:#e0f2fe;border-color:#38bdf8}.pagination button:disabled{color:#94a3b8;cursor:not-allowed;background:#f1f5f9;border-color:#e2e8f0}.table-responsive,.ranking-table-responsive{width:100%;max-width:100%;overflow-x:auto}.scan-logs-table,.transactions-table,.ranking-table{border-collapse:collapse;background:#fff;width:100%}.scan-logs-table th,.scan-logs-table td,.transactions-table th,.transactions-table td,.ranking-table th,.ranking-table td{text-align:left;vertical-align:top;color:#111827;word-break:break-word;overflow-wrap:anywhere;border-bottom:1px solid #e5e7eb;padding:.85rem .7rem;font-size:.88rem}.scan-logs-table th,.transactions-table th,.ranking-table th{color:#111827;background:#f1f5f9;font-weight:800}.scan-logs-table small,.transactions-table small,.ranking-table small{color:#475569;font-size:.75rem}.completed-log-row,.completed-transaction-row{background:#dcfce7!important}.completed-log-row td,.completed-transaction-row td{font-weight:700;color:#064e3b!important}.completed-log-row .negative,.completed-transaction-row .negative{color:#991b1b!important}.completed-badge,.active-badge,.type-badge,.rank-badge,.performance-badge{white-space:nowrap;text-transform:capitalize;border-radius:999px;padding:.35rem .7rem;font-size:.78rem;font-weight:800;display:inline-block}.completed-badge,.type-badge.complete,.performance-badge.best{color:#064e3b;background:#bbf7d0;border:1px solid #16a34a}.active-badge,.type-badge.play{color:#78350f;background:#fef3c7;border:1px solid #f59e0b}.type-badge.topup{color:#1e3a8a;background:#dbeafe;border:1px solid #2563eb}.rank-badge{color:#78350f;background:#fde68a;border:1px solid #f59e0b}.performance-badge.good{color:#075985;background:#e0f2fe;border:1px solid #38bdf8}.top-staff-row{background:#fff7ed!important}.top-staff-row td{font-weight:700;color:#7c2d12!important}.positive{color:#15803d;font-weight:800}.negative{color:#dc2626;font-weight:800}.pagination{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:1rem;margin-top:1.2rem;display:flex}.pagination span{color:#111827;font-weight:700}.empty-table-message,.empty-message{text-align:center;color:#64748b;padding:2rem}@media (width<=1000px){.filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-header,.ranking-header{flex-direction:column;align-items:flex-start}.reset-filter-btn{width:100%}}@media (width<=800px){.scan-logs-table,.scan-logs-table thead,.scan-logs-table tbody,.scan-logs-table th,.scan-logs-table td,.scan-logs-table tr,.transactions-table,.transactions-table thead,.transactions-table tbody,.transactions-table th,.transactions-table td,.transactions-table tr,.ranking-table,.ranking-table thead,.ranking-table tbody,.ranking-table th,.ranking-table td,.ranking-table tr{width:100%;display:block}.scan-logs-table thead,.transactions-table thead,.ranking-table thead{display:none}.scan-logs-table tr,.transactions-table tr,.ranking-table tr{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:1rem;padding:.75rem}.scan-logs-table tr.completed-log-row,.transactions-table tr.completed-transaction-row{border-color:#86efac;background:#dcfce7!important}.ranking-table tr.top-staff-row{border-color:#fed7aa;background:#fff7ed!important}.scan-logs-table td,.transactions-table td,.ranking-table td{border-bottom:1px solid #f1f5f9;justify-content:space-between;gap:1rem;padding:.65rem 0;font-size:.9rem;display:flex}.scan-logs-table td:last-child,.transactions-table td:last-child,.ranking-table td:last-child{border-bottom:none}.scan-logs-table td:before,.transactions-table td:before,.ranking-table td:before{content:attr(data-label);color:#111827;flex-shrink:0;min-width:100px;font-weight:800}.scan-logs-table td small,.transactions-table td small,.ranking-table td small{margin-top:.2rem;display:inline-block}.pagination{justify-content:center}}@media (width<=600px){.filters-grid{grid-template-columns:1fr}.table-card,.ranking-card{padding:1rem}.pagination button{flex:1}.scan-logs-table td,.transactions-table td,.ranking-table td{flex-direction:column;gap:.25rem}.scan-logs-table td:before,.transactions-table td:before,.ranking-table td:before{min-width:auto}}.dashboard-header-with-action{justify-content:space-between;align-items:center;gap:1rem;display:flex}.logout-dashboard-btn{color:#991b1b;cursor:pointer;background:#fee2e2;border:1px solid #fecaca;border-radius:10px;padding:.75rem 1.1rem;font-weight:800}.logout-dashboard-btn:hover{background:#fecaca}@media (width<=700px){.dashboard-header-with-action{flex-direction:column;align-items:flex-start}.logout-dashboard-btn{width:100%}}*{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}.wallet-page{color:#111827;background:#f1f5f9;justify-content:center;align-items:flex-start;width:100%;min-height:100vh;padding:1rem;display:flex}.phone-screen{color:#111827;background:#f8fafc;border-radius:28px;width:100%;max-width:430px;min-height:100vh;padding:1rem}.wallet-state-card{color:#111827;text-align:center;background:#fff;border-radius:18px;width:100%;max-width:420px;margin-top:3rem;padding:1.5rem;box-shadow:0 12px 30px #0f172a14}.wallet-state-card h2{color:#111827;margin:0 0 .5rem}.wallet-state-card p{color:#475569}.wallet-state-card small{color:#64748b;word-break:break-word}.error-state{background:#fff7f7;border:1px solid #fecaca}.top-bar{color:#111827;background:#fff;border:1px solid #e2e8f0;border-radius:18px;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:1rem;display:flex;box-shadow:0 8px 20px #0f172a0d}.top-bar h2{color:#111827;margin:0;font-size:1.2rem}.top-bar p{color:#475569;margin:.2rem 0 0;font-size:.85rem}.wallet-pill{color:#1e3a8a;background:#dbeafe;border:1px solid #93c5fd;border-radius:999px;padding:.4rem .75rem;font-size:.8rem;font-weight:800;display:inline-block}.wallet-card{color:#064e3b;text-align:center;background:#dcfce7;border:1px solid #86efac;border-radius:24px;margin-bottom:1rem;padding:1.4rem;box-shadow:0 10px 24px #16a34a1f}.wallet-card p{color:#065f46;margin:0;font-weight:700}.wallet-card h1{color:#064e3b;margin:.4rem 0;font-size:3.2rem;line-height:1}.wallet-card span{color:#047857;font-size:.9rem;font-weight:600}.qr-card{color:#111827;text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:24px;margin-bottom:1rem;padding:1.2rem;box-shadow:0 8px 20px #0f172a0f}.customer-info h3{color:#111827;margin:0;font-size:1.25rem}.customer-info p{color:#475569;margin:.3rem 0 1rem;font-size:.9rem}.qr-box{background:#fff;border:2px solid #e5e7eb;border-radius:18px;justify-content:center;align-items:center;margin:.5rem auto .8rem;padding:.75rem;display:inline-flex}.qr-card small{color:#334155;word-break:break-word;font-weight:700;display:block}.wallet-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-bottom:1rem;display:grid}.customer-stat-box{color:#111827;text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:1rem;box-shadow:0 8px 18px #0f172a0d}.customer-stat-box p{color:#475569;margin:0;font-size:.85rem;font-weight:700}.customer-stat-box h2{color:#111827;margin:.4rem 0 0;font-size:1.8rem}.history-card{color:#111827;background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:1rem;box-shadow:0 8px 20px #0f172a0f}.history-header{justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:.8rem;display:flex}.history-header span{color:#334155;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:999px;padding:.3rem .65rem;font-size:.75rem;font-weight:800}.empty-wallet-message{color:#64748b;text-align:center;margin:1rem 0}.history-item{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:.8rem;padding:.85rem 0;display:flex}.history-item:last-child{border-bottom:none}.history-left{align-items:center;gap:.75rem;min-width:0;display:flex}.history-left strong{color:#111827;font-size:.95rem;display:block}.history-left p{color:#64748b;margin:.2rem 0 0;font-size:.78rem}.activity-icon{border-radius:50%;justify-content:center;align-items:center;width:38px;min-width:38px;height:38px;font-weight:900;display:inline-flex}.topup-icon{color:#064e3b;background:#dcfce7;border:1px solid #86efac}.play-icon{color:#78350f;background:#fef3c7;border:1px solid #f59e0b}.wallet-amount{white-space:nowrap;font-size:.95rem;font-weight:900}.wallet-amount.positive{color:#15803d}.wallet-amount.negative{color:#b91c1c}.wallet-footer{text-align:center;color:#64748b;margin:1rem 0 0;font-size:.8rem}@media (width<=480px){.wallet-page{background:#f8fafc;padding:0}.phone-screen{border-radius:0;width:100%;max-width:none;min-height:100vh;padding:.85rem}.top-bar,.wallet-card,.qr-card,.history-card{border-radius:18px}.wallet-card h1{font-size:2.8rem}.qr-box{width:100%;max-width:260px;padding:.6rem}.wallet-stats-grid{grid-template-columns:1fr 1fr;gap:.6rem}.customer-stat-box{padding:.85rem}.customer-stat-box h2{font-size:1.5rem}.history-item,.history-left{align-items:flex-start}.history-left strong{font-size:.9rem}.history-left p{font-size:.72rem}}@media (width<=360px){.wallet-stats-grid{grid-template-columns:1fr}.history-item{flex-direction:column;align-items:flex-start}.wallet-amount{align-self:flex-end}}.sidebar-logo{width:150px;height:auto;margin-bottom:24px;display:block}.customer-credit-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;margin:1rem 0;padding:1rem}.customer-credit-summary h3{color:#111827;margin:0 0 .8rem}.customer-credit-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.credit-summary-box{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.85rem}.credit-summary-box span{color:#475569;margin-bottom:.25rem;font-size:.78rem;font-weight:700;display:block}.credit-summary-box strong{color:#111827;font-size:1rem}.credit-history-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.85rem}.credit-history-header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.credit-history-header h4{color:#111827;margin:0}.credit-history-header span{color:#5b21b6;background:#ede9fe;border:1px solid #c4b5fd;border-radius:999px;padding:.3rem .6rem;font-size:.75rem;font-weight:800}.credit-history-item{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 0;display:flex}.credit-history-item:last-child{border-bottom:none}.credit-history-item strong{color:#15803d}.credit-history-item p{color:#64748b;margin:.2rem 0 0;font-size:.8rem}.credit-history-badge{color:#064e3b;white-space:nowrap;background:#dcfce7;border:1px solid #86efac;border-radius:999px;padding:.3rem .55rem;font-size:.75rem;font-weight:800}.credit-history-loading,.credit-history-empty{color:#64748b;text-align:center;margin:.8rem 0}@media (width<=600px){.customer-credit-summary-grid{grid-template-columns:1fr}.credit-history-item{flex-direction:column;align-items:flex-start}}.history-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.history-header h3{color:#111827;margin:0}.history-header p{color:#64748b;margin:.25rem 0 0;font-size:.8rem}.activity-dropdown-btn{color:#5b21b6;cursor:pointer;background:#ede9fe;border:1px solid #c4b5fd;border-radius:12px;width:100%;margin-top:.9rem;padding:.8rem 1rem;font-weight:800}.activity-dropdown-btn:hover{background:#ddd6fe}@media (width<=480px){.history-header{flex-direction:column;gap:.4rem}.activity-dropdown-btn{font-size:.9rem}}.topup-card{width:100%;max-width:760px}.topup-card h2{color:#111827;margin-bottom:1rem}.topup-card label{color:#111827;margin-bottom:.45rem;font-weight:800;display:block}.giu-code-search-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.9rem;width:100%;margin-top:.4rem;display:grid}.giu-code-input{color:#111827;background:#fff;border:2px solid #c4b5fd;border-radius:12px;outline:none;width:100%;min-width:0;min-height:56px;padding:1rem 1.1rem;font-size:1rem;font-weight:700}.giu-code-input::placeholder{color:#64748b;font-weight:500}.giu-code-input:focus{border-color:#7c3aed;box-shadow:0 0 0 4px #7c3aed26}.find-customer-btn{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#7c3aed,#a855f7);border:none;border-radius:12px;min-height:56px;padding:0 1.25rem;font-weight:900;box-shadow:0 8px 18px #7c3aed40}.find-customer-btn:hover{opacity:.92}.topup-input{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;min-height:50px;margin-bottom:1rem;padding:.9rem 1rem;font-size:1rem;font-weight:600}.topup-input::placeholder{color:#64748b}.topup-input:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1f}.mini-info-card{color:#111827;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;margin-top:1.2rem;padding:1rem}.customer-found-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.customer-found-header p{color:#475569;margin:0;font-weight:800}.customer-found-header h2{color:#111827;margin:.2rem 0 0}.customer-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.customer-info-grid div{background:#fff;border:1px solid #dbeafe;border-radius:12px;padding:.9rem}.customer-info-grid small{color:#475569;margin-bottom:.3rem;font-weight:800;display:block}.customer-info-grid strong{color:#111827;word-break:break-word;font-size:.95rem;display:block}.error-card{color:#991b1b;background:#fee2e2;border:1px solid #fecaca;border-radius:10px;margin-top:1rem;padding:.9rem 1rem;font-weight:800}.error-card p{color:#991b1b;margin:0}.secondary-btn{color:#111827;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:.75rem 1rem;font-weight:800}.secondary-btn:hover{background:#f1f5f9}.success-card{color:#064e3b;background:#dcfce7;border:1px solid #86efac;border-radius:14px;margin-top:1rem;padding:1rem}.success-card h2,.success-card p{color:#064e3b}.form-card input,.form-card select{color:#111827;background:#fff}.form-card input::placeholder{color:#64748b}@media (width<=700px){.topup-card{max-width:100%}.giu-code-search-row{grid-template-columns:1fr}.find-customer-btn{width:100%}.customer-found-header{flex-direction:column}.secondary-btn{width:100%}.customer-info-grid{grid-template-columns:1fr}.giu-code-input{font-size:.95rem}}.dashboard-notification{border-radius:16px;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:1rem;animation:.25s dashboardNotificationSlide;display:flex;box-shadow:0 10px 24px #0f172a14}.notification-left{align-items:center;gap:.8rem;display:flex}.notification-icon{background:#fff;border-radius:50%;justify-content:center;align-items:center;width:42px;min-width:42px;height:42px;font-size:1.25rem;display:inline-flex}.dashboard-notification strong{color:#111827;font-size:1rem;display:block}.dashboard-notification p{color:#334155;margin:.2rem 0 0;font-weight:600}.notification-right{text-align:right}.notification-right span{white-space:nowrap;color:#111827;font-weight:900;display:block}.notification-right small{color:#475569;margin-top:.25rem;font-weight:700;display:block}.topup-notification{background:#dcfce7;border:1px solid #86efac}.topup-notification .notification-right span{color:#15803d}.play-notification{background:#fef3c7;border:1px solid #f59e0b}.play-notification .notification-right span{color:#92400e}@keyframes dashboardNotificationSlide{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media (width<=650px){.dashboard-notification{flex-direction:column;align-items:flex-start}.notification-right{text-align:left;width:100%}}.custom-date-input{color:#111827;background:#fff;border:1px solid #cbd5e1}.custom-date-input::-webkit-calendar-picker-indicator{filter:invert(27%)sepia(94%)saturate(2314%)hue-rotate(258deg)brightness(93%)contrast(94%);cursor:pointer}.sidebar{flex-direction:column;justify-content:space-between;display:flex}.sidebar-top{flex-direction:column;display:flex}.sidebar-nav{flex-direction:column;gap:.4rem;display:flex}.sidebar-logout-btn{color:#991b1b;cursor:pointer;text-align:center;background:#fee2e2;border:1px solid #fecaca;border-radius:12px;width:100%;margin-top:1rem;padding:.85rem 1rem;font-weight:900}.sidebar-logout-btn:hover{color:#7f1d1d;background:#fecaca}.package-form-card{max-width:700px}.package-preview-card,.selected-package-card{color:#111827;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;margin:1rem 0;padding:1rem}.package-preview-card p,.selected-package-card p{color:#475569;margin:0;font-weight:800}.package-preview-card h2,.selected-package-card h2{color:#111827;margin:.35rem 0 0}.selected-package-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin-top:1rem;display:grid}.selected-package-grid div{background:#fff;border:1px solid #dbeafe;border-radius:12px;padding:.85rem}.selected-package-grid small{color:#64748b;margin-bottom:.25rem;font-weight:800;display:block}.selected-package-grid strong{color:#111827;display:block}.form-helper-text{color:#64748b;margin:-.4rem 0 1rem;display:block}@media (width<=700px){.selected-package-grid{grid-template-columns:1fr}}.transaction-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.sales-report-btn,.reset-sales-filter-btn{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#7c3aed,#a855f7);border:1px solid #c4b5fd;border-radius:12px;padding:.8rem 1rem;font-weight:900}.sales-report-btn:hover,.reset-sales-filter-btn:hover{opacity:.92}.sales-modal-overlay{z-index:9999;background:#0f172abf;justify-content:center;align-items:flex-start;padding:2rem 1rem;display:flex;position:fixed;inset:0;overflow-y:auto}.sales-modal{color:#111827;background:#fff;border-radius:22px;width:100%;max-width:1050px;padding:1.3rem;position:relative;box-shadow:0 24px 70px #00000059}.sales-modal-close{color:#991b1b;cursor:pointer;background:#fee2e2;border:none;border-radius:50%;width:38px;height:38px;font-size:1.5rem;font-weight:900;position:absolute;top:.8rem;right:.8rem}.sales-modal-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding-right:3rem;display:flex}.sales-modal-header h2{color:#111827;margin:0}.sales-modal-header p{color:#64748b;margin:.3rem 0 0}.sales-filter-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:.85rem;margin-bottom:1rem;display:grid}.sales-filter-grid .filter-group label{color:#334155;font-weight:800}.sales-filter-grid input,.sales-filter-grid select{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;min-height:46px;padding:.75rem}.sales-filter-grid input:focus,.sales-filter-grid select:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1f}.sales-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin-bottom:1rem;display:grid}.sales-summary-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:1rem}.sales-summary-card p{color:#64748b;margin:0;font-weight:800}.sales-summary-card h3{color:#111827;margin:.4rem 0 0;font-size:1.4rem}.sales-chart-card,.sales-details-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;margin-bottom:1rem;padding:1rem}.sales-chart-header{justify-content:space-between;gap:1rem;margin-bottom:1rem;display:flex}.sales-chart-header h3{color:#111827;margin:0}.sales-chart-header span{color:#5b21b6;background:#ede9fe;border:1px solid #c4b5fd;border-radius:999px;padding:.35rem .65rem;font-size:.78rem;font-weight:900}.sales-bar-row{border-bottom:1px solid #e2e8f0;grid-template-columns:160px 1fr 120px;align-items:center;gap:.85rem;padding:.75rem 0;display:grid}.sales-bar-row:last-child{border-bottom:none}.sales-bar-label strong{color:#111827;font-size:.9rem;display:block}.sales-bar-label small{color:#64748b;margin-top:.2rem;display:block}.sales-bar-track{background:#e2e8f0;border-radius:999px;height:14px;overflow:hidden}.sales-bar-fill{background:linear-gradient(135deg,#7c3aed,#22c55e);border-radius:999px;height:100%}.sales-bar-value{text-align:right;color:#15803d;white-space:nowrap;font-weight:900}.sales-details-card h3{color:#111827;margin:0 0 .8rem}.sales-record-item{border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:1rem;padding:.75rem 0;display:flex}.sales-record-item:last-child{border-bottom:none}.sales-record-item strong{color:#111827}.sales-record-item p{color:#64748b;margin:.2rem 0 0;font-size:.85rem}.sales-record-item span{color:#15803d;white-space:nowrap;font-weight:900}.sales-record-note{color:#64748b;text-align:center;font-size:.85rem}@media (width<=1000px){.sales-filter-grid,.sales-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-bar-row{grid-template-columns:1fr}.sales-bar-value{text-align:left}}@media (width<=650px){.transaction-header,.sales-modal-header{flex-direction:column;align-items:flex-start}.sales-report-btn,.reset-sales-filter-btn{width:100%}.sales-filter-grid,.sales-summary-grid{grid-template-columns:1fr}.sales-modal-overlay{padding:0}.sales-modal{border-radius:0;min-height:100vh}.sales-modal-header{padding-right:3rem}.sales-record-item{flex-direction:column}}.edit-credit-btn{color:#78350f;cursor:pointer;white-space:nowrap;background:#fef3c7;border:1px solid #f59e0b;border-radius:8px;padding:.55rem .8rem;font-weight:800}.edit-credit-btn:hover{background:#fde68a}.edit-credit-modal{color:#111827;background:#fff;border-radius:18px;width:100%;max-width:480px;padding:1.2rem;position:relative;box-shadow:0 24px 70px #00000059}.edit-credit-modal h2{color:#111827;margin:0}.edit-credit-subtitle{color:#64748b;margin:.5rem 0 1rem;line-height:1.5}.edit-credit-customer-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:1rem;padding:1rem}.edit-credit-customer-card p{color:#64748b;margin:0;font-weight:800}.edit-credit-customer-card h3{color:#111827;margin:.3rem 0}.edit-credit-customer-card small{color:#475569;font-weight:700}.edit-credit-modal label{color:#111827;margin-bottom:.35rem;font-weight:800;display:block}.edit-credit-modal input,.edit-credit-modal textarea{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:10px;width:100%;margin-bottom:1rem;padding:.85rem;font-size:.95rem}.edit-credit-modal input:disabled{color:#475569;background:#f1f5f9}.edit-credit-modal textarea{resize:vertical;min-height:90px}.edit-credit-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:.9rem;display:flex}.edit-credit-preview span{color:#475569;font-weight:800}.save-credit-edit-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#a855f7);border:none;border-radius:12px;width:100%;padding:.9rem 1rem;font-weight:900}.save-credit-edit-btn:disabled{opacity:.65;cursor:not-allowed}@media (width<=600px){.edit-credit-modal{max-width:95%;padding:1rem}.customer-action-buttons{flex-direction:column}.edit-credit-btn,.customer-action-buttons .small-btn{width:100%}}.customer-action-buttons{flex-wrap:wrap;gap:8px;display:flex}.membership-card-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#0f172a,#1d4ed8);border:1px solid #3b82f6;border-radius:10px;padding:9px 12px;font-size:13px;font-weight:700}.membership-card-btn:hover{transform:translateY(-1px);box-shadow:0 0 14px #3b82f659}.membership-card-modal{color:#fff;background:#101026;border:1px solid #29294d;border-radius:28px;width:100%;max-width:760px;max-height:90vh;padding:26px;position:relative;overflow-y:auto;box-shadow:0 0 45px #7c3aed59}.membership-card-modal h2{text-align:center;color:#a855f7;margin:0}.membership-card-modal .modal-subtitle{text-align:center;color:#a1a1aa;margin:8px 0 20px}.membership-card-preview-wrap{background:#080817;border:1px solid #29294d;border-radius:22px;justify-content:center;align-items:center;padding:18px;display:flex;overflow-x:auto}.membership-card-print-area{flex-shrink:0;width:85.6mm;height:54mm}.membership-card{color:#fff;box-sizing:border-box;background:radial-gradient(circle at 100% 0,#a855f7e6,#0000 35%),linear-gradient(135deg,#070714 0%,#1e1147 55%,#7c3aed 100%);border:.4mm solid #fff3;border-radius:4mm;width:85.6mm;height:54mm;font-family:Arial,Helvetica,sans-serif;position:relative;overflow:hidden;box-shadow:0 14px 40px #0000004d}.membership-card *{box-sizing:border-box}.membership-card-header{border-bottom:.25mm solid #ffffff29;justify-content:space-between;align-items:flex-start;gap:2mm;height:13mm;padding:3mm 4mm 2mm;display:flex}.membership-brand{letter-spacing:.7px;margin:0;font-size:13px;font-weight:900;line-height:1}.membership-tagline{color:#ede9fe;margin:1mm 0 0;font-size:6.8px;line-height:1.1}.membership-status{color:#bbf7d0;text-transform:uppercase;white-space:nowrap;background:#22c55e2e;border:.2mm solid #86efac73;border-radius:999px;padding:1mm 2mm;font-size:6.2px;font-weight:800}.membership-card-body{justify-content:space-between;align-items:stretch;gap:2.8mm;height:33mm;padding:3mm 4mm 2mm;display:flex}.membership-info{flex:1;min-width:0;overflow:hidden}.membership-label{letter-spacing:.7px;text-transform:uppercase;color:#c4b5fd;margin:0 0 1.2mm;font-size:5.8px;line-height:1}.membership-name{white-space:nowrap;text-overflow:ellipsis;max-width:47mm;margin:0 0 1.8mm;font-size:10.5px;font-weight:900;line-height:1.1;overflow:hidden}.membership-detail-row{justify-content:space-between;align-items:center;gap:2mm;width:100%;margin-bottom:1mm;font-size:6.7px;line-height:1.15;display:flex}.membership-detail-row span{color:#ddd6fe;white-space:nowrap}.membership-detail-row strong{color:#fff;text-align:right;white-space:nowrap;text-overflow:ellipsis;font-weight:800;overflow:hidden}.membership-qr-box{color:#111827;text-align:center;background:#fff;border-radius:3mm;flex-shrink:0;width:25mm;height:30mm;padding:1.6mm}.membership-qr-box canvas{width:21mm!important;height:21mm!important}.membership-qr-caption{margin:.8mm 0 0;font-size:5.8px;font-weight:900;line-height:1}.membership-card-footer{color:#ddd6fe;white-space:nowrap;text-overflow:ellipsis;height:7mm;padding:0 4mm 2mm;font-size:5.8px;line-height:1.15;overflow:hidden}.membership-card-actions{flex-wrap:wrap;gap:12px;margin-top:18px;display:flex}.membership-card-actions button,.membership-card-actions a{text-align:center;flex:1}@media print{body.printing-membership-card *{visibility:hidden!important}body.printing-membership-card .membership-card-print-area,body.printing-membership-card .membership-card-print-area *{visibility:visible!important}body.printing-membership-card .membership-card-print-area{background:#fff;width:85.6mm;height:54mm;margin:0;padding:0;position:fixed;top:0;left:0}body.printing-membership-card .membership-card{width:85.6mm;height:54mm;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact;border-radius:4mm}@page{size:85.6mm 54mm;margin:0}}@media (width<=700px){.membership-card-preview-wrap{padding:10px}.membership-card-print-area{transform-origin:50%;transform:scale(.9)}.membership-card-actions{flex-direction:column}}@media (width<=430px){.membership-card-print-area{transform:scale(.78)}}
