*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- TEMEL DEĞİŞKENLER & SIFIRLAMA --- */
:root {
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-main: #071629;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --primary-accent: #C59B27;
  --primary-navy: #071629;
  --emerald-bg: #ECFDF5;
  --emerald-text: #047857;
  --amber-text: #B45309;
}



body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
}

/* --- CANLI TICKER BANDI --- */
.ticker-wrapper {
  background: #071629;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 40px;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-badge {
  background: #C59B27;
  color: #071629;
  font-weight: 800;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
  flex-shrink: 0;
}

.ticker-logo {
  height: 22px;
  width: auto;
  margin-right: 8px;
}

.ticker-viewport {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.ticker-content {
  display: inline-block;
  animation: tickerScroll 32s linear infinite;
}

.ticker-content span {
  margin-right: 28px;
}

.ticker-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #FBBF24;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  margin-left: 6px;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --- NAVBAR --- */
.nb-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nb-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nb-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nb-brand span {
  color: var(--primary-accent);
}

.nb-desktop-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nb-item {
  white-space: nowrap;
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.nb-item:hover {
  color: var(--primary-navy);
  background: #F1F5F9;
}

.nb-item.is-active {
  background: var(--primary-navy);
  color: #FFFFFF;
  font-weight: 700;
}

.nb-burger-btn {
  all: unset;
  display: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
}

/* --- MOBİL ÇEKMECE --- */
.nb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 22, 41, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1050;
}

.nb-overlay.active {
  display: block;
}

.nb-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1100;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.25s ease-in-out;
}

.nb-drawer.open {
  right: 0;
}

.nb-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
}

.nb-drawer-close {
  all: unset;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--text-muted);
}

.nb-drawer-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nb-drawer-label {
  font-size: 0.70rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.nb-drawer-item {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E293B;
  background: #F8FAFC;
}

.nb-drawer-item.is-active {
  background: var(--primary-navy);
  color: #FFFFFF;
}

/* --- TERMİNAL İÇERİK YAPISI --- */
.terminal-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 16px;
}

.tab-pane {
  display: none;
}

.tab-pane.is-active {
  display: block;
}

.terminal-toolbar {
  margin-bottom: 24px;
}

.terminal-tag-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFDF5;
  border: 1px solid #EEDB9A;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #8C6D1F;
  margin-bottom: 8px;
}

.live-pulse {
  width: 6px;
  height: 6px;
  background: #C59B27;
  border-radius: 50%;
  box-shadow: 0 0 6px #C59B27;
}

.main-title {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 4px 0 8px 0;
}

.main-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.toolbar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: 10px;
}

.filter-pills-group {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}

.filter-pill {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: #F1F5F9;
  white-space: nowrap;
}

.filter-pill.is-active {
  color: #FFFFFF;
  background: var(--primary-navy);
  font-weight: 700;
}

.pill-count {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.filter-pill.is-active .pill-count {
  background: var(--primary-accent);
  color: var(--primary-navy);
}

.search-wrap {
  position: relative;
  min-width: 260px;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

#deptSearch {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px 8px 32px;
  font-size: 13px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  outline: none;
  background: #F8FAFC;
}

/* --- TABLOLAR --- */
.terminal-table-card,
.table-responsive-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow-x: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.data-table,
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.data-table th,
.compare-table th {
  background: #F8FAFC;
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
}

.data-table td,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.88rem;
  vertical-align: middle;
}

.sub-text {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.badge-type {
  background: #F1F5F9;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-time {
  font-weight: 700;
  color: var(--amber-text);
}

.badge-rate {
  background: var(--emerald-bg);
  color: var(--emerald-text);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.btn-compare {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap !important;
  min-width: 90px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px;
}

.btn-compare.selected {
  background: var(--primary-navy);
  color: #FFFFFF;
}

/* --- FLASH HIRE GRID --- */
.flash-grid,
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.flash-card,
.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-kicker,
.hub-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.card-heading,
.hub-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.6rem;
}

.card-desc,
.hub-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.card-meta-line {
  font-size: 0.8rem;
  color: #334155;
}

.flash-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #EDF2F7;
  margin-top: 1rem;
}

.meta-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.meta-val-time {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--amber-text);
}

.text-right {
  text-align: right;
}

