@font-face { font-family: VazirLocal; src: local('Vazirmatn'), local('Tahoma'); }
* { box-sizing: border-box; }
body { margin: 0; background: #f4f6f8; color: #1c2630; font-family: Tahoma, Arial, sans-serif; line-height: 1.8; }
a { color: #0b6b68; text-decoration: none; }
.topbar { background: #0b3338; color: #fff; padding: 12px 24px; display:flex; justify-content:space-between; align-items:center; position: sticky; top:0; z-index:5; }
.topbar a { color:#fff; margin:0 8px; }
.brand { font-weight: 800; letter-spacing:.5px; }
.container { max-width: 1180px; margin: 28px auto; padding: 0 16px; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 8px 24px rgba(13, 38, 76, .06); padding: 24px; margin-bottom: 18px; }
.hero { text-align:center; padding: 48px 24px; }
.muted { color:#667085; }
.notice { background:#fff8e1; border:1px solid #f4d98c; border-radius:10px; padding:12px; margin:12px 0 22px; }
.grid2 { display:grid; grid-template-columns: repeat(2, 1fr); gap:16px; }
.grid3 { display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; }
label { display:block; margin: 8px 0 14px; font-weight: 600; }
input, select { width:100%; padding:10px 12px; border:1px solid #cbd5e1; border-radius:10px; margin-top:6px; font-size:15px; }
button, .primary { border:0; background:#0b6b68; color:#fff; padding:10px 18px; border-radius:10px; cursor:pointer; font-size:15px; }
button:hover, .primary:hover { background:#084f4d; }
.question { border:1px solid #e5e7eb; border-radius:12px; padding:14px; margin-bottom:10px; background:#fcfcfd; }
.qtext span { display:inline-block; min-width:32px; height:32px; border-radius:50%; background:#0b6b68; color:#fff; text-align:center; line-height:32px; margin-left:8px; }
.answers { margin-top:10px; display:flex; gap:20px; }
.answers label { margin:0; font-weight:normal; }
.answers input { width:auto; margin:0 4px; }
.login { max-width:440px; margin:40px auto; }
.adminbar { background:#e6fffb; border:1px solid #99f6e4; border-radius:12px; padding:10px 15px; margin-bottom:18px; display:flex; gap:18px; }
.stat { text-align:center; }
.stat b { display:block; font-size:34px; color:#0b6b68; }
.list { width:100%; border-collapse:collapse; }
.list th, .list td { border-bottom:1px solid #e5e7eb; padding:8px; text-align:right; }
.inline-form { display:flex; gap:8px; align-items:end; margin:12px 0; flex-wrap:wrap; }
.inline-form input { width:auto; min-width:180px; }
.success { border-color:#86efac; background:#f0fdf4; }
.error { border-color:#fca5a5; background:#fff1f2; }
code { direction:ltr; display:inline-block; background:#f1f5f9; padding:2px 6px; border-radius:6px; }
@media (max-width: 760px) { .grid2, .grid3 { grid-template-columns:1fr; } .answers { flex-direction:row; } .topbar { flex-direction:column; gap:6px; } }
