/* ==========================================================================
   ECONODASH - Modern Responsive Bloomberg Style Dark Financial Terminal CSS
   Desktop Sidebar + Mobile Bottom Navigation + Responsive CSS Grid Layout
   ========================================================================== */

:root {
  /* ==========================================================================
     OXFORD MODERN / DARK ACADEMIA WARM THEME PALETTE
     ========================================================================== */

  /* 1. Deep Oxford Backgrounds (Mat ve Sıcak Oxford Gecesi / Füme - Asla Saf Siyah Yok) */
  --bg-core: #1a1d24;              /* Ana sayfa zemin rengi (Body / Main Background) */
  --bg-surface: #20242d;           /* Menü panelleri, sol sidebar, üst çubuk */
  --bg-surface-elevated: #282d38;  /* Yükseltilmiş paneller, modül dropdown'ları */
  --bg-card: #232731;              /* Kartlar, menü panelleri ve modül kutuları */
  --bg-card-hover: #2c313d;        /* Hover durumları */
  --bg-input: #1e2129;             /* Form alanları ve arama kutuları */
  --bg-hover-focus: #303542;       /* Hover / Buton odaklanma zeminleri */
  
  /* 2. Academic Accent Colors */
  /* Birincil Vurgu / Aktif Sekmeler / Rozetler: Oxford Kehribarı / Altın sarısı (#f59e0b) ve asil altın (#d97706) */
  --amber-gold: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.12);
  --gold-yellow: #d97706;
  --gold-glow: rgba(217, 119, 6, 0.12);
  --primary-accent: #f59e0b;
  --primary-accent-hover: #d97706;
  
  /* İkincil Vurgu / Bilgi rozetleri / Linkler: Akademik mavi (#38bdf8) ve Antik fildişi (#e5e7eb) */
  --ocean-blue: #38bdf8;
  --ocean-blue-glow: rgba(56, 189, 248, 0.12);
  --electric-cyan: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.12);
  --ivory-antique: #e5e7eb;
  
  /* Finansal Yükselişler: Doğal zümrüt yeşili (#10b981) */
  --neon-green: #10b981;
  --neon-green-glow: rgba(16, 185, 129, 0.12);
  --emerald-green: #10b981;
  
  /* Finansal Düşüşler: Koyu kiremit / mercan kırmızısı (#f43f5e) */
  --crimson-red: #f43f5e;
  --crimson-glow: rgba(244, 63, 94, 0.12);
  --coral-red: #f43f5e;
  
  /* Kripto ve Emtia Sıcak Vurguları */
  --bitcoin-orange: #f59e0b;
  --orange-glow: rgba(245, 158, 11, 0.12);
  --purple-regal: #a78bfa;
  --purple-glow: rgba(167, 139, 250, 0.12);
  
  /* 3. Typography & Border Colors */
  /* Başlıklar ve önemli değerler: Fildişi beyazı (#f8fafc) ve saf beyaz (#ffffff) */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;       /* Yumuşak gri metinler */
  --text-muted: #9ca3af;           /* Açıklama ve gövde metinleri: Sıcak kül grisi / parşömen tonu */
  --text-parchment: #9ca3af;
  
  /* Kart sınırları (Borders): İnce, zarif ve sıcak tonlarda (#3a3f4d / %40-%45 opaklık) */
  --border-subtle: rgba(58, 63, 77, 0.45);
  --border-medium: rgba(58, 63, 77, 0.75);
  --border-warm: #3a3f4d;
  --border-active: rgba(245, 158, 11, 0.5); /* Oxford Kehribarı / Asil Altın Vurgusu */
  --border-green: rgba(16, 185, 129, 0.45);
  --border-red: rgba(244, 63, 94, 0.45);
  
  /* 4. Typography Stacks (Oxford Academic Contrast: Serif Başlıklar + Sans-Serif Gövde) */
  --font-serif: 'Newsreader', 'Georgia', 'Playfair Display', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', 'SF Mono', monospace;
  
  /* 5. Layout Metrics & Yumuşak Köşeler (8px - 12px) */
  --sidebar-width: 270px;
  --topbar-height: 64px;
  --bottom-nav-height: 68px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  
  /* 6. Sıcak, Derin Gölgeler (Siber / Neon Glow Parlamaları Kaldırıldı) */
  --shadow-warm-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.3);
  --shadow-warm-md: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  --shadow-warm-lg: 0 10px 30px -4px rgba(0, 0, 0, 0.5);
  
  /* Transitions */
  --tr-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--bg-core);
}

body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-core);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Oxford Academic Typography Contrast: Prestijli Serif Başlıklar */
h1, h2, h3, h4,
.brand-title,
.section-title,
.career-main-title,
.micro-main-title,
.atlas-main-title,
.workspace-course-title,
.academy-hero-title,
.academy-card-title,
.news-headline,
.news-card-title,
.modal-title,
.chart-card-title,
.stat-hero-title,
.kpss-subject-title,
.calc-card-title,
.lab-card-title,
.trade-card-title {
  font-family: var(--font-serif);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

p, .card-desc, .module-desc, .career-main-desc, .micro-main-desc, .widget-desc {
  color: var(--text-muted);
}

/* Utilities */
.font-mono {
  font-family: var(--font-mono);
}

.hidden {
  display: none !important;
}

.text-neon { color: var(--neon-green) !important; }
.text-cyan { color: var(--electric-cyan) !important; }
.text-orange { color: var(--bitcoin-orange) !important; }
.text-amber { color: var(--amber-gold) !important; }
.text-danger { color: var(--crimson-red) !important; }

/* ==========================================================================
   APP SHELL & TOP NAVBAR (OXFORD MODERN DESKTOP & WORKSTATION LAYOUT)
   ========================================================================== */

.terminal-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-core);
  position: relative;
  overflow-x: hidden;
}

.terminal-sidebar {
  display: none !important;
}

/* ==========================================================================
   1. EN ÜST HEADER (LOGO & SAĞ ARAÇLAR - SADE VE TEMİZ)
   ========================================================================== */

.terminal-topbar {
  width: 100%;
  height: 58px;
  background-color: #11151f;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 16px;
  flex-shrink: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1000;
}

/* Sol Kısım: Logo & ONLINE Sinyal Rozeti */
.topbar-brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 15px;
  color: var(--amber-gold);
  letter-spacing: -0.5px;
}

.brand-text-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-title-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #f8fafc;
  line-height: 1;
  margin: 0;
}

.accent-text {
  color: var(--amber-gold);
}

.topbar-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.8px;
}

/* ==========================================================================
   2. ANA NAVİGASYON ŞERİDİ (7 ANA SEKME - KAYAN BANDIN HEMEN ALTINDA)
   ========================================================================== */

.main-navigation-strip {
  width: 100%;
  background-color: #171c26;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 950;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.main-nav-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav-container::-webkit-scrollbar {
  display: none;
}

/* Oxford Modern 7 Ana Sekme Butonları */
.main-nav-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  color: #9ca3af;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  user-select: none;
  position: relative;
}

.main-nav-tab-btn:hover {
  background-color: #303542;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.main-nav-tab-btn.active,
.main-nav-tab-btn[aria-selected="true"] {
  background: rgba(245, 158, 11, 0.14);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-bottom: 2px solid #f59e0b;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

.main-nav-tab-btn .tab-emoji {
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}

.main-nav-tab-btn:hover .tab-emoji {
  transform: scale(1.18);
}

.main-nav-tab-btn.active .tab-emoji {
  transform: scale(1.12);
}

.topbar-right-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.topbar-datetime-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.topbar-date-val {
  color: #94a3b8;
}

.topbar-datetime-sep {
  color: rgba(255, 255, 255, 0.2);
}

.topbar-clock-val {
  color: var(--amber-gold);
}

.topbar-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(217, 119, 6, 0.28));
  border: 1px solid rgba(245, 158, 11, 0.55);
  border-radius: 8px;
  color: #fef3c7;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.15);
  white-space: nowrap;
}

.topbar-ai-btn:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.32), rgba(217, 119, 6, 0.45));
  border-color: #f59e0b;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
  transform: translateY(-1px);
}

.ai-signal-pulse {
  width: 6px;
  height: 6px;
  background-color: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.8);
  animation: pulse-subtle 2s infinite ease-in-out;
}

.topbar-utility-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   1. SOL YAN MENÜ (SIDEBAR - PC & TABLET)
   ========================================================================== */

.terminal-sidebar {
  width: var(--sidebar-width);
  height: 100%;
  background-color: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 50;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-medium) transparent;
}

.sidebar-brand-block {
  padding: 22px 20px 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 18px;
  color: var(--amber-gold);
  letter-spacing: -0.5px;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.1;
  color: #f8fafc;
}

.accent-text {
  color: var(--amber-gold);
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1.2px;
  color: #9ca3af;
  margin-top: 3px;
  font-weight: 600;
}

.sidebar-online-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 5px 10px;
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: var(--radius-sm);
}

.sidebar-online-status .status-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.8px;
}

/* Navigasyon Butonları */
.sidebar-nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--tr-smooth);
  position: relative;
}

.nav-btn:hover {
  background-color: #303542;
  color: #f8fafc;
  border-color: rgba(58, 63, 77, 0.6);
  transform: translateX(3px);
}

.nav-btn.active {
  background: rgba(245, 158, 11, 0.12);
  color: #ffffff;
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 3px 0 0 var(--amber-gold);
}

.nav-btn.active .nav-btn-icon {
  color: var(--amber-gold);
  filter: none;
}

.nav-btn-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color var(--tr-fast);
}

.nav-btn-icon svg {
  width: 19px;
  height: 19px;
}

.nav-btn-label {
  flex: 1;
  white-space: nowrap;
}

.nav-badge-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.pill-neon { background: rgba(16, 185, 129, 0.15); color: var(--neon-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.pill-cyan { background: rgba(56, 189, 248, 0.15); color: var(--electric-cyan); border: 1px solid rgba(56, 189, 248, 0.3); }
.pill-amber { background: rgba(245, 158, 11, 0.15); color: var(--amber-gold); border: 1px solid rgba(245, 158, 11, 0.3); }
.pill-orange { background: rgba(245, 158, 11, 0.15); color: var(--bitcoin-orange); border: 1px solid rgba(245, 158, 11, 0.3); }
.pill-blue { background: rgba(56, 189, 248, 0.15); color: var(--ocean-blue); border: 1px solid rgba(56, 189, 248, 0.3); }
.pill-purple { background: rgba(179, 136, 255, 0.15); color: #B388FF; border: 1px solid rgba(179, 136, 255, 0.35); }

.pulse-dot-purple {
  width: 7px;
  height: 7px;
  background-color: #B388FF;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(167, 139, 250, 0.45);
  animation: pulse-glow 2s infinite ease-in-out;
  display: inline-block;
}

/* Sidebar Footer & Widgets */
.sidebar-footer {
  padding: 16px 14px;
  border-top: 1px solid var(--border-subtle);
  background-color: rgba(26, 29, 36, 0.5);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.widget-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ocean-blue);
  letter-spacing: 0.5px;
}

.widget-badge {
  font-family: var(--font-mono);
  font-size: 8.5px;
  padding: 1px 5px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--neon-green);
  border-radius: 4px;
}

.widget-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
}

.widget-buttons {
  display: flex;
  gap: 6px;
}

.btn-xs {
  flex: 1;
  padding: 6px 8px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.btn-outline-neon {
  background: transparent;
  color: var(--neon-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.btn-outline-neon:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--neon-green);
}

.btn-outline-subtle {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-outline-subtle:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.sidebar-system-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.info-label {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
}

.info-val {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
}

.sidebar-version-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   2. ANA İÇERİK ALANI (MAIN CONTENT VIEWPORT & TOPBAR)
   ========================================================================== */

.terminal-main-viewport {
  flex: 1;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--bg-core);
  position: relative;
}

/* Üst Terminal Çubuğu (Topbar) */
.terminal-topbar {
  height: var(--topbar-height);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  flex-shrink: 0;
  z-index: 40;
}

.topbar-header-row {
  display: contents; /* Desktop'ta flex akışını bozmaz */
}

.topbar-mobile-brand {
  display: none; /* Mobilde açılacak */
  align-items: center;
  gap: 8px;
}

.brand-logo-icon-sm {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(16, 185, 129, 0.2));
  border: 1px solid var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--neon-green);
}

.topbar-mobile-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}

/* Kayan Bant (Ticker Tape Marquee) */
.topbar-ticker-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.ticker-tape {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-flex;
  gap: 32px;
  animation: ticker-slide 38s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

@keyframes ticker-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.ticker-code {
  font-weight: 700;
  color: var(--text-primary);
}

.ticker-val {
  color: #FFFFFF;
  font-weight: 600;
}

.ticker-up {
  color: var(--neon-green);
  font-weight: 600;
}

.ticker-down {
  color: var(--crimson-red);
  font-weight: 600;
}

.ticker-neutral {
  color: var(--amber-gold);
  font-weight: 600;
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  user-select: none;
  display: inline-flex;
  align-items: center;
  margin: 0 4px;
}

.ticker-loading {
  color: var(--amber-gold);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

/* Topbar Aksiyonları */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.topbar-session-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ocean-blue);
  white-space: nowrap;
}

.topbar-clock {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  padding: 4px 8px;
  background: var(--bg-surface-elevated);
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.topbar-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--tr-fast);
}

.topbar-btn:hover {
  background-color: rgba(56, 189, 248, 0.15);
  border-color: var(--ocean-blue);
  color: #FFFFFF;
}

.topbar-btn:hover svg {
  transform: rotate(45deg);
}

/* Pulse Dot */
.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.45);
  animation: pulse-subtle 2.5s infinite ease-in-out;
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.pulse-dot-orange {
  width: 7px;
  height: 7px;
  background-color: var(--amber-gold);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(245, 158, 11, 0.45);
  animation: pulse-subtle 2.5s infinite ease-in-out;
}

/* ==========================================================================
   3. EKRANLAR (SCREENS VIEWPORT & SCROLLING)
   ========================================================================== */

.terminal-main-viewport {
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

main,
#main-content,
.main-content,
.screens-viewport {
  width: 100% !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  flex: 1 0 auto;
  position: relative;
  overflow: visible !important;
}

.screen-tab {
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: opacity, transform;
}

.screen-tab.active {
  display: block;
  animation: screenTabEnter 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes screenTabEnter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pull-refresh-box,
.pull-spinner-icon,
.pull-status-label {
  display: none !important;
}

.screen-scrollable {
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
}

/* Dashboard Başlık Şeridi */
.dashboard-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-tag-live {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ocean-blue);
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.3px;
}

.dashboard-meta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.last-update-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

.fx-api-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--neon-green);
}

/* Hata Bannerı */
.fx-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background-color: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: var(--radius-md);
  color: #FFA5B8;
  font-size: 12.5px;
  margin-bottom: 18px;
}

.fx-error-icon {
  width: 18px;
  height: 18px;
  color: var(--crimson-red);
  flex-shrink: 0;
}

.btn-retry-fx {
  margin-left: auto;
  padding: 4px 10px;
  background: var(--crimson-red);
  border: none;
  border-radius: 6px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
}

/* ==========================================================================
   4. BLOOMBERG KART TASARIMI VE HOVER ANİMASYONLARI
   Bilgisayar kullanıcıları için parlama ve yukarı kalkma mikro-animasyonları
   ========================================================================== */

.bloomberg-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform var(--tr-smooth), box-shadow var(--tr-smooth), border-color var(--tr-smooth), background-color var(--tr-smooth);
}

/* Fare ile üzerine gelindiğinde (Hover) prestijli mikro kalkış ve asil gölge */
.bloomberg-card {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

.bloomberg-card:hover {
  transform: translateY(-2px);
  background-color: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.5);
}

.bloomberg-card.card-neon:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.5);
}

.bloomberg-card.card-amber:hover,
.bloomberg-card.gold-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.5);
}

.bloomberg-card.crypto-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.5);
}

.card-glow-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--amber-gold) 50%, transparent 100%);
  opacity: 0.35;
}

.card-neon .card-glow-accent {
  background: linear-gradient(90deg, transparent 0%, var(--neon-green) 50%, transparent 100%);
  opacity: 0.35;
}

.card-amber .card-glow-accent,
.gold-glow {
  background: linear-gradient(90deg, transparent 0%, var(--gold-yellow) 50%, transparent 100%);
  opacity: 0.35;
}

.crypto-glow {
  background: linear-gradient(90deg, transparent 0%, var(--bitcoin-orange) 50%, transparent 100%);
  opacity: 0.35;
}

/* ==========================================================================
   5. PİYASA EKRANI GRID YERLEŞİMLERİ (CSS GRID - MULTI COLUMN DASHBOARD)
   PC'de devasa uzamayı engelleyen ve sütunlar oluşturan ızgara yapısı
   ========================================================================== */

/* 5'li Gösterge Kartları Izgarası (USD, EUR, Altın, Brent Petrol, Kripto Özet) */
.dashboard-grid-quad {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

/* 3'lü Sütun Izgarası (BIST 100, TCMB Faizi, TÜFE Enflasyon) */
.dashboard-grid-macro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

/* FX Kartları Detayları */
.fx-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.fx-flag-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fx-flag {
  font-size: 20px;
}

.fx-pair {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.fx-badge-trend {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.tag-neon {
  background: rgba(16, 185, 129, 0.14);
  color: var(--neon-green);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.tag-cyan {
  background: rgba(56, 189, 248, 0.14);
  color: var(--electric-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.tag-danger {
  background: rgba(244, 63, 94, 0.14);
  color: var(--crimson-red);
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.tag-warning {
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber-gold);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.tag-neutral {
  background: rgba(58, 63, 77, 0.45);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.fx-value-row {
  margin-bottom: 10px;
}

.fx-main-val {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.fx-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-secondary);
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.fx-live-dot {
  color: var(--neon-green);
  font-weight: 600;
}

/* Gram Altın Kartı */
.gold-card-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  justify-content: space-between;
}

.gold-left-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gold-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-svg {
  width: 20px;
  height: 20px;
  color: var(--gold-yellow);
}

.gold-text-group {
  display: flex;
  flex-direction: column;
}

.gold-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.gold-purity-label {
  font-size: 10.5px;
  color: var(--amber-gold);
}

.gold-right-side {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.gold-price-val {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: -0.5px !important;
}

.gold-icon-badge {
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gold-title-text {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.gold-live-dot {
  font-size: 11px;
  color: var(--amber-gold);
  font-weight: 600;
}

/* Brent Petrol Kartı (Emtia Göstergesi) */
.oil-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.oil-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 160, 0, 0.5) !important;
  box-shadow: 0 10px 24px rgba(255, 160, 0, 0.12);
}

.oil-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.oil-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.oil-brand-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.oil-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 152, 0, 0.15);
  border: 1px solid rgba(255, 152, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.oil-card:hover .oil-icon-box {
  transform: scale(1.06);
}

.oil-svg {
  width: 19px;
  height: 19px;
  color: #FFA726;
}

.oil-title-group {
  display: flex;
  flex-direction: column;
}

.oil-pair {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.oil-ticker-tag {
  font-size: 10px;
  color: var(--amber-gold);
  letter-spacing: 0.3px;
}

.oil-badge-trend {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.3s ease;
}

.oil-value-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.oil-main-val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  display: inline-block;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.oil-sub-unit {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.oil-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.oil-range-note {
  font-size: 10.5px;
  color: var(--text-secondary);
}

.oil-live-dot {
  color: var(--neon-green);
  font-weight: 600;
  font-size: 10.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.oil-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-oil-view-toggle {
  background: rgba(255, 152, 0, 0.12);
  border: 1px solid rgba(255, 152, 0, 0.35);
  color: #FFA726;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-oil-view-toggle:hover {
  background: rgba(255, 152, 0, 0.28);
  color: #FFFFFF;
  border-color: #FFA726;
}

.btn-oil-view-toggle.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--electric-cyan);
}

.oil-price-skeleton {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0;
}

.oil-tv-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 110px;
}

.oil-tv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-subtle);
}

.oil-tv-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--amber-gold);
  letter-spacing: 0.5px;
}

#brent-tv-container {
  width: 100%;
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Kripto Özet Kartı */
.crypto-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.crypto-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-coin-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bitcoin-orange);
  font-weight: 800;
  font-size: 15px;
}

.crypto-label-box {
  display: flex;
  flex-direction: column;
}

.crypto-main-title {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.crypto-source-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.tag-crypto-live {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--bitcoin-orange);
}

.crypto-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--bitcoin-orange);
  box-shadow: 0 0 4px rgba(245, 158, 11, 0.4);
}

.crypto-rates-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
}

.crypto-sub-cell {
  flex: 1;
}

.crypto-sub-title {
  font-size: 10.5px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.crypto-sub-val {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  display: block;
}

.crypto-foot-label {
  font-size: 10px;
  margin-top: 2px;
  display: block;
  font-weight: 600;
}

.crypto-cell-divider {
  width: 1px;
  height: 38px;
  background-color: var(--border-subtle);
  margin: 0 12px;
}

/* Makro Kartları Ortak Öğeleri */
.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ocean-blue);
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ocean-blue);
}

.badge-neon {
  color: var(--neon-green);
}
.badge-neon .badge-dot {
  background-color: var(--neon-green);
}

.badge-amber {
  color: var(--amber-gold);
}
.badge-amber .badge-dot {
  background-color: var(--amber-gold);
}

.card-frequency {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.card-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.card-description {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.card-metric-container {
  margin-bottom: 16px;
}

.bist-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-value {
  font-size: 30px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.metric-arrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
}

.trend-arrow-icon {
  width: 14px;
  height: 14px;
}

.metric-trend-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 4px;
}

/* İlerleme Çubukları */
.card-chart-bar-wrap {
  margin-bottom: 14px;
}

.chart-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 6px;
}

.progress-track {
  width: 100%;
  height: 7px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-neon {
  background: linear-gradient(90deg, #00C853, var(--neon-green));
  box-shadow: none;
}

.progress-ocean {
  background: linear-gradient(90deg, #0091EA, var(--ocean-blue));
  box-shadow: none;
}

.progress-amber {
  background: linear-gradient(90deg, #FF8F00, var(--amber-gold));
  box-shadow: none;
}

.progress-danger {
  background: linear-gradient(90deg, #D50000, var(--crimson-red));
  box-shadow: none;
}

.card-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.footer-tag {
  font-family: var(--font-mono);
  color: var(--ocean-blue);
  font-size: 10.5px;
}

/* ==========================================================================
   BIST TOP 20 HACİM LİDERLERİ BİLEŞENİ (BLOOMBERG TERMINAL STYLE TABLE)
   ========================================================================== */

.bist-top20-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
  width: 100%;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.bist-top20-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--electric-cyan), var(--ocean-blue), transparent);
}

.bist-table-header-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.bist-header-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.bist-badge-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.05em;
}

.bist-badge-live {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--neon-green);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.bist-table-main-title {
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.bist-table-subtitle {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.bist-table-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bist-search-box {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  min-width: 240px;
  transition: all var(--tr-fast);
}

.bist-search-box:focus-within {
  border-color: var(--electric-cyan);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bist-search-icon {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  margin-right: 8px;
  flex-shrink: 0;
}

.bist-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 12.5px;
  padding: 8px 0;
}

.bist-search-input::placeholder {
  color: var(--text-muted);
}

.bist-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  font-size: 12px;
}

.bist-clear-btn:hover {
  color: #FFFFFF;
}

.bist-filter-pills {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.bist-filter-btn {
  padding: 6px 12px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 5px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.bist-filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.bist-filter-btn.active {
  background: var(--bg-surface-elevated);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--neon-green);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.bist-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--electric-cyan);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.bist-refresh-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--electric-cyan);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.bist-refresh-btn.spinning svg {
  animation: spin 0.8s linear infinite;
}

/* Yatay Kaydırılabilir Tablo */
.bist-table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 14px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(8, 12, 18, 0.6);
}

.bist-terminal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.bist-terminal-table thead th {
  position: sticky;
  top: 0;
  background: #0b0f17;
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-medium);
  white-space: nowrap;
  z-index: 2;
}

.bist-terminal-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background-color var(--tr-fast);
}

.bist-terminal-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.035);
}

.bist-terminal-table tbody tr:last-child {
  border-bottom: none;
}