.hub-metric-badge {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- SABİT KIYASLAMA BARI --- */
.sticky-compare-bar {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 760px;
  background: #0B1528;
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  transition: bottom 0.3s ease;
}

.sticky-compare-bar.show {
  bottom: 20px;
}

.selected-badge {
  background: #1E293B;
  color: #F59E0B;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 6px;
}

.btn-bar-action {
  background: #F59E0B;
  color: #0B1528;
  border: none;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-bar-clear {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 8px;
}

/* --- FAQ & AKORDİYON --- */
.faq-executive-section {
  margin-bottom: 60px;
}

.section-headline {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 20px;
}

.faq-accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-btn {
  all: unset;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  transition: background 0.15s;
}

.faq-btn:hover {
  background: #F8FAFC;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-content {
  display: none;
  padding: 0 18px 16px 18px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.faq-box.active .faq-content {
  display: block;
}

.faq-box.active .faq-icon {
  transform: rotate(45deg);
  color: #D97706;
}

/* --- FOOTER (DARK) --- */
.site-footer {
  border-top: 1px solid #1e293b;
  background: #0f172a;
  padding: 16px 20px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: #eab308;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: #ca8a04;
}

.footer-links .f-dot {
  color: #475569;
}

.footer-copy {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

/* --- MOBİL UYUMLULUK --- */
@media screen and (max-width: 768px) {
  .nb-desktop-menu {
    display: none !important;
  }

  .nb-burger-btn {
    display: inline-flex !important;
  }

  .flash-grid,
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-wrap {
    width: 100%;
    min-width: 0;
  }

  .faq-accordion-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-copy {
    text-align: center;
  }
}

/* =========================================================
   ZENGİNLEŞTİRİLMİŞ TABLO VE PRESTİJ MİMARİSİ
========================================================= */

/* Tablo Genel İskelet */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.data-table th {
  background: var(--bg-page);
  padding: 14px 18px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--border-color);
}

.data-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  transition: background 0.15s ease;
}

.data-table tbody tr:hover td {
  background: rgba(2, 132, 199, 0.02);
}

/* RUMELİ ÜNİVERSİTESİ ÖZEL SATIR VE PRESTİJ ROZETİ */
.row-rumeli-gold {
  background: rgba(197, 155, 39, 0.04) !important;
  border-left: 4px solid #C59B27 !important;
}



.badge-spotlight {
  display: inline-flex;
  align-items: center;
  font-size: 0.64rem;
  font-weight: 800;
  color: #B45309;
  background: #FEF3C7;
  border: 1px solid rgba(180, 83, 9, 0.2);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  margin-left: 6px;
  white-space: nowrap;
}



/* Bölüm ve Kampüs Başlık Bloğu */
.cell-dept-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.dept-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.inst-campus-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.76rem;
}

.inst-brand {
  font-weight: 800;
  color: #071629;
}



.inst-name-std {
  font-weight: 700;
  color: #475569;
}



.inst-loc {
  color: #64748B;
  font-weight: 500;
}

/* Puan Türü Rozetleri */
.badge-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.badge-type.say {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}

.badge-type.ea {
  background: #FAF5FF;
  color: #7E22CE;
  border-color: #E9D5FF;
}

.badge-type.soz {
  background: #FFF7ED;
  color: #C2410C;
  border-color: #FFEDD5;
}

.badge-type.tyt {
  background: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
}



/* İşe Giriş Süresi ve Durum Hapı */
.time-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.time-val {
  font-size: 0.94rem;
  font-weight: 800;
  color: #D97706;
}

.status-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.speed-fast {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.speed-mid {
  background: rgba(59, 130, 246, 0.1);
  color: #2563EB;
}

.status-state {
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
}







/* İstihdam Endeksi (Sayı + İlerleme Çubuğu) */
.rate-metric-cell {
  width: 100%;
  max-width: 140px;
}

.rate-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.rate-number {
  font-size: 0.95rem;
  font-weight: 900;
  color: #059669;
}



.rate-trend {
  font-size: 0.66rem;
  font-weight: 700;
  color: #64748B;
}

.metric-bar-bg {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  overflow: hidden;
}



.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #059669);
  border-radius: 3px;
}

.metric-bar-fill.fill-blue {
  background: linear-gradient(90deg, #38BDF8, #0284C7);
}

/* Sektör Etiketleri (Bulut Dağılımı) */
.sector-chips-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg-page);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 3px 8px;
  border-radius: 5px;
}



