/* Teacher page: verify a «الفزعة» certificate on the device (nothing is sent anywhere) */
html, body { overflow: auto; height: auto; min-height: 100%; }
body.vpage { background: var(--bg); background-attachment: fixed; }
.v { max-width: 720px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 22px max(30px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; }
.v-head { text-align: center; margin-top: 3vh; }
.v-crystal { --c: #2DD4BF; width: 74px; height: 74px; margin: 0 auto 14px; }
.v-head h1 { margin: 0; font: 700 clamp(30px, 8.4vw, 46px)/1.3 SaudiFont, Tajawal; background: linear-gradient(135deg, #BFF7EF 0%, #2DD4BF 45%, #7CC4FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 8px 0 0; font: 500 16px/1.7 Tajawal; color: var(--muted); }
.v-form { width: min(100%, 460px); display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.v-form label { display: flex; flex-direction: column; gap: 4px; font: 800 14px/1.4 Tajawal; color: var(--muted); }
.v-form input { width: 100%; padding: 10px 2px 8px; border: 0; border-bottom: 1.5px solid rgba(124,196,255,.35); border-radius: 0; background: transparent; color: var(--ink); font: 800 22px/1.3 Tajawal; outline: none; transition: border-color .2s, box-shadow .2s; }
.v-form input:focus { border-bottom-color: var(--teal); box-shadow: 0 1px 0 0 var(--teal); }
.v-pair { display: flex; gap: 22px; }
.v-pair label { flex: 1; min-width: 0; }
#v-points { text-align: right; font-variant-numeric: tabular-nums; }
#v-code { text-align: right; letter-spacing: 4px; text-transform: uppercase; }
.v-form .btn { align-self: center; margin-top: 6px; min-width: 200px; }
.v-result { min-height: 70px; margin: 24px 0 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font: 800 23px/1.5 Tajawal; }
.v-result.ok { color: var(--teal); }
.v-result.no { color: var(--coral); }
.v-result small { font: 500 15px/1.6 Tajawal; color: var(--muted); }
.v-mark { width: 40px; height: 40px; margin-bottom: 4px; }
.v-result.ok .v-mark { animation: pop .5s var(--ease) both; }
.v-result.no .v-mark { animation: shake .4s; }
.v-rules { width: min(100%, 540px); margin-top: 14px; padding-top: 14px; font: 500 15px/1.8 Tajawal; color: var(--muted); text-align: center; position: relative; }
.v-rules::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: var(--hair); }
.v-rules p { margin: 4px 0; }
.v-rules b { color: var(--gold); }
.v-links { display: flex; gap: 26px; margin-top: 22px; }
.v-links a { color: var(--teal); font: 800 16px/1.6 Tajawal; text-decoration: none; border-bottom: 1.5px solid rgba(45,212,191,.5); }
@media (prefers-reduced-motion: reduce) { .v-result .v-mark { animation: none; } }
.v-credit { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 30px; }
.v-credit span { font: 500 13px/1 Tajawal; color: var(--dim); }
.v-credit img { height: 40px; width: auto; opacity: .9; }