.bist-terminal-table tbody td {
  padding: 11px 14px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Kolon Boyutları & Hizalamalar */
.col-rank {
  width: 44px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.col-ticker {
  min-width: 110px;
}

.col-name {
  min-width: 180px;
}

.col-price {
  min-width: 110px;
  text-align: right;
}

.col-change {
  min-width: 115px;
  text-align: right;
}

.col-volume {
  min-width: 115px;
  text-align: right;
}

.col-range {
  min-width: 130px;
  text-align: center;
}

/* Ticker Rozet Yapısı */
.stock-ticker-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-avatar-badge {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.12);
  color: var(--ocean-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
  flex-shrink: 0;
}

.stock-ticker-text {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13.5px;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.stock-name-cell {
  display: flex;
  flex-direction: column;
}

.stock-full-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.stock-sector-tag {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 1px;
}

.stock-price-text {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  font-feature-settings: "tnum" 1;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  transition: background-color 300ms ease;
}

/* Değişim Rozeti (Pill) */
.stock-change-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.02em;
}

.stock-change-pill.positive {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.stock-change-pill.negative {
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.28);
}

.stock-change-arrow {
  font-size: 10px;
}

.stock-volume-text {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12.5px;
  color: #E2E8F0;
  letter-spacing: -0.01em;
}

/* Gün İçi Aralık Mini İlerleme Çubuğu */
.stock-range-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 110px;
  margin: 0 auto;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.range-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(58, 63, 77, 0.45);
  overflow: hidden;
  position: relative;
}

.range-fill-bar {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ocean-blue), var(--neon-green));
}

/* Alt Özet Barı */
.bist-table-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
}

.source-tag {
  color: var(--text-muted);
}

/* Fiyat Güncelleme Flaş Animasyonu (Bloomberg Tick Flash) */
@keyframes tickPulseGreen {
  0% {
    background-color: rgba(16, 185, 129, 0.45);
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  100% {
    background-color: transparent;
    text-shadow: none;
    box-shadow: none;
  }
}

@keyframes tickPulseRed {
  0% {
    background-color: rgba(244, 63, 94, 0.45);
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(244, 63, 94, 0.85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  100% {
    background-color: transparent;
    text-shadow: none;
    box-shadow: none;
  }
}

.price-flash-up {
  animation: tickPulseGreen 0.9s cubic-bezier(0.2, 0.9, 0.3, 1) !important;
}

.price-flash-down {
  animation: tickPulseRed 0.9s cubic-bezier(0.2, 0.9, 0.3, 1) !important;
}



/* ==========================================================================
   6. SEKME 2: ANALİZ EKRANI (HESAPLAMA ARAÇLARI & SAHA EKONOMİSİ)
   ========================================================================== */

.calculator-toggle-bar {
  display: flex;
  gap: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 5px;
  margin-bottom: 24px;
  max-width: 680px;
}

.calc-toggle-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-smooth);
}

.calc-toggle-btn:hover {
  color: var(--text-primary);
}

.calc-toggle-btn.active {
  background-color: var(--bg-surface-elevated);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

#toggle-dca.active { color: var(--ocean-blue); }
#toggle-ipo.active { color: var(--neon-green); }
#toggle-saha.active { color: var(--amber-gold); }
#toggle-matrix.active { color: var(--electric-cyan); }

.calc-pill-lab {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--electric-cyan);
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-left: 4px;
}

.toggle-icon {
  width: 17px;
  height: 17px;
}

.calc-module {
  display: none;
}

.calc-module.active {
  display: block;
}

/* Masaüstü 2 Kolonlu Analiz Düzeni (Form ve Sonuç Yan Yana) */
.calc-desktop-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}

.calc-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.calc-card-header {
  margin-bottom: 20px;
}

.calc-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.calc-subtitle {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-unit {
  font-family: var(--font-mono);
  color: var(--ocean-blue);
  font-size: 11px;
}

.input-field-wrap {
  display: flex;
  align-items: center;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 14px;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}

.input-field-wrap:focus-within {
  border-color: var(--ocean-blue);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.input-prefix {
  color: var(--text-muted);
  font-size: 15px;
  margin-right: 10px;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 0;
}

.terminal-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.input-error {
  border-color: var(--crimson-red) !important;
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.25) !important;
}

/* Hızlı Seçim Çipleri */
.quick-preset-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: -4px;
}

.preset-chip {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.preset-chip:hover {
  background-color: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #FFFFFF;
}

.preset-chip.active-chip {
  background-color: rgba(56, 189, 248, 0.18);
  border-color: var(--ocean-blue);
  color: var(--ocean-blue);
}

/* Hesapla Butonları */
.btn-calc {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr-smooth);
  margin-top: 6px;
}

.btn-calc .btn-icon {
  width: 19px;
  height: 19px;
}

.btn-calc-ocean {
  background: linear-gradient(135deg, #0091EA 0%, #38bdf8 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}
.btn-calc-ocean:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.45);
}

.btn-calc-neon {
  background: linear-gradient(135deg, #00C853 0%, #10b981 100%);
  color: #051A0D;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}
.btn-calc-neon:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
}

.btn-calc-amber {
  background: linear-gradient(135deg, #FF8F00 0%, #f59e0b 100%);
  color: #1F1200;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}
.btn-calc-amber:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
}

/* Çıktı Panelleri */
.results-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fade-in-up 0.35s ease;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.results-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.results-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.result-highlight-card {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(15, 20, 32, 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: center;
}

.result-highlight-card.highlight-neon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 20, 32, 0.8) 100%);
  border-color: rgba(16, 185, 129, 0.35);
}

.result-highlight-card.highlight-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 20, 32, 0.8) 100%);
  border-color: rgba(245, 158, 11, 0.35);
}

.result-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.result-giant-val {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-tile {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.tile-label {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.tile-val {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.breakdown-bar-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.breakdown-bar-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.breakdown-progress {
  display: flex;
  height: 8px;
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}

.segment-principal {
  background-color: var(--electric-cyan);
}

.segment-gain {
  background-color: var(--neon-green);
}

.info-alert-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background-color: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
}

.alert-icon {
  width: 18px;
  height: 18px;
  color: var(--ocean-blue);
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   MODÜL 4: MAKRO KORELASYON & AKTARIM MEKANİZMASI MATRİSİ (LAB PRO)
   ========================================================================== */

#calc-module-matrix {
  animation: fadeIn 220ms ease-out;
}

.matrix-hero-panel {
  background: linear-gradient(135deg, rgba(15, 20, 32, 0.95), rgba(9, 13, 20, 0.98));
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.matrix-hero-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--electric-cyan), var(--ocean-blue), transparent);
}

.matrix-hero-info {
  margin-bottom: 16px;
}

.matrix-pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.matrix-hero-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--electric-cyan);
  letter-spacing: 0.06em;
}

.matrix-lab-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--neon-green);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.matrix-hero-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.matrix-hero-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 860px;
}

.matrix-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.matrix-tf-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.matrix-tf-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--tr-fast);
}

.matrix-tf-chip:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.matrix-tf-chip.active {
  background: var(--bg-surface-elevated);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--electric-cyan);
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.2);
}

.tf-name {
  font-size: 12.5px;
  font-weight: 700;
}

.tf-sub {
  font-size: 10px;
  opacity: 0.75;
}

.matrix-stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* 2 Kolonlu Matris Yerleşimi */
.matrix-content-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: start;
}

.matrix-card-shell {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: border-color var(--tr-smooth);
}

.matrix-card-shell:hover {
  border-color: var(--border-medium);
}

.matrix-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.card-title-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title-with-icon h4 {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.header-icon-cyan {
  width: 18px;
  height: 18px;
  color: var(--electric-cyan);
}

.heatmap-interact-tip {
  font-size: 11.5px;
  color: var(--text-muted);
  font-style: italic;
}

/* Isı Haritası Tablosu */
.matrix-table-scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 18px;
  padding-bottom: 4px;
}

.matrix-table-root table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px;
  table-layout: fixed;
}

.matrix-table-root th {
  padding: 8px 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.th-corner {
  width: 85px;
  text-align: left !important;
  color: var(--text-muted) !important;
  font-size: 10px !important;
}

.th-row-header {
  text-align: left;
  padding-left: 6px;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.th-asset-icon {
  font-size: 13px;
}

.corr-cell-btn {
  width: 100%;
  min-height: 46px;
  border-radius: 6px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  transition: all 160ms cubic-bezier(0.16, 1, 0.3, 1);
  padding: 4px;
}

.corr-cell-btn:hover:not(.c-diag) {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  z-index: 4;
}

.corr-cell-btn.selected {
  outline: 2px solid var(--electric-cyan) !important;
  outline-offset: 1px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  z-index: 5;
}

.corr-score-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
}

.corr-dir-sub {
  font-size: 9px;
  font-weight: 600;
  opacity: 0.8;
  margin-top: 1px;
}

/* Korelasyon Hücre Renk Sınıfları */
.c-pos-hi {
  background: rgba(16, 185, 129, 0.22) !important;
  color: #10b981 !important;
  border-color: rgba(16, 185, 129, 0.42) !important;
}

.c-pos-md {
  background: rgba(56, 189, 248, 0.16) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}

.c-neutral {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #94A3B8 !important;
  border-color: rgba(58, 63, 77, 0.45) !important;
}

.c-neg-md {
  background: rgba(245, 158, 11, 0.16) !important;
  color: #f59e0b !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
}

.c-neg-hi {
  background: rgba(244, 63, 94, 0.22) !important;
  color: #f43f5e !important;
  border-color: rgba(244, 63, 94, 0.45) !important;
}

.c-diag {
  background: rgba(255, 255, 255, 0.02) !important;
  color: #475569 !important;
  border-color: rgba(255, 255, 255, 0.04) !important;
  cursor: default;
  opacity: 0.6;
}

/* Lejant (Legend) */
.matrix-legend-container {
  margin-top: 8px;
}

.legend-gradient-track {
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f43f5e 0%, #f59e0b 30%, #334155 50%, #38bdf8 70%, #10b981 100%);
  margin-bottom: 6px;
}

.legend-labels-row {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-muted);
}

.leg-tag-neg { color: #f43f5e; }
.leg-tag-zero { color: #94A3B8; }
.leg-tag-pos { color: #10b981; }

/* Sağ Kolon: Aktarım İnceleme & Simülasyon Paneli */
.matrix-inspector-shell {
  background: linear-gradient(160deg, var(--bg-card), rgba(35, 39, 49, 0.95));
  border-color: rgba(56, 189, 248, 0.2);
}

.inspector-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.inspector-pair-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pair-asset-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.asset-lead {
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--ocean-blue);
}

.asset-target {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--neon-green);
}

.pair-connector {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: bold;
}

.relationship-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #f43f5e;
}

.relationship-badge.rel-pos {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--neon-green);
}

.relationship-badge.rel-neutral {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #94A3B8;
}

/* 3'lü Metrik İstatistik Kutuları */
.inspector-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.inspector-stat-tile {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.stat-tile-title {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
}

.stat-tile-num {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-tile-subtitle {
  font-size: 10px;
  color: var(--text-muted);
}

/* İbre / Gösterge Çubuğu */
.inspector-gauge-track-wrap {
  margin-bottom: 20px;
}

.gauge-axis-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.gauge-track-bar {
  position: relative;
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.4), rgba(245, 158, 11, 0.3), rgba(255, 255, 255, 0.1), rgba(56, 189, 248, 0.3), rgba(16, 185, 129, 0.4));
  border: 1px solid var(--border-subtle);
}

.gauge-center-divider {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 2px;
  height: 12px;
  background: #94A3B8;
  transform: translateX(-50%);
}

.gauge-indicator-pin {
  position: absolute;
  top: -5px;
  width: 14px;
  height: 18px;
  background: var(--electric-cyan);
  border: 2px solid #FFFFFF;
  border-radius: 4px;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: left 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Doktrin & Aktarım Açıklama Kutusu */
.doctrine-knowledge-card {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.doctrine-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.doctrine-book-icon {
  width: 16px;
  height: 16px;
  color: var(--electric-cyan);
}

.doctrine-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.16);
  color: var(--electric-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.doctrine-body-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Makro Şok Simülatörü */
.macro-shock-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.shock-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.shock-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shock-icon-amber {
  width: 16px;
  height: 16px;
  color: var(--amber-gold);
}

.shock-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.shock-mode-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber-gold);
  background: rgba(245, 158, 11, 0.14);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.shock-instruction-text {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.45;
}

.shock-instruction-text strong {
  color: #FFFFFF;
}

.shock-presets-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.shock-preset-chip {
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.shock-preset-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.shock-preset-chip.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  color: var(--amber-gold);
}

.shock-input-action-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.shock-input-container {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0 10px;
}

.shock-prefix {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 6px;
}

.shock-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0;
}

.shock-suffix {
  font-size: 12px;
  color: var(--text-secondary);
  margin-left: 6px;
}

.btn-shock-calculate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f59e0b, #FF9100);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: #1a1d24;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.btn-shock-calculate:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-mini-icon {
  width: 14px;
  height: 14px;
}

.shock-result-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.shock-result-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.res-lead-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

.res-lead-value {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.res-sub-explanation {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Responsive Matrix Kuralları */
@media (max-width: 1080px) {
  .matrix-content-split {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. SEKME 3: HABERLER EKRANI (RESPONSIVE GRID & CARDS)
   ========================================================================== */

.news-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.news-refresh-btn svg {
  width: 15px;
  height: 15px;
}

.news-refresh-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--ocean-blue);
}

.news-live-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--neon-green);
}

.news-feed-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 11.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.news-sources-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.source-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--tr-fast);
  user-select: none;
}

.source-filter-btn:hover {
  background: rgba(58, 63, 77, 0.45);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.source-filter-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--ocean-blue);
  font-weight: 700;
  border-color: var(--ocean-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.filter-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-all { background: var(--ocean-blue); }
.dot-bloomberg { background: #FFB300; }
.dot-ntv { background: #FF5252; }
.dot-haberturk { background: #EF5350; }
.dot-trt { background: #38bdf8; }

/* Haberler Grid Izgarası */
.news-grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}

.news-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: text;
}

.news-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.news-category-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.badge-neon { background: rgba(16, 185, 129, 0.12); color: var(--neon-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-ocean { background: rgba(56, 189, 248, 0.12); color: var(--ocean-blue); border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-amber { background: rgba(245, 158, 11, 0.12); color: var(--amber-gold); border: 1px solid rgba(245, 158, 11, 0.3); }

.news-impact-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-muted);
}

.news-external-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: color var(--tr-fast);
}

.news-card:hover .news-external-icon {
  color: var(--ocean-blue);
}

.news-headline {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-summary {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.news-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.news-source {
  display: flex;
  align-items: center;
  gap: 6px;
}

.source-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2.5px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.source-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* Bloomberg HT */
.source-tag-bloomberg {
  background: rgba(255, 179, 0, 0.12);
  color: #FFB300;
  border: 1px solid rgba(255, 179, 0, 0.35);
}

/* NTV Ekonomi */
.source-tag-ntv {
  background: rgba(255, 82, 82, 0.12);
  color: #FF5252;
  border: 1px solid rgba(255, 82, 82, 0.35);
}

/* Habertürk */
.source-tag-haberturk {
  background: rgba(229, 57, 53, 0.12);
  color: #EF5350;
  border: 1px solid rgba(229, 57, 53, 0.35);
}

/* TRT Haber */
.source-tag-trt {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.news-time {
  display: flex;
  align-items: center;
  gap: 5px;
}

.source-icon, .time-icon {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   8. SEKME 4: KRİPTO EKRANI (BINANCE SPOT & CANLI ARAMA)
   ========================================================================== */

.crypto-search-wrap {
  margin-bottom: 16px;
}

.crypto-search-bar {
  display: flex;
  align-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 16px;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}

.crypto-search-bar:focus-within {
  border-color: var(--bitcoin-orange);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  margin-right: 12px;
}

.crypto-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 14.5px;
  padding: 13px 0;
}

.crypto-search-input::placeholder {
  color: var(--text-muted);
}

.search-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
}
.search-clear-btn:hover {
  color: #FFFFFF;
}

.crypto-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Kripto Grid Izgarası */
.crypto-grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.crypto-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--tr-smooth);
}

.crypto-row-item:hover {
  transform: translateY(-3px);
  background-color: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6), 0 0 14px -4px rgba(245, 158, 11, 0.2);
}

.crypto-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coin-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--bitcoin-orange);
}

.coin-name-group {
  display: flex;
  flex-direction: column;
}

.coin-symbol-name {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-mono);
}

.pair-tag {
  font-size: 11px;
  color: var(--text-muted);
}

.coin-full-name {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.crypto-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.coin-price-val {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #FFFFFF;
}

.coin-change-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
}

.coin-change-pill.positive {
  background: rgba(16, 185, 129, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.coin-change-pill.negative {
  background: rgba(244, 63, 94, 0.15);
  color: var(--crimson-red);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.coin-change-pill.neutral {
  background: rgba(58, 63, 77, 0.45);
  color: var(--text-secondary);
}

/* ==========================================================================
   9. SEKME 6: İİBF DİJİTAL AKADEMİSİ (MASTER-DETAIL AKADEMİK MODÜL)
   ========================================================================== */

.academy-screen-container {
  padding: 24px 32px 80px 32px;
  width: 100%;
  box-sizing: border-box;
}

/* Üst Başlık Çubuğu */
.academy-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 20px;
}

.academy-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 800px;
}

.academy-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.academy-badge-term {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--electric-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.academy-main-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.4px;
}

.academy-main-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.academy-top-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.academy-stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 11px;
}

.stat-pill-label {
  color: var(--text-muted);
  font-weight: 600;
}

.stat-pill-val {
  font-weight: 700;
}

/* Müfredat Kapsamı Geniş Bilgi Kartı */
.academy-scope-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(56, 189, 248, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 26px;
}

.scope-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--neon-green);
}

.scope-banner-icon svg {
  width: 22px;
  height: 22px;
}

.scope-banner-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.scope-banner-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.6px;
}

.scope-banner-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* Bölüm Başlığı */
.academy-section-header {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.academy-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.academy-section-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ocean-blue);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.8px;
}

.academy-section-heading {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
}

.academy-section-sub {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   1. MASTER GÖRÜNÜMÜ: MÜFREDAT DERSLERİ CSS GRID & KART DÜZENİ
   ========================================================================== */

/* PC Ekranında 3 Sütun (grid-cols-3) */
.academy-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  width: 100%;
}

/* Tablet ve Orta Ekranlarda (769px - 1100px) 2 Sütun (grid-cols-2) */
@media (max-width: 1100px) and (min-width: 769px) {
  .academy-courses-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
}

.academy-course-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: all var(--tr-smooth);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 250px;
}

.academy-course-card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-surface-elevated);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 24px rgba(56, 189, 248, 0.15);
}

.academy-course-card:focus-visible {
  outline: 2px solid var(--ocean-blue);
  outline-offset: 2px;
}

/* ==========================================================================
   KESİN İKON BOYUTLANDIRMASI (SVG'lerin patlamasını ve %100 genişliği KESİNLİKLE engeller)
   ========================================================================== */
.academy-course-card svg,
.academy-courses-grid svg,
.course-card-icon-wrap svg,
.course-svg-icon {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

/* İkon Kapsayıcı Kutusu (Tailwind w-12 h-12 / 48px x 48px dengi) */
.course-card-icon-wrap {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  transition: transform var(--tr-fast) !important;
}

.course-card-icon-wrap svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
}

.academy-course-card:hover .course-card-icon-wrap {
  transform: scale(1.06);
}

.icon-para { background: rgba(56, 189, 248, 0.12) !important; color: var(--electric-cyan) !important; border: 1px solid rgba(56, 189, 248, 0.3) !important; }
.icon-mikro { background: rgba(16, 185, 129, 0.12) !important; color: var(--neon-green) !important; border: 1px solid rgba(16, 185, 129, 0.3) !important; }
.icon-vergi { background: rgba(245, 158, 11, 0.12) !important; color: var(--amber-gold) !important; border: 1px solid rgba(245, 158, 11, 0.3) !important; }
.icon-kamu { background: rgba(56, 189, 248, 0.12) !important; color: var(--ocean-blue) !important; border: 1px solid rgba(56, 189, 248, 0.3) !important; }
.icon-ticaret { background: rgba(245, 158, 11, 0.12) !important; color: var(--bitcoin-orange) !important; border: 1px solid rgba(245, 158, 11, 0.3) !important; }
.icon-buyume { background: rgba(168, 85, 247, 0.14) !important; color: #C084FC !important; border: 1px solid rgba(168, 85, 247, 0.35) !important; }
.icon-bolgesel { background: rgba(20, 184, 166, 0.14) !important; color: #2DD4BF !important; border: 1px solid rgba(20, 184, 166, 0.35) !important; }
.icon-ishukuku { background: rgba(244, 63, 94, 0.14) !important; color: #FB7185 !important; border: 1px solid rgba(244, 63, 94, 0.35) !important; }
.icon-makro { background: rgba(99, 102, 241, 0.14) !important; color: #818CF8 !important; border: 1px solid rgba(99, 102, 241, 0.35) !important; }
.icon-kariyer { background: rgba(236, 72, 153, 0.14) !important; color: #F472B6 !important; border: 1px solid rgba(236, 72, 153, 0.35) !important; }
.icon-istatistik { background: rgba(56, 189, 248, 0.14) !important; color: #38BDF8 !important; border: 1px solid rgba(56, 189, 248, 0.35) !important; }
.icon-etik { background: rgba(16, 185, 129, 0.14) !important; color: #10B981 !important; border: 1px solid rgba(16, 185, 129, 0.35) !important; }
.icon-sosyoloji { background: rgba(250, 204, 21, 0.14) !important; color: #FACC15 !important; border: 1px solid rgba(250, 204, 21, 0.35) !important; }
.icon-yenilik { background: rgba(163, 230, 53, 0.14) !important; color: #A3E635 !important; border: 1px solid rgba(163, 230, 53, 0.35) !important; }

/* Kart Üst Alanı ve Düzgün Hizalama (items-center) */
.course-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
}

.course-card-badges {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.course-chair-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--ocean-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 4px;
}

.course-code-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
}

/* Kart Gövdesi */
.course-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.course-category-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.6px;
}

.course-card-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0;
  transition: color var(--tr-fast);
}

.academy-course-card:hover .course-card-title {
  color: var(--ocean-blue);
}

.course-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Kart Altı ve İstatistikler */
.course-card-footer {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--border-subtle) !important;
  width: 100% !important;
}

.course-card-stats {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.course-stat-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--text-secondary) !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
}

.course-stat-badge svg,
.course-card-stats .stat-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  color: var(--ocean-blue);
}

.stat-exams .stat-icon {
  color: var(--neon-green) !important;
}

.course-card-action {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 14px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--ocean-blue) !important;
  transition: all var(--tr-fast) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.course-card-action svg,
.course-card-action .action-arrow {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  transition: transform var(--tr-fast);
}

.academy-course-card:hover .course-card-action {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  color: #FFFFFF !important;
}

.academy-course-card:hover .action-arrow {
  transform: translateX(4px) !important;
  color: var(--neon-green) !important;
}

/* ==========================================================================
   2. DETAIL GÖRÜNÜMÜ: SEÇİLEN DERSİN NOTLARI & SINAV ARŞİVİ
   ========================================================================== */

.academy-detail-view {
  width: 100%;
  animation: detailFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes detailFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Detail Toolbar: Geri Butonu + Ders Bilgisi + Alt Sekmeler */
.academy-detail-toolbar {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.academy-detail-nav-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1;
}

/* Şık ve Belirgin "<- Derslere Dön" (Geri) Butonu */
.btn-academy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: var(--radius-md);
  color: var(--ocean-blue);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr-smooth);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  touch-action: manipulation;
}

.btn-academy-back:hover {
  background: var(--ocean-blue);
  color: #1a1d24;
  border-color: var(--ocean-blue);
  transform: translateX(-3px);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.45);
}

.btn-academy-back:active {
  transform: scale(0.96);
}

.btn-academy-back svg {
  width: 17px;
  height: 17px;
  transition: transform var(--tr-fast);
}

.btn-academy-back:hover svg {
  transform: translateX(-2px);
}

.academy-detail-course-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.workspace-course-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ocean-blue);
  letter-spacing: 0.6px;
}

.workspace-course-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 2 Alt Sekme Buton Grubu (Ders Notları & Sınav Arşivi) */
.academy-subtab-switchers {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  transition: all var(--tr-fast);
  white-space: nowrap;
}

.subtab-btn svg {
  width: 15px;
  height: 15px;
}

.subtab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.subtab-btn.active {
  background: var(--bg-surface-elevated);
  border-color: var(--ocean-blue);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 12px rgba(56, 189, 248, 0.2);
}

