/* ==========================================================================
   3G ÖZEL GÜVENLİK - GELİŞMİŞ ONLİNE SINAV SİMÜLATÖRÜ VE SORU BANKASI (EXAM.CSS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SINAV BAŞLATMA HERO & CTA KARTLARI (YÜKSEK OKUNURLUK & GÖZ DİNLENDİREN TONLAR)
   -------------------------------------------------------------------------- */
.exam-simulator-cta-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-left: 5px solid #1e293b;
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  margin-bottom: 2.5rem;
  position: relative;
}

.exam-cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.exam-cta-text h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.4rem 0 0.5rem 0;
  font-family: var(--font-heading);
}

.exam-cta-text p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  max-width: 650px;
}

.exam-cta-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-navy {
  background: #1e293b;
  color: #ffffff !important;
  border: 1px solid #0f172a;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-navy:hover {
  background: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   2. SINAV MODALI & TAM EKRAN ARAYÜZ (DARK & LIGHT MODE DESTEĞİ)
   -------------------------------------------------------------------------- */
.exam-modal-fullscreen {
  position: fixed;
  inset: 0;
  background: #0b1120; /* Göz yormayan gece mavisi / slate */
  z-index: 3000;
  display: flex;
  flex-direction: column;
  color: #f8fafc;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow: hidden;
}

.exam-modal-fullscreen.active {
  opacity: 1;
  visibility: visible;
}

/* Sınav Üst Barı (Header - Yapışkan) */
.exam-header {
  background: #0f172a;
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.exam-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.exam-header-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.exam-header-title span {
  color: #38bdf8;
}

.exam-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Gündüz / Gece Modu Geçiş Butonu */
.exam-theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exam-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.exam-timer-box {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 0.45rem 1.15rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f87171;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.exam-timer-box.warning {
  animation: timerBlink 1s infinite;
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
  color: #fca5a5;
}

@keyframes timerBlink {
  50% { opacity: 0.6; }
}

/* Sınav Ana Çalışma Alanı */
.exam-workspace {
  flex: 1 1 0%;
  display: grid;
  grid-template-columns: 1fr 340px;
  overflow: hidden;
  min-height: 0; /* flex child overflow fix */
}

/* Sol Taraf: Soru Alanı */
.exam-main-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #0f172a;
  position: relative;
}

.exam-question-body {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 2rem 2.5rem 2rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.exam-question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.exam-question-header-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.exam-badge-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.exam-q-badge {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.exam-q-badge.category {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.exam-q-badge.weapon {
  background: rgba(238, 78, 110, 0.2);
  color: #f87171;
  border: 1px solid rgba(238, 78, 110, 0.4);
}

.exam-flag-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exam-flag-btn:hover, .exam-flag-btn.flagged {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #fcd34d;
}

.exam-question-text {
  font-size: 1.15rem;
  line-height: 1.55;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1.15rem;
}

/* Şıklar Listesi - Kompakt ve Tam Ekrana Sığan Düzen */
.exam-options-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.exam-option-item {
  background: #1e293b;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.65rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.exam-option-item:hover {
  background: #334155;
  border-color: #64748b;
  transform: translateX(4px);
}

.exam-option-item.selected {
  background: #1e3a8a;
  border-color: #3b82f6;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}

.exam-option-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  flex-shrink: 0;
  color: #ffffff;
  transition: all 0.2s ease;
}

.exam-option-item.selected .exam-option-letter {
  background: #2563eb;
  color: #ffffff;
}

.exam-option-content {
  font-size: 0.96rem;
  color: #f8fafc;
  line-height: 1.45;
}

/* Pratik Modu Doğru/Yanlış Renkleri */
.exam-option-item.correct {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: #10b981 !important;
}

.exam-option-item.correct .exam-option-letter {
  background: #10b981 !important;
  color: #ffffff;
}

.exam-option-item.wrong {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #ef4444 !important;
}

.exam-option-item.wrong .exam-option-letter {
  background: #ef4444 !important;
  color: #ffffff;
}

/* Detaylı Açıklama Kutusu */
.exam-explanation {
  background: #1e293b;
  border: 1.5px solid #10b981;
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: none;
}

.exam-explanation.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.exam-explanation-title {
  color: #34d399;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.exam-explanation-text {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Alt Navigasyon Butonları — Ekranda daima sabit (scroll dışı) */
.exam-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: #0f172a;
  z-index: 50;
  flex-shrink: 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
  gap: 0.75rem;
}

/* Üst Header Sınavı Bitir Butonu */
.btn-finish-header {
  background: linear-gradient(135deg, #ef4444, #f97316);
  border: none;
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-finish-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
  opacity: 0.95;
}

/* Mobil Soru Haritası Toggle Butonu */
.exam-mobile-map-toggle {
  display: none; /* Masaüstünde gizli, mobilde responsive.css ile gösterilecek */
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.exam-mobile-map-toggle:hover {
  background: rgba(56, 189, 248, 0.3);
  border-color: #38bdf8;
}

/* Sağ Taraf: Optik Soru Haritası */
.exam-side-panel {
  background: #0b1120;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.exam-side-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.exam-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.answered { background: #2563eb; }
.legend-dot.empty { background: rgba(255, 255, 255, 0.2); }
.legend-dot.flagged { background: #f59e0b; }

.exam-map-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.map-btn {
  aspect-ratio: 1;
  border-radius: 6px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.map-btn:hover {
  background: #334155;
  color: #ffffff;
}

.map-btn.current {
  border: 2.5px solid #38bdf8 !important;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
  transform: scale(1.08);
  z-index: 2;
}

.map-btn.answered {
  background: #16a34a !important;
  color: #ffffff !important;
  border-color: #22c55e !important;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
}

.map-btn.current.answered {
  border-color: #facc15 !important;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.7);
}

.map-btn.flagged::after {
  content: '★';
  position: absolute;
  top: 1px;
  right: 2px;
  font-size: 0.65rem;
  color: #f59e0b;
}

.map-btn.weapon-btn {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

.map-btn.weapon-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff;
}

.map-btn.weapon-btn.answered {
  background: #16a34a !important;
  color: #ffffff !important;
  border-color: #22c55e !important;
}

.map-btn.correct {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
}

.map-btn.wrong {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
}

/* AI Ders Analiz ve Konu Performans Karnesi Stilleri */
.ai-analysis-wrapper {
  margin-top: 2rem;
  text-align: left;
}

.ai-recommendation-box {
  background: rgba(79, 70, 229, 0.12);
  border: 1.5px solid rgba(79, 70, 229, 0.35);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.ai-bot-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #ff4757 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.ai-recommendation-content h4 {
  margin: 0 0 0.35rem 0;
  font-size: 1.1rem;
  color: #ffffff;
}

.ai-recommendation-content p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.subject-analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.subject-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
}

.subject-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.subject-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.subject-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subject-score-badge {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 50px;
}
.subject-score-badge.success { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.subject-score-badge.warning { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.subject-score-badge.danger { background: rgba(239, 68, 68, 0.2); color: #f87171; }

.subject-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.6rem;
}

.subject-progress-bg {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.subject-progress-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.5s ease;
}

.subject-video-link {
  font-size: 0.82rem;
  color: #38bdf8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.subject-video-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3. LIGHT MODE (AYDINLIK / GÜNDÜZ MODU) DETAYLI STİLLERİ
   -------------------------------------------------------------------------- */
.exam-modal-fullscreen.light-mode {
  background: #f8fafc;
  color: #0f172a;
}

.exam-modal-fullscreen.light-mode .exam-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.exam-modal-fullscreen.light-mode .exam-header-title {
  color: #0f172a;
}

.exam-modal-fullscreen.light-mode .exam-header-title span {
  color: #2563eb;
}

.exam-modal-fullscreen.light-mode .exam-theme-toggle {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.exam-modal-fullscreen.light-mode .exam-theme-toggle:hover {
  background: #e2e8f0;
}

.exam-modal-fullscreen.light-mode .exam-timer-box {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.exam-modal-fullscreen.light-mode #btnExitExam,
.exam-modal-fullscreen.light-mode .btn-outline-white {
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  background: #f1f5f9 !important;
  font-weight: 600;
}

.exam-modal-fullscreen.light-mode #btnExitExam i,
.exam-modal-fullscreen.light-mode .btn-outline-white i {
  color: #0f172a !important;
}

.exam-modal-fullscreen.light-mode #btnExitExam:hover,
.exam-modal-fullscreen.light-mode .btn-outline-white:hover {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #000000 !important;
}

.exam-modal-fullscreen.light-mode .exam-main-panel {
  background: #ffffff;
}

.exam-modal-fullscreen.light-mode .exam-question-header {
  border-bottom: 1px solid #e2e8f0;
}

.exam-modal-fullscreen.light-mode #examQuestionNo {
  color: #0f172a !important;
}

.exam-modal-fullscreen.light-mode .exam-flag-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

.exam-modal-fullscreen.light-mode .exam-question-text {
  color: #0f172a;
}

.exam-modal-fullscreen.light-mode .exam-option-item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
}

.exam-modal-fullscreen.light-mode .exam-option-item:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.exam-modal-fullscreen.light-mode .exam-option-item.selected {
  background: #eff6ff;
  border-color: #2563eb;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.15);
}

.exam-modal-fullscreen.light-mode .exam-option-letter {
  background: #e2e8f0;
  color: #0f172a;
}

.exam-modal-fullscreen.light-mode .exam-option-item.selected .exam-option-letter {
  background: #2563eb;
  color: #ffffff;
}

.exam-modal-fullscreen.light-mode .exam-option-content {
  color: #1e293b;
}

.exam-modal-fullscreen.light-mode .exam-side-panel {
  background: #f8fafc;
  border-left: 1px solid #e2e8f0;
}

.exam-modal-fullscreen.light-mode .exam-side-title {
  color: #0f172a;
}

.exam-modal-fullscreen.light-mode .legend-item {
  color: #64748b;
}

.exam-modal-fullscreen.light-mode .legend-dot.empty {
  background: #cbd5e1;
}

.exam-modal-fullscreen.light-mode .map-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

.exam-modal-fullscreen.light-mode .map-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.exam-modal-fullscreen.light-mode .map-btn.weapon-btn {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.exam-modal-fullscreen.light-mode .exam-main-panel,
.exam-modal-fullscreen.light-mode .exam-question-body {
  background: #ffffff;
}

.exam-modal-fullscreen.light-mode .exam-nav-bar {
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
}

.exam-modal-fullscreen.light-mode .exam-mobile-map-toggle {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
}

.exam-modal-fullscreen.light-mode .exam-explanation {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
}

.exam-modal-fullscreen.light-mode .exam-explanation-title {
  color: #166534;
}

.exam-modal-fullscreen.light-mode .exam-explanation-text {
  color: #1e293b;
}

/* --------------------------------------------------------------------------
   4. SINAV SONUÇ EKRANI (KARNE) - TÜM SAYFADA AKICI KAYDIRILABİLİR (FULL PAGE VIEW)
   -------------------------------------------------------------------------- */
.btn-finish-header.btn-return-results {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%) !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.btn-finish-header.btn-return-results:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #4338ca 100%) !important;
  transform: translateY(-1px);
}

.exam-result-card {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 2.5rem 1.5rem 6rem 1.5rem;
  text-align: center;
  box-shadow: none;
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.exam-result-card > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.exam-result-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.exam-modal-fullscreen.light-mode .exam-result-card {
  background: transparent;
  border: none;
  box-shadow: none;
}

.exam-result-card h3 {
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0.75rem 0 1.25rem 0;
}

.exam-modal-fullscreen.light-mode .exam-result-card h3 {
  color: #0f172a !important;
}

.exam-modal-fullscreen.light-mode .ai-recommendation-box {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.exam-modal-fullscreen.light-mode .ai-recommendation-content h4 {
  color: #1e3a8a;
}

.exam-modal-fullscreen.light-mode .ai-recommendation-content p {
  color: #1e40af;
}

.exam-modal-fullscreen.light-mode .subject-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.exam-modal-fullscreen.light-mode .subject-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.exam-modal-fullscreen.light-mode .subject-title {
  color: #0f172a;
}

.exam-modal-fullscreen.light-mode .subject-stats-row {
  color: #64748b;
}

.exam-modal-fullscreen.light-mode .subject-progress-bg {
  background: #e2e8f0;
}

.exam-modal-fullscreen.light-mode .subject-video-link {
  color: #2563eb;
}

.exam-modal-fullscreen.light-mode .subject-video-link:hover {
  color: #1d4ed8;
}

.ai-analysis-heading {
  color: #ffffff;
}

.exam-modal-fullscreen.light-mode .ai-analysis-heading {
  color: #0f172a !important;
}

.subject-status-label {
  font-size: 0.78rem;
  color: #94a3b8;
}

.exam-modal-fullscreen.light-mode .subject-status-label {
  color: #64748b;
}

.result-score-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1.25rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.45);
}

.result-score-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.result-score-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.result-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem 0;
}

.result-stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0.5rem;
  border-radius: 10px;
}

.exam-modal-fullscreen.light-mode .result-stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.result-stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.exam-modal-fullscreen.light-mode .result-stat-val {
  color: #0f172a;
}

.result-stat-val.correct { color: #10b981 !important; }
.result-stat-val.wrong { color: #ef4444 !important; }
.result-stat-val.empty { color: #f59e0b !important; }

.result-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.3rem;
  font-weight: 600;
}

.exam-modal-fullscreen.light-mode .result-stat-label {
  color: #64748b;
}

/* --------------------------------------------------------------------------
   5. SEO UYUMLU ÇIKMIŞ SORU BANKASI VE ARAMA SİSTEMİ
   -------------------------------------------------------------------------- */
.seo-search-wrapper {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 2.5rem;
}

.seo-search-input-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.seo-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #2563eb;
}

.seo-search-input {
  width: 100%;
  padding: 0.95rem 1.25rem 0.95rem 3.2rem;
  font-size: 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  transition: all 0.2s ease;
}

.seo-search-input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

.seo-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.seo-filter-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
  cursor: pointer;
}

.seo-filter-btn:hover, .seo-filter-btn.active {
  background: #1e293b;
  color: #ffffff;
  border-color: #0f172a;
}

/* SEO Soru Kartları (Google Crawlable Semantic Cards) */
.seo-questions-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.seo-question-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  position: relative;
}

.seo-question-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.seo-q-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.seo-q-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.seo-q-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.seo-q-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.seo-q-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.96rem;
  color: #1e293b;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
  position: relative;
}

.seo-q-option:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  transform: translateX(3px);
}

.seo-q-option.correct,
.seo-q-option.selected-correct {
  background: #f0fdf4 !important;
  border-color: #10b981 !important;
  color: #065f46 !important;
  font-weight: 600;
}

.seo-q-option.correct .seo-q-option-key,
.seo-q-option.selected-correct .seo-q-option-key {
  color: #10b981 !important;
}

.seo-q-option.wrong,
.seo-q-option.selected-wrong {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #991b1b !important;
  font-weight: 600;
}

.seo-q-option.wrong .seo-q-option-key,
.seo-q-option.selected-wrong .seo-q-option-key {
  color: #ef4444 !important;
}

.seo-q-option::after {
  content: '';
  margin-left: auto;
  font-weight: 800;
  font-size: 0.88rem;
}

.seo-q-option.correct::after,
.seo-q-option.selected-correct::after {
  content: '✓ Doğru';
  color: #10b981;
}

.seo-q-option.wrong::after,
.seo-q-option.selected-wrong::after {
  content: '✗ Yanlış';
  color: #ef4444;
}

.seo-q-option-key {
  font-weight: 800;
  font-family: var(--font-heading);
  color: #2563eb;
  width: 22px;
  flex-shrink: 0;
}

.seo-q-bottom-actions {
  display: flex;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.seo-answer-collapse {
  background: #f8fbf9;
  border: 1.5px solid #10b981;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.seo-answer-collapse.show {
  display: block;
}

.seo-answer-header {
  font-weight: 800;
  font-size: 1.05rem;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.seo-answer-explanation {
  color: #1f2937;
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ==========================================================================
   ÇIKMIŞ SORULAR: SOL DÖNEM LİSTESİ + KOMPAKT TİPOGRAFİ
   ========================================================================== */
.seo-layout {
  display: grid;
  grid-template-columns: 13.5rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.seo-main { min-width: 0; }

.seo-sidebar {
  position: sticky;
  top: 6rem;
  max-height: calc(100vh - 7.5rem);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem 0.85rem 0.75rem;
}

.seo-sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0 0.5rem 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.5rem;
}

.seo-sidebar-title i { color: var(--brand-purple); margin-right: 0.35rem; }

.seo-sidebar-group {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.75rem 0.5rem 0.3rem 0.5rem;
}

.seo-sidebar-list { list-style: none; margin: 0; padding: 0; }

.seo-sidebar-list a {
  display: block;
  padding: 0.4rem 0.6rem;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.seo-sidebar-list a:hover { background: var(--bg-tint); color: var(--brand-purple); }

.seo-sidebar-list a.is-current {
  background: var(--brand-purple-glow);
  border-left-color: var(--brand-purple);
  color: var(--brand-purple);
  font-weight: 700;
}

.seo-sidebar-all {
  display: block;
  margin-top: 0.75rem;
  padding: 0.6rem 0.5rem 0 0.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-purple);
  text-decoration: none;
}

/* Kompakt sayfa başlığı (çıkmış soru sayfaları) */
.page-hero--compact { padding: 2.25rem 0 2.5rem 0; }
.page-hero--compact .breadcrumbs { margin-bottom: 0.8rem; font-size: 0.8rem; }
.page-hero--compact .section-badge { font-size: 0.72rem; padding: 0.3rem 0.8rem; margin-bottom: 0.7rem; }
.page-hero--compact .page-title { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; margin-bottom: 0.6rem; }
.page-hero--compact .page-subtitle { font-size: 0.96rem; max-width: 70ch; }

/* Soru kartları: daha küçük ve sıkı */
.seo-questions-list,
.seo-questions-container { gap: 1rem; }

.seo-question-item { padding: 1.15rem 1.35rem; }
.seo-q-top { margin-bottom: 0.7rem; padding-bottom: 0.55rem; }
.seo-q-title { font-size: 1.02rem; line-height: 1.55; margin-bottom: 0.85rem; }
.seo-q-options { gap: 0.45rem; margin-bottom: 0.9rem; }
.seo-q-option { padding: 0.6rem 0.9rem; font-size: 0.9rem; }
.seo-q-bottom-actions { padding-top: 0.65rem; }
.seo-answer-collapse { padding: 0.9rem 1.1rem; margin-top: 0.9rem; }
.seo-answer-header { font-size: 0.95rem; }
.seo-answer-explanation { font-size: 0.88rem; }
.seo-question-item .course-badge-top,
.seo-question-item .exam-q-badge { font-size: 0.74rem; padding: 0.25rem 0.65rem; }
.seo-question-item .btn-sm { font-size: 0.8rem; padding: 0.4rem 0.8rem; }

.exam-cta-content h2 { font-size: 1.35rem; }
.exam-cta-content p { font-size: 0.92rem; }

/* Arşiv sayfası: kompakt dönem kartları */
.archive-head { margin: 0 0 0.9rem 0; }
.archive-head h2 { font-size: 1.2rem; margin: 0 0 0.2rem 0; color: var(--text-main); }
.archive-head p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.archive-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.archive-card:hover { border-color: var(--brand-purple); transform: translateY(-2px); }

.archive-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.archive-card h3 { font-size: 1rem; margin: 0; color: var(--text-main); }

.archive-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-tint);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.archive-tag.is-new { background: var(--brand-purple-glow); color: var(--brand-purple); border-color: rgba(90, 15, 232, 0.22); }

.archive-meta { margin: 0; font-size: 0.8rem; color: var(--text-muted); }
.archive-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: auto; }
.archive-actions .btn { font-size: 0.78rem; padding: 0.38rem 0.7rem; }

@media (max-width: 899px) {
  .seo-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .seo-sidebar { min-width: 0; }
  .seo-sidebar { position: static; max-height: none; overflow: visible; padding: 0.75rem; }
  .seo-sidebar-list { display: flex; gap: 0.35rem; overflow-x: auto; padding-bottom: 0.35rem; -webkit-overflow-scrolling: touch; }
  .seo-sidebar-list li { flex: 0 0 auto; }
  .seo-sidebar-list a { border: 1px solid var(--border-subtle); border-radius: var(--radius-full); padding: 0.3rem 0.8rem; white-space: nowrap; }
  .seo-sidebar-list a.is-current { border-color: var(--brand-purple); }
  .seo-sidebar-group { padding-left: 0.2rem; }
}

/* Dönem sayfası: başlığın sağında simülatör uyarı kutusu */
.page-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 2.5rem;
  align-items: center;
}

.hero-sim-callout {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--brand-coral);
  padding: 1.1rem 1.25rem 1.2rem 1.25rem;
  box-shadow: var(--shadow-lg);
}

.hero-sim-callout .course-badge-top { font-size: 0.72rem; padding: 0.22rem 0.6rem; margin-bottom: 0.5rem; }
.hero-sim-callout h2 { font-size: 1.05rem; line-height: 1.3; margin: 0 0 0.35rem 0; color: var(--text-main); }
.hero-sim-callout p { font-size: 0.83rem; line-height: 1.55; color: var(--text-muted); margin: 0 0 0.85rem 0; }

.hero-sim-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-sim-actions .btn { font-size: 0.8rem; padding: 0.45rem 0.85rem; }

.archive-wrap { min-width: 0; }

@media (max-width: 899px) {
  .page-hero-split { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}

@media (max-width: 768px) {
  .page-hero--compact { padding: 1.5rem 0 1.75rem 0; }
  .page-hero--compact .page-subtitle {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-sim-callout { padding: 0.9rem 1rem; }
  .hero-sim-callout p { display: none; }
  .hero-sim-actions .btn { flex: 1 1 calc(50% - 0.25rem); justify-content: center; }
  .hero-sim-actions .btn-coral { flex-basis: 100%; }
}

/* Simülatör kartı: soru haritası önizlemesi */
.exam-map-demo {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-tint);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  max-width: 34rem;
}
.exam-map-demo-title { font-size: 0.85rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.6rem; }
.exam-map-demo-title i { color: var(--brand-purple); margin-right: 0.3rem; }
.exam-map-demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(1.9rem, 1fr)); gap: 0.3rem; }
.exam-map-demo-grid span {
  display: grid; place-items: center; height: 1.9rem;
  font-size: 0.72rem; font-weight: 700;
  background: #ffffff; color: var(--text-muted);
  border: 1px solid var(--border-strong); border-radius: 6px;
}
.exam-map-demo-grid .is-done { background: var(--brand-purple); border-color: var(--brand-purple); color: #ffffff; }
.exam-map-demo-grid .is-flag { background: var(--brand-coral); border-color: var(--brand-coral); color: #ffffff; }
.exam-map-demo-grid .is-now { border: 2px solid var(--brand-purple); color: var(--brand-purple); }
.exam-map-demo-grid .more { grid-column: span 3; border-style: dashed; }
.exam-map-demo-legend { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.6rem; font-size: 0.78rem; color: var(--text-muted); }
.exam-map-demo-legend .dot { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 3px; margin-right: 0.3rem; background: #ffffff; border: 1px solid var(--border-strong); vertical-align: -1px; }
.exam-map-demo-legend .dot.is-done { background: var(--brand-purple); border-color: var(--brand-purple); }
.exam-map-demo-legend .dot.is-flag { background: var(--brand-coral); border-color: var(--brand-coral); }

/* --------------------------------------------------------------------------
   3. SINAV SONUÇ KARNE KİLİDİ (LEAD GENERATION MODALI)
   -------------------------------------------------------------------------- */
.exam-gate-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.exam-gate-modal.active {
  opacity: 1;
  visibility: visible;
}

.exam-gate-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0f172a;
}

.exam-gate-modal.active .exam-gate-card {
  transform: translateY(0) scale(1);
}

.exam-gate-icon-badge {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ede9fe 0%, #ffe4e6 100%);
  color: #6d28d9;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 16px -4px rgba(109, 40, 217, 0.2);
}

.exam-gate-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  font-family: var(--font-heading);
}

.exam-gate-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

.exam-gate-summary-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.exam-gate-summary-pill div {
  font-weight: 700;
}

.exam-gate-form .form-group {
  text-align: left;
  margin-bottom: 1rem;
}

.exam-gate-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.exam-gate-form .form-control,
.exam-gate-form .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.exam-gate-form .form-control:focus,
.exam-gate-form .form-select:focus {
  outline: none;
  border-color: #6d28d9;
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.15);
}

.exam-gate-submit-btn {
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, #ff6b4a 0%, #6d1aff 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.3);
  margin-top: 0.5rem;
}

.exam-gate-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.4);
}

.exam-gate-privacy {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Gece/Koyu Mod İçi Uyumluluk */
.exam-modal-fullscreen.dark-theme .exam-gate-card {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}
.exam-modal-fullscreen.dark-theme .exam-gate-card h3 {
  color: #ffffff;
}
.exam-modal-fullscreen.dark-theme .exam-gate-card p {
  color: #94a3b8;
}
.exam-modal-fullscreen.dark-theme .exam-gate-summary-pill {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}
.exam-modal-fullscreen.dark-theme .exam-gate-form label {
  color: #cbd5e1;
}
.exam-modal-fullscreen.dark-theme .exam-gate-form .form-control,
.exam-modal-fullscreen.dark-theme .exam-gate-form .form-select {
  background: #0f172a;
  border-color: #475569;
  color: #ffffff;
}


/* ==========================================================================
   Kendi sınavını oluştur (online-sinav.html → js/ozel-sinav.js)
   ========================================================================== */
.ozel-sinav { margin: 2.5rem 0; padding: 2rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.ozel-sinav h2 { font-size: 1.6rem; color: var(--brand-navy-dark); margin: 0.6rem 0 0.5rem; }
.ozel-sinav-aciklama { color: var(--text-muted); line-height: 1.7; max-width: var(--reading-max); margin-bottom: 1.5rem; }
.ozel-sinav-form fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.ozel-sinav-form legend { font-weight: 700; color: var(--brand-navy-dark); margin-bottom: 0.75rem; font-size: 1.05rem; }
.ozel-sinav-konular { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.6rem; }
.ozel-sinav-konu { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 0.9rem; border: 1px solid var(--border-strong); border-radius: var(--radius-md); cursor: pointer; background: var(--bg-body); transition: border-color var(--transition-fast), background var(--transition-fast); }
.ozel-sinav-konu:hover { border-color: var(--brand-purple); }
.ozel-sinav-konu:has(input:checked) { border-color: var(--brand-purple); background: var(--bg-tint); }
.ozel-sinav-konu input { width: 18px; height: 18px; accent-color: var(--brand-purple); flex-shrink: 0; }
.ozel-sinav-konu span { flex: 1; color: var(--text-main); font-weight: 600; font-size: 0.95rem; }
.ozel-sinav-konu small { color: var(--text-light); font-size: 0.8rem; white-space: nowrap; }
.ozel-sinav-hizli { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.ozel-sinav-sayilar { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ozel-sinav-sayi { cursor: pointer; }
.ozel-sinav-sayi input { position: absolute; opacity: 0; pointer-events: none; }
.ozel-sinav-sayi span { display: inline-block; min-width: 64px; text-align: center; padding: 0.65rem 1rem; border: 1px solid var(--border-strong); border-radius: var(--radius-md); font-weight: 700; color: var(--text-main); background: var(--bg-body); }
.ozel-sinav-sayi input:checked + span { border-color: var(--brand-purple); background: var(--brand-purple); color: var(--text-white); }
.ozel-sinav-sayi input:focus-visible + span { box-shadow: var(--focus-ring); }
.ozel-sinav-bilgi { color: var(--text-muted); font-size: 0.92rem; min-height: 1.4em; margin: 0 0 1rem; }
@media (max-width: 640px) { .ozel-sinav { padding: 1.25rem; } .ozel-sinav-konular { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ozel-sinav-konu { transition: none; } }