/* =========================================================
   %100 MOBİL UYUMLULUK: TABLODAN YÖNETİCİ KARTINA DÖNÜŞÜM
========================================================= */
@media screen and (max-width: 820px) {
  .terminal-container {
    padding: 14px 10px !important;
  }

  .table-responsive-box {
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Başlık barını mobilde gizle */
  .data-table thead {
    display: none !important;
  }

  /* Her satır şık bir karta dönüşsün */
  .data-table tr {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  }

  .data-table tr.row-rumeli-gold {
    border-left: 5px solid #C59B27 !important;
  }

  .data-table td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  }

  

  /* Sol etiketler */
  .data-table td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    margin-right: 12px;
  }

  /* Bölüm, Sektörler ve İlerleme Çubuğu Blok Görünümü */
  .data-table td[data-label="Bölüm & Kampüs"],
  .data-table td[data-label="Sektörler"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .data-table td[data-label="Bölüm & Kampüs"]::before,
  .data-table td[data-label="Sektörler"]::before {
    margin-bottom: 2px;
  }

  .rate-metric-cell {
    max-width: 100% !important;
    width: 140px;
  }

  .cell-action {
    border-bottom: none !important;
    padding-top: 12px !important;
    justify-content: stretch !important;
  }

  .cell-action::before {
    display: none !important;
  }

  .btn-compare {
    width: 100% !important;
    padding: 9px !important;
    text-align: center !important;
    font-size: 0.84rem !important;
  }
}

/* Compare Result Card */
.compare-result-card {
  flex: 1;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.compare-result-card h4 {
  color: var(--text-main) !important;
}

.compare-result-card>div:first-child {
  border-bottom: 2px solid var(--border-color) !important;
}

/* Modal Arka Plan Bulanıklaştırma (Blur Etkisi) */
.modal {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.6) !important;
  /* Koyu lacivert yarı saydam */
}

/* TAM EKSİKSİZ MODAL STİLLERİ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  /* Daha önce eklenen blur ve arkaplanı eziyoruz/yeniliyoruz */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.6) !important;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-card);
  border-radius: 12px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
  border: 1px solid var(--border-color);
}



.modal.active .modal-content {
  transform: translateY(0);
}

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

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #EF4444;
}

.modal-body {
  padding: 24px;
}

/* İstihdam Endeksi Sayfası - Üst Grid Düzeni */
.index-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 40px;
}

@media screen and (max-width: 820px) {

  .index-grid-layout,
  .faq-grid {
    grid-template-columns: 1fr !important;
  }
}

/* SSS Akordeon Stilleri */
.faq-content {
  display: none;
  padding: 18px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.faq-item.open .faq-content {
  display: block;
}

.faq-item.open .faq-btn {
  border-radius: 8px 8px 0 0 !important;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq-icon {
  transition: transform 0.2s;
  display: inline-block;
}

@media screen and (max-width: 860px) {
  .nb-desktop-menu { display: none !important; }
  .theme-wrapper { display: none !important; }
  .nb-burger-btn { display: inline-flex !important; }
}





.nb-header .nb-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
}
.nb-header .nb-brand {
  flex: 1 !important;
  display: flex;
  justify-content: flex-start;
}
.nb-header .nb-desktop-menu {
  flex: 2 !important;
  display: flex;
  justify-content: center;
}
.nb-header .theme-wrapper {
  flex: 1 !important;
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 860px) {
  .nb-header .theme-wrapper {
    display: none !important;
  }
}


/* =========================================================
   EVRENSEL KOYU MOD (GLOBAL EXECUTIVE DARK ENGINE)
   Tüm sekmeler (İstihdam, Flash Hire, Hub, Kıyasla) ve Navbar
========================================================= */

/* 1. Sayfa & Body */
body.dark-mode {
  --bg-page: #080C14;
  --bg-card: #0D1527;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --border-color: rgba(255, 255, 255, 0.12);
  --primary-navy: #FFFFFF;
  --emerald-bg: rgba(4, 120, 87, 0.2);
  --emerald-text: #34D399;
  --amber-text: #FBBF24;
  
  background-color: var(--bg-page) !important;
  color: var(--text-main) !important;
}

/* 2. Navbar & Header */
body.dark-mode .nb-header {
  background-color: #0B1220 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .nb-brand {
  color: #FFFFFF !important;
}

body.dark-mode .nb-brand span {
  color: #F59E0B !important;
}

body.dark-mode .nb-item {
  color: #94A3B8 !important;
}

body.dark-mode .nb-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #FFFFFF !important;
}

body.dark-mode .nb-item.is-active {
  background: #1D4ED8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 14px rgba(29, 78, 216, 0.35) !important;
}

body.dark-mode .themeToggleBtn {
  background: #0D1527 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #F8FAFC !important;
}