.subtab-count-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-pdf {
  border-color: rgba(168, 85, 247, 0.35) !important;
  background: rgba(168, 85, 247, 0.1) !important;
  color: #C084FC !important;
}

.stat-pdf-neon {
  border-color: rgba(16, 185, 129, 0.45) !important;
  background: rgba(16, 185, 129, 0.12) !important;
  color: var(--neon-green) !important;
}

.stat-pdf-ishukuku {
  border-color: rgba(244, 63, 94, 0.45) !important;
  background: rgba(244, 63, 94, 0.12) !important;
  color: #FB7185 !important;
}

.stat-pdf-makro {
  border-color: rgba(99, 102, 241, 0.45) !important;
  background: rgba(99, 102, 241, 0.12) !important;
  color: #818CF8 !important;
}

.stat-pdf-para {
  border-color: rgba(56, 189, 248, 0.45) !important;
  background: rgba(56, 189, 248, 0.12) !important;
  color: var(--electric-cyan) !important;
}

.stat-pdf-ticaret {
  border-color: rgba(245, 158, 11, 0.45) !important;
  background: rgba(245, 158, 11, 0.12) !important;
  color: var(--bitcoin-orange) !important;
}

.stat-pdf-kariyer {
  border-color: rgba(236, 72, 153, 0.45) !important;
  background: rgba(236, 72, 153, 0.12) !important;
  color: #F472B6 !important;
}

.stat-pdf-istatistik {
  border-color: rgba(56, 189, 248, 0.45) !important;
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38BDF8 !important;
}

.stat-pdf-etik {
  border-color: rgba(16, 185, 129, 0.45) !important;
  background: rgba(16, 185, 129, 0.12) !important;
  color: #10B981 !important;
}

.stat-pdf-sosyoloji {
  border-color: rgba(250, 204, 21, 0.45) !important;
  background: rgba(250, 204, 21, 0.12) !important;
  color: #FACC15 !important;
}

.stat-pdf-yenilik {
  border-color: rgba(163, 230, 53, 0.45) !important;
  background: rgba(163, 230, 53, 0.12) !important;
  color: #A3E635 !important;
}

.academy-detail-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-academy-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(56, 189, 248, 0.18));
  border: 1px solid rgba(168, 85, 247, 0.55);
  border-radius: var(--radius-md);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--tr-smooth);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.2);
  white-space: nowrap;
}

.btn-academy-download-pdf:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.38), rgba(56, 189, 248, 0.32));
  border-color: #C084FC;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35), 0 0 16px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

.btn-academy-download-pdf:active {
  transform: scale(0.97);
}

.btn-academy-download-pdf svg,
.btn-academy-download-pdf .btn-download-icon {
  width: 16px !important;
  height: 16px !important;
  color: #C084FC !important;
  transition: transform var(--tr-fast);
}

.btn-academy-download-pdf:hover svg,
.btn-academy-download-pdf:hover .btn-download-icon {
  transform: translateY(2px);
  color: #FFFFFF !important;
}

/* Orijinal PDF İndirme Hero Banner'ı (Detay Sayfası) */
.academy-pdf-hero-card {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.14) 0%, rgba(15, 20, 32, 0.98) 100%);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.15);
  position: relative;
  overflow: hidden;
}

.academy-pdf-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #C084FC, #38bdf8);
}

.pdf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #C084FC;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.pdf-hero-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.pdf-hero-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  max-width: 620px;
}

.btn-academy-download-pdf-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #A855F7 0%, #7C3AED 50%, #38bdf8 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.45);
  transition: all var(--tr-smooth);
  flex-shrink: 0;
}

.btn-academy-download-pdf-hero:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.65), 0 0 20px rgba(56, 189, 248, 0.4);
  color: #FFFFFF !important;
}

.btn-academy-download-pdf-hero:active {
  transform: scale(0.98);
}

/* Neon Mikroiktisat Özel İndirme Teması */
.btn-academy-download-pdf.theme-mikro {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(56, 189, 248, 0.18) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.75) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25), 0 0 14px rgba(16, 185, 129, 0.2) !important;
}

.btn-academy-download-pdf.theme-mikro:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.38) 0%, rgba(56, 189, 248, 0.3) 100%) !important;
  border-color: var(--neon-green) !important;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5), 0 0 22px rgba(16, 185, 129, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-academy-download-pdf.theme-mikro svg,
.btn-academy-download-pdf.theme-mikro .btn-download-icon {
  color: var(--neon-green) !important;
}

.academy-pdf-hero-card.theme-mikro {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 20, 32, 0.98) 100%) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(16, 185, 129, 0.18) !important;
}

.academy-pdf-hero-card.theme-mikro::before {
  background: linear-gradient(180deg, var(--neon-green), var(--electric-cyan)) !important;
}

.academy-pdf-hero-card.theme-mikro .pdf-hero-badge {
  color: var(--neon-green) !important;
  background: rgba(16, 185, 129, 0.14) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

.academy-pdf-hero-card.theme-mikro .btn-academy-download-pdf-hero {
  background: linear-gradient(135deg, #10b981 0%, #00C853 45%, #38bdf8 100%) !important;
  color: #1a1d24 !important;
  font-weight: 800 !important;
  border: 1px solid rgba(16, 185, 129, 0.8) !important;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45), 0 0 18px rgba(16, 185, 129, 0.3) !important;
}

.academy-pdf-hero-card.theme-mikro .btn-academy-download-pdf-hero:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.7), 0 0 26px rgba(16, 185, 129, 0.5) !important;
  color: #000000 !important;
}

/* İş Hukuku Özel İndirme Teması */
.btn-academy-download-pdf.theme-ishukuku {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.22) 0%, rgba(251, 146, 60, 0.18) 100%) !important;
  border: 1px solid rgba(244, 63, 94, 0.75) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.25), 0 0 14px rgba(244, 63, 94, 0.2) !important;
}

.btn-academy-download-pdf.theme-ishukuku:hover {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.38) 0%, rgba(251, 146, 60, 0.3) 100%) !important;
  border-color: #FB7185 !important;
  box-shadow: 0 6px 24px rgba(244, 63, 94, 0.5), 0 0 22px rgba(244, 63, 94, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-academy-download-pdf.theme-ishukuku svg,
.btn-academy-download-pdf.theme-ishukuku .btn-download-icon {
  color: #FB7185 !important;
}

.academy-pdf-hero-card.theme-ishukuku {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(15, 20, 32, 0.98) 100%) !important;
  border-color: rgba(244, 63, 94, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(244, 63, 94, 0.18) !important;
}

.academy-pdf-hero-card.theme-ishukuku::before {
  background: linear-gradient(180deg, #FB7185, #F59E0B) !important;
}

.academy-pdf-hero-card.theme-ishukuku .pdf-hero-badge {
  color: #FB7185 !important;
  background: rgba(244, 63, 94, 0.14) !important;
  border-color: rgba(244, 63, 94, 0.4) !important;
}

.academy-pdf-hero-card.theme-ishukuku .btn-academy-download-pdf-hero {
  background: linear-gradient(135deg, #F43F5E 0%, #E11D48 45%, #EA580C 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: 1px solid rgba(251, 113, 133, 0.8) !important;
  box-shadow: 0 6px 22px rgba(244, 63, 94, 0.45), 0 0 18px rgba(244, 63, 94, 0.3) !important;
}

.academy-pdf-hero-card.theme-ishukuku .btn-academy-download-pdf-hero:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.7), 0 0 26px rgba(244, 63, 94, 0.5) !important;
  color: #FFFFFF !important;
}

/* Makroiktisat Özel İndirme Teması */
.btn-academy-download-pdf.theme-makro {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(59, 130, 246, 0.18) 100%) !important;
  border: 1px solid rgba(99, 102, 241, 0.75) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25), 0 0 14px rgba(99, 102, 241, 0.2) !important;
}

.btn-academy-download-pdf.theme-makro:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.38) 0%, rgba(59, 130, 246, 0.3) 100%) !important;
  border-color: #818CF8 !important;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5), 0 0 22px rgba(99, 102, 241, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-academy-download-pdf.theme-makro svg,
.btn-academy-download-pdf.theme-makro .btn-download-icon {
  color: #818CF8 !important;
}

.academy-pdf-hero-card.theme-makro {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(15, 20, 32, 0.98) 100%) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(99, 102, 241, 0.18) !important;
}

.academy-pdf-hero-card.theme-makro::before {
  background: linear-gradient(180deg, #818CF8, #38BDF8) !important;
}

.academy-pdf-hero-card.theme-makro .pdf-hero-badge {
  color: #818CF8 !important;
  background: rgba(99, 102, 241, 0.14) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
}

.academy-pdf-hero-card.theme-makro .btn-academy-download-pdf-hero {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 45%, #0284C7 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: 1px solid rgba(129, 140, 248, 0.8) !important;
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.45), 0 0 18px rgba(99, 102, 241, 0.3) !important;
}

.academy-pdf-hero-card.theme-makro .btn-academy-download-pdf-hero:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.7), 0 0 26px rgba(99, 102, 241, 0.5) !important;
  color: #FFFFFF !important;
}

/* Neon Para Teorisi ve Politikası Özel İndirme Teması */
.btn-academy-download-pdf.theme-para {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0.18) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.75) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25), 0 0 14px rgba(56, 189, 248, 0.2) !important;
}

.btn-academy-download-pdf.theme-para:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.38) 0%, rgba(56, 189, 248, 0.3) 100%) !important;
  border-color: var(--electric-cyan) !important;
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.5), 0 0 22px rgba(56, 189, 248, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-academy-download-pdf.theme-para svg,
.btn-academy-download-pdf.theme-para .btn-download-icon {
  color: var(--electric-cyan) !important;
}

.academy-pdf-hero-card.theme-para {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(15, 20, 32, 0.98) 100%) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(56, 189, 248, 0.2) !important;
}

.academy-pdf-hero-card.theme-para::before {
  background: linear-gradient(180deg, var(--electric-cyan), var(--ocean-blue)) !important;
}

.academy-pdf-hero-card.theme-para .pdf-hero-badge {
  color: var(--electric-cyan) !important;
  background: rgba(56, 189, 248, 0.14) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

.academy-pdf-hero-card.theme-para .btn-academy-download-pdf-hero {
  background: linear-gradient(135deg, #38bdf8 0%, #38bdf8 50%, #0284C7 100%) !important;
  color: #1a1d24 !important;
  font-weight: 800 !important;
  border: 1px solid rgba(56, 189, 248, 0.8) !important;
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.45), 0 0 18px rgba(56, 189, 248, 0.3) !important;
}

.academy-pdf-hero-card.theme-para .btn-academy-download-pdf-hero:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.7), 0 0 26px rgba(56, 189, 248, 0.5) !important;
  color: #000000 !important;
}

/* Neon Uluslararası İktisat Özel İndirme Teması */
.btn-academy-download-pdf.theme-ticaret {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.18) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.75) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25), 0 0 14px rgba(245, 158, 11, 0.2) !important;
}

.btn-academy-download-pdf.theme-ticaret:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.38) 0%, rgba(245, 158, 11, 0.3) 100%) !important;
  border-color: var(--bitcoin-orange) !important;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5), 0 0 22px rgba(245, 158, 11, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-academy-download-pdf.theme-ticaret svg,
.btn-academy-download-pdf.theme-ticaret .btn-download-icon {
  color: var(--bitcoin-orange) !important;
}

.academy-pdf-hero-card.theme-ticaret {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 20, 32, 0.98) 100%) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(245, 158, 11, 0.2) !important;
}

.academy-pdf-hero-card.theme-ticaret::before {
  background: linear-gradient(180deg, var(--bitcoin-orange), #F59E0B) !important;
}

.academy-pdf-hero-card.theme-ticaret .pdf-hero-badge {
  color: var(--bitcoin-orange) !important;
  background: rgba(245, 158, 11, 0.14) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

.academy-pdf-hero-card.theme-ticaret .btn-academy-download-pdf-hero {
  background: linear-gradient(135deg, #f59e0b 0%, #D97706 50%, #EA580C 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: 1px solid rgba(245, 158, 11, 0.8) !important;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.45), 0 0 18px rgba(245, 158, 11, 0.3) !important;
}

.academy-pdf-hero-card.theme-ticaret .btn-academy-download-pdf-hero:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.7), 0 0 26px rgba(245, 158, 11, 0.5) !important;
  color: #FFFFFF !important;
}

/* Neon Kariyer Planlama Özel İndirme Teması */
.btn-academy-download-pdf.theme-kariyer {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22) 0%, rgba(168, 85, 247, 0.18) 100%) !important;
  border: 1px solid rgba(236, 72, 153, 0.75) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.25), 0 0 14px rgba(236, 72, 153, 0.2) !important;
}

.btn-academy-download-pdf.theme-kariyer:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.38) 0%, rgba(168, 85, 247, 0.3) 100%) !important;
  border-color: #F472B6 !important;
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.5), 0 0 22px rgba(236, 72, 153, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-academy-download-pdf.theme-kariyer svg,
.btn-academy-download-pdf.theme-kariyer .btn-download-icon {
  color: #F472B6 !important;
}

.academy-pdf-hero-card.theme-kariyer {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(15, 20, 32, 0.98) 100%) !important;
  border-color: rgba(236, 72, 153, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(236, 72, 153, 0.2) !important;
}

.academy-pdf-hero-card.theme-kariyer::before {
  background: linear-gradient(180deg, #F472B6, #C084FC) !important;
}

.academy-pdf-hero-card.theme-kariyer .pdf-hero-badge {
  color: #F472B6 !important;
  background: rgba(236, 72, 153, 0.14) !important;
  border-color: rgba(236, 72, 153, 0.4) !important;
}

.academy-pdf-hero-card.theme-kariyer .btn-academy-download-pdf-hero {
  background: linear-gradient(135deg, #EC4899 0%, #DB2777 50%, #9333EA 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: 1px solid rgba(244, 114, 182, 0.8) !important;
  box-shadow: 0 6px 22px rgba(236, 72, 153, 0.45), 0 0 18px rgba(236, 72, 153, 0.3) !important;
}

.academy-pdf-hero-card.theme-kariyer .btn-academy-download-pdf-hero:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.7), 0 0 26px rgba(236, 72, 153, 0.5) !important;
  color: #FFFFFF !important;
}

/* Neon İstatistik II Özel İndirme Teması */
.btn-academy-download-pdf.theme-istatistik {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.18) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.75) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25), 0 0 14px rgba(56, 189, 248, 0.2) !important;
}

.btn-academy-download-pdf.theme-istatistik:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.38) 0%, rgba(14, 165, 233, 0.3) 100%) !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.5), 0 0 22px rgba(56, 189, 248, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-academy-download-pdf.theme-istatistik svg,
.btn-academy-download-pdf.theme-istatistik .btn-download-icon {
  color: #38BDF8 !important;
}

.academy-pdf-hero-card.theme-istatistik {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(15, 20, 32, 0.98) 100%) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(56, 189, 248, 0.2) !important;
}

.academy-pdf-hero-card.theme-istatistik::before {
  background: linear-gradient(180deg, #38BDF8, #0284C7) !important;
}

.academy-pdf-hero-card.theme-istatistik .pdf-hero-badge {
  color: #38BDF8 !important;
  background: rgba(56, 189, 248, 0.14) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

.academy-pdf-hero-card.theme-istatistik .btn-academy-download-pdf-hero {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 50%, #0369A1 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: 1px solid rgba(56, 189, 248, 0.8) !important;
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.45), 0 0 18px rgba(56, 189, 248, 0.3) !important;
}

.academy-pdf-hero-card.theme-istatistik .btn-academy-download-pdf-hero:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.7), 0 0 26px rgba(56, 189, 248, 0.5) !important;
  color: #FFFFFF !important;
}

/* Neon Meslek Etiği Özel İndirme Teması */
.btn-academy-download-pdf.theme-etik {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.18) 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.75) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25), 0 0 14px rgba(16, 185, 129, 0.2) !important;
}

.btn-academy-download-pdf.theme-etik:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.38) 0%, rgba(5, 150, 105, 0.3) 100%) !important;
  border-color: #10B981 !important;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5), 0 0 22px rgba(16, 185, 129, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-academy-download-pdf.theme-etik svg,
.btn-academy-download-pdf.theme-etik .btn-download-icon {
  color: #10B981 !important;
}

.academy-pdf-hero-card.theme-etik {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 20, 32, 0.98) 100%) !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(16, 185, 129, 0.2) !important;
}

.academy-pdf-hero-card.theme-etik::before {
  background: linear-gradient(180deg, #10B981, #059669) !important;
}

.academy-pdf-hero-card.theme-etik .pdf-hero-badge {
  color: #10B981 !important;
  background: rgba(16, 185, 129, 0.14) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

.academy-pdf-hero-card.theme-etik .btn-academy-download-pdf-hero {
  background: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: 1px solid rgba(16, 185, 129, 0.8) !important;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45), 0 0 18px rgba(16, 185, 129, 0.3) !important;
}

.academy-pdf-hero-card.theme-etik .btn-academy-download-pdf-hero:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.7), 0 0 26px rgba(16, 185, 129, 0.5) !important;
  color: #FFFFFF !important;
}

/* Neon Sosyoloji Özel İndirme Teması */
.btn-academy-download-pdf.theme-sosyoloji {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22) 0%, rgba(234, 179, 8, 0.18) 100%) !important;
  border: 1px solid rgba(250, 204, 21, 0.75) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(250, 204, 21, 0.25), 0 0 14px rgba(250, 204, 21, 0.2) !important;
}

.btn-academy-download-pdf.theme-sosyoloji:hover {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.38) 0%, rgba(234, 179, 8, 0.3) 100%) !important;
  border-color: #FACC15 !important;
  box-shadow: 0 6px 24px rgba(250, 204, 21, 0.5), 0 0 22px rgba(250, 204, 21, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-academy-download-pdf.theme-sosyoloji svg,
.btn-academy-download-pdf.theme-sosyoloji .btn-download-icon {
  color: #FACC15 !important;
}

.academy-pdf-hero-card.theme-sosyoloji {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.12) 0%, rgba(15, 20, 32, 0.98) 100%) !important;
  border-color: rgba(250, 204, 21, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(250, 204, 21, 0.2) !important;
}

.academy-pdf-hero-card.theme-sosyoloji::before {
  background: linear-gradient(180deg, #FACC15, #EAB308) !important;
}

.academy-pdf-hero-card.theme-sosyoloji .pdf-hero-badge {
  color: #FACC15 !important;
  background: rgba(250, 204, 21, 0.14) !important;
  border-color: rgba(250, 204, 21, 0.4) !important;
}

.academy-pdf-hero-card.theme-sosyoloji .btn-academy-download-pdf-hero {
  background: linear-gradient(135deg, #FACC15 0%, #EAB308 50%, #CA8A04 100%) !important;
  color: #1a1d24 !important;
  font-weight: 800 !important;
  border: 1px solid rgba(250, 204, 21, 0.8) !important;
  box-shadow: 0 6px 22px rgba(250, 204, 21, 0.45), 0 0 18px rgba(250, 204, 21, 0.3) !important;
}

.academy-pdf-hero-card.theme-sosyoloji .btn-academy-download-pdf-hero:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(250, 204, 21, 0.7), 0 0 26px rgba(250, 204, 21, 0.5) !important;
  color: #000000 !important;
}

/* Neon Yenilik İktisadı Özel İndirme Teması */
.btn-academy-download-pdf.theme-yenilik {
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.22) 0%, rgba(132, 204, 22, 0.18) 100%) !important;
  border: 1px solid rgba(163, 230, 53, 0.75) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(163, 230, 53, 0.25), 0 0 14px rgba(163, 230, 53, 0.2) !important;
}

.btn-academy-download-pdf.theme-yenilik:hover {
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.38) 0%, rgba(132, 204, 22, 0.3) 100%) !important;
  border-color: #A3E635 !important;
  box-shadow: 0 6px 24px rgba(163, 230, 53, 0.5), 0 0 22px rgba(163, 230, 53, 0.4) !important;
  color: #FFFFFF !important;
}

.btn-academy-download-pdf.theme-yenilik svg,
.btn-academy-download-pdf.theme-yenilik .btn-download-icon {
  color: #A3E635 !important;
}

.academy-pdf-hero-card.theme-yenilik {
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.12) 0%, rgba(15, 20, 32, 0.98) 100%) !important;
  border-color: rgba(163, 230, 53, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(163, 230, 53, 0.2) !important;
}

.academy-pdf-hero-card.theme-yenilik::before {
  background: linear-gradient(180deg, #A3E635, #84CC16) !important;
}

.academy-pdf-hero-card.theme-yenilik .pdf-hero-badge {
  color: #A3E635 !important;
  background: rgba(163, 230, 53, 0.14) !important;
  border-color: rgba(163, 230, 53, 0.4) !important;
}

.academy-pdf-hero-card.theme-yenilik .btn-academy-download-pdf-hero {
  background: linear-gradient(135deg, #A3E635 0%, #84CC16 50%, #65A30D 100%) !important;
  color: #1a1d24 !important;
  font-weight: 800 !important;
  border: 1px solid rgba(163, 230, 53, 0.8) !important;
  box-shadow: 0 6px 22px rgba(163, 230, 53, 0.45), 0 0 18px rgba(163, 230, 53, 0.3) !important;
}

.academy-pdf-hero-card.theme-yenilik .btn-academy-download-pdf-hero:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(163, 230, 53, 0.7), 0 0 26px rgba(163, 230, 53, 0.5) !important;
  color: #000000 !important;
}

/* ==========================================================================
   AKADEMİK ERİŞİM DOĞRULAMASI (PDF PASSWORD GATE) MODAL
   ========================================================================== */
.pdf-gate-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease-out;
}

.pdf-gate-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.pdf-gate-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(165deg, rgba(15, 20, 32, 0.98) 0%, rgba(10, 13, 22, 0.99) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.15);
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  box-sizing: border-box;
}

.pdf-gate-modal-backdrop.active .pdf-gate-modal-card {
  transform: scale(1) translateY(0);
}

.btn-gate-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-gate-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.gate-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.gate-lock-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(16, 185, 129, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric-cyan);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  margin-bottom: 6px;
  animation: pulse-glow 2.5s infinite ease-in-out;
}

.gate-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--electric-cyan);
  letter-spacing: 0.8px;
}

.gate-title {
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.3px;
  margin: 0;
}

.gate-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  max-width: 360px;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.gate-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.gate-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

.gate-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.gate-input-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.gate-input {
  width: 100%;
  padding: 11px 40px 11px 38px;
  background: rgba(7, 10, 18, 0.95);
  border: 1px solid rgba(58, 63, 77, 0.75);
  border-radius: 8px;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1px;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.gate-input:focus {
  border-color: var(--electric-cyan);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  background: rgba(7, 10, 18, 1);
}

.gate-input.input-error {
  border-color: #FF5252 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  color: #FF8A80;
}

.btn-toggle-gate-pwd {
  position: absolute;
  right: 8px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.btn-toggle-gate-pwd:hover,
.btn-toggle-gate-pwd.active {
  color: var(--electric-cyan);
}

.gate-error-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #FF5252;
  margin-top: 6px;
  text-shadow: 0 0 8px rgba(255, 82, 82, 0.35);
}

.gate-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn-gate-cancel {
  flex: 1;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-gate-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.btn-gate-unlock {
  flex: 1.8;
  padding: 11px 18px;
  background: linear-gradient(135deg, #38bdf8 0%, #10b981 100%);
  border: none;
  border-radius: 8px;
  color: #000000;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
  transition: all 0.18s ease;
}

.btn-gate-unlock:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
}

.btn-gate-unlock:active {
  transform: translateY(0);
}

.gate-footer-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px dashed rgba(58, 63, 77, 0.45);
  padding-top: 12px;
  margin-top: 2px;
}

.gate-footer-hint code {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--electric-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

@keyframes gateShake {
  0%, 100% { transform: scale(1) translateX(0); }
  20%, 60% { transform: scale(1) translateX(-7px); }
  40%, 80% { transform: scale(1) translateX(7px); }
}

.gate-shake {
  animation: gateShake 0.4s ease-in-out;
}

/* ==========================================================================
   3. OKUNABİLİRLİK & MERKEZÎ DETAY İÇERİK KAPSAYICISI (max-width: 940px)
   ========================================================================== */

.academy-detail-container {
  max-width: 940px; /* Okuma ergonomisi için sınırlandırıldı */
  margin: 0 auto;
  width: 100%;
  padding-bottom: 90px; /* Alt menü ve footer ile çakışmayı önler */
}

.academy-dynamic-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* ==========================================================================
   DERS NOTLARI FORMATLAMA & TİPOGRAFİ (WIDE LINE-HEIGHT & VURGU RENKLERİ)
   ========================================================================== */

.academy-chapter-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  transition: border-color var(--tr-fast);
}

.academy-chapter-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.chapter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.chapter-num-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ocean-blue);
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.chapter-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.chapter-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

