@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
:root{--navy:#08265b;--blue:#0759c7;--blue2:#0b77db;--gold:#f4bd25;--green:#159653;--red:#c43d4b;--ink:#101d3c;--muted:#68748c;--bg:#f3f6fc;--line:#e1e7f1;--shadow:0 8px 26px #102d5c12}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Vazirmatn,Tahoma,sans-serif;padding-bottom:88px}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.container{width:min(100% - 28px,980px);margin:22px auto}.narrow{max-width:680px}.hero{min-height:255px;background:linear-gradient(115deg,#061d4b,#0b397e);color:#fff;padding:18px max(20px,calc((100% - 980px)/2));position:relative;overflow:hidden;border-radius:0 0 30px 30px}.topbar,.brand,.user-summary,.balance-card,.section-heading,.exam-card,.page-header,.exam-top,.exam-controls{display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{justify-content:flex-start;color:white}.brand small{display:block;color:#d4def2;font-size:11px}.brand-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:var(--gold);color:var(--navy);font-weight:800;font-size:17px}.icon-button{border:1px solid #ffffff40;background:#ffffff15;color:white;border-radius:12px;width:44px;height:44px}.icon-button svg,.button svg,.quick-icon svg,.exam-icon svg,.promo svg,.bottom-nav svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hero-copy{position:relative;z-index:1;max-width:570px;margin-top:30px}.hero-copy h1{font-size:clamp(25px,5vw,38px);margin:6px 0}.hero-copy p{color:#e2eaf8}.eyebrow{color:var(--gold)!important;font-weight:700}.hero-art{position:absolute;left:5%;bottom:12px;width:190px;opacity:.95}.balance-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:17px 20px;margin-top:-22px;position:relative;z-index:2;box-shadow:var(--shadow);flex-wrap:wrap}.user-summary{justify-content:flex-start}.avatar{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#e6efff;color:var(--blue);font-size:22px;font-weight:800}.user-summary small,.balance small{display:block;color:var(--muted);font-size:12px}.user-summary strong{display:block}.balance{margin-inline-start:auto}.balance strong{font-size:24px}.balance strong small{display:inline}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:11px 16px;font-weight:700;min-height:44px}.button-primary{background:linear-gradient(120deg,var(--blue),var(--blue2));color:#fff}.button-green{background:var(--green);color:white}.button-light{background:#edf2fa;color:var(--ink)}.button-danger{background:#fff0f1;color:var(--red)}.full{width:100%;margin-top:12px}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.quick-card{background:#fff;border:1px solid var(--line);border-radius:18px;min-height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;box-shadow:0 3px 12px #102d5c08}.quick-icon,.exam-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center}.quick-icon svg,.exam-icon svg{width:30px;height:30px}.purple{background:#f0eaff;color:#6339c8}.blue{background:#e7f1ff;color:#0870d0}.orange{background:#fff0e3;color:#e47a10}.cyan{background:#e2f6fb;color:#008cae}.promo{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(110deg,#06245c,#0c4b9b);color:#fff;border-radius:20px;padding:18px 22px;overflow:hidden;position:relative}.promo small{color:var(--gold)}.promo h2{margin:4px 0;font-size:23px}.promo p{margin:0;color:#dce8fb}.promo svg{width:82px;height:82px;color:var(--gold)}.section-heading{margin:25px 2px 12px}.section-heading h2,.section-title{font-size:19px;margin:0}.section-heading a,.auth-foot a{color:var(--blue);font-weight:700}.exam-list,.stack{display:grid;gap:12px}.exam-card,.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 3px 14px #102d5c08}.exam-info{flex:1}.exam-info h3{font-size:16px;margin:0 0 5px}.exam-info p{font-size:12px;color:var(--muted);margin:0}.exam-price{background:#fff5d7;color:#7d5a00;padding:9px;border-radius:10px;font-size:12px;font-weight:700}.exam-icon.math{background:#e8efff;color:#145cc2}.exam-icon.science{background:#e4f7ed;color:#159653}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(14px);border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:9px 5px max(9px,env(safe-area-inset-bottom));z-index:10}.bottom-nav a{display:grid;justify-items:center;gap:3px;color:#65718b;font-size:11px;min-width:48px}.bottom-nav svg{width:22px;height:22px}.bottom-nav a.active{color:var(--blue);font-weight:800}.page-header{padding:18px max(16px,calc((100% - 980px)/2));background:#fff;border-bottom:1px solid var(--line)}.page-header h1{font-size:19px;margin:0}.back-link{color:var(--blue);font-weight:700}.panel{padding:20px}.panel h2{margin-top:0}.muted{color:var(--muted);font-size:13px;line-height:1.9}.panel label,.auth-card label{display:grid;gap:7px;margin:14px 0;font-size:13px;font-weight:600}.panel input,.auth-card input{width:100%;border:1px solid #dce3ef;border-radius:11px;padding:12px;background:#fff;outline:none;color:var(--ink)}input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0759c71a}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px;width:min(100%,440px);box-shadow:var(--shadow)}.brand-dark{color:var(--ink);justify-content:flex-start}.brand-dark .brand-mark{background:var(--navy);color:#fff}.auth-card h1{margin:24px 0 4px}.auth-foot{text-align:center;font-size:13px;margin-top:22px}.form-message{font-size:13px;margin-top:12px;color:var(--red);line-height:1.8}.form-message.success{color:var(--green)}.hidden{display:none!important}.wallet-hero{background:linear-gradient(120deg,#06245c,#0d55a6);color:white;border-radius:20px;padding:24px;margin-bottom:16px}.wallet-hero small{display:block;color:#d9e5f7}.wallet-hero strong{font-size:30px}.notice{background:#fff7df;color:#795b0c;padding:12px;border-radius:12px;font-size:12px;line-height:1.8;margin:14px 0}.toast{position:fixed;bottom:95px;left:16px;right:16px;margin:auto;max-width:400px;background:#15264a;color:#fff;padding:12px 16px;border-radius:12px;opacity:0;pointer-events:none;transition:.2s;text-align:center;z-index:20}.toast.show{opacity:1}.admin-tabs{display:flex;gap:8px;overflow:auto;margin:16px 0}.admin-tabs button{border:1px solid var(--line);background:#fff;padding:10px 16px;border-radius:10px;white-space:nowrap}.admin-tabs button.active{background:var(--navy);color:white}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th,.admin-table td{padding:10px;border-bottom:1px solid var(--line);text-align:right}.admin-table-wrap{overflow:auto}.status-pill{padding:4px 8px;border-radius:20px;background:#e8f7ee;color:#167a43;font-size:11px}.status-pill.blocked{background:#fff0f0;color:#b32d3b}@media(max-width:650px){.quick-grid{grid-template-columns:repeat(2,1fr)}.balance-card{gap:12px}.balance{margin-inline-start:0}.balance-card>.button{width:100%}.exam-card{flex-wrap:wrap}.exam-info{min-width:45%}.exam-price{margin-inline-start:auto}.exam-card>.button{width:100%}.hero-art{opacity:.35;left:-10px}.promo svg{width:60px}.page-header{padding:15px}.admin-table{min-width:650px}}
