/* ==========================================================================
   KPSS ORTAÖĞRETİM - ULTRA LÜKS AYDINLIK & MODERN TASARIM SİSTEMİ
   Tasarım Felsefesi: Kristal Netlik, Şık Gölgeler, Yumuşak Geçişler ve Zengin Tipografi
   ========================================================================== */

:root {
  /* AYDINLIK TEMA (VARSAYILAN & BİRİNCİL) */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-card: rgba(255, 255, 255, 0.95);
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #6366f1;

  --text-main: #0f172a;       /* Slate 900 */
  --text-secondary: #334155;  /* Slate 700 */
  --text-muted: #64748b;      /* Slate 500 */
  --text-light: #94a3b8;      /* Slate 400 */

  /* Marka & Vurgular */
  --primary: #4f46e5;         /* Indigo 600 */
  --primary-hover: #4338ca;
  --primary-soft: rgba(79, 70, 229, 0.08);
  --primary-border: rgba(79, 70, 229, 0.2);

  --success: #059669;         /* Emerald 600 */
  --success-hover: #047857;
  --success-soft: rgba(5, 150, 105, 0.08);
  --success-border: rgba(5, 150, 105, 0.2);

  --warning: #d97706;         /* Amber 600 */
  --warning-hover: #b45309;
  --warning-soft: rgba(217, 119, 6, 0.08);
  --warning-border: rgba(217, 119, 6, 0.2);

  --danger: #dc2626;          /* Red 600 */
  --danger-hover: #b91c1c;
  --danger-soft: rgba(220, 38, 38, 0.08);
  --danger-border: rgba(220, 38, 38, 0.2);

  --info: #0284c7;           /* Sky 600 */
  --info-soft: rgba(2, 132, 199, 0.08);

  /* Zorluk Seviyesi Renkleri */
  --diff-kolay-bg: #ecfdf5;
  --diff-kolay-color: #059669;
  --diff-kolay-border: #a7f3d0;

  --diff-orta-bg: #eef2ff;
  --diff-orta-color: #4f46e5;
  --diff-orta-border: #c7d2fe;

  --diff-zor-bg: #fef2f2;
  --diff-zor-color: #dc2626;
  --diff-zor-border: #fecaca;

  /* Şık Gölgeler */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.06), 0 1px 4px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 24px rgba(79, 70, 229, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --sidebar-width: 280px;
}

/* KARANLIK TEMA ALTERNATİFİ */
[data-theme="dark"] {
  --bg-main: #0b1120;
  --bg-surface: #111827;
  --bg-surface-elevated: #1f2937;
  --bg-surface-glass: rgba(17, 24, 39, 0.85);
  --bg-glass-card: rgba(31, 41, 55, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --primary: #818cf8;
  --primary-hover: #6366f1;
  --primary-soft: rgba(129, 140, 248, 0.15);
  --primary-border: rgba(129, 140, 248, 0.3);

  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.15);
  --warning: #fbbf24;
  --warning-soft: rgba(251, 191, 36, 0.15);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.15);

  --diff-kolay-bg: rgba(52, 211, 153, 0.12);
  --diff-kolay-color: #34d399;
  --diff-kolay-border: rgba(52, 211, 153, 0.25);

  --diff-orta-bg: rgba(129, 140, 248, 0.12);
  --diff-orta-color: #818cf8;
  --diff-orta-border: rgba(129, 140, 248, 0.25);

  --diff-zor-bg: rgba(248, 113, 113, 0.12);
  --diff-zor-color: #f87171;
  --diff-zor-border: rgba(248, 113, 113, 0.25);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   GENEL RESET & TEMEL STİLLER
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #334155;
}

/* Arka Plan Yumuşak Vurguları */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}
.glow-1 {
  top: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12), transparent 70%);
}
.glow-2 {
  bottom: -100px;
  left: 240px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.1), transparent 70%);
}

/* ==========================================================================
   SIDEBAR (YAN MENÜ - AYDINLIK & ÇOK ŞIK)
   ========================================================================== */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.sidebar-brand {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-color);
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.4);
}

.brand-text h2 {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-main);
}

.brand-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid var(--primary-border);
}

.sidebar-nav {
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  overflow-y: auto;
}

.nav-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 800;
  padding: 14px 14px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.nav-item i {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
  transition: transform var(--transition-fast);
}