/* Geniş Satır Aralığı (1.8) ile Okuma Ergonomisi */
.chapter-lead-text {
  font-size: 14.5px;
  color: #E2E8F0;
  line-height: 1.8;
  margin-bottom: 18px;
}

.topic-block {
  margin-top: 18px;
  padding: 16px 18px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.topic-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.topic-bullet {
  color: var(--neon-green);
  font-size: 14px;
}

.topic-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.topic-text {
  font-size: 13.8px;
  color: var(--text-primary);
  line-height: 1.82;
  margin-bottom: 10px;
}

/* Vurgu Renkleri */
.hl-neon {
  color: var(--neon-green);
  font-weight: 700;
}

.hl-blue {
  color: var(--ocean-blue);
  font-weight: 700;
}

.hl-cyan {
  color: var(--electric-cyan);
  font-weight: 700;
}

.hl-amber {
  color: var(--amber-gold);
  font-weight: 700;
}

.hl-orange {
  color: var(--bitcoin-orange);
  font-weight: 700;
}

.hl-strong {
  font-weight: 700;
  color: #FFFFFF;
}

/* Formül & Model Kutuları */
.formula-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  margin: 12px 0;
  background-color: #06090f;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-left: 4px solid var(--electric-cyan);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.formula-tex {
  font-size: 14px;
  font-weight: 700;
  color: var(--electric-cyan);
  letter-spacing: 0.5px;
}

.formula-label {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}

/* Grafik Okuma / Analiz Kutusu */
.graph-analysis-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(35, 39, 49, 0.9) 100%);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 14px 0;
}

.graph-analysis-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ocean-blue);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.graph-analysis-desc {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--text-primary);
}

/* Piyasa ve Uygulama Notu */
.academic-callout {
  display: flex;
  gap: 12px;
  background: rgba(16, 185, 129, 0.06);
  border-left: 3px solid var(--neon-green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 18px;
  margin-top: 14px;
}

.callout-icon {
  font-size: 16px;
  line-height: 1.4;
}

.callout-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.callout-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.5px;
}

.callout-body {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.65;
}

/* ==========================================================================
   SINAV ARŞİVİ & ÇÖZÜMLER (TEST KİTABI / QUESTION BANK AESTHETICS)
   ========================================================================== */

.exam-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: all var(--tr-smooth);
}

.exam-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.exam-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.exam-type-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}

.pill-vize { background: rgba(56, 189, 248, 0.15); color: var(--ocean-blue); border: 1px solid rgba(56, 189, 248, 0.3); }
.pill-final { background: rgba(245, 158, 11, 0.15); color: var(--amber-gold); border: 1px solid rgba(245, 158, 11, 0.3); }
.pill-kpss { background: rgba(16, 185, 129, 0.15); color: var(--neon-green); border: 1px solid rgba(16, 185, 129, 0.3); }

.exam-score-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.exam-question-heading {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.45;
}

.exam-question-body {
  font-size: 14px;
  color: #E2E8F0;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* Accordion Çözüm Kutusu Açma Butonu */
.btn-toggle-solution {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.btn-toggle-solution:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--ocean-blue);
  color: #FFFFFF;
}

.btn-toggle-solution.opened {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.btn-toggle-solution svg {
  width: 14px;
  height: 14px;
  transition: transform var(--tr-smooth);
}

.btn-toggle-solution.opened svg {
  transform: rotate(180deg);
}

/* GİZLİ ÇÖZÜM KUTUSU (KOYU GRİ / CHARCOAL TEST KİTABI TASARIMI) */
.exam-solution-box {
  display: none;
  margin-top: 16px;
  background-color: #05070c;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-left: 4px solid var(--neon-green);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  animation: fadeInDown 0.25s ease-out;
}

.exam-solution-box.open {
  display: block;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.solution-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(58, 63, 77, 0.45);
}

.solution-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--neon-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.solution-answer-verdict {
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  background: rgba(16, 185, 129, 0.08);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.solution-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.solution-step-item {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #CBD5E1;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--electric-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  height: fit-content;
  flex-shrink: 0;
  margin-top: 3px;
}

.solution-tip-box {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #E2E8F0;
  line-height: 1.6;
}

.tip-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--amber-gold);
  margin-right: 6px;
}

/* ==========================================================================
   9.5. İİBF AKADEMİSİ: ÜST MODÜL GEÇİŞİ & KURUM SINAVLARI & KARİYER TERMİNALİ
   ========================================================================== */

/* 0. Akademi Üst Modül Geçişi (Müfredat vs Kariyer) */
.academy-mode-nav-wrapper {
  margin-bottom: 22px;
  width: 100%;
}

.academy-mode-nav {
  display: flex;
  gap: 12px;
  background: rgba(12, 16, 26, 0.85);
  padding: 6px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.academy-mode-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--tr-smooth);
  text-align: left;
}

.academy-mode-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: rgba(58, 63, 77, 0.45);
}

.academy-mode-tab-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #FFFFFF;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

.mode-tab-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean-blue);
  flex-shrink: 0;
  transition: all var(--tr-fast);
}

.academy-mode-tab-btn.active .mode-tab-icon {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--electric-cyan);
  color: var(--electric-cyan);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mode-tab-icon.icon-career {
  color: var(--amber-gold);
}

.academy-mode-tab-btn.active .mode-tab-icon.icon-career {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--amber-gold);
  color: var(--amber-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mode-tab-label-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.mode-tab-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.mode-tab-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.academy-mode-tab-btn.active .mode-tab-sub {
  color: var(--text-secondary);
}

.mode-tab-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.academy-mode-tab-btn.active .mode-tab-badge {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--electric-cyan);
}

.badge-career-pulse {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
  color: var(--amber-gold) !important;
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Kariyer Üst Bar */
.career-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 20px;
}

.career-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 800px;
}

.career-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.career-badge-term {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--amber-gold);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.career-main-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.4px;
  margin: 0;
}

.career-main-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.career-top-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.career-stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
}

/* 5 Alt Sekme Gezinti Çubuğu */
.career-subtabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
  -webkit-overflow-scrolling: touch;
}

.career-subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.career-subtab-btn:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.career-subtab-btn.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--ocean-blue);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.career-subtab-btn .subtab-icon {
  font-size: 15px;
}

.career-btn-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--neon-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Panes */
.career-tab-pane {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

.career-tab-pane:not(.active) {
  display: none !important;
}

/* Filtre Çipleri */
.career-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: rgba(12, 16, 26, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.filter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.career-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.career-filter-chip {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
}

.career-filter-chip:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.career-filter-chip.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--electric-cyan);
  color: var(--electric-cyan);
}

/* Atlas Grid & Cards */
.career-atlas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 20px;
}

.career-atlas-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--tr-smooth), border-color var(--tr-smooth), box-shadow var(--tr-smooth);
}

.career-atlas-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.08);
}

.atlas-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.atlas-card-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.atlas-cat-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.badge-sayistay { background: rgba(56, 189, 248, 0.15); color: var(--electric-cyan); border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-kaymakam { background: rgba(251, 113, 133, 0.15); color: #FB7185; border: 1px solid rgba(251, 113, 133, 0.3); }
.badge-ustkurul { background: rgba(179, 136, 255, 0.15); color: #B388FF; border: 1px solid rgba(179, 136, 255, 0.3); }
.badge-vdk { background: rgba(16, 185, 129, 0.15); color: var(--neon-green); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-guy { background: rgba(245, 158, 11, 0.15); color: var(--amber-gold); border: 1px solid rgba(245, 158, 11, 0.3); }

.atlas-term-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: 4px;
}

.atlas-card-title {
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.3px;
}

.atlas-card-inst {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
}

.atlas-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.atlas-flow-box {
  background: rgba(10, 14, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.flow-box-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ocean-blue);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.atlas-flow-steps {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flow-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 8px 10px;
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--electric-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info {
  display: flex;
  flex-direction: column;
}

.step-info strong {
  font-size: 12px;
  color: #FFFFFF;
  line-height: 1.2;
}

.step-info small {
  font-size: 10px;
  color: var(--text-muted);
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 12px;
}

.atlas-details-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atlas-detail-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.detail-text {
  font-size: 13px;
  color: #CBD5E1;
  line-height: 1.55;
  margin: 0;
}

.progress-bar-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.stack-seg {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.dist-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dist-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-secondary);
}

.dist-pill strong {
  color: var(--electric-cyan);
}

.pro-tips-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

/* Matrix Table */
.matrix-ctrl-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.matrix-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 600px;
  width: 100%;
}

.matrix-search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
}

.career-search-input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  transition: border-color var(--tr-fast);
}

.career-search-input:focus {
  border-color: var(--ocean-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.matrix-tag-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.matrix-filter-chip {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
}

.matrix-filter-chip:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.matrix-filter-chip.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--ocean-blue);
  color: var(--ocean-blue);
}

.career-matrix-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.career-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.career-matrix-table th {
  background: rgba(12, 16, 26, 0.95);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-medium);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.career-matrix-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: #CBD5E1;
  vertical-align: middle;
}

.career-matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.puan-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.weight-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.weight-high {
  font-weight: 800;
}

.badge-taban-score {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--neon-green);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.badge-taban-score.score-popular {
  color: var(--amber-gold);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

/* Interview Accordion */
.interview-header-note {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.interview-note-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--ocean-blue);
  letter-spacing: 0.5px;
}

.interview-note-desc {
  font-size: 13px;
  color: #E2E8F0;
  line-height: 1.5;
  margin: 0;
}

.interview-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.interview-cat-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.interview-cat-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.interview-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.interview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--tr-fast);
}

.interview-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.interview-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--tr-fast);
}

.interview-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.03);
}

.q-icon {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--electric-cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.q-title {
  flex: 1;
}

.acc-chevron {
  font-size: 11px;
  color: var(--text-muted);
  transition: transform var(--tr-fast);
}

.interview-toggle-btn.opened .acc-chevron {
  transform: rotate(180deg);
  color: var(--electric-cyan);
}

.interview-answer-panel {
  padding: 0 18px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.answer-content {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #CBD5E1;
}

.answer-tip {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Simulator */
.sim-container-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sim-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
}

.sim-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--neon-green);
  letter-spacing: 0.5px;
}

.sim-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.sim-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.sim-presets-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.sim-preset-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
}

.sim-preset-btn:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-preset-reset {
  color: var(--crimson-red) !important;
}

.sim-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.sim-input-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-subject {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
}

.input-max {
  font-size: 10.5px;
  color: var(--text-muted);
}

.input-row-calc {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.input-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.input-col label {
  font-size: 11px;
  color: var(--text-secondary);
}

.sim-num-input {
  width: 100%;
  padding: 8px 10px;
  background: var(--bg-core);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  outline: none;
  transition: border-color var(--tr-fast);
}

.sim-num-input:focus {
  border-color: var(--neon-green);
}

.net-col {
  flex: 1;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 6px;
  padding: 6px 10px;
}

.sim-net-display {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--electric-cyan);
}

.sim-btn-row {
  display: flex;
  justify-content: center;
}

.btn-calculate-kpss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--neon-green), #00C853);
  color: #000000;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transition: all var(--tr-fast);
}

.btn-calculate-kpss:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.6);
}

.sim-results-wrapper {
  background: rgba(10, 14, 24, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.results-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.results-main-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.results-sub-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--neon-green);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.sim-score-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.score-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--tr-fast);
  position: relative;
  overflow: hidden;
}

.score-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.score-card.highlight {
  border-color: rgba(16, 185, 129, 0.5);
  background: linear-gradient(155deg, rgba(16, 185, 129, 0.08) 0%, rgba(10, 14, 24, 0.95) 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.score-card.highlight:hover {
  border-color: var(--neon-green);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.score-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.score-card-title {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.2px;
  flex: 1;
}

.score-kpss-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  line-height: 1.2;
  flex-shrink: 0;
}

.score-kpss-badge.badge-neon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.score-kpss-badge.badge-cyan {
  background: rgba(56, 189, 248, 0.15);
  color: var(--electric-cyan);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.score-kpss-badge.badge-rose {
  background: rgba(255, 64, 129, 0.15);
  color: #FF4081;
  border: 1px solid rgba(255, 64, 129, 0.4);
}

.score-kpss-badge.badge-blue {
  background: rgba(56, 189, 248, 0.15);
  color: var(--ocean-blue);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.score-kpss-badge.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.score-kpss-badge.badge-purple {
  background: rgba(179, 136, 255, 0.15);
  color: #B388FF;
  border: 1px solid rgba(179, 136, 255, 0.4);
}

.score-kpss-badge.badge-muted {
  background: rgba(148, 163, 184, 0.15);
  color: #94A3B8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.score-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
}

.score-val {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  line-height: 1;
}

.score-card.highlight .score-val {
  color: var(--neon-green);
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.score-desc {
  font-size: 11.5px;
  color: #94A3B8;
  line-height: 1.4;
  margin: 0;
  border-top: 1px dashed rgba(58, 63, 77, 0.45);
  padding-top: 8px;
}

.matching-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 12px 0;
}

.matching-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.matching-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  gap: 12px;
}

.match-agency-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.match-puan-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--ocean-blue);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.match-status-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
}

.match-status-badge.safe {
  background: rgba(16, 185, 129, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.match-status-badge.risky {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.match-status-badge.low {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* Timeline Component */
.timeline-intro-box {
  background: rgba(179, 136, 255, 0.08);
  border: 1px solid rgba(179, 136, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #B388FF;
  letter-spacing: 0.5px;
}

.timeline-heading {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.timeline-desc {
  font-size: 13px;
  color: #CBD5E1;
  margin: 0;
}

.career-vertical-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding: 10px 0;
}

.timeline-item {
  display: flex;
  gap: 20px;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24px;
  flex-shrink: 0;
}

.marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #000000;
  box-shadow: none;
  z-index: 2;
  margin-top: 14px;
}

.marker-line {
  flex: 1;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 4px;
}

.dot-cyan { background-color: var(--electric-cyan); color: var(--electric-cyan); }
.dot-neon { background-color: var(--neon-green); color: var(--neon-green); }
.dot-amber { background-color: var(--amber-gold); color: var(--amber-gold); }
.dot-rose { background-color: #FB7185; color: #FB7185; }
.dot-purple { background-color: #B388FF; color: #B388FF; }

.timeline-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--tr-fast), border-color var(--tr-fast);
}

.timeline-card:hover {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.timeline-card.highlight-neon {
  border-left: 3px solid var(--neon-green);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), var(--bg-card));
}

.timeline-card.highlight-rose {
  border-left: 3px solid #FB7185;
}

.timeline-card.highlight-gold {
  border-left: 3px solid var(--amber-gold);
}

.t-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.t-date-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(58, 63, 77, 0.45);
  padding: 3px 8px;
  border-radius: 4px;
}

.t-cat-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.t-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.t-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.t-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.t-checklist span {
  font-size: 11.5px;
  color: #94A3B8;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .sim-score-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .score-card {
    padding: 13px 14px;
    gap: 10px;
  }
  .score-val {
    font-size: 24px;
  }
  .score-card-title {
    font-size: 13px;
  }
}

/* ==========================================================================
   10. MOBİL ALT GEZİNME ÇUBUĞU (BOTTOM NAV BAR)
   PC'de kesinlikle gizlidir, cep telefonlarında (< 900px) altta görünür.
   ========================================================================== */

.bottom-nav-bar {
  display: none; /* Desktop'ta gizli */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background-color: rgba(35, 39, 49, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  z-index: 60;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--tr-fast);
  position: relative;
}

.nav-icon-wrap {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.nav-label {
  font-size: 11px;
  font-weight: 600;
}

.nav-active-pill {
  position: absolute;
  top: 6px;
  width: 16px;
  height: 3px;
  background-color: var(--ocean-blue);
  border-radius: 4px;
  opacity: 0;
  transition: opacity var(--tr-fast), transform var(--tr-fast);
}

.nav-item.active {
  color: var(--ocean-blue);
}

.nav-item.active .nav-active-pill {
  opacity: 1;
  transform: translateY(0);
}

/* Snackbar Toast Bildirimi */
.terminal-snackbar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.terminal-snackbar.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.snackbar-content {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #1A2234;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
}

.terminal-snackbar.warning .snackbar-content {
  border-color: rgba(245, 158, 11, 0.5);
  background-color: #2A2012;
}

.snackbar-icon {
  width: 18px;
  height: 18px;
  color: var(--ocean-blue);
}

.terminal-snackbar.warning .snackbar-icon {
  color: var(--amber-gold);
}

.bottom-spacer {
  height: 30px;
}

/* ==========================================================================
   AI ANALİZ SEKME STİLLERİ & SİBER-GLOW EFEKTLERİ
   ========================================================================== */

.ai-tag-glow {
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid rgba(157, 78, 221, 0.35);
  color: #C77DFF;
  text-shadow: 0 0 10px rgba(199, 125, 255, 0.4);
}

.ai-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ai-model-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(123, 44, 191, 0.15);
  border: 1px solid rgba(157, 78, 221, 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #E0AAFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ai-accuracy-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-green);
  font-weight: 600;
  padding: 5px 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
}

/* Glow Efektleri */
.glow-purple {
  background: radial-gradient(circle at top right, rgba(157, 78, 221, 0.18), transparent 70%);
}

.glow-cyan {
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 70%);
}

/* 1. Üst Kısım: Korku & Açgözlülük Kadranı Kartı */
.ai-gauge-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(157, 78, 221, 0.25);
  background: linear-gradient(145deg, rgba(15, 18, 28, 0.95), rgba(20, 16, 36, 0.85));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(157, 78, 221, 0.08);
  padding: 24px 28px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai-gauge-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.gauge-title-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #C77DFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ai-gauge-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gauge-update-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.btn-refresh-gauge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.btn-refresh-gauge:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--electric-cyan);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-refresh-gauge.loading svg {
  animation: spin 0.75s linear infinite;
  color: var(--electric-cyan);
}

#ai-gauge-needle-group {
  transform-origin: 160px 150px;
  transition: transform 1.2s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.ai-gauge-visual-wrap {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 8px 0;
}

.gauge-svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 4px 16px rgba(16, 185, 129, 0.15));
}

.gauge-score-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -12px;
  margin-bottom: 14px;
}

.gauge-score-value {
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 900;
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
  line-height: 1;
}

.gauge-score-label {
  display: inline-block;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 6px;
  border-radius: var(--radius-sm);
}

.gauge-sub-info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

.gauge-legend-row {
  width: 100%;
  max-width: 520px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(58, 63, 77, 0.45);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.legend-point {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-point.active-point {
  color: var(--neon-green);
  font-weight: 800;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

/* 2. Orta Kısım: Sentiment Kartı & Trendler */
.ai-sentiment-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(56, 189, 248, 0.25);
  background: linear-gradient(145deg, rgba(13, 20, 32, 0.95), rgba(18, 25, 42, 0.85));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(56, 189, 248, 0.06);
  padding: 24px 28px;
  margin-bottom: 24px;
}

.sentiment-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.sentiment-status-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sentiment-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.sentiment-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.sentiment-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.sentiment-score-badge {
  text-align: right;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.sentiment-score-badge .score-num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--neon-green);
  display: block;
}

.sentiment-score-badge .score-type {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.sentiment-breakdown-bar {
  display: flex;
  height: 20px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 20px;
  color: #070B14;
}

.bar-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
  transition: width var(--tr-smooth);
}

.bar-bull {
  background: linear-gradient(90deg, #10b981, #00C853);
  color: #051A0D;
}

.bar-neutral {
  background: linear-gradient(90deg, #FFD54F, #FFB300);
  color: #261A00;
}

.bar-bear {
  background: linear-gradient(90deg, #FF5252, #D50000);
  color: #FFFFFF;
}

.ai-trends-wrapper {
  padding-top: 16px;
  border-top: 1px solid rgba(58, 63, 77, 0.45);
}

.trends-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.trends-tag-list {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trend-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.35);
  color: #E0AAFF;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.trend-chip:hover {
  background: rgba(157, 78, 221, 0.22);
  border-color: #C77DFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(157, 78, 221, 0.3);
}

.trend-chip-glow {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.trend-vol {
  font-size: 10px;
  color: var(--electric-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 10px;
}

/* 3. En Alt Kısım: 3 Maddelik Yapay Zeka Piyasa Özeti */
.ai-summary-section {
  margin-bottom: 24px;
}

.ai-section-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ai-section-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: #C77DFF;
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid rgba(157, 78, 221, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
}

.ai-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
}

.ai-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ai-insight-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(157, 78, 221, 0.25);
  background: linear-gradient(160deg, rgba(16, 20, 32, 0.95), rgba(22, 18, 38, 0.9));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--tr-smooth), border-color var(--tr-smooth);
}

.ai-insight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 125, 255, 0.5);
  box-shadow: 0 8px 30px rgba(157, 78, 221, 0.2);
}

.insight-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.insight-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
  color: #C77DFF;
  background: rgba(157, 78, 221, 0.18);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.insight-confidence {
  font-size: 10px;
  color: var(--neon-green);
  font-weight: 600;
}

.insight-headline {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 10px;
}

.insight-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* Yasal Uyarı (Disclaimer) Alt Bilgisi */
.terminal-disclaimer {
  width: 100%;
  padding: 8px 24px;
  background-color: rgba(7, 10, 18, 0.96);
  border-top: 1px solid rgba(58, 63, 77, 0.45);
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  justify-content: center;
  align-items: center;
  flex-shrink: 0 !important;
  z-index: 75 !important;
  box-sizing: border-box;
}

.disclaimer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 1100px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  line-height: 1.45;
  color: #94A3B8;
  opacity: 0.85;
  text-align: center;
  transition: opacity var(--tr-fast);
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

.disclaimer-content:hover {
  opacity: 1;
}

.disclaimer-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #94A3B8;
}