/* 3. Görsel 1: Sarı Brifing Kutusu Düzeltmesi (Göz yoran sarılık bitti) */
body.dark-mode .briefing-card-amber,
body.dark-mode div:has(> .briefing-title) {
  background: rgba(245, 158, 11, 0.06) !important;
  border: 1px solid rgba(245, 158, 11, 0.22) !important;
  border-left: 4px solid #F59E0B !important;
}

body.dark-mode .briefing-title {
  color: #FBBF24 !important;
}

body.dark-mode .briefing-body,
body.dark-mode .briefing-card-amber p {
  color: #E2E8F0 !important;
}

body.dark-mode .briefing-card-amber strong {
  color: #FFFFFF !important;
}

/* 4. Başlıklar ve Açıklamalar */
body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3,
body.dark-mode .hero-headline,
body.dark-mode .section-headline,
body.dark-mode .main-title,
body.dark-mode .section-title {
  color: #FFFFFF !important;
}

body.dark-mode .hero-subtext,
body.dark-mode .main-subtitle {
  color: #94A3B8 !important;
}

body.dark-mode .section-kicker,
body.dark-mode .terminal-tag-line {
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #FBBF24 !important;
}

/* 5. Görsel 1 & 4: Tablolar ve Kontrol Araçları */
body.dark-mode .terminal-table-card,
body.dark-mode .table-responsive-box,
body.dark-mode .toolbar-controls {
  background: #0D1527 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .filter-pill {
  background: #141E33 !important;
  color: #94A3B8 !important;
}

body.dark-mode .filter-pill.is-active {
  background: #1D4ED8 !important;
  color: #FFFFFF !important;
}

body.dark-mode #deptSearch {
  background: #080C14 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
}