.nav-item:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  transform: translateX(3px);
}

.nav-item.active {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 6px 18px -2px rgba(79, 70, 229, 0.4);
}

.nav-item.active i {
  transform: scale(1.1);
  color: #ffffff !important;
}

.nav-badge-count {
  margin-left: auto;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
}
.nav-item.active .nav-badge-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.sidebar-footer {
  padding: 18px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.user-quick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.user-quick-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.user-quick-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}
.user-quick-info p {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ANA İÇERİK & NAVBAR
   ========================================================================== */
.main-wrapper {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 10;
}

.top-header {
  height: 74px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--text-main);
  cursor: pointer;
}

.header-title-box h1 {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-main);
}
.header-title-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pool-counter-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 7px 14px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.84rem;
  border: 1px solid var(--primary-border);
}

.streak-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fffbeb;
  color: #b45309;
  padding: 7px 14px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.84rem;
  border: 1px solid #fde68a;
}
.streak-pill i {
  color: #ea580c;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.theme-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.content-area {
  padding: 36px;
  flex: 1;
}

.view-section {
  display: none;
  animation: fadeIn 0.28s ease;
}
.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ZORLUK DERECESİ SEÇİM SİSTEMİ (ÖNE ÇIKAN YENİ BİLEŞEN)
   ========================================================================== */
.difficulty-selector-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.difficulty-header-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.difficulty-header-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.difficulty-segmented-control {
  display: inline-flex;
  background: var(--bg-surface-elevated);
  padding: 5px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  gap: 6px;
}

.diff-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.diff-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.6);
}

.diff-btn.active.all {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--shadow-xs);
}

.diff-btn.active.kolay {
  background: var(--diff-kolay-bg);
  color: var(--diff-kolay-color);
  border-color: var(--diff-kolay-border);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}

.diff-btn.active.orta {
  background: var(--diff-orta-bg);
  color: var(--diff-orta-color);
  border-color: var(--diff-orta-border);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

.diff-btn.active.zor {
  background: var(--diff-zor-bg);
  color: var(--diff-zor-color);
  border-color: var(--diff-zor-border);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

/* Zorluk Rozetleri (Kart Üzerinde) */
.badge-difficulty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.badge-difficulty.kolay {
  background: var(--diff-kolay-bg);
  color: var(--diff-kolay-color);
  border: 1px solid var(--diff-kolay-border);
}
.badge-difficulty.orta {
  background: var(--diff-orta-bg);
  color: var(--diff-orta-color);
  border: 1px solid var(--diff-orta-border);
}
.badge-difficulty.zor {
  background: var(--diff-zor-bg);
  color: var(--diff-zor-color);
  border: 1px solid var(--diff-zor-border);
}

/* ==========================================================================
   DASHBOARD KARTLARI (ŞIK AYDINLIK DÜZEN)
   ========================================================================== */
.welcome-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  margin-bottom: 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-text h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.hero-text p {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 620px;
}

.hero-stats-badge {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-sm);
}

.p94-score-display {
  text-align: center;
}
.p94-score-display .score-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 800;
  display: block;
}
.p94-score-display .score-val {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -1px;
}
.p94-score-display .score-desc {
  font-size: 0.74rem;
  color: var(--text-light);
  font-weight: 600;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* İstatistik Metrikleri */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.metric-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}
.metric-icon.primary { background: var(--primary-soft); color: var(--primary); }
.metric-icon.success { background: var(--success-soft); color: var(--success); }
.metric-icon.warning { background: var(--warning-soft); color: var(--warning); }
.metric-icon.danger { background: var(--danger-soft); color: var(--danger); }

.metric-data h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}
.metric-data p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Kart Kutuları */
.section-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.section-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.section-box-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-columns {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  margin-bottom: 32px;
}

/* Ders Listesi Kartları */
.subjects-list-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.subject-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.subject-card:hover {
  border-color: var(--primary);
  background: #f8fafc;
  transform: translateX(3px);
  box-shadow: var(--shadow-xs);
}

.subject-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.subject-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.subject-info h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
}
.subject-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.subject-rate-badge {
  font-size: 1.05rem;
  font-weight: 800;
  margin-left: auto;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 8px;
  transition: width 0.5s ease;
}