.disclaimer-content strong {
  color: #CBD5E1;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.disclaimer-text,
.disclaimer-content span {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

/* ==========================================================================
   10.5. MASAÜSTÜ KOMPAKT FİNANS TERMİNALİ DÜZENİ (DESKTOP WORKSTATION - >= 1024px)
   Tarayıcı %100 yakınlaştırmada iken Bloomberg profesyonel kompakt görünümü (%85 zoom)
   ve optimize edilmiş ferah kart içi boşluklar (padding/margin küçültmesi)
   ========================================================================== */

@media (min-width: 1024px) {
  /* 1. Global Kompakt Düzen: Masaüstü için %85 ölçek */
  body {
    zoom: 0.85;
  }

  /* 2. Padding & Spacing Rahatlatması: Kaydırmasız tek ekranda geniş görünüm */
  .screen-scrollable {
    padding: 14px 22px 36px 22px;
  }

  /* Başlık ve Üst Bölüm Boşlukları */
  .dashboard-header-row {
    margin-bottom: 14px;
    gap: 12px;
  }

  .section-title {
    font-size: 20px;
    letter-spacing: -0.3px;
  }

  .section-tag-live {
    font-size: 10.5px;
  }

  /* Piyasa Gösterge Gridleri & Kart Dolguları (Tek Ekranda 5'li ve 3'lü Yatay Sıra) */
  .dashboard-grid-quad {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 12px;
    margin-bottom: 16px;
  }

  .dashboard-grid-macro {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px;
    margin-bottom: 18px;
  }

  .bloomberg-card {
    padding: 16px 18px;
    border-radius: var(--radius-md);
  }

  .fx-card-top {
    margin-bottom: 10px;
  }

  .macro-card-header {
    margin-bottom: 10px;
  }

  

  /* Analiz ve Hesaplama Modülleri (DCA, IPO, Saha, Matris) */
  .calc-desktop-split {
    gap: 16px;
  }

  .calc-card {
    padding: 18px 20px;
    border-radius: var(--radius-md);
  }

  .calc-card-header {
    margin-bottom: 14px;
  }

  .calc-title {
    font-size: 17px;
  }

  .calc-subtitle {
    font-size: 12px;
  }

  .calc-form {
    gap: 12px;
  }

  .calc-input-group {
    margin-bottom: 10px;
  }

  /* Haberler Akışı */
  .news-grid-responsive {
    gap: 14px;
  }

  .news-card {
    padding: 14px 16px;
  }

  .news-headline {
    font-size: 14.5px;
  }

  /* Kripto Listesi */
  .crypto-search-wrap {
    margin-bottom: 12px;
  }

  .crypto-grid-responsive {
    gap: 12px;
  }

  .crypto-row-item {
    padding: 10px 14px;
  }

  /* Akademi & Kariyer Terminali Desktop Rahatlatması */
  .academy-mode-nav-wrapper {
    margin-bottom: 14px;
  }

  .academy-top-bar,
  .career-top-bar {
    padding: 16px 20px;
    margin-bottom: 14px;
  }

  .academy-main-title,
  .career-main-title {
    font-size: 18px;
  }

  .academy-scope-banner {
    padding: 12px 16px;
    margin-bottom: 16px;
  }

  .career-subtabs-nav {
    margin-bottom: 14px;
  }

  .career-filter-bar {
    margin-bottom: 14px;
  }

  .career-atlas-grid {
    gap: 14px;
  }

  .career-atlas-card {
    padding: 18px 20px;
  }

  .sim-container-card {
    padding: 18px 20px;
  }

  .sim-form-grid {
    gap: 12px;
  }

  .sim-input-card {
    padding: 12px 14px;
  }

  .sim-score-cards-grid {
    gap: 12px;
  }

  .score-card {
    padding: 14px 16px;
  }

  .career-vertical-timeline {
    padding: 8px 0;
  }

  .timeline-card {
    padding: 16px 18px;
  }
}

/* Fallback for browsers without CSS zoom support */
@supports not (zoom: 1) {
  @media (min-width: 1024px) {
    html {
      font-size: 13.5px;
    }
  }
}

/* ==========================================================================
   11. RESPONSIVE MEDYA SORGULARI (BREAKPOINTS)
   ========================================================================== */

/* Geniş Ekran / Orta Ekranlar (1440px altı) */
@media (max-width: 1440px) {
  .dashboard-grid-quad {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet ve Orta Ekranlar (1200px altı) */
@media (max-width: 1200px) {
  .dashboard-grid-quad {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid-macro {
    grid-template-columns: 1fr;
  }
  .calc-desktop-split {
    grid-template-columns: 1fr;
  }
  .ai-insights-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. RESPONSIVE MEDYA SORGULARI (BREAKPOINTS)
   ========================================================================== */

/* Genel Taşma Önleyici Kurallar */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.terminal-shell,
.terminal-main-viewport,
.screens-viewport,
.screen-tab {
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: hidden !important;
}

/* Tablet ve Orta Ekranlar (1200px altı) */
@media (max-width: 1200px) {
  .dashboard-grid-quad {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid-macro {
    grid-template-columns: 1fr;
  }
  .calc-desktop-split {
    grid-template-columns: 1fr;
  }
  .ai-insights-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet ve Geniş Mobil Ekranlar (899px altı): Yan Menü Gizlenir, Alt Menü Aktifleşir */
@media (max-width: 899px) {
  :root {
    --bottom-nav-height: 64px;
  }

  .terminal-sidebar {
    display: none !important; /* Sol menüyü kaldır */
  }

  .bottom-nav-bar {
    display: flex !important; /* Alt menüyü göster */
    height: var(--bottom-nav-height) !important;
    padding: 0 4px calc(env(safe-area-inset-bottom, 0px)) 4px !important;
    background-color: rgba(32, 36, 45, 0.97) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.6) !important;
    z-index: 90 !important;
  }

  .nav-item {
    height: 100% !important;
    min-height: 48px !important;
    padding: 6px 2px !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    transition: transform 0.12s ease, background-color 0.15s ease !important;
    border-radius: 6px !important;
  }

  .nav-item:active {
    transform: scale(0.93) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
  }

  .nav-icon-wrap {
    width: 24px !important;
    height: 24px !important;
  }

  .nav-icon-wrap svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 2.2 !important;
  }

  .nav-label {
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 54px !important;
    letter-spacing: -0.2px !important;
  }

  .nav-item.active .nav-label {
    color: var(--ocean-blue) !important;
    font-weight: 700 !important;
  }

  .nav-active-pill {
    top: 3px !important;
    width: 14px !important;
    height: 3px !important;
  }

  .topbar-mobile-brand {
    display: flex !important;
  }

  .topbar-actions .btn-text-desktop {
    display: none !important;
  }

  .topbar-session-badge {
    display: none !important;
  }

  .screen-scrollable {
    padding: 14px 14px 80px 14px !important; /* pb-20: alttan yeterli padding ile içeriklerin footer arkasında kalmasını önler */
    overflow-x: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .news-header-actions {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .terminal-snackbar {
    left: 14px !important;
    right: 14px !important;
    bottom: calc(var(--bottom-nav-height) + 12px) !important;
  }

  .terminal-disclaimer {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: var(--bottom-nav-height) !important;
    padding: 6px 12px !important;
    z-index: 75 !important;
    background-color: rgba(7, 10, 18, 0.98) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-top: 1px solid rgba(58, 63, 77, 0.45) !important;
    box-sizing: border-box !important;
  }

  .disclaimer-content {
    font-size: 10px !important;
    line-height: 1.35 !important;
    gap: 6px !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    opacity: 0.85 !important;
  }

  .disclaimer-text,
  .disclaimer-content span {
    font-size: 10px !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .disclaimer-icon {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0 !important;
  }
}

/* ==========================================================================
   MOBİL EKRANLAR (max-width: 768px): TAM DETAYLI MOBİL UYUMLULUK
   ========================================================================== */
@media (max-width: 768px) {
  /* 0. KONTEYNER & TAŞMA GÜVENLİĞİ (OVERFLOW-X SAFETY & MOBİL PX-3 DÜZENİ) */
  html, body, #root, #app,
  .terminal-shell,
  .terminal-main-viewport,
  .screens-viewport,
  .screen-tab {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .screen-scrollable {
    padding-left: 12px !important;  /* px-3: ekran genişliğini maksimum verimle kullan */
    padding-right: 12px !important; /* px-3: sağa sola kaymayı engeller */
    padding-top: 10px !important;
    padding-bottom: calc(var(--bottom-nav-height) + 24px) !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch;
  }

  /* 1. ÜST BAR (TOPBAR) & TICKER KESİNTİSİZ MOBİL AKIŞI */
  .terminal-topbar {
    height: auto !important;
    min-height: auto !important;
    padding: 8px 12px 6px 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }

  .topbar-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .topbar-mobile-brand {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .topbar-mobile-title {
    font-size: 15px !important;
  }

  .topbar-actions {
    gap: 8px !important;
  }

  .topbar-clock {
    font-size: 11px !important;
    padding: 3px 6px !important;
  }

  .topbar-btn {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
  }

  /* Ticker mobilde ekranın %100'üne oturur ve düzgün akar */
  .topbar-ticker-container {
    width: 100% !important;
    height: 26px !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    border-top: 1px solid rgba(58, 63, 77, 0.45) !important;
    mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent) !important;
  }

  .ticker-content {
    gap: 20px !important;
    animation-duration: 32s !important;
  }

  .ticker-item {
    font-size: 11px !important;
    gap: 6px !important;
  }

  /* 2. TÜM VERİ KARTLARINI MOBİLDE %100 TEK SÜTUNA DİZME */
  .dashboard-grid-quad {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 14px !important;
  }

  .dashboard-grid-macro {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 14px !important;
  }

  .news-grid-responsive {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .crypto-grid-responsive {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .calc-desktop-split {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .ai-insights-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  /* Kartların genişliği ve taşma koruması */
  .bloomberg-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 14px !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .card-title {
    font-size: 15px !important;
  }

  .metric-value {
    font-size: 20px !important;
  }

  .section-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .section-tag-live {
    font-size: 10px !important;
    padding: 2px 7px !important;
  }

  /* Altın kartı mobilde tek sütun içi düzen */
  .gold-card-layout {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .gold-right-side {
    align-items: flex-start !important;
    width: 100% !important;
  }

  .gold-price-val {
    font-size: 18px !important;
  }

  /* Kripto özet kartı içi */
  .crypto-rates-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .crypto-cell-divider {
    display: none !important;
  }

  /* BIST kartı metrik ve çubuk */
  .bist-metric-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .chart-bar-label {
    font-size: 10.5px !important;
  }

  /* Geliştirici Simülasyon Paneli */
  

  .quick-panel-buttons {
    width: 100% !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .quick-panel-buttons .btn-sm {
    width: 100% !important;
    flex: none !important;
  }

  /* Haber ekranı filtreleri ve kartları */
  .news-feed-meta-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .news-sources-filter {
    width: 100% !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .news-sources-filter::-webkit-scrollbar {
    display: none !important;
  }

  .source-filter-btn {
    flex-shrink: 0 !important;
    padding: 6px 12px !important;
    font-size: 11.5px !important;
  }

  .news-card {
    padding: 14px 14px !important;
  }

  .news-headline {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
  }

  .news-summary {
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
  }

  .news-meta-footer {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  /* Kripto arama ve varlık satırları */
  .crypto-search-wrap {
    margin-bottom: 12px !important;
  }

  .crypto-search-bar {
    padding: 8px 12px !important;
  }

  .crypto-search-input {
    font-size: 13px !important;
  }

  .crypto-meta-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-bottom: 12px !important;
  }

  .crypto-row-item {
    padding: 10px 12px !important;
    width: 100% !important;
  }

  .coin-avatar {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }

  .coin-symbol-name {
    font-size: 13px !important;
  }

  .coin-full-name {
    font-size: 11px !important;
  }

  .coin-price-val {
    font-size: 13.5px !important;
  }

  .coin-change-pill {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }

  /* Analiz sekmesi toggle bar */
  .calculator-toggle-bar {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    padding: 4px !important;
    margin-bottom: 16px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .calculator-toggle-bar::-webkit-scrollbar {
    display: none !important;
  }

  .calc-toggle-btn {
    flex-shrink: 0 !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }

  /* AI Analiz ekranı trend çipleri */
  .ai-trend-chips {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .trend-chip {
    padding: 4px 8px !important;
    font-size: 11px !important;
  }

  /* ========================================================================
     3. İKTİSAT KÜTÜPHANESİ (İİBF AKADEMİSİ) MOBİL REVİZYONU - MASTER-DETAIL
     ======================================================================== */
  .academy-screen-container {
    padding: 10px 12px calc(var(--bottom-nav-height) + 24px) 12px !important; /* px-3 */
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  /* Üst Modül Geçiş Sekmeleri (Müfredat vs Kurum Sınavları) - Yatay Kaydırma */
  .academy-mode-nav-wrapper {
    margin-bottom: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .academy-mode-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 8px !important; /* gap-2 */
    padding: 3px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .academy-mode-nav::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .academy-mode-tab-btn {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 12px !important;
    white-space: nowrap !important;
    border-radius: var(--radius-md) !important;
    text-align: left !important;
  }

  .academy-mode-tab-btn .mode-tab-icon {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }

  .academy-mode-tab-btn .mode-tab-icon svg {
    width: 14px !important;
    height: 14px !important;
  }

  .academy-mode-tab-btn .mode-tab-label-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
  }

  .academy-mode-tab-btn .mode-tab-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .academy-mode-tab-btn .mode-tab-sub {
    display: none !important; /* Mobilde alt açıklama gizlenerek butonlar tek satır kompakt pill kalır */
  }

  .academy-mode-tab-btn .mode-tab-badge {
    font-size: 8.5px !important;
    padding: 2px 5px !important;
    white-space: nowrap !important;
  }

  .academy-top-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding-bottom: 10px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .academy-main-title {
    font-size: 16.5px !important; /* text-lg / text-xl hiyerarşisi */
    line-height: 1.28 !important;
    word-break: break-word !important;
  }

  .academy-main-desc {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    margin-top: 2px !important;
  }

  .academy-top-stats {
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .academy-stat-pill {
    padding: 4px 8px !important;
    font-size: 10px !important;
  }

  /* 1. MASTER VIEW (Müfredat Dersleri): Mobilde Tek Sütun Kartlar */
  .academy-master-view {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 24px !important;
  }

  .academy-courses-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
  }

  .academy-course-card {
    padding: 12px 14px !important; /* p-3.5 */
    border-radius: var(--radius-md) !important;
  }

  .academy-course-card:active {
    transform: scale(0.985);
  }

  .course-card-title {
    font-size: 15px !important;
  }

  .course-card-desc {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .academy-scope-banner {
    padding: 10px 12px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .scope-banner-title {
    font-size: 11px !important;
  }

  .scope-banner-desc {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  /* 2. DETAIL VIEW (Ders Detay & Notlar): Mobilde Tam Ekran Akıcı Görünüm */
  .academy-detail-view {
    width: 100% !important;
  }

  .academy-detail-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    margin-bottom: 14px !important;
  }

  .btn-academy-back {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
  }

  .academy-active-course-meta {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }

  .academy-active-course-title {
    font-size: 15px !important;
    max-width: 100% !important;
  }

  /* Alt Sekme Buton Grubu (Ders Notları & Sınav Arşivi) */
  .academy-subtab-switchers {
    width: 100% !important;
    display: flex !important;
    background: var(--bg-card) !important;
    padding: 3px !important;
    border-radius: var(--radius-md) !important;
    box-sizing: border-box !important;
    margin-bottom: 14px !important;
  }

  .subtab-btn {
    flex: 1 !important;
    justify-content: center !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    min-height: 40px !important;
  }

  .academy-detail-right-actions {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .btn-academy-download-pdf {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
  }

  .academy-pdf-hero-card {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 16px 14px !important;
    gap: 14px !important;
  }

  .btn-academy-download-pdf-hero {
    width: 100% !important;
    justify-content: center !important;
    font-size: 13.5px !important;
    box-sizing: border-box !important;
  }

  /* Kapsayıcı ve Okunabilirlik */
  .academy-detail-container {
    max-width: 100% !important;
    padding: 0 0 calc(var(--bottom-nav-height) + 30px) 0 !important;
  }

  /* Ders Notu Kartları ve Tipografi */
  .academy-notes-view,
  .academy-exams-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .academy-chapter-card {
    padding: 16px 14px !important;
    border-radius: var(--radius-md) !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .chapter-title {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .chapter-lead-text {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .topic-block {
    padding: 12px 10px !important;
    margin-top: 12px !important;
  }

  .topic-title {
    font-size: 14px !important;
  }

  .topic-text {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  .formula-block {
    padding: 10px 12px !important;
    overflow-x: auto !important;
    max-width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .formula-tex {
    font-size: 13.5px !important;
  }

  /* Sınav Soruları Kartları & Çözüm Butonu */
  .exam-item-card {
    padding: 16px 14px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .exam-question-text {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  .btn-toggle-solution {
    padding: 10px 12px !important;
    font-size: 12.5px !important;
    min-height: 44px !important;
    width: 100% !important;
  }

  .solution-panel {
    padding: 14px 12px !important;
  }

  .solution-step-text {
    font-size: 13px !important;
  }

  /* ========================================================================
     4. KURUM SINAVLARI & KARİYER TERMİNALİ MOBİL REVİZYONU
     Finans terminali estetiğinde kompakt, tek satır yatay kaydırmalı ve p-3/p-3.5 dolgulu
     ======================================================================== */
  .academy-career-view {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Kariyer Üst Bar ve Başlık Ölçeklemesi (text-lg / text-xl hiyerarşisi, max 2 satır) */
  .career-top-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding-bottom: 10px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .career-title-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .career-main-title {
    font-size: 16.5px !important; /* text-lg / text-xl: max 2 satır */
    line-height: 1.28 !important;
    letter-spacing: -0.3px !important;
    margin: 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  .career-main-desc {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
  }

  .career-top-stats {
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .career-stat-pill {
    padding: 4px 8px !important;
    font-size: 10px !important;
  }

  /* 5 Alt Sekme Gezinti Çubuğu: Tek Satır Yatay Akış (Horizontal Scroll, no-scrollbar, gap-2) */
  .career-subtabs-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 8px !important; /* gap-2 */
    padding: 2px 0 6px 0 !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .career-subtabs-nav::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .career-subtab-btn {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 12px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    border-radius: var(--radius-md) !important;
  }

  .career-subtab-btn .subtab-icon {
    font-size: 12.5px !important;
  }

  .career-subtab-btn .career-btn-pill {
    font-size: 8px !important;
    padding: 1px 4px !important;
  }

  .career-tab-pane {
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Kategori Filtre Hap Butonları: Tek Satır Yatay Akış (Horizontal Scroll, no-scrollbar) */
  .career-filter-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .career-filter-bar .filter-label {
    font-size: 10px !important;
    color: var(--text-muted) !important;
  }

  .career-filter-chips {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 6px !important;
    padding-bottom: 2px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .career-filter-chips::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .career-filter-chip {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
  }

  /* Puan Matrisi Filtreleri: Tek Satır Yatay Akış */
  .matrix-ctrl-bar {
    gap: 10px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .matrix-tag-filters {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 6px !important;
    padding-bottom: 2px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .matrix-tag-filters::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .matrix-filter-chip {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 5px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
  }

  /* Simülatör Hızlı Şablon Butonları: Tek Satır Yatay Akış */
  .sim-presets-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    gap: 6px !important;
    padding-bottom: 2px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .sim-presets-wrap::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .sim-presets-wrap .preset-label {
    flex: 0 0 auto !important;
    font-size: 10px !important;
    align-self: center !important;
  }

  .sim-preset-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 5px 9px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
  }

  /* Kurum Kartları Grid ve p-3.5 (12-14px) İç Dolgu Sıkılaştırması */
  .career-atlas-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .career-atlas-card {
    padding: 12px 14px !important; /* p-3.5 */
    gap: 12px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .atlas-card-header {
    gap: 4px !important;
    padding-bottom: 10px !important;
  }

  .atlas-card-title {
    font-size: 15px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.2px !important;
  }

  .atlas-card-inst {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  .atlas-flow-box {
    padding: 10px 12px !important;
    border-radius: var(--radius-sm) !important;
  }

  .flow-box-title {
    font-size: 9.5px !important;
    margin-bottom: 8px !important;
  }

  .atlas-flow-steps {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }

  .atlas-flow-steps .flow-step {
    padding: 6px 10px !important;
    gap: 8px !important;
  }

  .atlas-flow-steps .flow-arrow {
    text-align: center !important;
    transform: rotate(90deg) !important;
    margin: -2px 0 !important;
    font-size: 10px !important;
  }

  .atlas-details-grid {
    gap: 10px !important;
  }

  .atlas-detail-item .detail-label {
    font-size: 10px !important;
  }

  .atlas-detail-item .detail-text {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }

  .stack-seg {
    font-size: 10px !important;
    padding: 3px 6px !important;
  }

  .dist-pill {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }

  .pro-tips-box {
    padding: 10px 12px !important;
    font-size: 11.5px !important;
  }

  /* Puan Simülatörü: Girdi Kutuları ve Puan Kartları Hiyerarşisi */
  .sim-container-card {
    padding: 12px 14px !important; /* p-3.5 */
    gap: 14px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .sim-header {
    gap: 6px !important;
    padding-bottom: 10px !important;
  }

  .sim-title {
    font-size: 15px !important;
  }

  .sim-desc {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }

  .sim-form-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .sim-input-card {
    padding: 10px 12px !important; /* p-3 */
    gap: 8px !important;
    border-radius: var(--radius-sm) !important;
  }

  .input-card-header .input-subject {
    font-size: 11.5px !important; /* text-xs */
  }

  .input-card-header .input-max {
    font-size: 10px !important;
  }

  .input-col label {
    font-size: 10px !important;
    color: var(--text-secondary) !important;
  }

  .sim-num-input {
    font-size: 13px !important;
    padding: 5px 8px !important;
    height: 34px !important;
    border-radius: 5px !important;
  }

  .net-col {
    padding: 5px 8px !important;
  }

  .sim-net-display {
    font-size: 13px !important;
  }

  .btn-calculate-kpss {
    width: 100% !important;
    padding: 11px 18px !important;
    font-size: 13.5px !important;
    border-radius: var(--radius-sm) !important;
  }

  .sim-results-wrapper {
    padding: 12px 14px !important; /* p-3.5 */
    gap: 12px !important;
    border-radius: var(--radius-md) !important;
  }

  .results-top-bar {
    padding-bottom: 10px !important;
  }

  .results-main-title {
    font-size: 13.5px !important;
  }

  .results-sub-tag {
    font-size: 9.5px !important;
    padding: 2px 6px !important;
  }

  .sim-score-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .score-card {
    padding: 10px 12px !important; /* p-3 */
    gap: 8px !important;
    border-radius: var(--radius-sm) !important;
  }

  .score-card-title {
    font-size: 12px !important; /* text-xs */
    line-height: 1.3 !important;
  }

  .score-kpss-badge {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }

  .score-val {
    font-size: 20px !important;
    line-height: 1.1 !important;
  }

  .score-desc {
    font-size: 10.5px !important; /* text-xs */
    line-height: 1.35 !important;
    padding-top: 6px !important;
  }

  .matching-title {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }

  .matching-list {
    gap: 6px !important;
  }

  .matching-row {
    padding: 8px 10px !important;
    font-size: 11px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .match-agency-info {
    width: 100% !important;
    justify-content: space-between !important;
    font-size: 11.5px !important;
  }

  .match-status-badge {
    font-size: 9.5px !important;
    padding: 2px 6px !important;
  }

  /* Sözlü Mülakat Kartları & Akordeon */
  .interview-header-note {
    padding: 10px 12px !important;
    gap: 4px !important;
    border-radius: var(--radius-sm) !important;
  }

  .interview-note-badge {
    font-size: 9.5px !important;
  }

  .interview-note-desc {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }

  .interview-accordion-container {
    gap: 14px !important;
  }

  .interview-cat-block {
    gap: 8px !important;
  }

  .interview-cat-title {
    font-size: 13.5px !important;
  }

  .interview-card {
    border-radius: var(--radius-sm) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .interview-toggle-btn {
    padding: 10px 12px !important; /* p-3 */
    font-size: 12.5px !important;
    gap: 8px !important;
  }

  .interview-toggle-btn .q-icon {
    font-size: 9.5px !important;
    padding: 2px 5px !important;
  }

  .interview-toggle-btn .q-title {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .interview-answer-panel {
    padding: 0 12px 12px 12px !important;
  }

  .answer-content {
    font-size: 12px !important;
    line-height: 1.55 !important;
    padding-top: 10px !important;
    gap: 8px !important;
  }

  .answer-tip {
    font-size: 10.5px !important;
    padding: 6px 10px !important;
  }

  /* Puan Matrisi Arama & Tablo */
  .matrix-search-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  .career-search-input {
    font-size: 12px !important;
    padding: 8px 10px 8px 34px !important;
    height: 36px !important;
  }

  .matrix-search-icon {
    left: 10px !important;
  }

  .career-matrix-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: var(--radius-md) !important;
  }

  .career-matrix-table th,
  .career-matrix-table td {
    padding: 9px 10px !important;
    font-size: 11px !important;
  }

  .puan-pill {
    font-size: 10px !important;
    padding: 2px 5px !important;
  }

  .badge-taban-score {
    font-size: 10px !important;
    padding: 2px 5px !important;
  }

  /* Takvim Bileşeni */
  .timeline-intro-box {
    padding: 10px 12px !important;
    gap: 4px !important;
  }

  .timeline-heading {
    font-size: 14px !important;
  }

  .timeline-desc {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }

  .timeline-item {
    gap: 10px !important;
  }

  .timeline-card {
    padding: 12px 14px !important; /* p-3.5 */
    border-radius: var(--radius-sm) !important;
  }

  .t-card-title {
    font-size: 13px !important;
  }

  .t-card-desc {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }
}

/* Küçük Ekran Telefonlar (max-width: 480px) İnce Ayarları */
@media (max-width: 480px) {
  .topbar-mobile-title {
    font-size: 14px !important;
  }

  .topbar-clock {
    display: none !important; /* En dar telefonlarda alandan tasarruf */
  }

  .nav-label {
    font-size: 9.5px !important;
    max-width: 48px !important;
  }

  .course-card-title {
    font-size: 15px !important;
  }

  .academy-active-course-title {
    font-size: 14px !important;
  }

  .subtab-btn {
    font-size: 11.5px !important;
    padding: 6px 8px !important;
  }

  .terminal-disclaimer {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 5px 10px !important;
    z-index: 75 !important;
  }

  .disclaimer-content {
    font-size: 9.5px !important;
    line-height: 1.3 !important;
    gap: 5px !important;
  }

  .disclaimer-text,
  .disclaimer-content span {
    font-size: 9.5px !important;
  }

  .career-main-title {
    font-size: 15px !important;
  }

  .atlas-card-title {
    font-size: 14px !important;
  }

  .sim-title {
    font-size: 14px !important;
  }

  .pdf-gate-modal-card {
    padding: 20px 16px 18px 16px !important;
    gap: 14px !important;
  }

  .gate-lock-icon-wrap {
    width: 44px !important;
    height: 44px !important;
  }

  .gate-title {
    font-size: 16px !important;
  }

  .gate-desc {
    font-size: 11.5px !important;
  }

  .btn-gate-unlock {
    font-size: 12.5px !important;
    padding: 10px 12px !important;
  }

  .btn-gate-cancel {
    font-size: 12px !important;
    padding: 10px 10px !important;
  }
}

/* ==========================================================================
   NETLIFY ROZETİ, DRAWER & FLOATING LOGO ENGELLEYİCİ
   Sağ alt köşede çıkan Netlify Drawer, Feedback, Badge veya Powered by logolarını kökten gizler
   ========================================================================== */
#netlify-feedback,
#netlify-drawer,
.netlify-drawer,
.netlify-badge,
[data-netlify-deploy-id],
[data-netlify-feedback],
a[href*="netlify.com"],
a[href*="netlify.app"],
img[src*="netlify"],
svg[class*="netlify"],
iframe[src*="netlify"],
div[class*="netlify"],
div[id*="netlify"],
#netlify-identity-widget,
.netlify-feedback-drawer,
.netlify-cdp-loader {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  z-index: -9999 !important;
}

/* Sağ alt köşede sonradan enjekte edilebilecek 3. parti kutuları engelle (EconoAI ve Snackbar hariç) */
body > [style*="position: fixed"][style*="bottom"][style*="right"]:not(.terminal-snackbar):not(#econoai-floating-btn):not(.econoai-drawer):not(.econoai-drawer-overlay) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   AKADEMİK İİBF & DIŞ TİCARET İSTASYONU - YENİ MODÜL VE BİLEŞEN STİLLERİ
   1. Navigasyon Rozetleri ve Alt Bar
   2. İktisat & Mikro Laboratuvarı (Talep Esnekliği ve Başa Baş SVG Grafiği)
   3. TÜİK & Makro Veri Merkezi (Enflasyon Sepeti & Atıl İşgücü)
   4. Küresel Gümrük & Dış Ticaret Atlası (Ülke Kartları & Incoterms)
   5. EconoAI Akademik Asistan Katmanı (Floating Button & Drawer)
   ========================================================================== */

/* Navigasyon Rozet Çeşitleri */
.pill-cyan {
  background: rgba(56, 189, 248, 0.15) !important;
  color: var(--electric-cyan) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}
.pill-purple {
  background: rgba(187, 134, 252, 0.15) !important;
  color: #c792ea !important;
  border: 1px solid rgba(187, 134, 252, 0.35) !important;
}
.pill-orange {
  background: rgba(245, 158, 11, 0.15) !important;
  color: var(--bitcoin-orange) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}
.pill-blue {
  background: rgba(56, 189, 248, 0.15) !important;
  color: var(--ocean-blue) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}
.pill-amber {
  background: rgba(245, 158, 11, 0.15) !important;
  color: var(--amber-gold) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}
.pill-neon {
  background: rgba(16, 185, 129, 0.15) !important;
  color: var(--neon-green) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

/* --------------------------------------------------------------------------
   PİYASA MONİTÖRÜ ALT SEKME GEÇİŞİ (MARKET SUB-NAV)
   -------------------------------------------------------------------------- */
.market-subtabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.market-subtabs-nav::-webkit-scrollbar {
  display: none;
}
.market-subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--tr-fast);
}
.market-subtab-btn:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}
.market-subtab-btn.active {
  color: #fff;
  background: var(--bg-surface-elevated);
  border-color: var(--border-active);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.market-subtab-pill {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(58, 63, 77, 0.45);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   İKTİSAT & MİKRO LABORATUVARI (MICRO LAB)
   -------------------------------------------------------------------------- */
.micro-screen-container {
  padding: 20px 24px 80px;
  max-width: 1380px;
  margin: 0 auto;
}

.micro-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.micro-title-group {
  flex: 1;
  min-width: 280px;
}
.micro-main-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 6px 0 8px;
}
.micro-main-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.5;
}

.micro-nav-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.micro-nav-tabs::-webkit-scrollbar {
  display: none;
}
.micro-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--tr-fast);
}
.micro-tab-btn:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}
.micro-tab-btn.active {
  color: #fff;
  background: var(--bg-surface-elevated);
  border-color: var(--border-active);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.micro-pane {
  display: none;
  animation: fadeIn 0.25s ease-out;
}
.micro-pane.active {
  display: block;
}

/* Talep Esnekliği Modülü */
.elasticity-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
}
@media (max-width: 1024px) {
  .elasticity-layout {
    grid-template-columns: 1fr;
  }
}

.el-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.el-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.el-type-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}
.el-type-btn {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
}
.el-type-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.el-type-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--electric-cyan);
  border-color: var(--electric-cyan);
}

.el-presets-group {
  margin-bottom: 18px;
}
.el-preset-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}
.el-presets-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.el-preset-chip {
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 500;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
}
.el-preset-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-active);
}

.el-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.el-input-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.el-input-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.el-field {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 14px;
  transition: border-color var(--tr-fast);
}
.el-field:focus {
  outline: none;
  border-color: var(--electric-cyan);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.el-formula-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-top: 14px;
}
.el-formula-text {
  font-size: 12px;
  color: var(--text-secondary);
}
.el-formula-select {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
}

/* Esneklik Sonuç Paneli */
.el-results-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.el-hero-card {
  background: linear-gradient(135deg, rgba(35, 39, 49, 0.95), rgba(19, 25, 38, 0.95));
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.el-hero-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.el-hero-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.el-hero-value {
  font-size: 44px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--electric-cyan);
  line-height: 1;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}
.el-hero-sub {
  font-size: 12px;
  color: var(--text-muted);
}
.el-hero-badge-wrap {
  text-align: right;
}
.el-category-pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.15);
  color: var(--electric-cyan);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.el-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 768px) {
  .el-analysis-grid {
    grid-template-columns: 1fr;
  }
}

.el-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}
.el-info-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.el-tr-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
}
.el-tr-row:last-child {
  border-bottom: none;
}
.el-tr-val {
  font-family: var(--font-mono);
  font-weight: 600;
}

.el-kpss-note {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.6;
}
.el-kpss-note strong {
  color: var(--amber-gold);
}

/* --------------------------------------------------------------------------
   BAŞA BAŞ NOKTASI (BREAK-EVEN POINT - BEP) ANALİZ GRAFİĞİ
   -------------------------------------------------------------------------- */
.bep-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
}
@media (max-width: 1100px) {
  .bep-layout {
    grid-template-columns: 1fr;
  }
}

.bep-control-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bep-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bep-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bep-slider-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.bep-slider-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--electric-cyan);
}
.bep-range-input {
  width: 100%;
  accent-color: var(--electric-cyan);
  cursor: pointer;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-surface-elevated);
}

.bep-kpi-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 860px) {
  .bep-kpi-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}
.bep-kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bep-kpi-card.highlight-cyan {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(35, 39, 49, 0.9));
}
.bep-kpi-card.highlight-green {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(35, 39, 49, 0.9));
}
.bep-kpi-card.highlight-amber {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(35, 39, 49, 0.9));
}
.bep-kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}
.bep-kpi-val {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
}
.bep-kpi-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.bep-chart-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bep-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.bep-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}
.bep-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.bep-svg-container {
  width: 100%;
  height: 380px;
  position: relative;
}
.bep-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* --------------------------------------------------------------------------
   TÜİK & MAKRO VERİ MERKEZİ (TUIK MACRO)
   -------------------------------------------------------------------------- */
.tuik-screen-container {
  padding: 20px 24px 80px;
  max-width: 1380px;
  margin: 0 auto;
}

.tuik-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
@media (max-width: 1200px) {
  .tuik-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .tuik-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tuik-kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform var(--tr-fast), border-color var(--tr-fast);
}
.tuik-kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
}
.tuik-kpi-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}
.tuik-kpi-val {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
}
.tuik-kpi-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.tuik-section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 16px;
}

/* TÜİK Tablosu */
.tuik-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 28px;
}
.tuik-table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.tuik-search-input {
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: var(--text-primary);
  font-size: 13.5px;
  width: 280px;
}
.tuik-sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tuik-sort-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--tr-fast);
}
.tuik-sort-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.tuik-sort-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--electric-cyan);
  border-color: var(--electric-cyan);
}

.tuik-table-scroll {
  overflow-x: auto;
}
.tuik-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}
.tuik-table th {
  background: var(--bg-surface);
  padding: 12px 14px;
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border-subtle);
}
.tuik-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
}
.tuik-table tr:hover td {
  background: var(--bg-card-hover);
}
.tuik-bar-cell {
  width: 140px;
}
.tuik-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(58, 63, 77, 0.45);
  border-radius: 4px;
  overflow: hidden;
}
.tuik-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--electric-cyan);
}

/* İşsizlik Metodolojisi Kartları */
.tuik-unemp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .tuik-unemp-grid {
    grid-template-columns: 1fr;
  }
}
.tuik-unemp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.tuik-unemp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.tuik-unemp-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
.tuik-unemp-rate {
  font-size: 28px;
  font-weight: 900;
  font-family: var(--font-mono);
}
.tuik-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.tuik-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   KÜRESEL GÜMRÜK & DIŞ TİCARET ATLASI (TRADE ATLAS)
   -------------------------------------------------------------------------- */
.trade-screen-container {
  padding: 20px 24px 80px;
  max-width: 1380px;
  margin: 0 auto;
}

.trade-filters-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.trade-filters-bar::-webkit-scrollbar {
  display: none;
}
.trade-filter-chip {
  padding: 7px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--tr-fast);
}
.trade-filter-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.trade-filter-chip.active {
  background: rgba(187, 134, 252, 0.15);
  color: #c792ea;
  border-color: #c792ea;
}

