/* منصة تدريب كوانتوم */
:root { --ac: #0d9488; --ac-rgb: 13,148,136; --ink: #0f172a; --soft: #f1f5f9; }
@font-face { font-family: Cairo; font-weight: 400; src: url(../vendor/cairo/cairo-arabic-400-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Cairo; font-weight: 600; src: url(../vendor/cairo/cairo-arabic-600-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Cairo; font-weight: 700; src: url(../vendor/cairo/cairo-arabic-700-normal.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Cairo; font-weight: 400; src: url(../vendor/cairo/cairo-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Cairo; font-weight: 600; src: url(../vendor/cairo/cairo-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Cairo; font-weight: 700; src: url(../vendor/cairo/cairo-latin-700-normal.woff2) format('woff2'); }
body.ac { font-family: Cairo, system-ui, sans-serif; background: #f6f8fb; color: #1e293b; min-height: 100vh; }
.ac-top { background: linear-gradient(120deg, #0b1324, #12304a 60%, #0f4c4a); color: #fff; }
.ac-top .navbar-brand { color: #fff; font-weight: 700; display: flex; align-items: center; gap: .55rem; }
.ac-top .mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #2dd4bf, #4f46e5); display: grid; place-items: center; font-weight: 800; }
.ac-top a, .ac-top button { color: rgba(255,255,255,.85); }
.ac-top .btn-icon { border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: .3rem .6rem; background: transparent; }
.ac-hero { background: linear-gradient(120deg, #0b1324, #12304a 60%, #0f4c4a); color: #fff; padding: 1.4rem 0 4.5rem; }
.ac-hero h1 { font-size: 1.45rem; font-weight: 700; margin: 0; }
.ac-wrap { margin-top: -3.4rem; }
.ac-card { background: #fff; border: 1px solid #e6ebf2; border-radius: 16px; box-shadow: 0 6px 24px rgba(15,23,42,.05); }
.ac-stat { padding: 1rem 1.1rem; display: flex; align-items: center; gap: .8rem; height: 100%; }
.ac-stat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.ac-stat .n { font-size: 1.45rem; font-weight: 700; line-height: 1.1; }
.ac-stat .l { color: #64748b; font-size: .82rem; }
.ring { --p: 0; width: 86px; height: 86px; border-radius: 50%; background: conic-gradient(#2dd4bf calc(var(--p) * 1%), rgba(255,255,255,.15) 0); display: grid; place-items: center; flex-shrink: 0; }
.ring > span { width: 70px; height: 70px; border-radius: 50%; background: #10304a; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; color: #fff; }
.vcard { overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .15s, box-shadow .15s; }
.vcard:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(15,23,42,.09); }
.vthumb { aspect-ratio: 16/9; background: #0f172a center/cover no-repeat; position: relative; display: block; }
.vthumb .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2.6rem; background: linear-gradient(180deg, transparent 40%, rgba(2,6,23,.55)); }
.vthumb .dur { position: absolute; bottom: .5rem; inset-inline-end: .5rem; background: rgba(2,6,23,.75); color: #fff; font-size: .75rem; padding: .05rem .45rem; border-radius: 6px; }
.vthumb .sys { position: absolute; top: .5rem; inset-inline-start: .5rem; color: #fff; font-size: .72rem; padding: .1rem .55rem; border-radius: 99px; }
.vthumb.locked { filter: grayscale(.6); }
.vthumb.locked .play { font-size: 2rem; }
.vbody { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.vbody h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.pbar { height: 7px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.pbar > i { display: block; height: 100%; background: linear-gradient(90deg, #14b8a6, #4f46e5); border-radius: 99px; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip2 { font-size: .74rem; padding: .12rem .55rem; border-radius: 99px; background: #f1f5f9; color: #334155; display: inline-flex; gap: .25rem; align-items: center; }
.chip2.ok { background: #dcfce7; color: #166534; }
.chip2.warn { background: #fef3c7; color: #92400e; }
.chip2.info { background: #e0f2fe; color: #075985; }
.sec-title { font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; margin: 1.6rem 0 .8rem; }
.sec-title .bi { color: var(--ac); }
/* صفحات الدخول */
.auth-bg { min-height: 100vh; background: radial-gradient(1200px 600px at 80% -10%, rgba(45,212,191,.25), transparent), radial-gradient(900px 500px at -10% 110%, rgba(79,70,229,.3), transparent), #0b1324; display: flex; align-items: center; justify-content: center; padding: 1.5rem 1rem; }
.auth-card { width: 100%; max-width: 520px; background: #fff; border-radius: 22px; padding: 2rem 1.6rem; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.auth-card.wide { max-width: 760px; }
.auth-logo { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.2rem; }
.auth-logo .mark { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #2dd4bf, #4f46e5); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.3rem; }
.phone-in { direction: ltr; font-size: 1.25rem; letter-spacing: .04em; }
.otp-in { direction: ltr; font-size: 1.8rem; letter-spacing: .5em; text-align: center; font-weight: 700; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .5rem; }
.pick label { border: 1.5px solid #e2e8f0; border-radius: 12px; padding: .6rem .75rem; cursor: pointer; display: flex; gap: .5rem; align-items: center; font-size: .9rem; user-select: none; }
.pick input { display: none; }
.pick input:checked + label, .pick label:has(input:checked) { border-color: var(--ac); background: rgba(var(--ac-rgb), .08); color: #0f766e; font-weight: 600; }
.geo-box { border: 1.5px dashed #cbd5e1; border-radius: 12px; padding: .7rem .9rem; display: flex; align-items: center; gap: .7rem; }
.geo-box.ok { border-color: #22c55e; background: #f0fdf4; }
.geo-box.bad { border-color: #ef4444; background: #fef2f2; }
/* المشغل */
.player-wrap { position: relative; background: #000; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; user-select: none; -webkit-user-select: none; }
.player-wrap video { width: 100%; height: 100%; display: block; background: #000; }
.player-wrap video::cue { font-family: Cairo, sans-serif; font-size: 1.05rem; background: rgba(0,0,0,.72); }
.wm { position: absolute; pointer-events: none; color: rgba(255,255,255,.33); font-size: .85rem; font-weight: 600; white-space: nowrap; text-shadow: 0 0 2px rgba(0,0,0,.6); transition: top 1.2s, left 1.2s; z-index: 3; }
.shield { position: absolute; inset: 0; z-index: 5; display: none; place-items: center; text-align: center; color: #fff; background: rgba(2,6,23,.86); backdrop-filter: blur(18px); padding: 1rem; }
.shield.on { display: grid; }
.gate { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: radial-gradient(700px 300px at 50% 0, rgba(239,68,68,.25), transparent), #0b1324; color: #fff; padding: 1rem; overflow: auto; }
.gate .box { max-width: 620px; text-align: center; }
.gate .warn-ic { font-size: 2.6rem; color: #f87171; }
.ctrl { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; background: #0b1324; color: #fff; border-radius: 0 0 16px 16px; flex-wrap: wrap; }
.ctrl button { color: #fff; background: rgba(255,255,255,.08); border: 0; border-radius: 9px; padding: .3rem .65rem; }
.ctrl button:hover { background: rgba(255,255,255,.18); }
.seek { flex: 1; min-width: 140px; height: 8px; background: rgba(255,255,255,.15); border-radius: 99px; position: relative; cursor: pointer; }
.seek .watched { position: absolute; inset: 0; border-radius: 99px; }
.seek .cur { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; background: #2dd4bf; border-radius: 99px; }
.player-box.no-bottom .player-wrap { border-radius: 16px 16px 0 0; }
.kind-btn { border: 1.5px solid #e2e8f0; background: #fff; border-radius: 99px; padding: .2rem .7rem; font-size: .82rem; }
.kind-btn.active { border-color: var(--ac); background: rgba(var(--ac-rgb), .1); color: #0f766e; font-weight: 600; }
.note-item { border: 1px solid #eef2f7; border-radius: 12px; padding: .55rem .7rem; display: flex; gap: .6rem; align-items: flex-start; }
.note-item .at { font-size: .75rem; background: #f1f5f9; border-radius: 6px; padding: .05rem .4rem; direction: ltr; cursor: pointer; white-space: nowrap; }
.stars { display: inline-flex; gap: .2rem; direction: ltr; }
.stars button { border: 0; background: none; font-size: 1.7rem; color: #cbd5e1; padding: 0 .1rem; line-height: 1; }
.stars button.on { color: #f59e0b; }
.req-steps li { display: flex; align-items: center; gap: .55rem; padding: .45rem 0; border-bottom: 1px dashed #e2e8f0; }
.req-steps li:last-child { border: 0; }
.req-steps .bi-check-circle-fill { color: #16a34a; }
.req-steps .bi-circle { color: #cbd5e1; }
@media print { body * { display: none !important; } }