/* ==========================================================================
   SORU KARTI & ÇÖZÜM ALANI (BEYAZ, TERTEMİZ, YÜKSEK KONTRAST)
   ========================================================================== */
.question-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.question-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 14px;
}

.question-meta-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tag-topic {
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.tag-year {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.question-counter-badge {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.btn-icon-fav {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-icon-fav:hover, .btn-icon-fav.active {
  color: #eab308;
  transform: scale(1.15);
}

.question-prompt {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 28px;
  white-space: pre-line;
}

/* Şıklar */
.options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.option-item:hover:not(.eliminated) {
  border-color: var(--primary);
  background: #f8fafc;
  transform: translateX(4px);
}

.option-item.selected {
  border-color: var(--primary);
  background: #eef2ff;
  box-shadow: 0 0 0 1px var(--primary);
}

.option-prefix {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.option-item.selected .option-prefix {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.option-text {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
}

.btn-eliminate {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}
.btn-eliminate:hover {
  color: var(--danger);
  background: var(--danger-soft);
}

.option-item.eliminated {
  opacity: 0.45;
  background: #f1f5f9;
}
.option-item.eliminated .option-text {
  text-decoration: line-through;
}

/* Doğru & Yanlış Seçenek Vurguları */
.option-item.correct-answer {
  border-color: var(--success) !important;
  background: #ecfdf5 !important;
}
.option-item.correct-answer .option-prefix {
  background: var(--success);
  color: #ffffff;
  border-color: var(--success);
}

.option-item.wrong-answer {
  border-color: var(--danger) !important;
  background: #fef2f2 !important;
}
.option-item.wrong-answer .option-prefix {
  background: var(--danger);
  color: #ffffff;
  border-color: var(--danger);
}

/* Çözüm Kartı */
.solution-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-top: 24px;
  margin-bottom: 24px;
  animation: fadeIn 0.3s ease;
  border: 1px solid transparent;
}
.solution-card.solution-correct {
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.solution-card.solution-wrong {
  background: #fef2f2;
  border-color: #fecaca;
}

.solution-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.solution-status-icon {
  font-size: 2.2rem;
}
.solution-correct .solution-status-icon { color: var(--success); }
.solution-wrong .solution-status-icon { color: var(--danger); }

.solution-header h4 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}
.solution-summary {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.solution-body h6 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--primary);
}
.solution-text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.solution-tip-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: #92400e;
}

.question-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   DENEME SINAVI ARAYÜZÜ (OPTİK FORM & SAYAC)
   ========================================================================== */
/* ==========================================================================
   DENEME SINAVI GİRİŞ SALONU (ÖSYM RESMİ DİJİTAL SINAV MERKEZİ)
   ========================================================================== */
.exam-lobby-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.08);
  animation: fadeIn 0.35s ease;
}

/* Üst Resmi Başlık Banner'ı */
.exam-lobby-header {
  background: linear-gradient(135deg, #0f2e4e 0%, #1e3a5f 50%, #0c2340 100%);
  color: #ffffff;
  padding: 38px 42px;
  position: relative;
  overflow: hidden;
}
.exam-lobby-header::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 168, 204, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.exam-lobby-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.exam-lobby-logo-box {
  display: flex;
  align-items: center;
  gap: 16px;
}
.exam-lobby-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #ffffff;
  padding: 4px;
  object-fit: contain;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.exam-lobby-title-group h2 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 4px;
  color: #ffffff;
}
.exam-lobby-title-group p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0;
}
.exam-hall-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  backdrop-filter: blur(8px);
}

/* Aday Bilgi Şeridi */
.exam-candidate-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 22px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
}
.candidate-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.candidate-strip-item i {
  font-size: 1.25rem;
  color: #f97316;
}
.candidate-strip-item .strip-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #cbd5e1;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.candidate-strip-item .strip-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

/* Gövde İçeriği */
.exam-lobby-body {
  padding: 36px 42px;
}