.trade-search-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.trade-search-input {
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 14px;
  width: 320px;
}

.trade-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.trade-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform var(--tr-fast), border-color var(--tr-fast), box-shadow var(--tr-fast);
}
.trade-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-active);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.trade-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.trade-country-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}
.trade-flag {
  font-size: 24px;
}
.trade-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.trade-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trade-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.trade-stat-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.trade-card-notes {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trade-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
}
.trade-doc-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(58, 63, 77, 0.45);
  color: var(--text-secondary);
}

/* Incoterms ve Rejim Kartı */
.trade-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) {
  .trade-guide-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   SAYFA İÇİ "EconoAI" AKADEMİK ASİSTAN KATMANI (FLOATING & SLIDE-IN DRAWER)
   -------------------------------------------------------------------------- */
.econoai-floating-btn {
  position: fixed !important;
  bottom: 26px !important;
  right: 26px !important;
  z-index: 9999 !important;
  background: linear-gradient(135deg, #d97706, #f59e0b) !important;
  color: #1a1d24 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  border-radius: 50px !important;
  padding: 12px 22px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(245, 158, 11, 0.25) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
}
.econoai-floating-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.5), 0 4px 14px rgba(245, 158, 11, 0.35) !important;
  background: linear-gradient(135deg, #b45309, #d97706) !important;
  color: #ffffff !important;
}
.ai-btn-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-robot-icon {
  font-size: 20px;
}
.ai-btn-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ai-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.45);
}

/* Slide-in Drawer & Overlay */
.econoai-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.econoai-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.econoai-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 450px;
  max-width: 95vw;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-medium);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.econoai-drawer.active {
  right: 0;
}

.econoai-drawer-header {
  padding: 18px 20px;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.econoai-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.econoai-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(124, 77, 255, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.econoai-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.econoai-badge-status {
  font-size: 11px;
  color: var(--neon-green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.econoai-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.econoai-btn-action, .econoai-btn-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--tr-fast);
}
.econoai-btn-action:hover, .econoai-btn-close:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.econoai-category-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}
.econoai-category-bar::-webkit-scrollbar {
  display: none;
}
.econoai-cat-chip {
  padding: 5px 10px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--tr-fast);
}
.econoai-cat-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.econoai-cat-chip.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--ocean-blue);
  border-color: var(--ocean-blue);
}

.econoai-quick-prompts {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}
.quick-prompts-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.quick-prompts-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.quick-prompts-scroll::-webkit-scrollbar {
  display: none;
}
.quick-prompt-btn {
  padding: 5px 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--tr-fast);
}
.quick-prompt-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-active);
}

.econoai-chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.econoai-msg {
  display: flex;
  gap: 10px;
  max-width: 90%;
  animation: fadeIn 0.2s ease-out;
}
.econoai-msg.msg-assistant {
  align-self: flex-start;
}
.econoai-msg.msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.msg-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.msg-user .msg-bubble {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(124, 77, 255, 0.2));
  border-color: rgba(56, 189, 248, 0.35);
}
.msg-sender {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}
.msg-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-primary);
}
.msg-text p {
  margin-bottom: 8px;
}
.msg-text p:last-child {
  margin-bottom: 0;
}
.msg-text strong {
  color: var(--electric-cyan);
}
.msg-text ul, .msg-text ol {
  margin: 6px 0 8px 18px;
}
.msg-text li {
  margin-bottom: 4px;
}
.msg-text code {
  font-family: var(--font-mono);
  background: rgba(58, 63, 77, 0.45);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--electric-cyan);
}
.msg-time {
  font-size: 10px;
  color: var(--text-muted);
  align-self: flex-end;
}

.econoai-input-form {
  padding: 14px 16px;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
}
.econoai-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: 24px;
  padding: 4px 6px 4px 16px;
}
.econoai-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 13.5px;
  outline: none;
}
.econoai-btn-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ocean-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--tr-fast), background var(--tr-fast);
}
.econoai-btn-send:hover {
  background: var(--electric-cyan);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   MOBİL UYUMLULUK VE ERGONOMİ (RESPONSIVE OVERRIDES)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .econoai-floating-btn {
    bottom: 84px !important;
    right: 16px !important;
    padding: 10px 16px !important;
  }
  .ai-btn-text {
    font-size: 12.5px;
  }
  .bottom-nav-bar {
    display: flex !important;
    overflow-x: auto !important;
    padding: 0 4px !important;
    scrollbar-width: none;
  }
  .bottom-nav-bar::-webkit-scrollbar {
    display: none;
  }
  .bottom-nav-bar .nav-item {
    min-width: 62px !important;
    padding: 8px 4px !important;
  }
  .bottom-nav-bar .nav-label {
    font-size: 10px !important;
    white-space: nowrap !important;
  }
  .econoai-drawer {
    width: 100vw;
    max-width: 100vw;
  }
}

/* --------------------------------------------------------------------------
   GENEL SEKME YÖNETİMİ & TAB-CONTENT DISPLAY KURALLARI
   -------------------------------------------------------------------------- */
.tab-content.hidden,
.screen-tab.hidden {
  display: none !important;
}

.tab-content.active,
.screen-tab.active {
  display: block !important;
  animation: screenTabEnter 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --------------------------------------------------------------------------
   İKTİSAT & FİNANS LABORATUVARI (TAB-LAB) YATAY ALT MENÜ
   -------------------------------------------------------------------------- */
.lab-subtabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lab-subtabs-nav::-webkit-scrollbar {
  display: none;
}
.lab-subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--tr-fast);
}
.lab-subtab-btn:hover {
  color: var(--text-primary);
  background: var(--bg-card);
  border-color: var(--border-subtle);
}
.lab-subtab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16) 0%, rgba(16, 185, 129, 0.12) 100%);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(16, 185, 129, 0.08);
}
.lab-subtab-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
}
.lab-pane {
  display: none;
  animation: screenTabEnter 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.lab-pane.active {
  display: block;
}

/* ==========================================================================
   VIEW-PANEL DISPLAY KURALLARI (ZERO ERROR ROUTER)
   ========================================================================== */
.view-panel {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.view-panel.active {
  display: block !important;
  animation: screenTabEnter 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.view-panel.hidden {
  display: none !important;
}



/* ==========================================================================
   DIŞ TİCARET & GÜMRÜK DETAY MODAL (OXFORD MODERN STYLING)
   ========================================================================== */
#trade-detail-modal .pdf-gate-modal-card,
#trade-detail-modal .trade-modal-dialog {
  max-width: 940px !important;
  width: 94% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  padding: 30px 28px !important;
  border-radius: 16px !important;
  background: linear-gradient(165deg, #131722 0%, #0d111a 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(245, 158, 11, 0.12) !important;
}

#trade-detail-modal .pdf-gate-modal-card::-webkit-scrollbar {
  width: 8px;
}
#trade-detail-modal .pdf-gate-modal-card::-webkit-scrollbar-track {
  background: rgba(15, 20, 30, 0.6);
  border-radius: 8px;
}
#trade-detail-modal .pdf-gate-modal-card::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.3);
  border-radius: 8px;
}
#trade-detail-modal .pdf-gate-modal-card::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.5);
}

.atlas-detail-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #e5e7eb;
}