body.dark-mode .data-table th,
body.dark-mode .compare-table th {
  background: #0A111E !important;
  color: #64748B !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .data-table td,
body.dark-mode .compare-table td {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #CBD5E1 !important;
}

body.dark-mode .data-table td strong,
body.dark-mode .dept-title,
body.dark-mode .inst-highlight {
  color: #FFFFFF !important;
}

body.dark-mode .inst-name-std {
  color: #CBD5E1 !important;
}

body.dark-mode .inst-sub,
body.dark-mode .inst-loc {
  color: #64748B !important;
}

body.dark-mode .chip {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #94A3B8 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .btn-compare {
  background: #141E33 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #CBD5E1 !important;
}

body.dark-mode .btn-compare.selected {
  background: #1D4ED8 !important;
  color: #FFFFFF !important;
}

/* 6. Görsel 2: Flash Hire Kartları (Beyazdan Kurtarıldı) */
body.dark-mode .flash-card {
  background: #0D1527 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .card-kicker {
  color: #94A3B8 !important;
}

body.dark-mode .card-heading {
  color: #FFFFFF !important;
}

body.dark-mode .card-desc {
  color: #94A3B8 !important;
}

body.dark-mode .card-meta-line {
  color: #CBD5E1 !important;
}

body.dark-mode .card-meta-line strong {
  color: #FFFFFF !important;
}

body.dark-mode .flash-meta-bar {
  background: #080C14 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .meta-label {
  color: #64748B !important;
}

body.dark-mode .meta-val-time {
  color: #F59E0B !important;
}

/* 7. Görsel 3: İnovasyon ve Hub Kartları (Beyazdan Kurtarıldı) */
body.dark-mode .hub-card {
  background: #0D1527 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .hub-tag {
  color: #F59E0B !important;
}

body.dark-mode .hub-title {
  color: #FFFFFF !important;
}

body.dark-mode .hub-desc {
  color: #94A3B8 !important;
}

body.dark-mode .hub-metric-badge {
  background: #080C14 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #CBD5E1 !important;
}

body.dark-mode .hub-metric-badge strong {
  color: #34D399 !important;
}

/* 8. SSS Akordiyon Kutuları (Görsel 1 Altı) */
body.dark-mode .faq-box {
  background: #0D1527 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .faq-btn {
  color: #FFFFFF !important;
  background: #0D1527 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .faq-btn:hover {
  background: rgba(255, 255, 255, 0.03) !important;
}

body.dark-mode .faq-content {
  color: #94A3B8 !important;
  background: #080C14 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: none !important;
}

/* 9. Footer ve Modal */
body.dark-mode .site-footer {
  background: #080C14 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .footer-links a {
  color: #F59E0B !important;
}

body.dark-mode .footer-copy {
  color: #64748B !important;
}

body.dark-mode .modal-card {
  background: #0D1527 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
}


/* FOOOTER AŞAĞI SABİTLEME */
body {
  display: flex;
  flex-direction: column;
}
.terminal-container {
  flex: 1;
}


/* =========================================================
   MOBİL & TABLET TAM UYUM (RESPONSIVE FULL FIX)
   Tüm içerikler ekrana tam oturur, yatay taşma yoktur
========================================================= */
@media screen and (max-width: 768px) {

  /* İçerik konteynerleri */
  .nb-container,
  .terminal-container,
  .tab-pane,
  .section-kicker,
  .terminal-toolbar {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Başlıklar mobilde çok büyük kalmasın */
  h1, .hero-headline, .main-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
    line-height: 1.25 !important;
  }

  h2, .section-headline, .section-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
  }

  h3 {
    font-size: clamp(1rem, 4vw, 1.4rem) !important;
  }

  /* Grid düzenleri tek sütuna geçsin */
  .hub-grid,
  .flash-grid,
  .index-grid-layout,
  .faq-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Kartlar tam genişlikte */
  .hub-card,
  .flash-card,
  .briefing-box,
  .briefing-card-amber {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Tablo taşma önleme */
  .table-responsive-box {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
  }

  /* Ticker bant */
  .ticker-wrapper {
    font-size: 0.72rem !important;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
    padding: 16px !important;
  }

  .footer-links {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }
}


/* Fix for btn-compare wrapping */
.btn-compare {
  white-space: nowrap !important;
  min-width: 100px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  height: 36px !important; /* Force fixed height */
}


/* Koyu Mod Mobil Burger Butonu */
body.dark-mode .nb-burger-btn {
  background: var(--bg-card) !important;
  color: var(--text-main) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}


/* Mobil Drawer Active Item Fix */
.nb-drawer-item.is-active {
  background: #1D4ED8 !important;
  color: #FFFFFF !important;
}
body.dark-mode .nb-drawer-item.is-active {
  background: #2563EB !important;
  color: #FFFFFF !important;
}


/* Premium Section Kicker */
.section-kicker {
  display: inline-flex !important;
  width: auto !important;
  max-width: fit-content !important;
  padding: 6px 16px !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 16px !important;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  color: #FBBF24 !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1) !important;
}

body.dark-mode .section-kicker {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  color: #FBBF24 !important;
}

/* Premium Typography for Headers */
.section-headline {
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 12px !important;
  background: linear-gradient(135deg, var(--text-main) 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.dark-mode .section-headline {
  background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.05rem !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
  max-width: 800px !important;
}


/* Professional Hub Metric Badge */
body.dark-mode .hub-metric-badge {
  background: transparent !important;
  border-top: 1px dashed rgba(255, 255, 255, 0.15) !important;
  padding-top: 20px !important;
  margin-top: auto !important;
  color: #94A3B8 !important;
}
body.dark-mode .hub-metric-badge strong {
  color: #10B981 !important; /* Premium green */
  font-size: 1.1rem !important;
  font-weight: 900 !important;
}


/* Koyu Mod Navbar Active Tab Fix */
body.dark-mode .nb-item.is-active {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
  border: none !important;
}


/* Professional Hub Metric Badge - Light Mode (Base) */
.hub-metric-badge strong {
  color: #059669 !important; /* Emerald green for light mode (good contrast) */
  font-size: 1.1rem !important;
  font-weight: 900 !important;
}


/* Rumeli Simple Spotlight */
.rumeli-simple-spotlight {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 12px;
  margin-top: 40px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

body.dark-mode .rumeli-simple-spotlight {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.rumeli-simple-spotlight:hover {
  border-color: rgba(197, 155, 39, 0.4);
  transform: translateY(-2px);
}

.rss-icon {
  font-size: 2.4rem;
  background: linear-gradient(135deg, rgba(197, 155, 39, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);
  padding: 12px;
  border-radius: 12px;
  line-height: 1;
}

body.dark-mode .rss-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.rss-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #B45309;
  margin-bottom: 4px;
}

body.dark-mode .rss-tag {
  color: #FBBF24;
}

.rss-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 8px 0;
}

.rss-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .rumeli-simple-spotlight {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
}


/* Spotlight Grid System */
.uni-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .uni-spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .uni-spotlight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rss-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px; /* Hizalamak için */
}

/* Mevcut rumeli-simple-spotlight padding ve gap düzeltmeleri grid için */
.rumeli-simple-spotlight {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  gap: 16px !important;
  padding: 20px !important;
  height: 100%; /* Hepsi aynı boyutta uzasın */
}


/* Spotlight Links */
.rss-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #F59E0B;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}
.rss-link:hover {
  opacity: 0.7;
  transform: translateX(4px);
}