/* Zorluk Derecesi Kartları (İnteraktif) */
.section-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-headline h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.exam-diff-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.exam-diff-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 18px;
  padding: 20px;
  cursor: pointer;
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.exam-diff-card:hover {
  transform: translateY(-3px);
  border-color: #94a3b8;
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
}
.exam-diff-card.active {
  border-color: #4f46e5;
  background: rgba(79, 70, 229, 0.04);
  box-shadow: 0 12px 28px -6px rgba(79, 70, 229, 0.25);
}
.exam-diff-card.active::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 14px;
  right: 14px;
  color: #4f46e5;
  font-size: 1.25rem;
}
.diff-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.diff-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.diff-card-header h5 {
  font-size: 0.96rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-main);
}
.diff-card-tag {
  display: inline-block;
  font-size: 0.70rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
  width: fit-content;
}
.diff-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* 120 Soru Branş Dağılım Matrisi */
.curriculum-matrix-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 22px 24px;
  margin-bottom: 32px;
}
.curriculum-pills-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.curriculum-pill-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}
.curriculum-pill-card:hover {
  transform: translateY(-2px);
}
.curriculum-pill-card i {
  font-size: 1.25rem;
}
.curriculum-pill-info h6 {
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0 0 2px;
  color: var(--text-main);
}
.curriculum-pill-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Sınav Yönergesi & Kurallar */
.rules-accordion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}
.rule-item-modern {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.rule-item-modern .rule-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ede9fe;
  color: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.rule-item-modern h6 {
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--text-main);
}
.rule-item-modern p {
  font-size: 0.80rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Başlatma Butonları Grubu */
.exam-launch-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 10px;
}
.btn-start-full-exam {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 16px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 10px 28px -4px rgba(16, 185, 129, 0.45);
  transition: all 0.22s ease;
}
.btn-start-full-exam:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -4px rgba(16, 185, 129, 0.55);
}
.btn-start-mini-exam {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  color: var(--text-main) !important;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}
.btn-start-mini-exam:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--primary);
  color: var(--primary) !important;
}

/* Logo Stilleri */
.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(15, 46, 78, 0.12);
}
.header-logo-mini {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(15, 46, 78, 0.1);
}
.login-brand-logo-wrap {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
  border-radius: 24px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -6px rgba(15, 46, 78, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.8);
  padding: 8px;
}
.login-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exam-workspace-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 28px;
  align-items: start;
}

.exam-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.exam-timer-box {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 8px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

/* Optik Form */
.optical-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 98px;
}

.optical-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}
.optical-header h5 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.optical-grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 4px;
}

.optical-btn {
  height: 40px;
  border-radius: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.optical-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.optical-btn.active {
  box-shadow: 0 0 0 2px var(--primary);
}
.optical-btn.answered {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}
.optical-btn.flagged {
  background: var(--warning);
  color: #fff;
  border-color: var(--warning);
}

/* ==========================================================================
   BUTONLAR & ETİKETLER
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.btn:hover:not(:disabled) {
  transform: translateY(-2px);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45);
}

.btn-success {
  background: var(--success);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}
.btn-success:hover:not(:disabled) {
  background: var(--success-hover);
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border-color);
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}
.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}
.btn-block {
  width: 100%;
}

/* Form Elemanları */
.filter-select, .form-control {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  transition: border-color var(--transition-fast);
  box-shadow: var(--shadow-xs);
}
.filter-select:focus, .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

/* ==========================================================================
   MOBİL İÇİN ALT MENÜ (BOTTOM NAVIGATION BAR)
   ========================================================================== */
.bottom-nav-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  z-index: 99;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}
[data-theme="dark"] .bottom-nav-bar {
  background: rgba(17, 24, 39, 0.95);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.bottom-nav-item i {
  font-size: 1.15rem;
}
.bottom-nav-item.active {
  color: var(--primary);
}

/* ==========================================================================
   HIZLI AKSİYON BUTONLARI (RASTGELE SORU & ÇÖZÜMÜ ANLAT)
   ========================================================================== */
.quick-action-bar-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-random-q {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff !important;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-random-q:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45);
}

.btn-explain-q {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-explain-q:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}

.btn-audio-speak {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.btn-audio-speak:hover {
  background: #d1fae5;
}

/* ==========================================================================
   GİRİŞ & KAYIT MODALI (AUTH SYSTEM)
   ========================================================================== */
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface-elevated);
}
.auth-tab-btn {
  flex: 1;
  padding: 14px;
  text-align: center;
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}
.auth-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #ffffff;
}
[data-theme="dark"] .auth-tab-btn.active {
  background: var(--bg-surface);
}