/* Header */
.atlas-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.atlas-header-flag {
  font-size: 42px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.atlas-header-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.atlas-country-name {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}
.atlas-country-regime {
  display: flex;
  align-items: center;
  gap: 10px;
}
.atlas-regime-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

/* Quick Stats Bar */
.atlas-quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.atlas-stat-box {
  background: rgba(22, 27, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.atlas-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.atlas-stat-val {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.atlas-stat-sub {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
}

/* Sections */
.atlas-section-card {
  background: rgba(20, 25, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.atlas-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #f3f4f6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
  margin: 0;
}
.atlas-section-icon {
  font-size: 16px;
}

/* 2 Column Grid for Ex/Im */
.atlas-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.atlas-sub-card {
  background: rgba(15, 19, 29, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.atlas-sub-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 4px;
}
.atlas-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.atlas-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}
.atlas-item-row:hover {
  background: rgba(255, 255, 255, 0.05);
}
.atlas-item-code {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  color: #93c5fd;
  margin-right: 6px;
  font-size: 11px;
}
.atlas-item-name {
  color: #d1d5db;
  flex: 1;
}
.atlas-item-val {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  color: #f9fafb;
  margin-left: 8px;
  white-space: nowrap;
}

/* Feature 2x2 Grid */
.atlas-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.atlas-feature-box {
  background: rgba(15, 19, 29, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.atlas-feature-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
}
.atlas-feature-val {
  font-size: 13px;
  color: #f3f4f6;
  line-height: 1.45;
}

/* Badges Wrap */
.atlas-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.atlas-tag-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
}
.atlas-tag-barrier {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.atlas-tag-cert {
  background: rgba(14, 165, 233, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(14, 165, 233, 0.25);
}
.atlas-tag-pay {
  background: rgba(168, 85, 247, 0.12);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.atlas-notes-quote {
  border-left: 3px solid #f59e0b;
  padding: 10px 14px;
  background: rgba(245, 158, 11, 0.06);
  border-radius: 0 8px 8px 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #e5e7eb;
}

@media (max-width: 768px) {
  .atlas-quick-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .atlas-two-col-grid {
    grid-template-columns: 1fr;
  }
  .atlas-grid-2x2 {
    grid-template-columns: 1fr;
  }
  #trade-detail-modal .pdf-gate-modal-card {
    padding: 20px 16px !important;
  }
}


/* ==========================================================================
   DIŞ TİCARET & GÜMRÜK DETAY MODAL İÇ ELEMENTLERİ (OXFORD MODERN)
   ========================================================================== */
.atlas-modal-title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}
.atlas-modal-flag {
  font-size: 46px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
}
.atlas-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.atlas-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}
.atlas-modal-subtitle {
  font-size: 12.5px;
  color: #9ca3af;
  margin: 0;
}

/* Sections Container */
.atlas-sections-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}
.atlas-section-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.atlas-section-desc {
  font-size: 12px;
  color: #9ca3af;
  margin: 2px 0 0 0;
}
.atlas-col-box {
  background: rgba(13, 17, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 14px;
}
.atlas-col-header {
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.atlas-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.atlas-items-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #d1d5db;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}
.atlas-items-list li:hover {
  background: rgba(255, 255, 255, 0.05);
}
.item-rank {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  color: #f59e0b;
  font-size: 11px;
}
.item-text {
  flex: 1;
}

/* Detail Grid */
.atlas-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.atlas-info-item {
  background: rgba(13, 17, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.atlas-info-item.full-width {
  grid-column: 1 / -1;
}
.atlas-info-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.atlas-info-val {
  font-size: 13px;
  color: #e5e7eb;
  line-height: 1.45;
}
.highlight-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 6px;
  padding: 8px 10px;
  color: #fef3c7;
}
.highlight-border {
  border-color: rgba(245, 158, 11, 0.3) !important;
}
.strategy-note {
  border-left: 3px solid #f59e0b;
  background: rgba(245, 158, 11, 0.06);
}
.atlas-strategy-text {
  margin: 4px 0 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #fef08a;
}
.text-danger-soft {
  color: #fca5a5;
}

@media (max-width: 768px) {
  .atlas-modal-title-row {
    flex-direction: column;
    gap: 10px;
  }
  .atlas-detail-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   DIŞ TİCARET ATLASI DETAY SAYFASI GÖRÜNÜMÜ (#trade-detail-view)
   ========================================================================== */
#trade-detail-view {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 20px 60px 20px;
  box-sizing: border-box;
  animation: fadeInTradeDetail 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInTradeDetail {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trade-detail-page-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Navigasyon & Geri Dönüş Barı */
.trade-detail-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.btn-back-to-trade-list {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-back-to-trade-list:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateX(-3px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.trade-detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9ca3af;
}

.crumb-link {
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.15s ease;
}
.crumb-link:hover {
  color: #fbbf24;
  text-decoration: underline;
}
.crumb-sep {
  color: rgba(255, 255, 255, 0.25);
}
.crumb-current {
  font-weight: 700;
  color: #ffffff;
}

/* Header Banner */
.atlas-page-header {
  background: linear-gradient(135deg, rgba(22, 28, 42, 0.9) 0%, rgba(14, 18, 28, 0.96) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 24px rgba(245, 158, 11, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.atlas-page-header-main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.atlas-page-flag {
  font-size: 54px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.atlas-page-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.atlas-page-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.atlas-page-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.25;
}

.atlas-page-subtitle {
  font-size: 13px;
  color: #9ca3af;
  margin: 0;
}

.atlas-page-summary-box {
  background: rgba(10, 14, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
}

.atlas-summary-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.atlas-summary-text {
  font-size: 13px;
  line-height: 1.55;
  color: #e5e7eb;
  margin: 0;
}

/* 4'lü Hızlı Veri Kartları */
.atlas-page-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.atlas-stat-card {
  background: rgba(20, 26, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.atlas-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.4);
}

.atlas-stat-card-label {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.atlas-stat-card-val {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.atlas-stat-card-sub {
  font-size: 11.5px;
  color: #6b7280;
  font-weight: 500;
}

/* 4 Derin Analiz Kartları */
.atlas-page-sections-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.atlas-report-card {
  background: var(--bg-card, #161b26);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.atlas-report-card.highlight-amber-border {
  border-color: rgba(245, 158, 11, 0.35);
}

.atlas-card-title-bar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.atlas-card-icon {
  font-size: 24px;
  line-height: 1;
}

.atlas-card-heading {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.atlas-card-subheading {
  font-size: 12.5px;
  color: #9ca3af;
  margin: 3px 0 0 0;
}

/* Fasıllar Grid */
.atlas-fasillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.atlas-fasil-col {
  background: rgba(12, 16, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 16px 18px;
}

.atlas-fasil-col-header {
  font-size: 13px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.atlas-fasillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.atlas-fasillar-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.15s ease;
}

.atlas-fasillar-list li:hover {
  background: rgba(255, 255, 255, 0.05);
}

.fasil-rank {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  font-size: 11.5px;
  color: #f59e0b;
  min-width: 24px;
}

.fasil-text {
  font-size: 12.5px;
  color: #e5e7eb;
  line-height: 1.4;
  flex: 1;
}

/* Grid Rows for Details */
.atlas-grid-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atlas-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.atlas-meta-cell {
  background: rgba(12, 16, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.atlas-meta-cell.full-width {
  width: 100%;
  box-sizing: border-box;
}

.atlas-cell-label {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.atlas-cell-val {
  font-size: 13.5px;
  color: #f3f4f6;
  line-height: 1.45;
}

.atlas-highlight-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fef3c7;
  font-size: 13px;
  line-height: 1.45;
}

.atlas-badge-pill-val {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  color: #bae6fd;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.atlas-risk-warning-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fca5a5;
  font-size: 13px;
  line-height: 1.5;
}

.atlas-text-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #e5e7eb;
  margin: 0;
}

.strategy-highlight-box {
  background: rgba(245, 158, 11, 0.06) !important;
  border-left: 3px solid #f59e0b !important;
}

.atlas-strategy-advice {
  font-size: 13px;
  line-height: 1.6;
  color: #fef08a;
  margin: 2px 0 0 0;
}

/* Bottom Navigation Bar */
.trade-detail-bottom-nav {
  display: flex;
  justify-content: center;
  padding: 16px 0 10px 0;
}

.btn-back-trade-bottom {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.15));
  color: #d1d5db;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back-trade-bottom:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #ffffff;
}

/* Responsive Düzenlemeler (Tablet & Mobil) */
@media (max-width: 900px) {
  .atlas-page-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  #trade-detail-view {
    padding: 14px 10px 40px 10px !important;
  }
  .trade-detail-nav-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-back-to-trade-list {
    justify-content: center;
    width: 100%;
  }
  .atlas-page-header {
    padding: 18px 16px;
    gap: 14px;
  }
  .atlas-page-header-main {
    flex-direction: column;
    gap: 12px;
  }
  .atlas-page-flag {
    font-size: 40px;
  }
  .atlas-page-title {
    font-size: 20px;
  }
  .atlas-page-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .atlas-report-card {
    padding: 16px 14px;
    gap: 14px;
  }
  .atlas-fasillar-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .atlas-meta-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .atlas-card-title-bar {
    gap: 10px;
  }
  .atlas-card-heading {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .atlas-page-stats-grid {
    grid-template-columns: 1fr;
  }
}



/* ========================================================================== */
/* KPSS A DİJİTAL AKADEMİ & DEV SORU BANKASI (OXFORD MODERN STYLES)          */
/* ========================================================================== */

.kpss-main-nav-wrapper {
  width: 100%;
  margin-bottom: 20px;
}

.kpss-branch-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.kpss-branch-btn {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.kpss-branch-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

.kpss-branch-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(20, 24, 33, 0.95) 100%);
  border-color: #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.kpss-branch-icon {
  font-size: 20px;
  display: inline-block;
  margin-bottom: 2px;
}

.kpss-branch-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.kpss-branch-btn.active .kpss-branch-text {
  color: #f59e0b;
}

.kpss-branch-counter {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.kpss-branch-btn-special {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.04);
}

.kpss-branch-btn-special.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14) 0%, rgba(20, 24, 33, 0.95) 100%);
  border-color: #38bdf8;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.15);
}

.kpss-branch-btn-special.active .kpss-branch-text {
  color: #38bdf8;
}

/* Sub-branch filter chips */
.kpss-subbranches-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px 0;
  scrollbar-width: thin;
}

.kpss-subbranch-chip {
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.kpss-subbranch-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.kpss-subbranch-chip.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.2);
}

/* Toolbar: Modes and Search */
.kpss-toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.kpss-mode-bar {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.kpss-mode-btn {
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.kpss-mode-btn:hover {
  color: var(--text-primary);
}

.kpss-mode-btn.active {
  background: #252a36;
  color: #f59e0b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.kpss-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0 14px;
  min-width: 320px;
  height: 40px;
}

.kpss-search-box:focus-within {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.kpss-search-icon {
  font-size: 14px;
  color: var(--text-muted);
}

#kpss-search-input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 13px;
  width: 100%;
  outline: none;
}

#kpss-search-clear {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
}

/* Test Score Bar */
.kpss-test-score-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 22px;
  position: sticky;
  top: 60px;
  z-index: 15;
}

.kpss-score-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.kpss-score-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 6px 12px;
}

.score-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}

.score-val {
  font-size: 15px;
  font-family: var(--font-mono, monospace);
  font-weight: 800;
}

.score-d .score-val { color: var(--neon-green, #10b981); }
.score-y .score-val { color: var(--crimson-red, #ef4444); }
.score-b .score-val { color: var(--amber-gold, #f59e0b); }
.score-net .score-val { color: var(--cyan-accent, #38bdf8); }
.score-total-max { font-size: 11px; color: var(--text-muted); margin-left: 2px; }

.btn-kpss-action {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-kpss-action:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #f59e0b;
}

/* Lecture Note Cards */
.kpss-note-card {
  background: var(--surface-card, #161a23);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s;
}

.kpss-note-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.kpss-note-header {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.kpss-note-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.kpss-sub-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.kpss-branch-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.kpss-note-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.kpss-note-body {
  color: #d1d5db;
  font-size: 14.5px;
  line-height: 1.7;
}

.kpss-note-body p { margin-bottom: 12px; }
.kpss-note-body ul, .kpss-note-body ol { margin: 10px 0 16px 20px; }
.kpss-note-body li { margin-bottom: 6px; }
.kpss-note-body strong { color: #fff; font-weight: 600; }
.kpss-note-body h4 { color: #f59e0b; margin: 16px 0 8px 0; font-size: 14.5px; font-weight: 700; }

/* Formulas Box */
.kpss-formulas-section {
  background: rgba(56, 189, 248, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 18px 0;
}

.kpss-formulas-title {
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.kpss-formulas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.kpss-formula-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 6px;
  padding: 12px 14px;
}

.kpss-formula-name {
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.kpss-formula-eq {
  font-size: 13.5px;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 4px;
}

.kpss-formula-note {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ÖSYM Trap Box */
.kpss-trap-box {
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 18px 0;
}

.kpss-trap-badge {
  font-size: 11px;
  font-weight: 800;
  color: #ef4444;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.kpss-trap-content {
  font-size: 13.5px;
  color: #fca5a5;
  line-height: 1.6;
}

.kpss-trap-content strong {
  color: #fff;
}

/* Comparison Table */
.kpss-table-wrapper {
  margin: 18px 0 8px 0;
}

.kpss-table-title {
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 10px;
}

.kpss-table-scroll {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.kpss-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.kpss-compare-table th {
  background: rgba(0, 0, 0, 0.45);
  color: #f59e0b;
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.kpss-compare-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #d1d5db;
  line-height: 1.5;
}

.kpss-compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Question Bank Card */
.kpss-question-card {
  background: var(--surface-card, #161a23);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.kpss-question-card.question-answered {
  border-color: rgba(245, 158, 11, 0.25);
}

.kpss-q-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.kpss-q-tags {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.kpss-q-num {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: #fff;
}

.kpss-q-sub {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-radius: 4px;
}

.kpss-q-diff {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.diff-std { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.diff-hard { background: rgba(239, 68, 68, 0.12); color: #ef4444; }

.kpss-q-target {
  font-size: 11px;
  font-weight: 600;
  color: var(--amber-gold, #f59e0b);
}

.kpss-q-ans-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.ans-right { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.ans-wrong { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.kpss-q-stem {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Options */
.kpss-options-grid {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 12px;
}

.kpss-opt-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  width: 100%;
}

.kpss-opt-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 158, 11, 0.4);
}

.kpss-opt-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 26px;
  height: 26px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.kpss-opt-text {
  font-size: 14px;
  color: #e5e7eb;
  line-height: 1.5;
  padding-top: 2px;
}

.kpss-opt-btn.opt-correct {
  background: rgba(16, 185, 129, 0.14) !important;
  border-color: #10b981 !important;
}

.kpss-opt-btn.opt-correct .kpss-opt-badge {
  background: #10b981;
  color: #000;
  border-color: #10b981;
}

.kpss-opt-btn.opt-correct .kpss-opt-text {
  color: #fff;
  font-weight: 600;
}

.kpss-opt-btn.opt-wrong {
  background: rgba(239, 68, 68, 0.14) !important;
  border-color: #ef4444 !important;
}

.kpss-opt-btn.opt-wrong .kpss-opt-badge {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

.kpss-opt-btn.opt-dimmed {
  opacity: 0.5;
}

/* Solution Box */
.kpss-solution-box {
  margin-top: 18px;
  border-radius: 10px;
  padding: 18px 22px;
  animation: fadeIn 0.25s ease-out;
}

.kpss-solution-box.solution-correct {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-left: 4px solid #10b981;
}

.kpss-solution-box.solution-wrong {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-left: 4px solid #ef4444;
}

.kpss-solution-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.kpss-solution-status {
  font-size: 13.5px;
  font-weight: 800;
}

.kpss-solution-source {
  font-size: 12px;
  color: #38bdf8;
}

.kpss-solution-summary {
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 14px;
}

.kpss-options-dissection {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 16px;
}

.dissection-title {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 10px;
}

.dissection-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dissection-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
}

.dissection-badge {
  font-weight: 800;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.item-correct .dissection-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.item-distractor .dissection-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.dissection-reason {
  color: #cbd5e1;
}

/* Exam Scorecard */
.kpss-scorecard-card {
  background: linear-gradient(135deg, #18202f 0%, #111827 100%);
  border: 2px solid #f59e0b;
  border-radius: 14px;
  padding: 26px;
  margin-top: 28px;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.15);
}

.scorecard-badge {
  font-size: 12px;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.scorecard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.scorecard-stat {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}

.scorecard-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
}

.scorecard-stat-val {
  font-size: 26px;
  display: block;
  margin-bottom: 4px;
}

.scorecard-stat-max {
  font-size: 11px;
  color: var(--text-muted);
}

.scorecard-advice {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.6;
}

.btn-kpss-reset-card {
  padding: 10px 22px;
  background: #f59e0b;
  color: #000;
  font-weight: 700;
  font-size: 13.5px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-kpss-reset-card:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

/* Exam Analysis View */
.kpss-analysis-card {
  background: var(--surface-card, #161a23);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 26px 30px;
}

.kpss-analysis-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.kpss-analysis-badge {
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.kpss-analysis-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.kpss-analysis-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.kpss-analysis-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.kpss-analysis-subhead {
  font-size: 14px;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 14px;
}

.kpss-topics-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kpss-topic-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 16px;
}

.kpss-topic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.kpss-topic-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.kpss-topic-weight {
  font-size: 13px;
  font-weight: 800;
  color: #f59e0b;
}

.kpss-topic-tip {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.kpss-strategy-box {
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 18px 20px;
}

.kpss-strategy-title {
  font-size: 15px;
  font-weight: 700;
  color: #38bdf8;
  margin-top: 0;
  margin-bottom: 10px;
}

.kpss-strategy-text {
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 14px;
}

.kpss-strategy-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Empty State */
.kpss-empty-box {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed var(--border-subtle);
  border-radius: 10px;
  color: var(--text-secondary);
}

.btn-kpss-clear-filters {
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  border-radius: 6px;
  color: #f59e0b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .kpss-analysis-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .kpss-branch-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .kpss-branch-btn {
    min-width: 140px;
    padding: 10px 12px;
  }
  .kpss-toolbar-row {
    flex-direction: column;
    align-items: stretch;
  }
  .kpss-search-box {
    min-width: 100%;
  }
  .kpss-test-score-bar {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    position: static;
  }
  .kpss-score-group {
    justify-content: space-between;
  }
  .kpss-note-card, .kpss-question-card {
    padding: 16px;
  }
  .kpss-note-title {
    font-size: 16px;
  }
}

/* ========================================================================== */
/* ECONODASH TAM MOBİL ENTEGRASYONU & RESPONSIVE SUITE (MOBILE-FIRST POLISH)  */
/* ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 1. GLOBAL VIEWPORT & TAŞMA ENGELİ (OVERFLOW-X PREVENTION)                  */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Ana İçerik Taşıyıcıları ve Padding Ayarları (12px - 16px) */
  #main-content,
  .main-content,
  .screens-viewport,
  .screen-tab,
  .screen-scrollable,
  .dashboard-wrapper,
  .app-viewport {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 14px 12px 64px 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Başlık ve üst barlar genel mobilde taşma koruması */
  .dashboard-header-row,
  .micro-top-bar,
  .bist-table-header-block {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  #main-content,
  .main-content,
  .screens-viewport,
  .screen-tab,
  .screen-scrollable,
  .dashboard-wrapper {
    padding: 12px 10px 56px 10px !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 2. ÜST BAR & 7'Lİ YATAY MENÜ (TOPBAR & INSTAGRAM-STORY HORIZONTAL MENU)     */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* En Üst Header / Terminal Topbar */
  .terminal-topbar {
    width: 100% !important;
    height: auto !important;
    min-height: 52px !important;
    padding: 8px 12px !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  .topbar-brand-section {
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .brand-logo-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
  }

  .brand-title {
    font-size: 15px !important;
    letter-spacing: -0.02em !important;
  }

  .topbar-status-badge {
    padding: 2px 7px !important;
    font-size: 10px !important;
  }

  /* Sağ kısım araçlar */
  .topbar-right-section {
    gap: 6px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Tarih bilgisini mobilde gizle, saat kompakt kalsın */
  .topbar-date-val,
  .topbar-datetime-sep {
    display: none !important;
  }

  .topbar-datetime-card {
    padding: 5px 8px !important;
    font-size: 11.5px !important;
  }

  /* EconoAI Butonu mobilde kompakt ve parmakla basılabilir */
  .topbar-ai-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
    min-height: 36px !important;
  }

  .topbar-ai-btn .ai-spark-icon {
    font-size: 13px !important;
  }

  .topbar-utility-actions {
    gap: 4px !important;
  }

  .topbar-btn {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    justify-content: center !important;
  }

  .topbar-btn .btn-text-desktop {
    display: none !important;
  }

  /* 7'Lİ ANA SEKME MENÜSÜ - INSTAGRAM STORY STYLE YATAY AKICI ŞERİT */
  .main-navigation-strip {
    position: sticky !important;
    top: 0 !important;
    z-index: 950 !important;
    background-color: #171c26 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    width: 100% !important;
  }

  .main-nav-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    padding: 8px 12px 6px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .main-nav-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .main-nav-tab-btn {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    touch-action: pan-x !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  .main-nav-tab-btn .tab-emoji {
    font-size: 14px !important;
  }

  .main-nav-tab-btn .tab-label {
    white-space: nowrap !important;
  }
}

@media (max-width: 480px) {
  .topbar-datetime-card {
    display: none !important;
  }

  .topbar-ai-btn {
    padding: 6px 8px !important;
  }

  .topbar-ai-btn .ai-btn-text {
    font-size: 11px !important;
  }

  .main-nav-tab-btn {
    padding: 7px 12px !important;
    font-size: 12.5px !important;
    min-height: 40px !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 3. PİYASA MONİTÖRÜ KARTLARI (DASHBOARD CARDS)                              */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* 5'li FX Kartları Izgarası: 768px Altında 2 Kolon */
  .dashboard-grid-quad {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  /* 3'lü Makro Kartları Izgarası: 768px Altında 2 Kolon */
  .dashboard-grid-macro {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  /* Kart İçi Font ve Boşluk Düzenlemeleri (Taşmayı Önle) */
  .fx-card,
  .bloomberg-card {
    padding: 14px 14px !important;
    border-radius: 10px !important;
  }

  .fx-val-num,
  #val-gram-gold,
  .card-val-huge,
  .bist-summary-val,
  .stat-value-huge,
  .macro-val-num {
    font-size: 1.65rem !important; /* ~24px-26px */
    line-height: 1.2 !important;
  }

  .fx-val-cur {
    font-size: 1.25rem !important;
  }

  .fx-card-top,
  .macro-card-top {
    margin-bottom: 6px !important;
  }

  .fx-card-footer {
    padding-top: 6px !important;
    margin-top: 6px !important;
  }
}

@media (max-width: 480px) {
  /* 480px Altında Tek Kolon */
  .dashboard-grid-quad,
  .dashboard-grid-macro {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .fx-val-num,
  #val-gram-gold,
  .card-val-huge,
  .bist-summary-val,
  .stat-value-huge,
  .macro-val-num {
    font-size: 1.55rem !important; /* ~22px-24px */
  }

  .fx-val-cur {
    font-size: 1.15rem !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 4. BIST TOP 20 CANLI TABLOSU (TABLE RESPONSIVE & COLUMN HIDING)            */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Yatay Taşma Taşıyıcısı */
  .bist-table-scroll-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 10px 0 !important;
    border-radius: 8px !important;
  }

  /* 768px Altında İkincil Kolonları Gizle: Hacim ve Gün İçi Aralık */
  .col-volume,
  th.col-volume,
  td.col-volume,
  .col-range,
  th.col-range,
  td.col-range {
    display: none !important;
  }

  .bist-terminal-table {
    min-width: 100% !important;
    width: 100% !important;
    table-layout: auto !important;
  }

  .bist-terminal-table th,
  .bist-terminal-table td {
    padding: 10px 8px !important;
    font-size: 12.5px !important;
  }

  .bist-table-header-block {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .bist-table-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .bist-search-box {
    width: 100% !important;
    max-width: 100% !important;
  }

  .bist-filter-chips {
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    padding-bottom: 2px !important;
  }

  .bist-table-footer-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    font-size: 11.5px !important;
    padding: 10px 12px !important;
  }
}

@media (max-width: 480px) {
  /* 480px Altında Sıra Numarası Kolonunu da Gizle */
  .col-rank,
  th.col-rank,
  td.col-rank {
    display: none !important;
  }

  /* Mobilde sektör etiketini gizleyip sadece şirket adını koru */
  .stock-sector-tag {
    display: none !important;
  }

  .stock-ticker-text {
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  .stock-full-name {
    font-size: 12px !important;
    max-width: 120px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .bist-terminal-table th,
  .bist-terminal-table td {
    padding: 8px 6px !important;
    font-size: 12px !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 5. DIŞ TİCARET ATLASI & KPSS EĞİTİM MODÜLÜ MOBİL UYUMU                     */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Dış Ticaret Atlası Detay Görünümü %100 Tam Genişlik */
  #trade-detail-view {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 0 40px 0 !important;
  }

  .trade-detail-page-container {
    width: 100% !important;
    gap: 16px !important;
  }

  .trade-detail-nav-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding-bottom: 12px !important;
  }

  .btn-back-to-trade-list {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
    font-size: 14px !important;
    touch-action: manipulation !important;
  }

  .trade-detail-breadcrumbs {
    font-size: 12px !important;
    flex-wrap: wrap !important;
  }

  .atlas-page-header {
    padding: 16px 14px !important;
    border-radius: 12px !important;
    gap: 12px !important;
  }

  .atlas-page-header-main {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .atlas-page-flag {
    font-size: 40px !important;
  }

  .atlas-page-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .atlas-page-subtitle {
    font-size: 12px !important;
  }

  /* 4'lü Metrik Kutuları: 768px Altında 2x2 */
  .atlas-page-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .atlas-stat-card {
    padding: 12px 14px !important;
  }

  .atlas-stat-card-val {
    font-size: 18px !important;
  }

  /* Derin Analiz Kartları */
  .atlas-report-card {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }

  .atlas-card-title-bar {
    gap: 10px !important;
  }

  .atlas-card-heading {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .atlas-fasillar-grid,
  .atlas-meta-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .trade-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* KPSS Akademi & Dijital Soru Bankası Mobil Ergonomisi */
  .kpss-main-nav-wrapper {
    margin-bottom: 16px !important;
  }

  .kpss-branch-tabs {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
    width: 100% !important;
  }

  .kpss-branch-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .kpss-branch-btn {
    min-height: 44px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
    touch-action: manipulation !important;
  }

  .kpss-mode-nav {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .kpss-mode-btn {
    flex: 1 !important;
    min-height: 44px !important;
    font-size: 13px !important;
    touch-action: manipulation !important;
    justify-content: center !important;
  }

  .kpss-note-card,
  .kpss-question-card {
    padding: 16px 14px !important;
    margin-bottom: 16px !important;
    border-radius: 10px !important;
  }

  .kpss-note-title,
  .kpss-question-text {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  /* KPSS Şık Butonları: Min-height 44px & Ferah Dokunma Alanı */
  .kpss-opt-btn {
    min-height: 44px !important;
    padding: 12px 14px !important;
    gap: 12px !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    touch-action: manipulation !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .kpss-opt-badge {
    min-width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }

  .kpss-opt-text {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    padding-top: 2px !important;
  }

  .kpss-solution-box {
    padding: 14px !important;
    margin-top: 14px !important;
  }

  .kpss-test-score-bar {
    padding: 12px 14px !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 480px) {
  /* 480px Altında Metrik Kutuları Tek Kolona İnsin */
  .atlas-page-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .atlas-page-badges {
    gap: 6px !important;
  }

  .atlas-page-badges span {
    font-size: 10px !important;
    padding: 3px 8px !important;
  }

  .kpss-opt-btn {
    padding: 10px 12px !important;
    gap: 10px !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 6. EconoAI ASİSTAN (BOTTOM-SHEET MODAL DRAWER)                             */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Sağdan Açılan Panel Mobilde Alttan Yukarı Açılan Bottom-Sheet Olur */
  .econoai-drawer {
    position: fixed !important;
    top: auto !important;
    bottom: -105% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 85vh !important;
    max-height: 85vh !important;
    border-radius: 20px 20px 0 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 2px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.8) !important;
    transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 10005 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .econoai-drawer.active {
    bottom: 0 !important;
    right: 0 !important;
    transform: none !important;
  }

  /* Bottom-Sheet Tutma Çubuğu (Pull Handle) */
  .econoai-drawer-header {
    padding: 16px 16px 14px 16px !important;
    border-radius: 20px 20px 0 0 !important;
    position: relative !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .econoai-drawer-header::before {
    content: '' !important;
    position: absolute !important;
    top: 6px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 2px !important;
  }

  .econoai-title {
    font-size: 14px !important;
  }

  .econoai-badge-status {
    font-size: 9.5px !important;
  }

  .econoai-btn-close {
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
  }

  .econoai-category-bar {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px 12px !important;
    gap: 8px !important;
  }

  .econoai-category-bar::-webkit-scrollbar {
    display: none !important;
  }

  .econoai-cat-chip {
    flex-shrink: 0 !important;
    min-height: 34px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  .quick-prompts-scroll {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 6px 12px !important;
    gap: 6px !important;
  }

  .quick-prompts-scroll::-webkit-scrollbar {
    display: none !important;
  }

  .quick-prompt-btn {
    flex-shrink: 0 !important;
    font-size: 11.5px !important;
    padding: 6px 10px !important;
  }

  .econoai-chat-body {
    flex: 1 1 auto !important;
    padding: 12px 14px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .econoai-input-area {
    padding: 10px 12px 16px 12px !important;
    background: #11151f !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .econoai-input {
    min-height: 44px !important;
    font-size: 14px !important;
  }

  .econoai-btn-send {
    min-height: 44px !important;
    padding: 0 16px !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 7. DİĞER MODÜLLER (AKADEMİ, LAB, TÜİK, HABER) MOBİL İZGARALARI             */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Akademi & Lab Alt Sekme Menüleri */
  .academy-mode-nav,
  .lab-subtabs-nav {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .academy-mode-nav::-webkit-scrollbar,
  .lab-subtabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  .academy-mode-nav .micro-tab-btn,
  .lab-subtab-btn {
    flex-shrink: 0 !important;
    min-height: 40px !important;
    white-space: nowrap !important;
  }

  /* TÜİK KPI Kartları: 768px Altında 2 Kolon */
  .tuik-kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Akademi Üst İstatistik Rozetleri */
  .academy-top-stats {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .academy-stat-pill {
    padding: 4px 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .tuik-kpi-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* ========================================================================== */
/* İKTİSAT & FİNANS LABORATUVARI (EKONOMETRİK HESAPLAMA MERKEZİ) STİLLERİ    */
/* ========================================================================== */

.lab-category-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 22px;
  padding-bottom: 4px;
}
.lab-category-nav::-webkit-scrollbar {
  display: none;
}

.lab-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(20, 26, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  touch-action: pan-x;
}
.lab-cat-btn:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  color: #ffffff;
}
.lab-cat-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.06) 100%);
  border-color: #f59e0b;
  color: #fbbf24;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.18);
}
.lab-cat-btn .cat-count {
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: #9ca3af;
}
.lab-cat-btn.active .cat-count {
  background: rgba(245, 158, 11, 0.25);
  color: #fde68a;
}

/* 14'lü Hesaplayıcı Izgarası */
.lab-calculators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.lab-calc-card {
  background: linear-gradient(135deg, rgba(20, 26, 38, 0.85) 0%, rgba(13, 17, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.lab-calc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(245, 158, 11, 0.06);
}

.lab-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.lab-card-title-group {
  flex: 1;
}
.lab-card-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 6px;
}
.lab-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.lab-card-desc {
  font-size: 12.5px;
  color: #9ca3af;
  margin: 0;
  line-height: 1.45;
}

.lab-formula-cartridge {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  color: #fbbf24;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Giriş Alanları (Inputs Grid) */
.lab-inputs-grid {
  display: grid;
  gap: 12px;
}
.lab-inputs-grid.grid-2x2 {
  grid-template-columns: 1fr 1fr;
}
.lab-inputs-grid.grid-3x1 {
  grid-template-columns: repeat(3, 1fr);
}
.lab-inputs-grid.grid-2x1 {
  grid-template-columns: 1fr 1fr;
}
.lab-inputs-grid.grid-3x2 {
  grid-template-columns: repeat(3, 1fr);
}

.lab-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lab-input-label {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.lab-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(8, 12, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2px 10px;
  transition: all 0.15s ease;
}
.lab-input-wrap:focus-within {
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
  background: rgba(12, 16, 24, 0.9);
}
.lab-input-wrap.readonly {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.05);
}
.lab-input-control {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0;
  outline: none;
}
.lab-input-unit {
  font-size: 11px;
  color: #6b7280;
  font-family: var(--font-mono, monospace);
  margin-left: 6px;
  flex-shrink: 0;
}

/* Sonuç & Akademik Yorum Paneli */
.lab-results-panel {
  background: rgba(10, 14, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.lab-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}
.lab-metric-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lab-metric-label {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lab-metric-val {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.lab-status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  width: fit-content;
}

.lab-comment-box {
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid #f59e0b;
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #e5e7eb;
}
.lab-comment-box strong {
  color: #fbbf24;
}

/* Responsive Düzenlemeler */
@media (max-width: 1024px) {
  .lab-calculators-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .lab-inputs-grid.grid-2x2,
  .lab-inputs-grid.grid-3x1,
  .lab-inputs-grid.grid-2x1,
  .lab-inputs-grid.grid-3x2 {
    grid-template-columns: 1fr;
  }
  .lab-metrics-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .lab-formula-cartridge {
    max-width: 140px;
    font-size: 10.5px;
  }
}


/* ============================================================================= */
/* 14. İKTİSAT VE FİNANS LABORATUVARI - DETAY GÖRÜNÜMÜ & DİNAMİK GRAFİK SİSTEMİ  */
/* ============================================================================= */

/* Kart Altı Butonu (Detay Geçişi) */
.lab-card-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}

.btn-lab-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 6px;
  color: #fbbf24;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-lab-detail:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

.btn-lab-detail svg {
  transition: transform 0.2s ease;
}

.btn-lab-detail:hover svg {
  transform: translateX(2px);
}

/* ========================================== */
/* DETAY GÖRÜNÜMÜ KAP KAPSAYICISI (#lab-detail-view) */
/* ========================================== */
#lab-detail-view {
  width: 100%;
  animation: fadeIn 0.25s ease-out;
}

.lab-detail-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Üst Eylem Çubuğu */
.lab-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.btn-lab-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-lab-back:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateX(-3px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.18);
}

.lab-detail-tags {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Model Başlık Bloğu */
.lab-detail-header-block {
  background: #141820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px 26px;
  position: relative;
  overflow: hidden;
}

.lab-detail-header-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #f59e0b, #38bdf8);
}

.lab-detail-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.lab-detail-subtitle {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.lab-formula-cartridge.prominent {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 8px;
  padding: 8px 18px;
  color: #fbbf24;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* İki Sütunlu Canlı Panel */
.lab-detail-grid {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 22px;
  align-items: start;
}

.lab-detail-card {
  background: #141820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.lab-detail-section-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

/* Girdi Kontrolleri */
.lab-detail-inputs-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lab-detail-input-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lab-detail-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: #cbd5e1;
}

.lab-detail-input-badge {
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
}

.lab-detail-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.lab-detail-input-control {
  width: 100%;
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 9px 12px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.lab-detail-input-control:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
  background: #0e131d;
}

.lab-detail-unit {
  position: absolute;
  right: 12px;
  font-size: 0.78rem;
  color: #64748b;
  pointer-events: none;
  font-weight: 500;
}

/* Canlı Metrikler */
.lab-detail-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.lab-metric-pill {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lab-metric-pill .label {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.lab-metric-pill .val {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.lab-detail-comment-box {
  background: rgba(56, 189, 248, 0.06);
  border-left: 3px solid #38bdf8;
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.lab-detail-comment-box strong {
  color: #fbbf24;
}

/* Grafik Kartı */
.lab-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.lab-chart-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lab-chart-hint {
  font-size: 0.78rem;
  color: #94a3b8;
}

.lab-chart-engine-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 3px 8px;
  border-radius: 4px;
}

.lab-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px;
  box-sizing: border-box;
}

.lab-chart-legend-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.55;
}

.lab-chart-legend-box strong {
  color: #e2e8f0;
}

/* ========================================== */
/* ALT BÖLÜM: 3 AKADEMİK TEORİ VE SINAV KARTI */
/* ========================================== */
.lab-theory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 6px;
}

.lab-theory-card {
  background: #141820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

.lab-theory-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.lab-theory-card.intuition-card {
  border-top: 3px solid #38bdf8;
}

.lab-theory-card.proof-card {
  border-top: 3px solid #f59e0b;
}

.lab-theory-card.exam-card {
  border-top: 3px solid #ef4444;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, #141820 100%);
  border-color: rgba(239, 68, 68, 0.2);
}

.theory-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.theory-icon {
  font-size: 1.25rem;
}

.theory-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  flex: 1;
}

.exam-badge-critical {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theory-card-body {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.65;
}

.theory-card-body p {
  margin: 0 0 10px 0;
}

.theory-card-body p:last-child {
  margin-bottom: 0;
}

.theory-card-body strong {
  color: #f1f5f9;
}

.theory-card-body ul {
  margin: 0;
  padding-left: 18px;
}

.theory-card-body li {
  margin-bottom: 8px;
}

.font-serif-math {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.font-serif-math strong {
  font-family: 'Inter', sans-serif;
  color: #fbbf24;
}

/* ========================================== */
/* RESPONSIVE OPTİMİZASYON (MOBİL & TABLET)   */
/* ========================================== */
@media (max-width: 1080px) {
  .lab-detail-grid {
    grid-template-columns: 1fr;
  }
  .lab-theory-grid {
    grid-template-columns: 1fr;
  }
  .lab-canvas-wrapper {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .lab-detail-title {
    font-size: 1.35rem;
  }
  .lab-detail-metrics-grid {
    grid-template-columns: 1fr;
  }
  .lab-canvas-wrapper {
    height: 280px;
    padding: 8px;
  }
}


/* ============================================================================= */
/* DIŞ TİCARET ATLASI DETAY: BALASSA RCA & HHI ANALİTİK PANELİ                   */
/* ============================================================================= */

.atlas-econometric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.atlas-econometric-card {
  background: #141820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

.atlas-econometric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.atlas-econometric-card.rca-card {
  border-top: 3px solid #38bdf8;
}

.atlas-econometric-card.hhi-card {
  border-top: 3px solid #f59e0b;
}

.atlas-econ-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.atlas-econ-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #94a3b8;
  display: block;
  margin-bottom: 4px;
}

.atlas-econ-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.atlas-econ-formula {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 6px;
  padding: 4px 10px;
  color: #fbbf24;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.atlas-econ-metrics-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  align-items: center;
}

.atlas-econ-metric-item {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.atlas-econ-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.atlas-econ-val {
  font-size: 1.05rem;
  font-weight: 700;
}

.atlas-econ-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.atlas-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.atlas-status-pill.pill-green {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.atlas-status-pill.pill-yellow {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.atlas-status-pill.pill-red {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* HHI Gösterge Metresi */
.atlas-hhi-meter-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.atlas-hhi-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #64748b;
  font-family: 'JetBrains Mono', monospace;
}

.atlas-hhi-meter-labels .hhi-threshold {
  color: #94a3b8;
  font-weight: 600;
}

.atlas-hhi-meter-track {
  position: relative;
  height: 10px;
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: visible;
}

.atlas-hhi-meter-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.atlas-hhi-meter-fill.bar-green {
  background: linear-gradient(90deg, #10b981, #059669);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.atlas-hhi-meter-fill.bar-yellow {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.atlas-hhi-meter-fill.bar-red {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.atlas-hhi-pin {
  position: absolute;
  top: -4px;
  width: 3px;
  height: 18px;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
}

.atlas-econ-analysis-box {
  background: rgba(56, 189, 248, 0.05);
  border-left: 3px solid #38bdf8;
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hhi-card .atlas-econ-analysis-box {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}

.atlas-analysis-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #38bdf8;
  text-transform: uppercase;
}

.hhi-card .atlas-analysis-tag {
  color: #f59e0b;
}

.atlas-econ-analysis-box p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0;
}

@media (max-width: 992px) {
  .atlas-econometric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .atlas-econ-metrics-row {
    grid-template-columns: 1fr;
  }
  .atlas-econ-heading {
    font-size: 0.95rem;
  }
}


/* ============================================================================= */
/* İİBF AKADEMİSİ: DİNAMİK İKTİSADİ NEDENSELLİK VE POLİTİKA AĞI (CAUSAL GRAPH)   */
/* ============================================================================= */

.causal-graph-module {
  background: linear-gradient(180deg, #141820 0%, #0d1117 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 26px;
  margin: 20px 0 28px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.causal-graph-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #f59e0b, #38bdf8);
}

.causal-module-header {
  margin-bottom: 20px;
}

.causal-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.causal-badge-term {
  font-size: 0.7rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.causal-main-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.causal-main-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* 4 Senaryo Seçici Buton Grubu */
.causal-scenario-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.causal-scenario-btn {
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.causal-scenario-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.causal-scenario-btn.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.22);
}

.scenario-btn-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.scenario-btn-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.scenario-btn-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.causal-scenario-btn.active .scenario-btn-title {
  color: #fbbf24;
}

.scenario-btn-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Senaryo Başlık Kartuşu & Özet */
.causal-scenario-summary-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 22px;
}

.causal-summary-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.causal-summary-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.causal-summary-text {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

/* 4 Aşamalı Dinamik Nedensellik Akışı */
.causal-flow-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 22px;
}

.causal-step-card {
  flex: 1;
  min-width: 0;
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
  animation: fadeIn 0.3s ease-out;
}

.causal-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.causal-step-card.step-1 { border-top: 3px solid #38bdf8; }
.causal-step-card.step-2 { border-top: 3px solid #818cf8; }
.causal-step-card.step-3 { border-top: 3px solid #f59e0b; }
.causal-step-card.step-4 { border-top: 3px solid #10b981; }

.step-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
}

.step-icon {
  font-size: 1.15rem;
}

.step-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.step-card-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 2px;
}

.step-card-desc {
  font-size: 0.81rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.step-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.causal-flow-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
}

.causal-flow-badge.badge-up {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.causal-flow-badge.badge-down {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.causal-flow-badge.badge-good {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.causal-flow-badge.badge-warn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.causal-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  opacity: 0.85;
  padding: 0 2px;
  flex-shrink: 0;
}

/* Teorik Dökümantasyon & Literatür Paneli */
.causal-theory-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 20px 22px;
}

.causal-theory-heading {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.causal-channels-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.causal-channel-item {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 2px solid #38bdf8;
}

.causal-channel-item strong {
  color: #f8fafc;
  display: block;
  margin-bottom: 2px;
}

.causal-schools-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.school-block {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.school-block.keynesian {
  background: rgba(56, 189, 248, 0.06);
  border-left: 3px solid #38bdf8;
}

.school-block.monetarist {
  background: rgba(245, 158, 11, 0.06);
  border-left: 3px solid #f59e0b;
}

.school-label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.school-block p {
  margin: 0;
}

@media (max-width: 992px) {
  .causal-scenario-selector {
    grid-template-columns: repeat(2, 1fr);
  }
  .causal-flow-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .causal-flow-arrow {
    transform: rotate(90deg);
    margin: -4px 0;
  }
  .causal-theory-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .causal-scenario-selector {
    grid-template-columns: 1fr;
  }
  .causal-graph-module {
    padding: 16px;
  }
  .causal-main-title {
    font-size: 1.25rem;
  }
}


/* ========================================================================== */
/* 2209-A AÇIK AKADEMİK VERİ & RAPOR ÇIKTISI (EXPORT ENGINE) BUTONLARI        */
/* ========================================================================== */
.trade-detail-actions-bar,
.trade-detail-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.trade-detail-nav-left {
  display: flex;
  align-items: center;
}

.trade-export-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-atlas-export {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  line-height: 1.2;
}

.btn-atlas-export.btn-export-pdf {
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  color: #fbbf24;
}

.btn-atlas-export.btn-export-pdf:hover {
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.1) 100%);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
  transform: translateY(-1px);
}

.btn-atlas-export.btn-export-csv {
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
  color: #34d399;
}

.btn-atlas-export.btn-export-csv:hover {
  border-color: #10b981;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.1) 100%);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
  transform: translateY(-1px);
}

.btn-lab-export-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 15px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  color: #fbbf24;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-lab-export-pdf:hover {
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.1) 100%);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
  transform: translateY(-1px);
}

.btn-lab-export-block {
  width: 100%;
}

/* Ekranda gizli print başlığı */
.academic-print-header {
  display: none;
}

/* ========================================================================== */
/* 2209-A AKADEMİK RAPOR YAZDIRMA MOTORU (@media print)                       */
/* ========================================================================== */
@media print {
  @page {
    size: A4;
    margin: 12mm 10mm 12mm 10mm;
  }

  html, body {
    background: #ffffff !important;
    color: #0f172a !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 9.5pt !important;
    line-height: 1.4 !important;
    overflow: visible !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Etkileşimli ve gereksiz arayüz unsurlarını gizle */
  header,
  nav,
  #main-nav,
  .app-header,
  .micro-top-bar,
  .mobile-bottom-nav,
  .quick-stats-bar,
  .market-ticker,
  .econo-ai-fab,
  .econo-ai-widget,
  .news-refresh-btn,
  .btn-back-to-trade-list,
  .btn-lab-back,
  .trade-export-btn-group,
  .btn-atlas-export,
  .btn-lab-export-pdf,
  .trade-detail-breadcrumbs,
  .lab-detail-topbar,
  .bottom-spacer,
  .trade-detail-bottom-nav,
  .lab-detail-input-wrap,
  .screen-tab:not(#view-trade):not(#view-lab),
  #trade-list-view,
  #lab-list-view,
  .chat-widget-container,
  #ai-chat-drawer {
    display: none !important;
  }

  /* Kaydırma konteynerlerini aç */
  .screen-scrollable,
  .screen-container,
  .app-container,
  .main-content,
  #main-viewport,
  .tab-content,
  .view-panel,
  #view-trade,
  #view-lab,
  #trade-detail-view,
  #lab-detail-view,
  .trade-detail-page-container,
  .lab-detail-wrapper {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    position: static !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
  }

  /* Akademik Yazdırma Anteti */
  .academic-print-header {
    display: block !important;
    border-bottom: 2px solid #0f172a !important;
    padding-bottom: 10px !important;
    margin-bottom: 14px !important;
  }

  .print-header-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 6px !important;
  }

  .print-logo {
    font-size: 14pt !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.5px;
  }

  .print-badge {
    display: inline-block !important;
    font-size: 8pt !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    color: #334155 !important;
  }

  .print-date {
    font-size: 8.5pt !important;
    color: #64748b !important;
    font-weight: 600 !important;
  }

  .print-title {
    font-size: 13pt !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 4px 0 2px 0 !important;
  }

  .print-subtitle {
    font-size: 8.5pt !important;
    color: #475569 !important;
    margin: 0 !important;
  }

  /* Kartların ve panellerin yazıcı dostu stili */
  .atlas-stat-card,
  .atlas-econometric-card,
  .trade-econometric-card,
  .atlas-report-card,
  .atlas-page-summary-box,
  .lab-detail-card,
  .lab-theory-card {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    margin-bottom: 10px !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
  }

  .atlas-page-header {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .atlas-page-title,
  .lab-detail-title {
    color: #0f172a !important;
  }

  .text-neon, .text-cyan, .text-gold, .text-purple {
    color: #0f172a !important;
    font-weight: 700 !important;
  }

  .atlas-stat-card-val,
  .lab-metric-card-val {
    color: #0f172a !important;
    font-size: 13pt !important;
  }

  .lab-detail-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
  }

  .lab-detail-left-col {
    width: 40% !important;
  }

  .lab-detail-right-col {
    width: 60% !important;
  }

  .lab-canvas-wrapper canvas {
    max-height: 260px !important;
    display: block !important;
  }

  .lab-theory-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .lab-theory-card {
    border-left: 3px solid #0f172a !important;
  }
}

@media (max-width: 768px) {
  .trade-export-btn-group {
    width: 100%;
  }
  .btn-atlas-export {
    flex: 1;
    justify-content: center;
    font-size: 11.5px;
    padding: 7px 10px;
  }
}


/* ========================================================================== */
/* TCMB REZERV BAROMETRESİ & KREDİ RİSK PRİMİ (CDS) STİLLERİ                  */
/* ========================================================================== */
.market-tcmb-reserve-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(56, 189, 248, 0.08) 50%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.market-tcmb-reserve-strip:hover {
  border-color: #10b981;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(56, 189, 248, 0.12) 50%, rgba(245, 158, 11, 0.08) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.market-tcmb-reserve-strip .strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.market-tcmb-reserve-strip .strip-icon {
  font-size: 1.25rem;
}

.market-tcmb-reserve-strip .strip-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

.market-tcmb-reserve-strip .strip-item {
  font-size: 12.5px;
  color: #cbd5e1;
}

.market-tcmb-reserve-strip .strip-sep {
  color: rgba(255, 255, 255, 0.2);
}

.market-tcmb-reserve-strip .strip-cta {
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* TCMB Ana Bölümü */
.tcmb-reserves-section {
  margin: 30px 0 35px 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(11, 14, 20, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.tcmb-reserves-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tcmb-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.tcmb-section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
}

.tcmb-section-desc {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
  max-width: 820px;
  line-height: 1.5;
}

.tcmb-update-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
}

/* 4'lü KPI Kartları */
.tcmb-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.tcmb-kpi-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tcmb-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
}

.tcmb-kpi-card.core-card {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.tcmb-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tcmb-kpi-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.tcmb-change {
  font-size: 11px;
  font-weight: 700;
}

.tcmb-status-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.tcmb-kpi-main {
  margin-bottom: 14px;
}

.tcmb-kpi-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f8fafc;
  display: block;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.tcmb-kpi-amount small {
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
}

.tcmb-kpi-subdesc {
  font-size: 11.5px;
  color: #64748b;
  display: block;
  margin-top: 4px;
}

.tcmb-sub-breakdown {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tcmb-sub-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
}

.tcmb-sub-item .sub-label {
  color: #94a3b8;
}

.tcmb-sub-item .sub-val {
  font-weight: 700;
}

/* Rezerv Barometresi Görsel Çubuğu */
.tcmb-barometer-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.barometer-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
}

.barometer-mid {
  color: #94a3b8;
}

.barometer-track {
  position: relative;
  height: 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  overflow: visible;
  margin: 4px 0 6px 0;
}

.barometer-danger-zone {
  height: 100%;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 100%);
  border-radius: 6px 0 0 6px;
}

.barometer-safe-zone {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 0 6px 6px 0;
}

.barometer-pin {
  position: absolute;
  top: -4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid #10b981;
  box-shadow: 0 0 10px #10b981;
  transform: translateX(-50%);
  z-index: 2;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.barometer-pin:hover {
  transform: translateX(-50%) scale(1.2);
}

.barometer-delta {
  font-size: 11px;
  color: #cbd5e1;
}

/* Grafik Kartı */
.tcmb-chart-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.tcmb-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.tcmb-chart-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tcmb-chart-sub {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
}

.tcmb-chart-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tcmb-chart-legend-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
}

.tcmb-chart-legend-badge.gross-dot {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.tcmb-chart-legend-badge.net-dot {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tcmb-chart-notes {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 11.5px;
  color: #94a3b8;
}

/* 2 Teori Kartı */
.tcmb-theory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tcmb-theory-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 16px;
  border-left: 3px solid #38bdf8;
}

.tcmb-theory-card:last-child {
  border-left-color: #f59e0b;
}

.tcmb-theory-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.tcmb-theory-head h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}

.tcmb-theory-formula {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 6px 10px;
  color: #38bdf8;
  margin-bottom: 10px;
  word-break: break-all;
}

.tcmb-theory-card:last-child .tcmb-theory-formula {
  color: #fbbf24;
}

.tcmb-theory-text {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Düzen */
@media (max-width: 1024px) {
  .tcmb-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tcmb-reserves-section {
    padding: 16px;
  }
  .tcmb-kpi-grid {
    grid-template-columns: 1fr;
  }
  .tcmb-theory-grid {
    grid-template-columns: 1fr;
  }
  .market-tcmb-reserve-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


/* ========================================================================== */
/* DİJİTAL LİSANS DERS FÖYÜ & İNCELEME PANELİ (DOSSIER) STİLLERİ              */
/* ========================================================================== */
.academy-study-dossier-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(11, 14, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.academy-study-dossier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #38bdf8 0%, #10b981 100%);
}

.dossier-header-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.dossier-header-left {
  flex: 1;
  min-width: 280px;
}

.dossier-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.dossier-chair-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
}

.dossier-code-pill {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 4px;
}

.dossier-chair-category {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
}

.dossier-status-pill {
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
}

.dossier-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 6px 0;
  letter-spacing: -0.4px;
}

.dossier-subtitle {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0 0 14px 0;
  max-width: 860px;
}

.dossier-meta-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.dossier-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.dossier-stat-label {
  color: #94a3b8;
}

.dossier-stat-val {
  font-weight: 700;
}

.dossier-stat-sep {
  color: rgba(255, 255, 255, 0.2);
}

.btn-dossier-print,
.btn-academy-print {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.04) 100%);
  color: #fbbf24;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-dossier-print:hover,
.btn-academy-print:hover {
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.08) 100%);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

/* Hızlı Bölüm İndeksi Barı */
.dossier-quick-index-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.index-nav-title {
  font-size: 11px;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: 0.5px;
}

.index-nav-items {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-index-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-index-jump:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  transform: translateY(-1px);
}

.btn-index-jump .jump-num {
  font-weight: 800;
  color: #38bdf8;
}

/* Bölüm & Konu Detay Stilleri */
.chapter-academic-level {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: 4px;
}

.chapter-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.formula-block {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0;
}

.formula-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.formula-tag {
  font-size: 10px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.formula-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
}

.formula-tex {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.4;
  word-break: break-word;
}

.graph-analysis-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-left: 3px solid #10b981;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 12px 0 16px 0;
}

.graph-analysis-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.graph-analysis-desc {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

.academic-callout {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.academic-callout .callout-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.academic-callout .callout-title {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.academic-callout .callout-body {
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.55;
  margin: 0;
}

/* Print Modu */
@media print {
  body.print-mode-lecture .dossier-header-actions,
  body.print-mode-lecture .dossier-quick-index-nav,
  body.print-mode-lecture .btn-academy-print {
    display: none !important;
  }

  body.print-mode-lecture .academy-study-dossier-card,
  body.print-mode-lecture .academy-chapter-card {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    box-shadow: none !important;
    margin-bottom: 12px !important;
  }

  body.print-mode-lecture .formula-block {
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
  }

  body.print-mode-lecture .graph-analysis-box {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 3px solid #0f172a !important;
    color: #0f172a !important;
  }

  body.print-mode-lecture .academic-callout {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 3px solid #0f172a !important;
    color: #0f172a !important;
  }
}


/* Orijinal Ders Notu İndirme Butonları */
.btn-dossier-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(56, 189, 248, 0.15));
  color: #10b981 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-dossier-download-pdf:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(56, 189, 248, 0.28));
  color: #34d399 !important;
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

.btn-academy-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(56, 189, 248, 0.15));
  color: #10b981 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-academy-download-pdf:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(56, 189, 248, 0.28));
  color: #34d399 !important;
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}
