@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700;800&display=swap');
*{box-sizing:border-box}body{margin:0;background:#f3f6fb;color:#1f2937;font-family:Vazirmatn,Tahoma,sans-serif}
.wrap{width:min(920px,92%);margin:auto}.topbar{background:#173b67;color:white;padding:18px 0}.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:12px}
main{min-height:80vh;padding:38px 0}.panel{background:#fff;border-radius:18px;padding:28px;box-shadow:0 8px 30px #152b4610;margin-bottom:22px}
h1,h2{margin-top:0;color:#173b67}.intro{max-width:680px;margin:20px auto}.intro p{color:#64748b}
label{display:block;margin:18px 0;font-weight:500}input,textarea,select{display:block;width:100%;margin-top:8px;padding:13px;border:1px solid #d5deea;border-radius:10px;font:inherit;background:#fff}
button{border:0;border-radius:10px;padding:12px 22px;background:#1769aa;color:#fff;font:inherit;cursor:pointer}button:hover{filter:brightness(.95)}button:disabled{opacity:.5;cursor:not-allowed}
.secondary{background:#e8eef6;color:#173b67}.danger{background:#b42318}.hidden{display:none!important}.price-line{background:#eef6ff;padding:14px;border-radius:10px;margin:20px 0}.price-line strong{color:#1769aa}
.muted{font-size:13px;color:#7b8797}.exam-head,.actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.exam-head{font-weight:700;color:#1769aa}.progress{height:8px;background:#e8edf4;border-radius:20px;margin:18px 0 28px;overflow:hidden}.progress div{height:100%;width:0;background:#1b9b70;transition:width .2s}
#question-text{line-height:2}.options{display:grid;gap:12px;margin:22px 0}.option{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #dce4ef;border-radius:12px;cursor:pointer}.option.selected{border-color:#1769aa;background:#eef6ff}.option input{width:auto;margin:0}
.actions{justify-content:flex-start;flex-wrap:wrap}.score{font-size:30px;font-weight:800;color:#16805d}footer{text-align:center;padding:20px;color:#8491a3;font-size:13px}
table{border-collapse:collapse;min-width:650px}th,td{border-bottom:1px solid #e5eaf1;text-align:right;padding:10px}th{background:#f7f9fc}
@media(max-width:600px){.panel{padding:20px}.topbar .wrap{flex-direction:column;align-items:flex-start}.actions button{flex:1}}
