/* ===== نظام الكورسات v1.0 — AhmadShawqi Courses ===== */
.asc-lesson-page { max-width: 800px; margin: 0 auto; padding: 20px 16px 60px; }
.asc-breadcrumb { font-size: 13px; color: #888; margin-bottom: 12px; }
.asc-breadcrumb a { color: #1a73e8; text-decoration: none; }
.asc-lesson-title { font-size: 30px; margin: 6px 0 10px; }
.asc-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; padding: 20px; margin: 16px 0; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.asc-login-card { text-align: center; }
.asc-label { display: inline-block; font-size: 13px; font-weight: 700; color: #1a73e8; background: #e8f0fe; padding: 4px 12px; border-radius: 20px; margin-bottom: 8px; }
.asc-section-title { font-size: 22px; margin: 28px 0 6px; }
.asc-muted { color: #777; font-size: 14px; }
.asc-btn { display: inline-block; background: #1a73e8; color: #fff !important; border: none; padding: 13px 34px; border-radius: 30px; font-size: 17px; font-weight: 700; cursor: pointer; text-decoration: none !important; margin: 6px 4px; }
.asc-btn:hover { background: #1765cc; }
.asc-btn-ghost { background: #fff; color: #1a73e8 !important; border: 2px solid #1a73e8; }
.asc-mini-btn { padding: 8px 20px; font-size: 14px; }
.asc-btn:disabled { opacity: .6; cursor: default; }
.asc-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 14px; margin: 18px 0; background: #000; }
.asc-video-wrap iframe { position: absolute; top: 0; right: 0; width: 100%; height: 100%; border: 0; }
.asc-goal { border-right: 4px solid #1a73e8; }
.asc-tips { border-right: 4px solid #f9ab00; }
.asc-task { margin: 14px 0; }
.asc-task-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.asc-task-type { font-size: 12px; font-weight: 700; background: #fce8e6; color: #d93025; padding: 3px 10px; border-radius: 12px; }
.asc-check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; margin-top: 10px; }
.asc-check input { width: 20px; height: 20px; accent-color: #188038; }
/* الكويز */
.asc-quiz-q { margin: 14px 0; }
.asc-quiz-qtext { font-size: 17px; margin-bottom: 10px; }
.asc-quiz-opt { display: block; padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px; margin: 8px 0; cursor: pointer; font-size: 16px; transition: background .15s; }
.asc-quiz-opt:hover { background: #f6f9ff; }
.asc-quiz-opt input { margin-left: 8px; accent-color: #1a73e8; }
.asc-quiz-opt.is-correct { background: #e6f4ea; border-color: #188038; font-weight: 700; }
.asc-quiz-opt.is-wrong { background: #fce8e6; border-color: #d93025; }
.asc-quiz-explain { color: #555; font-size: 14px; margin-top: 8px; }
.asc-quiz-result { margin-top: 16px; }
.asc-score-circle { width: 110px; height: 110px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; margin: 10px auto; }
.asc-score-pass { background: #e6f4ea; color: #188038; border: 4px solid #188038; }
.asc-score-fail { background: #fce8e6; color: #d93025; border: 4px solid #d93025; }
/* أزرار وتقدم */
.asc-complete-box { text-align: center; margin: 26px 0; }
.asc-complete-btn.is-done { background: #188038; }
.asc-progress { background: #eee; border-radius: 10px; height: 12px; overflow: hidden; margin: 10px 0; }
.asc-progress-fill { background: linear-gradient(90deg, #1a73e8, #6c3df4); height: 100%; border-radius: 10px; transition: width .4s; }
.asc-progress.asc-mini { height: 8px; margin: 8px 0 0; }
.asc-next { display: block; text-align: center; margin-top: 24px; }
/* القوائم */
.asc-unit-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; padding: 16px; margin: 10px 0; text-decoration: none !important; color: inherit !important; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.asc-unit-card:hover { border-color: #1a73e8; }
.asc-unit-card.is-done { border-color: #188038; background: #f6fef9; }
.asc-unit-num { width: 46px; height: 46px; border-radius: 50%; background: #e8f0fe; color: #1a73e8; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.asc-unit-card.is-done .asc-unit-num { background: #e6f4ea; color: #188038; }
.asc-unit-info { flex: 1; }
.asc-unit-info strong { display: block; font-size: 17px; margin-bottom: 4px; }
.asc-arrow { color: #1a73e8; font-size: 22px; }
.asc-unit-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; border-top: 1px dashed #eee; }
/* لوحة التحكم */
.asc-continue { border-right: 4px solid #1a73e8; }
.asc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 16px 0; }
.asc-stat { background: #fff; border: 1px solid #e6e6e6; border-radius: 14px; padding: 14px 8px; text-align: center; }
.asc-stat strong { display: block; font-size: 24px; }
.asc-stat span { font-size: 13px; color: #777; }
.asc-level-badge { display: inline-block; font-size: 34px; font-weight: 800; color: #1a73e8; background: #e8f0fe; border-radius: 16px; padding: 6px 30px; margin-top: 8px; }
/* تراك */
.asc-hero { text-align: center; background: linear-gradient(135deg, #1a73e8, #6c3df4); color: #fff; border-radius: 20px; padding: 50px 24px; margin-bottom: 24px; }
.asc-hero h1 { color: #fff; font-size: 34px; margin-bottom: 10px; }
.asc-hero-sub { font-size: 18px; opacity: .95; max-width: 560px; margin: 0 auto 20px; }
.asc-hero-cta .asc-btn-ghost { background: transparent; color: #fff !important; border-color: #fff; }
/* اختبار تحديد المستوى */
.asc-place-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.asc-place-timer { font-size: 22px; font-weight: 800; color: #d93025; background: #fce8e6; padding: 6px 18px; border-radius: 20px; }
.asc-place-timer.danger { animation: asc-blink 1s infinite; }
@keyframes asc-blink { 50% { opacity: .5; } }
.asc-skill-row { margin: 8px 0; }
.asc-skill-bar { background: #eee; border-radius: 8px; height: 10px; overflow: hidden; margin-top: 4px; }
.asc-skill-fill { background: linear-gradient(90deg, #1a73e8, #6c3df4); height: 100%; }
.asc-skill-name { font-size: 14px; margin-bottom: 4px; display: block; }
/* الخطة اليومية */
.asc-min-pick { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.asc-min-btn { padding: 10px 22px; border: 2px solid #1a73e8; border-radius: 30px; color: #1a73e8; text-decoration: none !important; font-weight: 700; }
.asc-min-btn.active { background: #1a73e8; color: #fff !important; }
/* بنك الكلمات */
.asc-word-form { display: flex; gap: 10px; flex-wrap: wrap; }
.asc-word-form input { flex: 1; min-width: 140px; padding: 12px; border: 1px solid #ddd; border-radius: 10px; font-size: 16px; }
.asc-word-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; border-bottom: 1px dashed #eee; }
.asc-due-badge { background: #fce8e6; color: #d93025; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; margin-left: 8px; }
.asc-del-word { background: none; border: none; cursor: pointer; font-size: 18px; }
.asc-flash-card { background: linear-gradient(135deg, #1a73e8, #6c3df4); color: #fff; border-radius: 16px; padding: 50px 20px; text-align: center; cursor: pointer; margin-bottom: 12px; min-height: 120px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.asc-flash-word { font-size: 34px; font-weight: 800; }
.asc-flash-meaning { font-size: 24px; border-top: 1px solid rgba(255,255,255,.4); padding-top: 10px; }
.asc-review-box { text-align: center; }
/* التسجيل */
.asc-input { width: 100%; padding: 13px; border: 1px solid #ddd; border-radius: 10px; font-size: 16px; box-sizing: border-box; }
/* فورم الدخول/التسجيل المبوب */
.asc-auth-card { max-width: 520px; margin: 24px auto; background: #fff; border: 1px solid #e6e6e6; border-radius: 18px; padding: 28px 26px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.asc-auth-tabs { display: flex; background: #f1f3f4; border-radius: 14px; padding: 5px; margin-bottom: 22px; }
.asc-auth-tab { flex: 1; text-align: center; padding: 12px 6px; border-radius: 10px; text-decoration: none !important; color: #5f6368 !important; font-weight: 700; font-size: 16px; }
.asc-auth-tab.active { background: #fff; color: #111 !important; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.asc-auth-card label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.asc-auth-btn { width: 100%; background: #ffc107; color: #111 !important; border: none; padding: 15px; border-radius: 14px; font-size: 18px; font-weight: 800; cursor: pointer; margin-top: 8px; }
.asc-auth-btn:hover { background: #ffb300; }
.asc-auth-err { color: #d93025; text-align: center; margin-bottom: 12px; font-weight: 700; }