.role-badge-admin {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.role-badge-candidate {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   ADMİN PANELİ GÖRÜNÜMÜ & YÖNETİM
   ========================================================================== */
.admin-card-metric {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.admin-sub-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.admin-sub-tab-btn {
  padding: 9px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.admin-sub-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   LÜKS VE MODERN GİRİŞ SAHNESİ (LUXURY LOGIN STAGE)
   ========================================================================== */
.fullscreen-login-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: radial-gradient(circle at 10% 20%, #0a1e38 0%, #06152b 50%, #040d1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  overflow-y: auto;
}

.luxury-login-stage {
  width: 100%;
  max-width: 1220px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: rgba(15, 34, 61, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  animation: loginStageFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes loginStageFade {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Sol Taraf: Tanıtım & Görsel Vitrini */
.login-hero-showcase {
  padding: 48px;
  color: #ffffff;
  background: linear-gradient(145deg, rgba(15, 46, 78, 0.85) 0%, rgba(8, 26, 48, 0.95) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-hero-showcase::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 168, 204, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-brand-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.hero-brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #ffffff;
  padding: 4px;
  object-fit: contain;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 4px;
}
.hero-brand-titles h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.hero-headline-block {
  margin-bottom: 24px;
}
.hero-headline-block h1 {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-headline-block p {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 540px;
  margin: 0;
}

/* Fotoğraf ve Yüzen Kartlar */
.hero-visual-card-wrap {
  position: relative;
  border-radius: 22px;
  overflow: visible;
  margin: 10px 0 28px;
}
.hero-main-photo {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  display: block;
}

.floating-badge-glass {
  position: absolute;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  animation: floatBadge 4s ease-in-out infinite;
}
.badge-pos-top-left {
  top: -14px;
  left: 18px;
}
.badge-pos-bottom-right {
  bottom: -14px;
  right: 18px;
  animation-delay: 2s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.f-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.floating-badge-glass strong {
  display: block;
  font-size: 0.86rem;
  color: #ffffff;
}
.floating-badge-glass span {
  display: block;
  font-size: 0.74rem;
  color: #94a3b8;
}

/* 3'lü Avantajlar */
.hero-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.perk-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.perk-badge-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}
.perk-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.perk-card h6 {
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0 0 2px;
  color: #ffffff;
}
.perk-card span {
  font-size: 0.72rem;
  color: #94a3b8;
}

.hero-footer-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #94a3b8;
}
.trust-stars {
  color: #f59e0b;
  display: flex;
  gap: 3px;
  font-size: 0.85rem;
}

/* Sağ Taraf: Giriş Formu */
.login-form-pane {
  background: #ffffff;
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-glass-card {
  width: 100%;
}
.login-card-head {
  text-align: center;
  margin-bottom: 24px;
}
.card-logo-mini {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.card-logo-mini img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.login-card-head h3 {
  font-size: 1.55rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin: 0 0 6px;
}
.login-card-head p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.btn-luxury-submit {
  width: 100%;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 24px -4px rgba(2, 132, 199, 0.45);
  transition: all 0.22s ease;
  font-family: inherit;
}
.btn-luxury-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(2, 132, 199, 0.55);
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
}
.btn-luxury-submit:active {
  transform: translateY(0);
}

.quick-access-box {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed #e2e8f0;
}
.quick-access-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 10px;
}
.quick-access-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.btn-quick-chip {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-quick-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.btn-quick-chip.admin:hover {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}
.login-card-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}

/* Mobil / Tablet Uyumu */
@media (max-width: 992px) {
  .luxury-login-stage {
    grid-template-columns: 1fr;
    max-width: 520px;
    border-radius: 28px;
  }
  .login-hero-showcase {
    padding: 32px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero-headline-block h1 {
    font-size: 1.6rem;
  }
  .hero-perks-grid {
    grid-template-columns: 1fr;
  }
  .login-form-pane {
    padding: 32px 24px;
  }
}


/* ==========================================================================
   SABİT / KALICI YAPIMCI FOOTER (APP GLOBAL FOOTER)
   ========================================================================== */
.app-global-footer {
  margin-top: 30px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.footer-left-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-left-info strong {
  color: var(--primary);
  font-weight: 800;
}

.footer-center-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.footer-dot {
  opacity: 0.5;
}

.footer-right-info {
  display: flex;
  align-items: center;
}

/* ==========================================================================
   MODAL PENCERELER (MODAL OVERLAY & DIALOG)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.btn-close-modal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-close-modal:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(85vh - 140px);
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 2px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-danger {
  background: transparent;
  border: 1px solid var(--danger-border);
  color: var(--danger);
  box-shadow: var(--shadow-xs);
}
.btn-outline-danger:hover:not(:disabled) {
  background: var(--danger);
  color: #ffffff;
  border-color: var(--danger);
}

.btn-xs {
  padding: 4px 10px;
  font-size: 0.76rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   PROFİL & ANALİZ (ANALYTICS) SAYFASI YENİ NESİL TASARIM SİSTEMİ
   ========================================================================== */

/* 1. Profil Hero Kartı */
.profile-hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.profile-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 50%, #10b981 100%);
}

.profile-hero-main {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  min-width: 320px;
}

.profile-avatar-container {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  color: #ffffff;
  box-shadow: 0 10px 25px -4px rgba(79, 70, 229, 0.4);
  border: 3px solid #ffffff;
}

.profile-avatar-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: #10b981;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.profile-identity-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-name-row h2 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-main);
  margin: 0;
}

.role-badge {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-bio-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.profile-chips-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.profile-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.profile-badge-chip.target-role-chip {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #3730a3;
}

.profile-badge-chip.target-score-chip {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.profile-badge-chip.streak-chip {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.profile-hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  min-width: 280px;
}

.profile-goal-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  width: 100%;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-goal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
}

.profile-goal-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.profile-action-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* 2. Kilit Metrikler Grid (Analytics Metric Cards) */
.analytics-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.analytics-metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
}

.analytics-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.metric-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.metric-icon-box.primary { background: var(--primary-soft); color: var(--primary); }
.metric-icon-box.success { background: var(--success-soft); color: var(--success); }
.metric-icon-box.warning { background: var(--warning-soft); color: var(--warning); }
.metric-icon-box.danger  { background: var(--danger-soft);  color: var(--danger);  }

.metric-data-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-data-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-data-box h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.metric-data-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
}

/* 3. P94 İnteraktif Simülatör */
.p94-simulator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.simulator-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sim-header-title h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-header-title p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.sim-presets-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.sim-presets-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-preset-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sim-preset-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-1px);
}

.sim-preset-btn.highlight {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.sim-preset-btn.highlight:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

.sim-body-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.sim-sliders-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sim-slider-row {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.sim-slider-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.slider-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.slider-title strong {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-step {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-step:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.stepper-val {
  font-size: 1.05rem;
  font-weight: 800;
  min-width: 42px;
  text-align: center;
}

.sim-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: #cbd5e1;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.45);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.sim-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-scale-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 700;
  margin-top: 6px;
}

.sim-result-card-modern {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 2px solid #c7d2fe;
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px -5px rgba(79, 70, 229, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.sim-result-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sim-result-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.sim-score-display h2 {
  font-size: 3.1rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1.5px;
  line-height: 1;
  margin: 0;
}

.sim-target-feedback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #c7d2fe;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.sim-target-feedback.reached {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #059669;
}

.sim-net-summary-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

/* 4. Tablo & Koçluk Stilleri */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}

.table-custom th {
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.table-custom th:first-child {
  border-top-left-radius: var(--radius-md);
}
.table-custom th:last-child {
  border-top-right-radius: var(--radius-md);
}

.table-custom td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  color: var(--text-main);
}

.table-custom tbody tr:hover td {
  background: rgba(79, 70, 229, 0.02);
}

.table-custom tbody tr:last-child td {
  border-bottom: none;
}

/* Koçluk Tavsiye Kartı */
.coach-advice-card {
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdf4 100%);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.coach-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #c7d2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.coach-content h6 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.coach-content p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.topics-analysis-split {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.topic-heading {
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topics-list-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  transition: all var(--transition-fast);
}

.topic-list-item:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-xs);
}

.topic-list-item.weak {
  border-left: 4px solid var(--danger);
  background: #fff5f5;
}

.topic-list-item.strong {
  border-left: 4px solid var(--success);
  background: #f0fdf4;
}

/* 5. Rozetler (Gamification) */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.badge-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.badge-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.badge-card.unlocked {
  border-color: #fde68a;
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
  box-shadow: 0 8px 20px -6px rgba(245, 158, 11, 0.2);
}

.badge-card.locked {
  opacity: 0.65;
  background: #f8fafc;
}

.badge-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}

/* ==========================================================================
   KARANLIK TEMA UYUMLULUĞU (DARK MODE OVERRIDES)
   ========================================================================== */
[data-theme="dark"] .profile-hero-card {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .profile-avatar-circle {
  border-color: #111827;
}
[data-theme="dark"] .profile-avatar-online-dot {
  border-color: #111827;
}
[data-theme="dark"] .profile-goal-card {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .p94-simulator-card {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sim-presets-bar {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sim-preset-btn {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}
[data-theme="dark"] .sim-slider-row {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .slider-stepper {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .btn-step {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .sim-result-card-modern {
  background: linear-gradient(135deg, #1e1b4b 0%, #1f2937 100%);
  border-color: rgba(129, 140, 248, 0.35);
}
[data-theme="dark"] .sim-target-feedback {
  background: #111827;
  border-color: rgba(129, 140, 248, 0.35);
}
[data-theme="dark"] .sim-net-summary-pill {
  background: rgba(17, 24, 39, 0.8);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .coach-advice-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #064e3b 100%);
  border-color: rgba(129, 140, 248, 0.3);
}
[data-theme="dark"] .coach-avatar {
  background: #111827;
  border-color: rgba(129, 140, 248, 0.3);
}
[data-theme="dark"] .badge-card {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .badge-card.unlocked {
  background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 100%);
  border-color: rgba(245, 158, 11, 0.4);
}
[data-theme="dark"] .badge-card.locked {
  background: #0f172a;
}
[data-theme="dark"] .modal-dialog {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
}
[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .topic-list-item.weak {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.25);
}
[data-theme="dark"] .topic-list-item.strong {
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.25);
}

/* ==========================================================================
   RESPONSIVE (MOBİL & TABLET UYARLAMALARI)
   ========================================================================== */
@media (max-width: 1024px) {
  .dashboard-columns, .exam-workspace-layout, .sim-body-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 80px; /* Alt mobil menü için boşluk */
  }
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-wrapper {
    margin-left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .bottom-nav-bar {
    display: flex;
  }
  .content-area {
    padding: 16px;
  }
  .top-header {
    padding: 0 16px;
  }
  .welcome-hero, .question-card, .exam-start-banner {
    padding: 20px 16px;
  }
  .profile-hero-card {
    padding: 22px 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .profile-hero-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-name-row {
    justify-content: center;
  }
  .profile-chips-row {
    justify-content: center;
  }
  .profile-hero-side {
    align-items: stretch;
    min-width: unset;
  }
  .profile-action-buttons {
    justify-content: center;
  }
  .p94-simulator-card {
    padding: 20px 16px;
  }
  .sim-presets-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .difficulty-selector-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .quick-action-bar-top {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-random-q, .btn-explain-q {
    width: 100%;
    justify-content: center;
  }
  .question-prompt {
    font-size: 1.05rem;
    line-height: 1.6;
  }
  .option-item {
    padding: 14px 16px;
  }
  .fullscreen-login-card {
    padding: 30px 20px;
    border-radius: 22px;
  }
  .quick-fill-chips {
    grid-template-columns: 1fr;
  }
  .app-global-footer {
    padding: 14px 16px;
    margin-bottom: 20px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   TOAST BİLDİRİM SİSTEMİ & SORU KARTI GEÇİŞ ANİMASYONLARI
   ========================================================================== */
.kpss-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.kpss-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  border-radius: var(--radius-lg, 14px);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.35), 0 6px 16px rgba(0, 0, 0, 0.2);
  font-size: 0.90rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kpss-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.kpss-toast.success {
  border-left: 5px solid #10b981;
}

.kpss-toast.info {
  border-left: 5px solid #6366f1;
}

.kpss-toast.warning {
  border-left: 5px solid #f59e0b;
}

.kpss-toast i {
  font-size: 1.15rem;
}

.btn-random-q:active {
  transform: translateY(2px) scale(0.97);
}

@keyframes questionCardEnter {
  0% {
    opacity: 0.2;
    transform: translateY(12px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}




