/* --- MODERN KPSS ATAMA BİLDİRİM TASARIMI --- */
:root {
  --pri: #1e40af;
  --pri-dark: #1e3a8a;
  --pri-light: #3b82f6;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #3b82f6;
  --success: #15803d;
  --success-bg: #dcfce7;
  --warning: #b45309;
  --warning-bg: #fef3c7;
  --danger: #b91c1c;
  --danger-bg: #fee2e2;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

.wrap {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .wrap {
    padding: 0 12px !important;
  }
}

/* =========================================================================
   RESPONSİF ÜST BAR (WEB, TABLET VE TELEFON AYRI AYRI DİZAYN)
   ========================================================================= */

/* --- GENEL HEADER TEMELİ --- */
.app-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
  color: white;
  padding: 0;
  box-shadow: 0 4px 18px rgba(30, 64, 175, 0.22);
  position: relative;
  z-index: 990;
}
.header-wrap {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* --- 1. ANA ÜST ÇUBUK (Main Bar) --- */
.header-main-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

/* BRAND (Logo, Başlık & Canlı Rozeti) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.logo-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.brand:hover .logo-box {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.logo-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.2;
}
.live-dot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  color: #a7f3d0;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}
.logo-sub {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
  font-weight: 500;
}

/* --- 2. MASAÜSTÜ MERKEZ ARAÇLAR (DESKTOP ONLY: 📊 Taban Puanlar, ⏳ Takvim, 🧮 Puan) --- */
.desktop-nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.2);
  padding: 4px 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}
.d-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.d-nav-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.d-nav-btn.d-nav-taban {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.d-nav-btn.d-nav-taban:hover {
  background: rgba(255, 255, 255, 0.28);
}
.d-glyph {
  font-size: 15px;
}

/* --- 3. SAĞ AKSİYONLAR VE KULLANICI ALANI --- */
.header-right-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.nav-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.nav-btn-kanban {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}
.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 99px;
  padding: 0 5px;
  margin-left: 2px;
  box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
}
.last-update-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 12px;
  color: #f8fafc;
  user-select: none;
  white-space: nowrap;
}
.last-update-badge .update-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
.last-update-badge.is-scanning .update-pulse {
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-dot 1s infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.last-update-badge .update-text {
  font-weight: 500;
  color: #e2e8f0;
}
.last-update-badge .update-text strong {
  font-weight: 700;
  color: #ffffff;
}

/* --- 4. TABLET VE MOBİL ALT ŞERİDİ (Sub-Nav Strip) --- */
.header-sub-strip {
  display: none; /* Masaüstünde gizlidir */
}

/* =========================================================================
   MEDYA SORGULARI: 1. WEB (DESKTOP > 1024px)
   ========================================================================= */
@media (min-width: 1025px) {
  .header-sub-strip {
    display: none !important;
  }
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* =========================================================================
   MEDYA SORGULARI: 2. TABLET (769px - 1024px)
   ========================================================================= */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-wrap {
    padding: 0 16px;
  }
  .header-main-bar {
    min-height: 58px;
    padding: 8px 0 4px 0;
  }
  .desktop-nav-tools {
    display: none !important; /* Tablete özel 2. satıra aktarılır */
  }
  .brand .logo-box {
    width: 38px;
    height: 38px;
  }
  .logo-title {
    font-size: 19px;
  }
  .logo-sub {
    font-size: 11px;
  }
  .last-update-badge.desktop-only {
    display: none !important;
  }
  
  /* Tablet 2. Kademe Alt Şerit (Tools Strip) */
  .header-sub-strip {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 0;
    margin-top: 2px;
  }
  .sub-strip-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }
  .sub-strip-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .sub-strip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
  }
  .sub-strip-btn:hover {
    background: rgba(255, 255, 255, 0.22);
  }
  .sub-strip-btn.sub-taban-btn {
    background: #ffffff;
    color: #1d4ed8;
    border-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }
  .sub-strip-update {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #cbd5e1;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
  }
  .sub-strip-update strong {
    color: #38bdf8;
    font-weight: 700;
  }
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* =========================================================================
   MEDYA SORGULARI: 3. TELEFON / MOBİL (≤ 768px)
   ========================================================================= */
@media (max-width: 768px) {
  /* Sayfa dibinde sabit alt menü alanı bırak */
  body {
    padding-bottom: 74px !important;
  }

  .app-header {
    position: sticky;
    top: 0;
    z-index: 998;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.25);
  }
  .header-wrap {
    padding: 0 12px;
  }
  .header-main-bar {
    min-height: 52px;
    padding: 6px 0;
  }

  /* Mobil Kompakt Brand */
  .brand .logo-box {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .logo-title {
    font-size: 17px;
    letter-spacing: -0.02em;
  }
  .logo-sub {
    display: none !important; /* Dikeyde yer kazan */
  }
  .live-dot-badge {
    padding: 1px 5px;
    font-size: 10px;
  }

  /* Masaüstü araçlarını mobilde gizle */
  .desktop-nav-tools {
    display: none !important;
  }
  .last-update-badge.desktop-only {
    display: none !important;
  }

  /* Sağ Butonlar: Mobil İkon Modu (Yazıları gizle, dokunmatik kareler yap) */
  .header-right-actions {
    gap: 6px;
  }
  .kanban-btn-text,
  .pwa-btn-text,
  #push-btn-text,
  .logout-text {
    display: none !important;
  }
  .nav-btn {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border-radius: 10px;
    justify-content: center;
    font-size: 16px;
    position: relative;
  }
  .nav-btn-kanban .badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 10px;
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    border: 2px solid #1e3a8a;
  }
  .user-account-wrapper {
    gap: 4px;
  }
  .user-profile-btn {
    padding: 3px 8px 3px 3px;
    gap: 6px;
  }
  .user-avatar-badge {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .user-display-name {
    font-size: 12px;
    max-width: 120px;
    font-weight: 700;
  }
  .user-chevron {
    font-size: 10px;
  }
  .user-dropdown-card {
    right: 0;
    width: min(300px, 92vw);
    max-width: 92vw;
  }

  /* Mobil 2 Kademeli Header Alt Şeridi: Butonlar ve Tam Gözüken Canlı Güncelleme Rozeti */
  .header-sub-strip {
    display: block;
    background: rgba(15, 23, 42, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 7px 0 8px 0;
    margin: 4px 0 0 0;
    width: 100%;
    overflow: visible;
  }
  .sub-strip-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .sub-strip-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
  }
  .sub-strip-btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 6px 4px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.1s ease;
  }
  .sub-strip-btn:active {
    transform: scale(0.96);
  }
  .sub-strip-btn.sub-taban-btn {
    background: #ffffff;
    color: #1d4ed8;
    border-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
  .sub-strip-btn .ss-icon {
    font-size: 13px;
    line-height: 1;
  }
  .sub-strip-update {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #cbd5e1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 99px;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
  }
  .sub-strip-update .update-pulse {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
  }
  .sub-strip-update .update-text {
    white-space: nowrap;
    overflow: visible;
  }
  .sub-strip-update strong {
    color: #38bdf8;
    font-weight: 700;
  }

  /* --- 5. MOBİL SABİT ALT NAVİGASYON (NATIVE APP FEEL) --- */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 9999;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  }
  .mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 0;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 3px 1px;
    -webkit-tap-highlight-color: transparent;
  }
  .mbn-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.1;
  }
  .mbn-item:active {
    transform: scale(0.92);
  }
  .mbn-item.active {
    color: #38bdf8;
    font-weight: 800;
  }
  .mbn-icon {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 2px;
    display: block;
  }
  .mbn-icon-wrap {
    position: relative;
    display: inline-block;
  }
  .mbn-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 99px;
    min-width: 14px;
    text-align: center;
    border: 1.5px solid #0f172a;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.5);
  }
  .mbn-label {
    display: block;
    line-height: 1;
  }
}

/* --- COUNTDOWN STRIP BANNER --- */
.countdown-strip {
  background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
  color: white;
  margin: 18px 0;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.countdown-strip:hover {
  transform: translateY(-1px);
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.strip-timer {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8;
}
.strip-action {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

/* --- MODERN AKILLI PROFİL FİLTRESİ KARTI --- */
.profile-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.profile-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.08);
}
.profile-card summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.profile-card summary::-webkit-details-marker { display: none; }
.profile-card summary::marker { display: none; }

/* Top Row: Avatar, Title, Status & Toggle Button */
.summary-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}
.summary-profile-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.user-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}
.summary-heading-box {
  min-width: 0;
  flex: 1;
}
.heading-row-flex {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.profile-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.profile-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}
.profile-card-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-cta-box {
  flex-shrink: 0;
}
.toggle-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.15s ease;
}
.toggle-text-btn:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.toggle-text-btn .chevron-icon {
  font-size: 12px;
  transition: transform 0.2s ease;
}
.profile-card[open] .toggle-text-btn .chevron-icon {
  transform: rotate(180deg);
}

/* Bottom Row: Tags Wrapper */
.profile-tags-wrapper {
  width: 100%;
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
}
.profile-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

/* Individual Tag (Badge) Styling */
.ptag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 32px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.15s ease !important;
  line-height: 1 !important;
}
.ptag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}
.ptag-icon {
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.ptag b {
  font-weight: 700;
}

/* Specific Badge Variations */
.ptag-name {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1d4ed8 !important;
}
.ptag-age {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}
.ptag-gender {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}
.ptag-body {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}
.ptag-city {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #065f46 !important;
}
.ptag-edu {
  background: #f5f3ff !important;
  border-color: #ddd6fe !important;
  color: #6d28d9 !important;
}
.ptag-score-p3 {
  background: #f0fdf4 !important;
  border-color: #86efac !important;
  color: #166534 !important;
}
.ptag-score-p93 {
  background: #f0fdf4 !important;
  border-color: #86efac !important;
  color: #15803d !important;
}
.ptag-score-p94 {
  background: #fefce8 !important;
  border-color: #fde047 !important;
  color: #854d0e !important;
}
.ptag-score-gen {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
}
.ptag-kpss-year {
  background: #fdf4ff !important;
  border-color: #f0abfc !important;
  color: #a21caf !important;
}
.ptag-no-kpss {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #b91c1c !important;
}
.ptag-yds {
  background: #f0fdfa !important;
  border-color: #99f6e4 !important;
  color: #0f766e !important;
}
.ptag-ales {
  background: #eef2ff !important;
  border-color: #c7d2fe !important;
  color: #4338ca !important;
}
.ptag-lic {
  background: #fffbeb !important;
  border-color: #fde68a !important;
  color: #92400e !important;
}
.ptag-security {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1e40af !important;
}
.ptag-disabled {
  background: #fdf2f8 !important;
  border-color: #fbcfe8 !important;
  color: #9d174d !important;
}
.ptag-certs {
  background: #faf5ff !important;
  border-color: #e9d5ff !important;
  color: #7e22ce !important;
}
.ptag-sgk {
  background: #f0f9ff !important;
  border-color: #bae6fd !important;
  color: #0369a1 !important;
}
.ptag-cities {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}
.ptag.empty {
  background: #f8fafc !important;
  color: #64748b !important;
  border-color: #e2e8f0 !important;
  font-weight: 500 !important;
  font-style: italic;
}

/* --- PROFİL FORMU VE 5 SÜTUNLU KARTLAR --- */
.pform {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}
.pform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .pform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .pform-grid {
    grid-template-columns: 1fr;
  }
}

.pfield-mini-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}
.pfield-row-sub {
  margin-bottom: 10px;
}
.pfield-row-sub:last-child {
  margin-bottom: 0;
}
.pfield-duo-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.compact-input {
  height: 38px !important;
  font-size: 13px !important;
  padding: 0 10px !important;
}
.compact-seg {
  padding: 2px !important;
}
.compact-seg .segment-btn span {
  padding: 6px 8px !important;
  font-size: 12px !important;
}
.license-grid-pills-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.lic-chip-label {
  cursor: pointer;
  margin: 0;
}
.lic-chip-label input { display: none; }
.lic-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  transition: all 0.15s ease;
}
.lic-chip-label input:checked + .lic-pill-btn {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}
.toggle-cards-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.toggle-card-row-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #f1f5f9;
  cursor: pointer;
}
.toggle-card-row-mini:last-child {
  border-bottom: none;
}
.tcr-mini-icon {
  font-size: 16px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.common-certs-flow-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cert-cat-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cert-cat-heading {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.cert-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cert-pills-row .cert-pill-label {
  flex: 1 1 calc(50% - 4px);
  min-width: 140px;
}
.cert-pill-label {
  cursor: pointer;
  margin: 0;
}
.cert-pill-label input { display: none; }
.cert-pill-btn {
  display: block;
  padding: 7px 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  transition: all 0.15s ease;
}
.cert-pill-label input:checked + .cert-pill-btn {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
  font-weight: 700;
}
.extra-edu-chip-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11.5px;
  margin-top: 4px;
}
.extra-edu-chip-item .eec-edu {
  font-weight: 700;
  color: #1d4ed8;
}
.extra-edu-chip-item .eec-dept {
  color: #1e40af;
}
.btn-wizard-shortcut {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-wizard-shortcut:hover {
  background: #dbeafe;
}
.pform-field-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.pform-field-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.pcard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.pcard-icon {
  width: 32px;
  height: 32px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.pcard-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.pcard-desc {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.2;
}
.pcard-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Özel Form Kontrolleri */
.custom-select-wrap {
  position: relative;
  width: 100%;
}
.custom-select-wrap select {
  width: 100%;
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.15s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.custom-select-wrap select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.input-with-suffix {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-with-suffix input {
  width: 100%;
  height: 40px;
  padding: 0 46px 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  transition: all 0.15s;
}
.input-with-suffix input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.input-suffix {
  position: absolute;
  right: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  pointer-events: none;
}

.pcard-shortcut-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #2563eb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  transition: color 0.15s;
}
.pcard-shortcut-btn:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* --- KPSS Çoklu Puan Alt Grubu --- */
.kpss-score-subgroup {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.score-subfield {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px 6px 4px 8px;
  transition: border-color 0.15s, background-color 0.15s;
}
.score-subfield:hover, .score-subfield:focus-within {
  border-color: #93c5fd;
  background-color: #ffffff;
}
.score-sublabel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  flex-shrink: 0;
}
.edu-tag-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.tag-lisans {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.tag-onlisans {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.tag-lise {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fef08a;
}
.compact-score-input {
  width: 90px !important;
  flex-shrink: 0;
}
.compact-score-input input {
  height: 28px !important;
  font-size: 12px !important;
  padding: 0 32px 0 6px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  background: #ffffff;
}
.compact-score-input .input-suffix {
  font-size: 10px !important;
  right: 6px !important;
  color: #64748b;
  font-weight: 700;
}
.pcard-shortcut-btn:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Doğum Tarihi (Gün, Ay, Yıl) & Mavi Yaş Etiketi */
.birth-date-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.birth-date-selects {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 190px;
}
.date-select-wrap {
  position: relative;
  flex: 1;
}
.date-select-wrap.day-wrap {
  flex: 0.9;
}
.date-select-wrap.month-wrap {
  flex: 1.5;
}
.date-select-wrap.year-wrap {
  flex: 1.2;
}
.date-part-select {
  width: 100%;
  height: 40px;
  padding: 0 18px 0 8px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.15s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
}
.date-part-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.age-badge-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  border: 1px solid #93c5fd;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.12);
  animation: badgePop 0.25s ease-out;
}
@keyframes badgePop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.pcard-tip-note {
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
}

.dept-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.dept-input-group input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  transition: all 0.15s;
}
.dept-input-group input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.dept-quick-select select {
  width: 100%;
  height: 32px;
  padding: 0 28px 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background-color: #f8fafc;
  font-size: 12px;
  color: #475569;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: all 0.15s;
}
.dept-quick-select select:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
}

/* ŞEHİR SEÇİCİ BİLEŞENİ (PROFİL) */
.city-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 32px;
  max-height: 84px;
  overflow-y: auto;
  padding: 2px 0;
}
.empty-tag-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  padding: 4px 0;
}
.city-tag-item {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.city-tag-item button {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-weight: bold;
}
.city-tag-item button:hover {
  color: #b91c1c;
}
.city-picker-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quick-cities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.quick-title {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
.city-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}
.city-pill:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
.city-pill.clear-btn {
  background: #fff1f2;
  color: #be123c;
  border-color: #fecdd3;
  margin-left: auto;
}
.city-pill.clear-btn:hover {
  background: #ffe4e6;
}

.pform-actions {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.btn-clear-profile {
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #fecdd3;
  color: #e11d48;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-clear-profile:hover {
  background: #fff1f2;
  border-color: #fda4af;
  color: #be123c;
  transform: translateY(-1px);
}
.btn-save-profile {
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}
.btn-save-profile:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}
.btn-arrow {
  font-size: 15px;
  transition: transform 0.15s;
}
.btn-save-profile:hover .btn-arrow {
  transform: translateX(3px);
}

/* --- SEGMENTED TABS (CHIPS BAR) --- */
.chips-bar {
  display: inline-flex;
  background: #e2e8f0;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  margin-bottom: 20px;
  max-width: 100%;
  overflow-x: auto;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.chip:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.5);
}
.chip.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.chip-icon {
  font-size: 14px;
}
.chip-count {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 99px;
  border: 1px solid #e2e8f0;
}
.chip.active .chip-count {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #dbeafe;
}

/* --- DETAYLI FİLTRE PANELİ --- */
.filters-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.search-box {
  position: relative;
  margin-bottom: 14px;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.search-box input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.15s ease;
}
.search-box input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.search-box input::placeholder {
  color: #94a3b8;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filter-source-wrap {
  width: auto;
  min-width: 210px;
}

/* GENEL FİLTRE ÇOKLU MENÜLER */
.multi-select-dropdown {
  position: relative;
  display: inline-block;
}
.ms-btn {
  height: 40px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  min-width: 155px;
  transition: all 0.15s ease;
}
.ms-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}
.ms-arrow {
  font-size: 10px;
  color: #64748b;
  transition: transform 0.15s;
}
.ms-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 250px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  z-index: 100;
  padding: 10px;
  max-height: 300px;
  display: flex;
  flex-direction: column;
}
.ms-menu[hidden] {
  display: none !important;
}
.ms-search-wrap input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 8px;
}
.ms-search-wrap input:focus {
  outline: none;
  border-color: #2563eb;
}
.ms-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}
.ms-actions button {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.ms-actions button:hover {
  text-decoration: underline;
}
.ms-list {
  overflow-y: auto;
  max-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ms-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  padding: 5px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s;
}
.ms-item:hover {
  background: #f1f5f9;
}
.ms-item input {
  margin: 0;
  cursor: pointer;
}

/* Doğrudan KPSS Puan Giriş Kutusu */
.filter-score-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.filter-score-wrap input {
  height: 40px;
  width: 140px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  outline: none;
  transition: all 0.15s ease;
}
.filter-score-wrap input:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}
.filter-score-wrap input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.filter-age-wrap input {
  height: 40px;
  width: 140px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  outline: none;
  transition: all 0.15s ease;
}
.filter-age-wrap input:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}
.filter-age-wrap input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* Modern Filtre Toggle Hap Butonları */
.filter-toggle-pill {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  user-select: none;
}
.filter-toggle-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.filter-toggle-pill .pill-badge {
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  transition: all 0.15s ease;
}
.filter-toggle-pill:hover .pill-badge {
  border-color: #94a3b8;
  background: #f8fafc;
}
.filter-toggle-pill input:checked + .pill-badge {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
}

.btn-filter-submit {
  height: 40px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  background: #1e40af;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-filter-submit:hover {
  background: #1e3a8a;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.25);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.btn.primary {
  background: var(--pri);
  color: white;
}
.btn.primary:hover {
  background: var(--pri-dark);
}
.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}
.btn-outline {
  background: white;
  border: 1px solid var(--border);
  color: var(--pri);
}
.btn-outline:hover {
  background: #eff6ff;
  border-color: var(--pri-light);
}
.btn-ghost {
  background: #f1f5f9;
  color: #334155;
}
.btn-ghost:hover {
  background: #e2e8f0;
}
.btn-fav {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.btn-fav.active {
  background: #f59e0b;
  color: white;
  border-color: #d97706;
}

/* --- ADS GRID & CARDS --- */
.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.list-header h2 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
}
.badge-count {
  background: #e2e8f0;
  color: #475569;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 6px;
}
.ads-grid {
  display: grid;
  gap: 12px;
}
.ad-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.ad-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.fav-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  color: #cbd5e1;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.fav-toggle.active {
  color: #f59e0b;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  padding-right: 32px;
}
.badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3.5px 9px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1.35;
  border: 1px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
}
.badge-source { background: #eff6ff; color: #1d4ed8; border-color: #dbeafe; font-weight: 700; }
.badge-cat { background: #f8fafc; color: #475569; border-color: #e2e8f0; }
.badge-city { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; font-weight: 600; }
.badge-kpss { background: #ecfdf5; color: #047857; border-color: #a7f3d0; font-weight: 700; letter-spacing: 0.1px; }
.badge-no-kpss { background: #f0fdf4; color: #166534; border-color: #bbf7d0; font-weight: 700; letter-spacing: 0.1px; }
.badge-age { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; font-weight: 700; letter-spacing: 0.1px; }
.badge-edu { background: #faf5ff; color: #7e22ce; border-color: #e9d5ff; font-weight: 700; letter-spacing: 0.1px; }
.badge-new { background: #ffedd5; color: #c2410c; border-color: #fed7aa; font-weight: 700; }
.badge-soon { background: #fee2e2; color: #b91c1c; border-color: #fecaca; font-weight: 700; }

.ad-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  padding-right: 30px;
}
.ad-title a {
  color: var(--text-main);
  text-decoration: none;
}
.ad-title a:hover {
  color: var(--pri);
}
.ad-institution {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.ad-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.ad-dates {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.deadline b {
  color: #1e293b;
}
.deadline.expired b {
  color: var(--danger);
}

/* --- EMPTY STATE --- */
.empty-box {
  background: white;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
}
.empty-icon { font-size: 40px; margin-bottom: 8px; }
.empty-box h3 { margin: 0 0 6px; color: var(--text-main); }

/* --- GELİŞMİŞ VE DUYARLI SAYFALAMA (PAGER) --- */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 24px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.page-btn,
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.16s ease;
  user-select: none;
}
.page-btn:hover,
.page-link:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
  transform: translateY(-1px);
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.16s ease;
}
.page-number:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}
.page-number.current-page {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.35);
  cursor: default;
}
.page-ellipsis {
  color: #94a3b8;
  font-size: 14px;
  padding: 0 4px;
  user-select: none;
}
.page-summary-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 99px;
  margin-left: 6px;
}
@media (max-width: 640px) {
  .pager {
    gap: 5px;
    padding: 10px 8px;
  }
  .page-btn, .page-link {
    padding: 6px 9px;
    font-size: 11.5px;
  }
  .page-number {
    min-width: 28px;
    height: 28px;
    font-size: 11.5px;
  }
  .page-summary-badge {
    width: 100%;
    justify-content: center;
    margin: 4px 0 0 0;
  }
}

/* --- STATUS TABLE --- */
.sources-status-section {
  margin: 36px 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}
.sources-status-section h3 {
  margin: 0 0 14px;
  font-size: 15px;
}
.table-responsive { overflow-x: auto; }
.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.status-table th, .status-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.status-badge.ok { color: var(--success); font-weight: 600; }
.status-badge.error { color: var(--danger); font-weight: 600; }
.new-count { color: var(--success); font-weight: 700; }

/* --- MODAL SCROLLBAR LOCK --- */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100% !important;
}

/* --- MODAL BACKDROP & DIALOG --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden !important;
}
.modal-backdrop[hidden] { display: none !important; }
.modal-backdrop.is-open { display: flex !important; }
#modal-ad { z-index: 100010 !important; }
#modal-ad.is-open { display: flex !important; }
#modal-taban { z-index: 100020 !important; }
#modal-taban.is-open { display: flex !important; }
.modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  width: min(980px, 95vw);
  max-width: 95vw;
  height: min(92vh, 900px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  overflow: hidden !important;
  box-sizing: border-box;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  font-size: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition: all 0.15s ease;
}
.modal-close:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.modal-header {
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: #ffffff;
}
.modal-title {
  margin: 8px 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  padding-right: 40px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.modal-sub {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Meta Cards Grid inside Modal (5 Cards: KPSS, Yaş, Öğrenim, Şehir, Son Başvuru) */
.meta-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
  width: 100%;
  box-sizing: border-box;
}
.meta-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}
.mc-label {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mc-val {
  font-size: 12.5px;
  color: #0f172a;
  margin-top: 2px;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-weight: 700;
}
.mc-val.highlight {
  color: #dc2626;
}

.modal-ad-scroll-area {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  display: flex;
  flex-direction: column;
}
.modal-ad-scroll-area::-webkit-scrollbar {
  width: 6px;
}
.modal-ad-scroll-area::-webkit-scrollbar-track {
  background: transparent;
}
.modal-ad-scroll-area::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
}
.modal-ad-scroll-area::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
#modal-ad .modal-header {
  flex: 0 0 auto !important;
}
#modal-ad .modal-body {
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  flex: 0 0 auto !important;
  height: auto !important;
  max-height: none !important;
}

.modal-body {
  padding: 16px 24px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.modal-body::-webkit-scrollbar {
  width: 6px;
}
.modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.content-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.content-header-bar h4 { margin: 0; font-size: 14px; }
.mbody-content {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  min-height: 200px;
}
.content-text {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
  color: #1e293b;
}

/* --- 📄 PDF & ZENGİN HTML GÖRÜNÜMÜ --- */
.pdf-modal-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pdf-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.pdf-view-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-icon {
  font-size: 20px;
}
.p-sub {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
}
.pdf-view-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pdf-embed-wrapper {
  width: 100%;
  height: 680px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}
.modal-pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* --- 🖼️ GÖRSEL İLAN GÖRÜNÜMÜ --- */
.image-modal-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.image-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.image-view-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.image-view-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.image-embed-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid #334155;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
}
.image-preview-container {
  width: 100%;
  max-height: none !important;
  overflow: visible !important;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #1e293b;
  border-radius: 6px;
  padding: 12px;
}
.modal-image-preview {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  cursor: zoom-in;
  transition: transform 0.2s;
}
.modal-image-preview:hover {
  transform: scale(1.01);
}
.image-preview-hint {
  color: #94a3b8;
  font-size: 12px;
  margin: 10px 0 0 0;
  text-align: center;
}

/* Format rozetleri */
.badge-format {
  font-weight: 700;
  letter-spacing: 0.3px;
}
.badge-format-pdf {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
}
.badge-format-img {
  background: #f0fdf4 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}
.badge-format-html {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}
.badge-format-text {
  background: #f8fafc !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
}
.rich-html-wrapper {
  padding: 8px 4px;
}
.rich-html-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.rich-html-body {
  font-size: 14px;
  line-height: 1.65;
  color: #1e293b;
}
.ad-rich-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  border: 1px solid #cbd5e1;
  font-size: 13px;
}
.ad-rich-table th, .ad-rich-table td {
  border: 1px solid #cbd5e1;
  padding: 8px 12px;
  text-align: left;
}
.ad-rich-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}
.ad-rich-table tr:nth-child(even) {
  background: #fbfcfe;
}
.ad-apply-box {
  margin: 18px 0;
  padding: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  text-align: center;
}

.modal-footer {
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}
.m-footer-utility {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-modal-apply {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
  transition: all 0.15s ease !important;
}
.btn-modal-apply:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
}

/* --- LOADERS --- */
.loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--pri);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- 🧮 KPSS PUAN ROBOTU STİLLERİ --- */
.modal-calc {
  max-width: 640px;
}
.calc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.ctab {
  flex: 1;
  padding: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.ctab.active {
  background: var(--pri);
  color: white;
  border-color: var(--pri);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.calc-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}
.cc-header h4 { margin: 0; font-size: 14px; }
.cc-sub { font-size: 11px; color: var(--text-muted); }
.input-pair {
  display: flex;
  gap: 10px;
  margin: 12px 0;
}
.input-pair label {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}
.input-pair input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
}
.net-display {
  font-size: 12px;
  color: var(--pri-dark);
}
.calc-result-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cr-label { font-size: 12px; color: #1e40af; display: block; }
.cr-puan-label { font-size: 13px; font-weight: 600; color: #1e3a8a; margin-top: 4px; display: block; }
.cr-score { font-size: 34px; font-weight: 800; color: var(--pri-dark); line-height: 1; margin-top: 4px; }
.cr-right p { font-size: 12px; color: #3b82f6; margin: 0 0 10px; }

/* --- ⏳ SINAV TAKVİMİ STİLLERİ --- */
.exams-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.exam-row {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s;
}
.exam-row.is-next {
  background: #f0f9ff;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px #bae6fd, 0 2px 8px rgba(14, 165, 233, 0.1);
}
.exam-row.is-completed {
  opacity: 0.72;
  background: #f8fafc;
}
.exam-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.exam-icon { font-size: 26px; }
.exam-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.exam-date-str { font-size: 12px; color: var(--text-muted); margin-top: 3px; display: flex; gap: 12px; flex-wrap: wrap; }
.exam-res-date { color: #0284c7; font-weight: 500; }
.exam-status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.exam-status-badge.next-badge {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
}
.exam-status-badge.comp-badge {
  background: #e2e8f0;
  color: #64748b;
}
.exam-status-badge.up-badge {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}
.exam-counter {
  background: white;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--pri-dark);
  white-space: nowrap;
}
.exam-row.is-next .exam-counter {
  border-color: #38bdf8;
  color: #0369a1;
  font-weight: 600;
  background: #ffffff;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .pform-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .pform-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .head { flex-direction: column; align-items: flex-start; }
  .pform-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result-box { flex-direction: column; text-align: center; }
  .meta-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .exam-row { flex-direction: column; align-items: flex-start; }
  .countdown-strip { flex-direction: column; gap: 8px; text-align: center; }
  .pform-actions { flex-direction: column-reverse; align-items: stretch; }
  .btn-save-profile { justify-content: center; }
}

/* =========================================================
   YENİ KULLANICI PROFİL VE HESAP MENÜSÜ (TÜM PLATFORMLAR)
   ========================================================= */
.user-account-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Kullanıcı Profil Tetikleyici Butonu (Pill) */
.user-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  padding: 4px 12px 4px 5px;
  cursor: pointer;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  user-select: none;
}
.user-profile-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}
.user-profile-btn:active {
  transform: translateY(0);
}

/* Yuvarlak Gradient Avatar Baş Harf Rozeti */
.user-avatar-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
  text-transform: uppercase;
}

/* Kullanıcı Adı (Net, Okunaklı, Asla Erken Kesilmez) */
.user-display-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: -0.01em;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Aşağı Açılır Ok İkonu */
.user-chevron {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  transition: transform 0.2s ease;
  margin-left: 2px;
}
.user-profile-btn[aria-expanded="true"] .user-chevron {
  transform: rotate(180deg);
}


/* --- AÇILIR KULLANICI MENÜSÜ (DROPDOWN CARD) --- */
.user-dropdown-card {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 290px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 14px;
  z-index: 10000;
  animation: udc-fade-in 0.18s ease-out;
}
@keyframes udc-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.udc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 10px 4px;
}
.udc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
}
.udc-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.udc-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.udc-email {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.udc-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 99px;
  padding: 2px 7px;
  margin-top: 5px;
  width: fit-content;
}

.udc-divider {
  height: 1px;
  background: #1e293b;
  margin: 8px 0;
}

.udc-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.udc-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 8px 10px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  color: inherit;
}
.udc-action-btn:hover {
  background: #1e293b;
}
.udc-act-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.udc-act-text {
  display: flex;
  flex-direction: column;
}
.udc-act-title {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}
.udc-act-desc {
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
}

.udc-footer {
  padding-top: 6px;
}
.udc-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #ef4444;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.udc-logout-btn:hover {
  background: #dc2626;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

/* =========================================================
   AUTH PAGE: SPLIT SCREEN SHOWCASE (LOGIN)
   ========================================================= */
.auth-body-split {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #0f172a;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: #1e293b;
  display: flex;
  align-items: stretch;
}
.auth-container-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  width: 100%;
  min-height: 100vh;
}
@media (max-width: 960px) {
  .auth-container-split {
    grid-template-columns: 1fr;
  }
  .auth-showcase {
    display: none !important;
  }
}

/* Showcase (Left Side) */
.auth-showcase {
  background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 50%, #0c4a6e 100%);
  color: #ffffff;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.showcase-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}
.orb-1 {
  width: 380px;
  height: 380px;
  background: rgba(56, 189, 248, 0.25);
  top: -60px;
  left: -80px;
}
.orb-2 {
  width: 420px;
  height: 420px;
  background: rgba(99, 102, 241, 0.22);
  bottom: -80px;
  right: -80px;
}
.showcase-header, .showcase-hero, .showcase-stats-grid, .showcase-features-list, .showcase-footer {
  position: relative;
  z-index: 2;
}

.showcase-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-box-lg {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.logo-box-lg svg {
  width: 100%;
  height: 100%;
}
.showcase-brand-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.showcase-badge {
  font-size: 12px;
  color: #93c5fd;
  font-weight: 500;
}

.showcase-hero {
  margin: 36px 0;
}
.showcase-headline {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.showcase-sub {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}

.showcase-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.s-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 16px 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}
.s-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: -0.02em;
}
.s-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.showcase-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.s-feat-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 12px 16px;
  border-radius: 12px;
}
.s-feat-icon {
  font-size: 20px;
  line-height: 1;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.s-feat-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}
.s-feat-info p {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}
.showcase-footer {
  font-size: 12px;
  color: #64748b;
  margin-top: 24px;
}

/* Right Side: Form Container */
.auth-form-side {
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}
.auth-panel-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 20px;
  padding: 38px 36px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}
.panel-header {
  margin-bottom: 24px;
}
.panel-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}
.panel-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
}
.panel-subtitle {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* Modern Inputs & Forms */
.modern-auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modern-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.field-sublink {
  font-size: 12px;
  color: #2563eb;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}
.field-sublink:hover {
  text-decoration: underline;
}
.field-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon {
  position: absolute;
  left: 14px;
  font-size: 15px;
  pointer-events: none;
  opacity: 0.8;
  z-index: 2;
  line-height: 1;
}
.ui-input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 42px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.ui-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.ui-input::placeholder {
  color: #94a3b8;
}

.input-duo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}
.input-trio-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  width: 100%;
}
@media (max-width: 640px) {
  .input-duo-row,
  .input-trio-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.ui-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  margin-top: 4px;
}
.ui-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.btn-arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.ui-btn-primary:hover .btn-arrow-icon {
  transform: translateX(3px);
}

.panel-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0;
  color: #94a3b8;
}
.panel-divider::before, .panel-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}
.panel-divider span {
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.panel-register-banner {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reg-banner-badge {
  font-size: 11px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 4px;
}
.reg-banner-info h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.reg-banner-info p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}
.ui-btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: #ffffff;
  border: 1.5px solid #2563eb;
  border-radius: 9px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ui-btn-register:hover {
  background: #eff6ff;
  border-color: #1d4ed8;
  color: #1d4ed8;
}
.reg-arrow {
  transition: transform 0.2s ease;
}
.ui-btn-register:hover .reg-arrow {
  transform: translateX(3px);
}

.ui-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}
.ui-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.ui-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* =========================================================
   AUTH PAGE: WIZARD MULTI-STEPPER (REGISTER)
   ========================================================= */
.auth-body-wizard {
  margin: 0;
  padding: 32px 16px;
  min-height: 100vh;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wizard-page-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.wizard-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 4px;
}
.wizard-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-box-sm {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}
.logo-box-sm svg { width: 100%; height: 100%; }
.wizard-brand-text {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.wizard-brand-badge {
  font-size: 11px;
  color: #2563eb;
  font-weight: 600;
}
.wizard-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-help-text {
  font-size: 13px;
  color: #64748b;
}
.btn-subtle-login {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  transition: all 0.15s ease;
}
.btn-subtle-login:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.wizard-main-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 34px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

/* Tracker Stepper */
.stepper-tracker {
  position: relative;
  margin-bottom: 32px;
  padding: 0 10px;
}
.stepper-progress-bg {
  position: absolute;
  top: 18px;
  left: 36px;
  right: 36px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 9999px;
  z-index: 1;
}
.stepper-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #10b981);
  border-radius: 9999px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.stepper-nodes {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}
.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.node-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.node-check { display: none; }
.node-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.node-step {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.node-title {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.step-node.active .node-circle {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.18);
}
.step-node.active .node-title {
  color: #2563eb;
}
.step-node.completed .node-circle {
  border-color: #10b981;
  background: #10b981;
  color: #ffffff;
}
.step-node.completed .node-num { display: none; }
.step-node.completed .node-check { display: inline-block; }
.step-node.completed .node-title { color: #0f172a; }

/* Panels */
.wizard-step-panel {
  display: none;
}
.wizard-step-panel.active {
  display: block;
  animation: panelSlideFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes panelSlideFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-intro {
  margin-bottom: 24px;
}
.intro-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2563eb;
  background: #eff6ff;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
}
.intro-title {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.intro-desc {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.fields-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Password Strength Meter */
.pw-strength-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.pw-meter-bars {
  display: flex;
  gap: 4px;
  flex: 1;
}
.meter-bar {
  flex: 1;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.meter-bar.weak { background: #ef4444; }
.meter-bar.medium { background: #f59e0b; }
.meter-bar.strong { background: #10b981; }
.pw-meter-text {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* Education Cards Grid */
.edu-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 600px) {
  .edu-modern-grid { grid-template-columns: 1fr; }
}
.edu-card-option input { display: none; }
.edu-card-inner {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.edu-card-inner:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.edu-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.edu-card-content {
  flex: 1;
}
.edu-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.edu-card-desc {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}
.edu-kpss-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 6px;
}
.edu-kpss-tag.tag-amber { color: #d97706; background: #fef3c7; }
.edu-kpss-tag.tag-purple { color: #7c3aed; background: #ede9fe; }
.edu-kpss-tag.tag-slate { color: #475569; background: #f1f5f9; }

.edu-selected-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.edu-card-option input:checked + .edu-card-inner {
  border-color: #2563eb;
  background: #f8faff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}
.edu-card-option input:checked + .edu-card-inner .edu-selected-radio {
  border-color: #2563eb;
  background: #2563eb;
  box-shadow: inset 0 0 0 3px #ffffff;
}

/* Quick Department Chips */
.quick-chips-box {
  margin-top: 10px;
}
.quick-chips-title {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 6px;
}
.quick-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.quick-chip-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.quick-chip-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Score Cards Container */
.score-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 660px) {
  .score-cards-container { grid-template-columns: 1fr; }
}
.score-hero-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s ease;
}
.score-hero-card.is-highlight {
  border-color: #2563eb;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
  background: #fbfdff;
}
.scard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.scard-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.badge-p3 { background: #dbeafe; color: #1d4ed8; }
.badge-p93 { background: #fef3c7; color: #b45309; }
.badge-p94 { background: #ede9fe; color: #6d28d9; }
.scard-sub {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}
.scard-label {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  display: block;
  margin-bottom: 4px;
}
.scard-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.scard-input {
  width: 100%;
  height: 44px;
  padding: 0 46px 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-family: inherit;
}
.scard-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.scard-suffix {
  position: absolute;
  right: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  pointer-events: none;
}
.scard-caption {
  margin: 0;
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

.score-quick-presets {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.presets-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.preset-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.preset-btn:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}
.btn-clear-scores {
  margin-left: auto;
  color: #64748b;
  border-style: dashed;
}

/* Birth Date Row */
.birth-date-inputs {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 10px;
}
.date-select-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.date-input-sublabel {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}
.ui-select {
  width: 100%;
  height: 46px;
  padding: 0 38px 0 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  background-color: #ffffff;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  box-sizing: border-box;
  transition: all 0.2s ease;
  cursor: pointer;
}
.ui-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.field-input-box .ui-select,
.field-input-box .input-icon + .ui-select {
  padding-left: 42px !important;
}
.birth-date-inputs .ui-select {
  padding: 0 24px 0 10px;
  font-size: 13px;
  height: 42px;
}

.live-age-card {
  margin-top: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.age-card-icon {
  font-size: 24px;
  line-height: 1;
}
.age-headline {
  font-size: 14px;
  font-weight: 800;
  color: #065f46;
}
.age-status-text {
  font-size: 12px;
  color: #047857;
  margin-top: 2px;
}

/* City Regions and Flow */
.field-hint-bold {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}
.region-buttons-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.reg-quick-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.reg-quick-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.cities-picker-container {
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.city-search-header {
  position: relative;
  display: flex;
  align-items: center;
}
.city-search-icon {
  position: absolute;
  left: 10px;
  font-size: 13px;
  pointer-events: none;
  opacity: 0.6;
}
.city-search-input {
  width: 100%;
  height: 36px;
  padding: 0 10px 0 32px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
  font-family: inherit;
}
.city-pills-flow {
  max-height: 150px;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
}
.city-pill-label input { display: none; }
.pill-badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}
.city-pill-label input:checked + .pill-badge {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}
.city-picker-footer {
  font-size: 11px;
  font-weight: 700;
  color: #0369a1;
  padding-top: 4px;
  border-top: 1px solid #f1f5f9;
}

/* Wizard Action Buttons */
.step-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}
.ui-btn-secondary {
  padding: 10px 18px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
.ui-btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.ui-btn-next {
  width: auto;
  padding: 0 24px;
}
.btn-arr {
  font-size: 16px;
  transition: transform 0.2s ease;
}
.ui-btn-next:hover .btn-arr {
  transform: translateX(3px);
}
.ui-btn-finish {
  width: auto;
  padding: 0 28px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}
.ui-btn-finish:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45);
}

/* =========================================================================
   GÖRSEL 1 - 9 MODERN UI TASARIMI (KPSS ATAMA GÜNCELLEMESİ)
   ========================================================================= */

/* Segmented Control (Erkek / Kadın) */
.segmented-control {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.segment-btn {
  flex: 1;
  text-align: center;
  cursor: pointer;
  margin: 0;
}
.segment-btn input { display: none; }
.segment-btn span {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  transition: all 0.2s ease;
}
.segment-btn input:checked + span {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Kart Bölüm Kutusu (Card Section Box) */
.card-section-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.csb-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.csb-between {
  justify-content: space-between;
}
.csb-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
}
.csb-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
}
.csb-desc {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}

/* Sınav Durumu Toggle Butonları [ Puanım Yok ] [ Puanım Var ] */
.exam-status-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.exam-toggle-btn {
  flex: 1;
  padding: 12px 16px;
  text-align: center;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.exam-toggle-btn.active {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.15);
}

/* Bilgi Notu Kutusu */
.callout-info-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #1e40af;
  line-height: 1.45;
  margin-top: 10px;
}
.callout-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* Temizle Butonlu İnput */
.field-input-box.with-clear {
  position: relative;
}
.btn-clear-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}
.btn-clear-input:hover {
  color: #475569;
  background: #f1f5f9;
}

/* Ehliyet Izgarası (A, B, C, D, E, F, G, M, T) */
.license-grid-pills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.lic-chip {
  height: 48px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lic-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.lic-chip.selected {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Modern Switch Toggle */
.toggle-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}
.toggle-card-row:last-child {
  border-bottom: none;
}
.tcr-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tcr-icon {
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tcr-icon.icon-blue { background: #eff6ff; color: #2563eb; }
.tcr-icon.icon-green { background: #ecfdf5; color: #10b981; }
.tcr-icon.icon-indigo { background: #eef2ff; color: #6366f1; }
.tcr-icon.icon-amber { background: #fffbeb; color: #f59e0b; }
.tcr-left strong {
  display: block;
  font-size: 14px;
  color: #1e293b;
}
.tcr-left p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}
.switch-ui {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}
.switch-ui input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 34px;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.switch-ui input:checked + .switch-slider {
  background-color: #2563eb;
}
.switch-ui input:checked + .switch-slider:before {
  transform: translateX(20px);
}
.sgk-subfield-box {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 10px;
  padding: 12px;
}

/* Sık Kullanılan Belgeler Flow */
.sub-label-uppercase {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 10px;
}
.common-certs-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-flow-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cert-flow-btn:hover {
  background: #e2e8f0;
}
.cert-flow-btn.selected {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.selected-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  background: #eff6ff;
  border-radius: 10px;
  border: 1px dashed #bfdbfe;
}
.active-cert-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2563eb;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.active-cert-tag button {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* Dinamik Eğitim Ekleme */
.btn-add-dashed {
  width: 100%;
  padding: 12px;
  border: 1.5px dashed #cbd5e1;
  background: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  color: #2563eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
  margin-top: 10px;
}
.btn-add-dashed:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}
.btn-remove-row {
  background: transparent;
  border: 1px solid #fca5a5;
  color: #ef4444;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.btn-remove-row:hover {
  background: #fee2e2;
}
.step-next-indicator {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

/* =========================================================================
   GÖRSEL 8: TÜM İLANLAR VE KART DİZAYNI
   ========================================================================= */

.all-ads-toolbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 10px;
}
.toolbar-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-back-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 22px;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.btn-back-nav:hover {
  background: #f1f5f9;
}
.section-main-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}
.section-sub-count {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}
.toolbar-quick-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-subtle-link {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.btn-subtle-link:hover, .btn-subtle-link.active-subtle {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Arama ve Çip Konteynırı */
.search-and-chips-container {
  margin: 12px 0 20px;
}
.search-box-pill {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s;
}
.search-box-pill:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.search-lens-icon {
  font-size: 16px;
  opacity: 0.6;
  margin-right: 8px;
}
.search-box-pill input {
  width: 100%;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  color: #0f172a;
}
.btn-clear-search {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
}

/* Filtre Çipleri (Uygunlar, Ek Belge, Uygun Değil, Tümü) - Tek Ekranda Tam Görünüm */
.fit-chips-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  padding: 12px 0 8px;
  box-sizing: border-box;
}
.fit-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 8px;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
@media (max-width: 640px) {
  .fit-chips-scroll {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 8px 0;
  }
  .fit-chip {
    padding: 7px 2px;
    font-size: 11px;
    gap: 3px;
    border-radius: 12px;
  }
  .chip-badge-num {
    padding: 1px 4px;
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .fit-chips-scroll {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .fit-chip {
    padding: 8px 6px;
    font-size: 12px;
  }
}
.fit-chip:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.fit-chip.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.fit-chip.chip-unfit.active {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}
.chip-badge-num {
  font-size: 11px;
  font-weight: 800;
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 10px;
}
.fit-chip.active .chip-badge-num {
  background: rgba(255, 255, 255, 0.25);
}

/* 🎯 KPSS Sınav Yılı Hızlı Filtre Barı */
.kpss-year-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 14px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}
.kyf-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
}
.kyf-icon {
  font-size: 15px;
}
.kyf-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.kyf-chips-wrap::-webkit-scrollbar { display: none; }
.kyf-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 13px;
  border-radius: 16px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.kyf-pill:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.kyf-pill.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.28);
}
.kyf-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 8px;
  margin-left: auto;
  font-weight: 600;
}
.kyf-badge-dot {
  font-size: 8px;
  color: #0284c7;
}

/* İkincil Eylem Çubuğu ("Diğer filtreler" ve Sıralama) */
.secondary-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 6px 0;
}
.btn-other-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-other-filters:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.listing-summary-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}
.summary-count-label {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}
.custom-sort-select select {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #bfdbfe;
  background-color: #eff6ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border-radius: 10px;
  padding: 8px 32px 8px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1d4ed8;
  cursor: pointer;
  outline: none;
  transition: all 0.18s ease;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.06);
}
.custom-sort-select select:hover {
  background-color: #dbeafe;
  border-color: #93c5fd;
}
.custom-sort-select select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

/* Kurum Kart Grubu (Görsel 8 ile Birebir) */
.job-cards-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Ana İlan Kartı */
.job-institution-group {
  --theme-accent: #2563eb;
  --theme-border: #bfdbfe;
  --theme-bg-soft: #f0f7ff;
  --theme-logo-bg: #eff6ff;
  --theme-logo-border: #93c5fd;
  --theme-badge-bg: #eff6ff;
  --theme-badge-color: #1d4ed8;
  --theme-shadow: rgba(37, 99, 235, 0.14);

  background: linear-gradient(180deg, var(--theme-bg-soft) 0%, #ffffff 85px, #ffffff 100%);
  border: 1.5px solid var(--theme-border);
  border-left: 6px solid var(--theme-accent);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible !important;
  position: relative;
  z-index: 1;
}
.job-institution-group.has-open-dropdown {
  z-index: 1050 !important;
}
.job-institution-group:hover {
  border-color: var(--theme-accent);
  box-shadow: 0 8px 24px var(--theme-shadow), 0 2px 6px rgba(15, 23, 42, 0.04);
}

/* =========================================================================
   İLAN KARTLARI RENK TEMALARI (HER İLAN FARKLI VE BELİRGİN RENKTE)
   ========================================================================= */

/* 1. Canlı Kraliyet Mavisi */
.job-institution-group.card-theme-1,
.job-cards-flow > .job-institution-group:nth-child(8n + 1) {
  --theme-accent: #2563eb;
  --theme-border: #bfdbfe;
  --theme-bg-soft: #eff6ff;
  --theme-logo-bg: #dbeafe;
  --theme-logo-border: #93c5fd;
  --theme-badge-bg: #eff6ff;
  --theme-badge-color: #1d4ed8;
  --theme-shadow: rgba(37, 99, 235, 0.16);
}

/* 2. Zümrüt Yeşili */
.job-institution-group.card-theme-2,
.job-cards-flow > .job-institution-group:nth-child(8n + 2) {
  --theme-accent: #059669;
  --theme-border: #a7f3d0;
  --theme-bg-soft: #ecfdf5;
  --theme-logo-bg: #d1fae5;
  --theme-logo-border: #6ee7b7;
  --theme-badge-bg: #ecfdf5;
  --theme-badge-color: #047857;
  --theme-shadow: rgba(5, 150, 105, 0.16);
}

/* 3. Asil Menekşe / Mor */
.job-institution-group.card-theme-3,
.job-cards-flow > .job-institution-group:nth-child(8n + 3) {
  --theme-accent: #7c3aed;
  --theme-border: #ddd6fe;
  --theme-bg-soft: #f5f3ff;
  --theme-logo-bg: #ede9fe;
  --theme-logo-border: #c4b5fd;
  --theme-badge-bg: #f5f3ff;
  --theme-badge-color: #6d28d9;
  --theme-shadow: rgba(124, 58, 237, 0.16);
}

/* 4. Sıcak Kehribar Turuncusu */
.job-institution-group.card-theme-4,
.job-cards-flow > .job-institution-group:nth-child(8n + 4) {
  --theme-accent: #d97706;
  --theme-border: #fde68a;
  --theme-bg-soft: #fffbeb;
  --theme-logo-bg: #fef3c7;
  --theme-logo-border: #fcd34d;
  --theme-badge-bg: #fffbeb;
  --theme-badge-color: #b45309;
  --theme-shadow: rgba(217, 119, 6, 0.16);
}

/* 5. Okyanus Camgöbeği (Teal) */
.job-institution-group.card-theme-5,
.job-cards-flow > .job-institution-group:nth-child(8n + 5) {
  --theme-accent: #0891b2;
  --theme-border: #a5f3fc;
  --theme-bg-soft: #ecfeff;
  --theme-logo-bg: #cffafe;
  --theme-logo-border: #67e8f9;
  --theme-badge-bg: #ecfeff;
  --theme-badge-color: #0e7490;
  --theme-shadow: rgba(8, 145, 178, 0.16);
}

/* 6. Canlı Gül / Mercan Kırmızısı */
.job-institution-group.card-theme-6,
.job-cards-flow > .job-institution-group:nth-child(8n + 6) {
  --theme-accent: #e11d48;
  --theme-border: #fecdd3;
  --theme-bg-soft: #fff1f2;
  --theme-logo-bg: #ffe4e6;
  --theme-logo-border: #fda4af;
  --theme-badge-bg: #fff1f2;
  --theme-badge-color: #be123c;
  --theme-shadow: rgba(225, 29, 72, 0.16);
}

/* 7. Derin İndigo / Gece Mavisi */
.job-institution-group.card-theme-7,
.job-cards-flow > .job-institution-group:nth-child(8n + 7) {
  --theme-accent: #4f46e5;
  --theme-border: #c7d2fe;
  --theme-bg-soft: #eef2ff;
  --theme-logo-bg: #e0e7ff;
  --theme-logo-border: #a5b4fc;
  --theme-badge-bg: #eef2ff;
  --theme-badge-color: #3730a3;
  --theme-shadow: rgba(79, 70, 229, 0.16);
}

/* 8. Sıcak Bronz / Terracotta */
.job-institution-group.card-theme-8,
.job-cards-flow > .job-institution-group:nth-child(8n + 8) {
  --theme-accent: #ea580c;
  --theme-border: #fed7aa;
  --theme-bg-soft: #fff7ed;
  --theme-logo-bg: #ffedd5;
  --theme-logo-border: #fdba74;
  --theme-badge-bg: #fff7ed;
  --theme-badge-color: #c2410c;
  --theme-shadow: rgba(234, 88, 12, 0.16);
}

/* Kart Üst Bilgi Başlığı (Kurum + Pozisyon Sayısı + Uygunluk Durumu) */
.jig-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  width: 100%;
  box-sizing: border-box;
}
.jig-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.jig-inst-logo {
  font-size: 22px;
  width: 44px;
  height: 44px;
  background: var(--theme-logo-bg, #f8fafc);
  border: 1.5px solid var(--theme-logo-border, #e2e8f0);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.jig-inst-meta {
  min-width: 0;
  flex: 1;
}
.jig-inst-name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.jig-sub-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.jig-badge-open {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--theme-badge-color, #2563eb);
  background: var(--theme-badge-bg, #eff6ff);
  border: 1px solid var(--theme-logo-border, #bfdbfe);
  padding: 1px 7px;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.jig-city-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 1px 6px;
  border-radius: 6px;
}
.jig-header-right {
  flex-shrink: 0;
}

/* Uygunluk Durum Rozeti */
.psc-status-tag {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.psc-status-tag.tag-fit {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}
.psc-status-tag.tag-extra {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}
.psc-status-tag.tag-unfit {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

/* Pozisyon Gövdesi */
.position-subcard {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible !important;
  position: relative;
}

/* Pozisyon Başlık Satırı */
.psc-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}
.psc-index {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--theme-badge-color, #64748b);
  background: var(--theme-badge-bg, #f1f5f9);
  border: 1px solid var(--theme-logo-border, #e2e8f0);
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.psc-urgent-badge {
  background: #fee2e2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #fca5a5;
  flex-shrink: 0;
}
.psc-title {
  margin: 2px 0 0;
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
  flex-basis: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.4;
  transition: color 0.15s ease;
}
.psc-title:hover {
  color: var(--theme-accent, #2563eb);
}

/* İlan Etiketleri Satırı */
.psc-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* Taban Puanı Şeridi */
.card-taban-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 8px 12px;
  margin: 10px 0;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.15s ease;
}
.card-taban-strip:hover {
  background: linear-gradient(135deg, #dbeafe 0%, #dcfce7 100%);
  border-color: #93c5fd;
  transform: translateY(-1px);
}
.cts-main {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cts-icon { font-size: 15px; }
.cts-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.cts-score {
  font-size: 14px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
}
.cts-term-badge {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  background: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
}
.cts-detail {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  justify-content: flex-end;
  flex-shrink: 1;
}
.cts-matched-name {
  font-size: 12px;
  color: #1e293b;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}
.cts-quota-badge {
  font-size: 11px;
  color: #64748b;
  background: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}
.cts-arrow {
  font-size: 11.5px;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
}

/* Eşleşme Analizi Uyarı Kutusu */
.psc-reason-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.psc-reason-alert.alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.psc-reason-alert.alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.psc-reason-alert.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.pra-icon { flex-shrink: 0; font-size: 13px; margin-top: 1px; }
.pra-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Teslim Şekli Uyarısı */
.psc-submission-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.psc-submission-alert.elden {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #c53030;
}
.psc-submission-alert.online {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}
.psa-icon { flex-shrink: 0; font-size: 13px; }
.psa-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Aksiyon Butonları Satırı */
.psc-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  width: 100%;
  box-sizing: border-box;
}
.psc-act-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.psc-act-left {
  flex-wrap: wrap;
}
.psc-act-right {
  margin-left: auto;
}
.btn-card-action {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
  box-sizing: border-box;
}
.btn-card-action:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}
.btn-save-ad.saved {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #b45309;
}
.btn-action-gcal {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.btn-action-gcal:hover {
  background: #dcfce7;
  border-color: #86efac;
}
.btn-primary-detail {
  background: #eff6ff !important;
  color: #2563eb !important;
  border-color: #bfdbfe !important;
  font-weight: 800 !important;
}
.btn-primary-detail:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}
.card-app-dropdown-wrap {
  position: relative;
  display: inline-flex;
}
.btn-app-track {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.btn-app-track.in-tracker {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #93c5fd !important;
  font-weight: 700;
}

/* =========================================================================
   GÖRSEL 9: "İLANLARI FİLTRELE" BOTTOM SHEET / MODAL
   ========================================================================= */

.modal-backdrop-sheet {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.filter-bottom-sheet {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: 24px 24px 0 0;
  padding: 24px 20px 20px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  animation: slideUpSheet 0.25s ease-out;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.fbs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.fbs-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}
.fbs-subtitle {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: #64748b;
}
.fbs-close {
  background: #f1f5f9;
  border: none;
  font-size: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  color: #475569;
}
.fbs-body {
  overflow-y: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fbs-group-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 8px;
}
.fbs-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fbs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}
.fbs-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.fbs-chip.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}
.fbs-count {
  font-size: 11px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 6px;
}
.fbs-chip.active .fbs-count {
  background: rgba(255, 255, 255, 0.25);
}
.fbs-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.fbs-btn-reset {
  color: #2563eb;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.fbs-btn-submit {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* =========================================================================
   GÖRSEL 1 - 7: "PROFİLİ DÜZENLE" MODAL DIALOG
   ========================================================================= */

.profile-edit-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.pem-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.pem-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}
.pem-email {
  margin: 2px 0 0;
  font-size: 13px;
  color: #64748b;
}
.stepper-bars-5 {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.sb5-segment {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: #e2e8f0;
  transition: background 0.25s ease;
}
.sb5-segment.active {
  background: #2563eb;
}

/* =========================================================================
   MÜKERRER İLAN BİRLEŞTİRME & ÇOKLU KADRO (POZİSYON) SİSTEMİ
   ========================================================================= */

/* Çoklu Kaynak Rozeti (Mükerrer Birleştirme) */
.badge-multisource {
  background: #f5f3ff;
  color: #6366f1;
  border: 1px solid #c7d2fe;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: normal;
  flex-wrap: wrap;
  max-width: 100%;
}
.dup-src-pill {
  color: #4338ca;
  font-weight: 800;
}

/* İlan Kartı İçindeki Çoklu Kadro (Pozisyon) Bölümü */
.psc-positions-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.ppc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ppc-title {
  font-size: 12px;
  font-weight: 800;
  color: #1e293b;
}
.ppc-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}
.ppc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pos-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.1s, box-shadow 0.1s;
}
.pos-chip:hover {
  transform: translateY(-1px);
}
.pos-chip.pos-fit {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.pos-chip.pos-unfit {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.pos-status-icon {
  font-size: 11px;
}
.pos-name {
  font-weight: 700;
  color: inherit;
}
.pos-quota {
  font-size: 11px;
  color: #059669;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
}
.pos-chip.pos-unfit .pos-quota {
  color: #64748b;
  background: #e2e8f0;
}
.pos-score {
  font-size: 11px;
  color: #2563eb;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
}
.pos-more-btn {
  background: #eff6ff;
  border: 1px dashed #93c5fd;
  color: #2563eb;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 8px;
}
.pos-more-btn:hover {
  background: #dbeafe;
}

/* Modal: Çoklu Kaynaklar Çubuğu */
.m-sources-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  margin-top: 10px;
  margin-bottom: 12px;
}
.msb-label {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
}
.msb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.msb-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  transition: all 0.15s;
}
.msb-link-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.msb-link-arrow {
  font-size: 10px;
}

/* Modal: Pozisyonlar ve Kadro Dağılımı Tablosu */
.modal-positions-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}
.mpb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.mpb-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.mpb-pill {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}
.mpb-pill.fit {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.mpb-pill.unfit {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.mpb-table-wrap {
  overflow: visible !important;
  max-height: none !important;
  width: 100%;
}
.mpb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.mpb-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 800;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 10px;
  text-align: left;
  border-bottom: 2px solid #e2e8f0;
}
.mpb-table td {
  padding: 10px 10px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.mpb-table tr.row-fit {
  background: rgba(236, 253, 245, 0.4);
}
.mpb-table tr:hover {
  background: #f8fafc;
}
.pos-table-title {
  font-weight: 700;
  color: #0f172a;
}
.pos-table-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}
.pos-table-gender, .pos-table-age {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  padding: 1px 5px;
  border-radius: 4px;
  margin-top: 3px;
  margin-right: 4px;
}
.pos-table-edu {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 6px;
  border-radius: 4px;
}
.pos-table-dept {
  font-size: 11px;
  color: #334155;
  margin-top: 3px;
}
.pos-table-kpss {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
}
.pos-table-quota {
  font-size: 12px;
  color: #0f172a;
}
.pos-table-status {
  display: inline-flex;
  flex-direction: column;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
.pos-table-status.fit {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.pos-table-status.unfit {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.pos-table-status small {
  font-size: 9.5px;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 2px;
}

/* =========================================================================
   PWA & WEB PUSH BİLDİRİM BİLEŞENLERİ
   ========================================================================= */

/* Header Bildirim & PWA Butonları */
.nav-btn-pwa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  border: 1.5px solid #93c5fd;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
  animation: pwa-soft-pulse 3s infinite;
  transition: all 0.2s ease;
}
.nav-btn-pwa:hover {
  background: #bfdbfe;
  color: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
@keyframes pwa-soft-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.nav-btn-push {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  transition: all 0.2s ease;
}
.nav-btn-push:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.nav-btn-push.subscribed {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.nav-btn-push.subscribed:hover {
  background: #d1fae5;
}

/* PWA Push Bildirim Hatırlatma Banner'ı */
.pwa-push-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
  animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.ppb-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ppb-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ppb-text h4 {
  margin: 0 0 2px 0;
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
}
.ppb-text p {
  margin: 0;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.4;
}
.ppb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-ppb-enable {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: all 0.15s ease;
}
.btn-ppb-enable:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}
.btn-ppb-dismiss {
  background: transparent;
  color: #64748b;
  border: 1px solid #334155;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-ppb-dismiss:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .pwa-push-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
  }
  .ppb-actions {
    justify-content: flex-end;
  }
  .btn-ppb-enable {
    flex: 1;
  }
}

/* PWA Mobil Yükleme Banner'ı */
.pwa-mobile-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid #3b82f6;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.25);
  animation: slideDown 0.3s ease-out;
}
.pmb-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pmb-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #0f172a;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.pmb-img {
  border-radius: 8px;
  object-fit: cover;
}
.pmb-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
}
.pmb-text p {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #94a3b8;
}
.pmb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-pmb-install {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  transition: all 0.15s ease;
}
.btn-pmb-install:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
}
.btn-pmb-dismiss {
  background: transparent;
  color: #64748b;
  border: 1px solid #334155;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-pmb-dismiss:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

/* iOS Safari PWA Rehber Modalı */
.ios-pwa-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  width: 92%;
  max-width: 460px;
  padding: 22px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalScaleIn 0.25s ease-out;
}
.ios-pwa-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}
.ios-pwa-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ios-pwa-icon {
  font-size: 28px;
}
.ios-pwa-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.ios-pwa-sub {
  margin: 2px 0 0 0;
  font-size: 12.5px;
  color: #64748b;
}
.ios-pwa-lead {
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
  margin: 0 0 14px 0;
}
.ios-step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.ios-step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}
.ios-step-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.ios-step-content {
  flex: 1;
}
.ios-step-head {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.ios-step-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}
.ios-glyph {
  display: inline-block;
  background: #e2e8f0;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  color: #1e293b;
}
.ios-pwa-footer .btn-full-width {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
}

/* PWA Toast Bildirim */
.pwa-toast-alert {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #334155;
  animation: toastSlideUp 0.3s ease-out;
}
.pwa-toast-alert.hide {
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: all 0.3s ease;
}
@keyframes toastSlideUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 768px) {
  .pwa-mobile-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
  }
  .pmb-actions {
    justify-content: flex-end;
  }
  .btn-pmb-install {
    flex: 1;
  }
}

/* ==========================================================================
   KİŞİSEL BAŞVURU TAKİP PANELİ (KANBAN & AJANDA) & GOOGLE TAKVİM STİLLERİ
   ========================================================================== */

/* Nav Header Kanban & Favorites Buttons */
.nav-btn-kanban,
.nav-btn-favs {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  transition: all 0.2s ease;
}
.nav-btn-kanban:hover,
.nav-btn-favs:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}
.nav-btn-kanban .badge-count {
  background: #38bdf8;
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  line-height: 1.4;
}
.nav-btn-favs .badge-count {
  background: #fbbf24;
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  line-height: 1.4;
}

/* Favori İlanlarım Modal */
.modal-favorites-dialog {
  max-width: 1080px !important;
  width: min(1080px, 95vw);
  height: min(90vh, 860px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #f8fafc;
  border-radius: 20px;
}
.favs-icon-box {
  background: #fffbeb !important;
  border-color: #fde68a !important;
}
.favs-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  padding: 18px 22px;
}
.favs-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}
.fav-item-card {
  border-left: 4px solid #f59e0b !important;
}
.btn-fav-remove {
  background: #fffbeb !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
}
.btn-fav-remove:hover {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border-color: #fca5a5 !important;
}
@media (max-width: 768px) {
  .favs-modal-body {
    padding: 12px 14px 20px !important;
  }
  .favs-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* Job Card Action Buttons (Takvim & Takip) */
.btn-action-gcal {
  background: #f0fdf4 !important;
  color: #166534 !important;
  border: 1px solid #bbf7d0 !important;
  font-weight: 600;
}
.btn-action-gcal:hover {
  background: #dcfce7 !important;
  border-color: #86efac !important;
  color: #14532d !important;
}

.card-app-dropdown-wrap {
  position: relative;
  display: inline-flex;
  flex: 1 1 auto;
  min-width: 0;
  z-index: 10;
}
.card-app-dropdown-wrap.is-open {
  z-index: 1100 !important;
}
.card-app-dropdown-wrap .btn-card-action {
  width: 100%;
}

.btn-app-track {
  background: #f8fafc;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.18s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.btn-app-track:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.btn-app-track.in-tracker {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #93c5fd !important;
  font-weight: 700;
}

.app-stage-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.22), 0 6px 14px -2px rgba(15, 23, 42, 0.08);
  padding: 8px;
  min-width: 240px;
  width: max-content;
  max-width: min(320px, calc(100vw - 32px));
  z-index: 1150;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-sizing: border-box;
  animation: fadeInDownMenu 0.18s ease-out;
}
.app-stage-menu.open-up {
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  box-shadow: 0 -16px 36px -4px rgba(15, 23, 42, 0.22), 0 -6px 14px -2px rgba(15, 23, 42, 0.08) !important;
  animation: fadeInUpMenu 0.18s ease-out;
}
@keyframes fadeInDownMenu {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUpMenu {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.app-stage-menu .asm-header {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  padding: 8px 12px 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 3px;
}
.app-stage-menu .asm-item {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: all 0.15s ease;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.35;
  min-height: 38px;
}
.app-stage-menu .asm-item:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}
.app-stage-menu .asm-item.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  font-weight: 700;
}
.app-stage-menu .asm-delete {
  margin-top: 5px;
  border-top: 1px solid #f1f5f9;
  border-radius: 10px;
  color: #dc2626;
  font-weight: 700;
  background: #ffffff;
}
.app-stage-menu .asm-delete:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

/* Modal-Ad Footer Elements */
.btn-gcal {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-gcal:hover {
  background: #dcfce7;
  border-color: #86efac;
}

.m-tracker-wrap {
  display: inline-block;
}
.m-stage-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 32px 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  transition: all 0.18s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.m-stage-select:hover {
  border-color: #94a3b8;
  background-color: #f8fafc;
}
.m-stage-select:focus {
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ==========================================================================
   KANBAN BOARD MODAL
   ========================================================================== */

.modal-kanban-dialog {
  max-width: 1280px !important;
  width: 96vw;
  height: 92vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #f8fafc;
  border-radius: 20px;
}

.kanban-modal-header {
  padding: 18px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.kmh-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.kmh-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.kmh-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
}
.kmh-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}
.kmh-right {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 36px;
}
.kmh-counter-badge {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}
.kmh-counter-badge strong {
  color: #2563eb;
  font-size: 14px;
  font-weight: 800;
}

.kanban-modal-body {
  flex: 1;
  overflow-y: hidden;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.kanban-empty-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.kew-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.kanban-empty-wrap h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}
.kanban-empty-wrap p {
  font-size: 14px;
  color: #64748b;
  max-width: 480px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Kanban Grid (4 Columns) */
.kanban-board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  height: 100%;
  overflow-x: auto;
  align-items: stretch;
}

.kanban-column {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 270px;
}

.kcol-header {
  padding: 12px 14px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kcol-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.kcol-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ind-planned { background: #3b82f6; }
.ind-applied { background: #f59e0b; }
.ind-interview { background: #8b5cf6; }
.ind-result { background: #10b981; }

.kcol-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #1e293b;
}
.kcol-count {
  background: #ffffff;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
}

.kcol-desc {
  font-size: 11px;
  color: #64748b;
  padding: 0 14px 10px;
  border-bottom: 1px solid #e2e8f0;
  line-height: 1.35;
}

.kcol-cards-container {
  flex: 1;
  overflow-y: auto;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kcol-empty-msg {
  padding: 28px 12px;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  margin: 8px 4px;
}

/* Mobil & Tablet 4 Aşamalı Sekme (Tab) Barı (Masaüstünde gizli) */
.kanban-stage-tabs {
  display: none;
}

/* Individual Kanban Card */
.kanban-item-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #3b82f6;
  border-radius: 14px;
  padding: 13px 15px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.kanban-item-card.kcard-stage-planned { border-left-color: #3b82f6; }
.kanban-item-card.kcard-stage-applied { border-left-color: #f59e0b; }
.kanban-item-card.kcard-stage-interview { border-left-color: #8b5cf6; }
.kanban-item-card.kcard-stage-result { border-left-color: #10b981; }

.kanban-item-card:hover {
  box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.1);
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.kcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.kcard-source {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 7px;
  border-radius: 5px;
}
.kcard-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}
.badge-expired { background: #fee2e2; color: #b91c1c; }
.badge-today { background: #fef3c7; color: #b45309; }
.badge-soon { background: #ffedd5; color: #c2410c; }
.badge-normal { background: #f0fdf4; color: #15803d; }

.kcard-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  cursor: pointer;
  transition: color 0.15s ease;
  word-break: break-word;
}
.kcard-title:hover {
  color: #2563eb;
}
.kcard-sub {
  margin: 0;
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.kcard-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.kmeta-tag {
  font-size: 11px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.kcard-stage-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.kcard-stage-switch label {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
}
.kcard-select {
  flex: 1;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  padding: 6px 26px 6px 9px;
  cursor: pointer;
  outline: none;
  transition: all 0.18s ease;
}
.kcard-select:hover {
  border-color: #94a3b8;
  background-color: #f8fafc;
}
.kcard-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2.5px rgba(37, 99, 235, 0.15);
}

.kcard-note-box {
  margin-top: 2px;
}
.kcard-notes-input {
  width: 100%;
  box-sizing: border-box;
  background: #fdfefe;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
  padding: 7px 9px;
  font-family: inherit;
  color: #1e293b;
  resize: vertical;
  min-height: 44px;
  max-height: 100px;
  line-height: 1.4;
}
.kcard-notes-input:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
}

.kcard-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.btn-kcard-action {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.btn-kcard-action:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.btn-kcard-gcal {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}
.btn-kcard-gcal:hover {
  background: #dcfce7;
  color: #14532d;
}
.btn-kcard-del {
  flex: 0 0 34px;
  color: #64748b;
  padding: 7px 0;
}
.btn-kcard-del:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

/* =========================================================================
   MOBİL VE TABLET (<= 1024px) KİŞİSEL BAŞVURU TAKİP PANELİ:
   4 AŞAMALI SEKMELİ GÖRÜNÜM & NET İLAN KARTLARI
   ========================================================================= */
@media (max-width: 1024px) {
  .kanban-modal-header {
    padding: 14px 16px !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }
  .kmh-left {
    flex: 1 1 200px !important;
    min-width: 0 !important;
    gap: 10px !important;
  }
  .kmh-icon-box {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
  }
  .kmh-title {
    font-size: 15.5px !important;
    line-height: 1.3 !important;
  }
  .kmh-sub {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
  .kmh-right {
    padding-right: 38px !important;
    gap: 8px !important;
  }
  .kanban-modal-body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 12px 14px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* 4 Aşamalı Sekme (Tab) Barı */
  .kanban-stage-tabs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    padding: 6px !important;
    border-radius: 14px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
    flex-shrink: 0 !important;
  }
  .kstage-tab-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 9px 8px !important;
    border-radius: 10px !important;
    border: 1.5px solid transparent !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    min-width: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .kstage-tab-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
  }
  .kstage-tab-btn.active {
    background: #eff6ff !important;
    border-color: #2563eb !important;
    color: #1e40af !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15) !important;
  }
  .kstage-tab-btn.tab-applied.active {
    background: #fffbeb !important;
    border-color: #d97706 !important;
    color: #b45309 !important;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.15) !important;
  }
  .kstage-tab-btn.tab-interview.active {
    background: #f5f3ff !important;
    border-color: #7c3aed !important;
    color: #6d28d9 !important;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.15) !important;
  }
  .kstage-tab-btn.tab-result.active {
    background: #ecfdf5 !important;
    border-color: #059669 !important;
    color: #047857 !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15) !important;
  }
  .ktab-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }
  .ktab-label {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .ktab-badge {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 1px 6px !important;
    border-radius: 99px !important;
    flex-shrink: 0 !important;
  }
  .kstage-tab-btn.active .ktab-badge {
    background: #1e40af !important;
    border-color: #1e40af !important;
    color: #ffffff !important;
  }
  .kstage-tab-btn.tab-applied.active .ktab-badge {
    background: #d97706 !important;
    border-color: #d97706 !important;
    color: #ffffff !important;
  }
  .kstage-tab-btn.tab-interview.active .ktab-badge {
    background: #7c3aed !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
  }
  .kstage-tab-btn.tab-result.active .ktab-badge {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #ffffff !important;
  }

  /* Sadece Aktif Sekmenin Sütununu Göster */
  .kanban-board-grid {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
  }
  .kanban-column {
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }
  .kanban-column.active-stage-col {
    display: flex !important;
  }
  .kcol-header {
    padding: 12px 16px 4px !important;
  }
  .kcol-desc {
    padding: 0 16px 10px !important;
    font-size: 12px !important;
  }
  .kcol-cards-container {
    overflow: visible !important;
    height: auto !important;
    padding: 14px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    background: #f8fafc !important;
  }

  /* İlan Kartları Net ve Tam Okunaklı */
  .kanban-item-card {
    padding: 14px 16px !important;
    gap: 10px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
  }
  .kcard-title {
    font-size: 14.5px !important;
    line-height: 1.4 !important;
  }
  .kcard-sub {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    color: #334155 !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }
  .kmeta-tag {
    font-size: 11.5px !important;
    padding: 4px 9px !important;
  }
  .kcard-select {
    font-size: 12.5px !important;
    padding: 7px 28px 7px 10px !important;
  }
  .btn-kcard-action {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 768px) {
  .modal-kanban-dialog {
    width: 100% !important;
    max-width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }
  .kanban-stage-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 6px !important;
  }
  .kstage-tab-btn {
    padding: 9px 10px !important;
    justify-content: space-between !important;
    font-size: 12px !important;
  }
  .kcol-cards-container {
    grid-template-columns: 1fr !important;
    padding: 12px !important;
    gap: 12px !important;
  }
}

/* ==========================================================================
   GEÇMİŞ KPSS TABAN PUANLARI & ALIM İSTATİSTİKLERİ REHBERİ STİLLERİ
   ========================================================================== */

/* Header Nav Button */
.nav-btn-taban {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.nav-btn-taban:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Modal-Ad İçindeki Taban Puan Eşleşme Kutusu */
.modal-taban-match-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.mtmb-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.mtmb-icon {
  font-size: 24px;
  line-height: 1;
}
.mtmb-info h4 {
  margin: 0 0 2px;
  font-size: 14.5px;
  font-weight: 800;
  color: #166534;
}
.mtmb-info p {
  margin: 0;
  font-size: 12px;
  color: #4b5563;
}
.mtmb-explore-btn {
  margin-left: auto;
  font-size: 11.5px;
  color: #15803d;
  border-color: #86efac;
  background: #ffffff;
}
.mtmb-explore-btn:hover {
  background: #dcfce7;
  color: #14532d;
}
.mtmb-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.mtmb-card {
  background: #ffffff;
  border: 1px solid #dcfce7;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.mtmb-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.mtmb-term-badge {
  font-size: 10px;
  font-weight: 800;
  color: #1e40af;
  background: #eff6ff;
  padding: 2px 6px;
  border-radius: 4px;
}
.mtmb-score-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}
.mtmb-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.mtmb-inst {
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 6px;
}
.mtmb-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: #475569;
  border-top: 1px dashed #f1f5f9;
  padding-top: 5px;
}

/* Taban Puanlar Modal Ana Görünüm */
.modal-taban-dialog {
  max-width: 1200px !important;
  width: min(1200px, 95vw);
  max-height: 90vh;
  height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #f8fafc;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.taban-modal-header {
  position: relative;
  padding: 18px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  z-index: 5;
}
.tmh-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tmh-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.tmh-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
}
.tmh-sub {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}
.tmh-right {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 48px;
}
.tmh-total-pill {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 12px;
  color: #475569;
}
.tmh-total-pill strong {
  color: #2563eb;
  font-size: 14px;
  font-weight: 800;
}
.taban-btn-close-hdr {
  font-weight: 700 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  cursor: pointer;
  background: #ffffff !important;
  font-size: 12.5px !important;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}
.taban-btn-close-hdr:hover {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border-color: #fca5a5 !important;
}

.taban-modal-body {
  flex: 1 1 0%;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto !important;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 16px 24px;
  display: block;
}
.taban-modal-body > * {
  margin-bottom: 16px;
}
.taban-modal-body > *:last-child {
  margin-bottom: 0;
}
.taban-modal-body::-webkit-scrollbar {
  width: 8px;
}
.taban-modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.taban-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.taban-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.taban-modal-footer {
  padding: 12px 24px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  z-index: 5;
}
.tmf-hint {
  font-size: 12px;
  color: #64748b;
}



/* Filtreleme Çubuğu */
.taban-filter-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.tfb-search-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.tfb-search-box {
  flex: 1;
  min-width: 280px;
  position: relative;
  display: flex;
  align-items: center;
}
.tfb-search-icon {
  position: absolute;
  left: 12px;
  font-size: 15px;
  color: #94a3b8;
  pointer-events: none;
}
.tfb-search-box input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 36px 10px 38px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  outline: none;
  transition: all 0.15s ease;
}
.tfb-search-box input:focus {
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.btn-clear-search {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
}
.tfb-selects {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tfb-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 9px 34px 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.tfb-select:hover {
  border-color: #94a3b8;
  background-color: #f8fafc;
}
.tfb-select:focus {
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Hızlı Çipler */
.tfb-quick-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tqc-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tqc-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tqc-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.tqc-btn.active {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  font-weight: 700;
}

/* İstatistik Şeridi */
.taban-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tss-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tss-label {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tss-val {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}
.tss-val-green { color: #16a34a; }
.tss-val-blue { color: #2563eb; }
.tss-val-purple { color: #9333ea; }
.tss-val-amber { color: #d97706; }

/* Taban Puan Tablosu */
.taban-table-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  box-sizing: border-box;
}
.taban-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.taban-table thead th {
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 3;
}
.taban-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}
.taban-table tbody tr:hover {
  background: #f8fafc;
}
.taban-table tbody td {
  padding: 12px 14px;
  vertical-align: middle;
}
.tt-term-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.tt-inst-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 12.5px;
  max-width: 220px;
}
.tt-title-name {
  color: #1e293b;
  font-size: 13px;
}
.tt-branch-note {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  max-width: 260px;
}
.tt-city-badge {
  font-size: 11.5px;
  color: #475569;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
}
.tt-edu-tag {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.tt-quota-val {
  font-size: 13px;
  color: #0f172a;
}
.tt-score-pill {
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
  white-space: nowrap;
}
.tscore-green { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.tscore-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.tscore-orange { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.tscore-purple { background: #faf5ff; color: #7e22ce; border: 1px solid #e9d5ff; }

.tt-score-max {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
.tt-term-badge {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.tt-type-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-block;
  letter-spacing: 0.02em;
}
.tt-type-merkezi {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.tt-type-4b {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.tt-type-mulakat {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}
.tt-type-univ {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.taban-empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
}
.teb-icon { font-size: 40px; margin-bottom: 10px; }
.taban-empty-box h3 { margin: 0 0 6px; font-size: 16px; color: #0f172a; }
.taban-empty-box p { margin: 0; font-size: 13px; color: #64748b; }

/* --- MOBİL VE TABLET (<= 1024px) GEÇMİŞ KPSS TABAN PUANLARI REHBERİ: SAĞA KAYDIRMASIZ KART DÜZENİ --- */
@media (max-width: 1024px) {
  .taban-modal-header {
    padding: 14px 16px !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }
  .tmh-left {
    flex: 1 1 220px !important;
    min-width: 0 !important;
    gap: 10px !important;
  }
  .tmh-icon-box {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
  }
  .tmh-title {
    font-size: 15px !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }
  .tmh-sub {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
  .tmh-right {
    padding-right: 38px !important;
    gap: 8px !important;
  }
  .taban-btn-close-hdr {
    display: none !important;
  }
  .taban-modal-body {
    padding: 12px 14px !important;
    overflow-x: hidden !important;
  }
  .taban-filter-bar {
    padding: 12px !important;
    border-radius: 14px !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .tfb-search-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .tfb-search-box {
    min-width: 0 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
  }
  .tfb-selects {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .tfb-select {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
    padding: 8px 26px 8px 10px !important;
    background-position: right 8px center !important;
    text-overflow: ellipsis !important;
  }
  .taban-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .tss-card {
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }
  .tss-val {
    font-size: 17px !important;
  }

  /* Taban Puan Tablosu -> Sağa Kaydırmasız Modern Kart Grid Görünümü */
  .taban-table-wrap {
    overflow: visible !important;
    overflow-x: hidden !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .taban-table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
  }
  .taban-table thead {
    display: none !important;
  }
  .taban-table tbody {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .taban-table tbody tr {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 8px 8px !important;
    padding: 12px 14px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #2563eb !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .taban-table tbody td {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  .taban-table tbody td.tt-cell-inst {
    grid-column: 1 / 5 !important;
    grid-row: 1 / 2 !important;
  }
  .taban-table tbody td.tt-cell-term {
    grid-column: 5 / 7 !important;
    grid-row: 1 / 3 !important;
    justify-self: end !important;
    align-self: start !important;
    text-align: right !important;
  }
  .tt-term-stack {
    align-items: flex-end !important;
  }
  .taban-table tbody td.tt-cell-title {
    grid-column: 1 / 5 !important;
    grid-row: 2 / 3 !important;
  }
  .taban-table tbody td.tt-cell-city {
    grid-column: 1 / 3 !important;
    grid-row: 3 / 4 !important;
    align-self: center !important;
  }
  .taban-table tbody td.tt-cell-edu {
    grid-column: 3 / 7 !important;
    grid-row: 3 / 4 !important;
    justify-self: start !important;
    align-self: center !important;
  }
  .taban-table tbody td.tt-cell-quota,
  .taban-table tbody td.tt-cell-min,
  .taban-table tbody td.tt-cell-max {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 7px 6px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .taban-table tbody td.tt-cell-quota {
    grid-column: 1 / 3 !important;
    grid-row: 4 / 5 !important;
  }
  .taban-table tbody td.tt-cell-min {
    grid-column: 3 / 5 !important;
    grid-row: 4 / 5 !important;
  }
  .taban-table tbody td.tt-cell-max {
    grid-column: 5 / 7 !important;
    grid-row: 4 / 5 !important;
  }
  .taban-table tbody td[data-label]::before {
    content: attr(data-label);
    font-size: 9.5px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
  }
  .tt-inst-name {
    max-width: 100% !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
  }
  .tt-title-name {
    font-size: 13px !important;
    color: #1d4ed8 !important;
    font-weight: 700 !important;
    display: block !important;
    line-height: 1.35 !important;
  }
  .tt-branch-note {
    max-width: 100% !important;
    font-size: 11.5px !important;
    color: #475569 !important;
    line-height: 1.35 !important;
  }
  .tt-city-badge,
  .tt-edu-tag,
  .tt-term-badge,
  .tt-type-pill {
    white-space: normal !important;
    max-width: 100% !important;
    display: inline-block !important;
  }
}

@media (max-width: 768px) {
  .modal-taban-dialog {
    width: 100% !important;
    max-width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }
  .taban-table tbody {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .tmf-hint {
    display: none !important;
  }
  .taban-modal-footer .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* =========================================================================
   DEDİKE RESPONSİF HEADER & NAVİGASYON MOTORU
   WEB (Desktop > 1024px), TABLET (769px - 1024px), TELEFON (<= 768px)
   ========================================================================= */

/* --- TIER 1: WEB (DESKTOP > 1024px) --- */
@media (min-width: 1025px) {
  .app-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%) !important;
    padding: 0 !important;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.22) !important;
    width: 100% !important;
    overflow: visible !important;
  }
  .header-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
  }
  .header-main-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-height: 60px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
  }
  .brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .brand .logo-box {
    width: 36px !important;
    height: 36px !important;
  }
  .brand .logo-title {
    font-size: 18px !important;
    white-space: nowrap !important;
  }
  .brand .logo-sub {
    display: block !important;
    font-size: 10.5px !important;
    white-space: nowrap !important;
  }
  .desktop-nav-tools {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: rgba(15, 23, 42, 0.22) !important;
    padding: 3px 5px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    backdrop-filter: blur(8px) !important;
    flex-shrink: 0 !important;
  }
  .d-nav-btn {
    padding: 6px 9px !important;
    font-size: 12px !important;
    gap: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .header-right-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
  }
  .header-right-actions .nav-btn {
    padding: 6px 9px !important;
    font-size: 12px !important;
    gap: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .last-update-badge.desktop-only {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 5px 8px !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
  }
  .last-update-badge .update-lbl {
    display: none !important;
  }
  .user-profile-btn {
    padding: 3px 9px 3px 4px !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
  }
  .user-avatar-badge {
    width: 26px !important;
    height: 26px !important;
    font-size: 12px !important;
  }
  .user-display-name {
    max-width: 110px !important;
    font-size: 12px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .header-sub-strip {
    display: none !important;
  }
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* --- TIER 1.5: LAPTOP & STANDART PC EKRANLARI (1025px - 1440px) İÇİN TAM SIĞDIRMA --- */
@media (min-width: 1025px) and (max-width: 1440px) {
  .header-wrap {
    padding: 0 14px !important;
  }
  .header-main-bar {
    gap: 8px !important;
  }
  .brand {
    gap: 6px !important;
  }
  .brand .logo-box {
    width: 34px !important;
    height: 34px !important;
  }
  .brand .logo-title {
    font-size: 17px !important;
  }
  .brand .logo-sub {
    display: none !important;
  }
  .desktop-nav-tools {
    gap: 3px !important;
    padding: 3px 4px !important;
  }
  .d-nav-btn {
    padding: 5px 8px !important;
    font-size: 11.8px !important;
    gap: 4px !important;
  }
  .header-right-actions {
    gap: 5px !important;
  }
  .header-right-actions .nav-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
    gap: 4px !important;
  }
  .last-update-badge.desktop-only {
    display: none !important;
  }
  .kanban-btn-text,
  .favs-btn-text,
  .pwa-btn-text,
  #push-btn-text {
    display: none !important;
  }
  .header-right-actions .nav-btn-kanban,
  .header-right-actions .nav-btn-favs,
  .header-right-actions .nav-btn-push {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    padding: 0 !important;
    justify-content: center !important;
    position: relative !important;
  }
  .header-right-actions .nav-btn-kanban .badge-count,
  .header-right-actions .nav-btn-favs .badge-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    font-size: 10px !important;
    min-width: 17px !important;
    height: 17px !important;
    line-height: 17px !important;
    padding: 0 3px !important;
    border: 1.5px solid #1e3a8a !important;
    border-radius: 99px !important;
    margin: 0 !important;
  }
  .nav-btn-guest-badge {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  .nav-btn-login {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .user-display-name {
    max-width: 90px !important;
    font-size: 11.8px !important;
  }
}

/* --- TIER 1.6: KOMPAKT LAPTOP EKRANLARI (1025px - 1200px) --- */
@media (min-width: 1025px) and (max-width: 1200px) {
  .live-dot-badge .live-text {
    display: none !important;
  }
  .d-nav-btn {
    padding: 5px 6px !important;
    font-size: 11.2px !important;
  }
  .guest-btn-text {
    display: none !important;
  }
  .nav-btn-guest-badge {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  .user-display-name {
    max-width: 75px !important;
  }
}

/* --- TIER 2: TABLET (769px - 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .app-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #2563eb 100%) !important;
    padding: 4px 0 0 0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2) !important;
  }
  .header-wrap {
    max-width: 100% !important;
    padding: 0 16px !important;
  }
  .header-main-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 54px !important;
    padding: 2px 0 !important;
  }
  .brand .logo-box {
    width: 36px !important;
    height: 36px !important;
  }
  .brand .logo-title {
    font-size: 18px !important;
  }
  .brand .logo-sub {
    display: none !important;
  }
  .desktop-nav-tools {
    display: none !important; /* Tablete özel alt şeride aktarılır */
  }
  .last-update-badge.desktop-only {
    display: none !important;
  }
  .header-right-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .kanban-btn-text,
  .favs-btn-text,
  .pwa-btn-text,
  #push-btn-text,
  .guest-btn-text,
  .admin-btn-text,
  .logout-text {
    display: none !important;
  }
  .header-right-actions .nav-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    position: relative !important;
  }
  .header-right-actions .nav-btn-kanban .badge-count,
  .header-right-actions .nav-btn-favs .badge-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    font-size: 10px !important;
    min-width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    padding: 0 3px !important;
    border: 1.5px solid #1e3a8a !important;
    border-radius: 99px !important;
    margin: 0 !important;
  }
  .guest-header-actions .nav-btn-login {
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    height: 38px !important;
    padding: 0 14px !important;
    border-radius: 99px !important;
    font-size: 12.5px !important;
    gap: 5px !important;
  }
  .guest-header-actions .nav-btn-login .login-btn-text {
    display: inline !important;
  }
  .user-profile-btn {
    height: 36px !important;
    padding: 2px 10px 2px 4px !important;
    border-radius: 99px !important;
    gap: 6px !important;
  }
  .user-avatar-badge {
    width: 28px !important;
    height: 28px !important;
    font-size: 13px !important;
  }
  .user-display-name {
    font-size: 12.5px !important;
    max-width: 100px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .header-sub-strip {
    display: block !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(15, 23, 42, 0.25) !important;
    padding: 8px 0 !important;
    margin: 4px 0 0 0 !important;
    width: 100% !important;
  }
  .sub-strip-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .sub-strip-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .sub-strip-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 10px !important;
    padding: 7px 14px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.15s ease !important;
  }
  .sub-strip-btn:hover {
    background: rgba(255, 255, 255, 0.24) !important;
  }
  .sub-strip-btn.sub-taban-btn {
    background: #ffffff !important;
    color: #1d4ed8 !important;
    border-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  }
  .sub-strip-update {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11.5px !important;
    color: #cbd5e1 !important;
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 6px 12px !important;
    border-radius: 99px !important;
    white-space: nowrap !important;
  }
  .sub-strip-update strong {
    color: #38bdf8 !important;
    font-weight: 700 !important;
  }
  .mobile-bottom-nav {
    display: none !important;
  }

  /* Tablet İlan Detay Modalı */
  #modal-ad .modal-ad-scroll-area {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #modal-ad .modal-header {
    flex: 0 0 auto !important;
    padding: 16px 20px 12px !important;
  }
  #modal-ad .modal-body {
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    flex: 0 0 auto !important;
    height: auto !important;
    max-height: none !important;
    padding: 14px 20px !important;
  }
  .mpb-table-wrap {
    overflow: visible !important;
    max-height: none !important;
    width: 100% !important;
  }
  .mpb-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: auto !important;
  }
}

/* --- TIER 3: TELEFON / MOBİL (<= 768px) --- */
@media (max-width: 768px) {
  body {
    padding-bottom: 72px !important;
  }
  .app-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 998 !important;
    background: linear-gradient(135deg, #172554 0%, #1e40af 100%) !important;
    padding: 0 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.3) !important;
  }
  .header-wrap {
    padding: 0 10px !important;
  }
  .header-main-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    gap: 6px !important;
  }
  .brand {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .brand .logo-box {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }
  .brand .logo-title {
    font-size: 16px !important;
    letter-spacing: -0.02em !important;
  }
  .brand .logo-sub {
    display: none !important;
  }
  .live-dot-badge {
    padding: 1px 5px !important;
    font-size: 9.5px !important;
  }
  .desktop-nav-tools {
    display: none !important;
  }
  .last-update-badge.desktop-only {
    display: none !important;
  }
  .header-right-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
  }
  /* Mobilde TÜM buton metinlerini gizle (üst üste binmeyi 100% engeller) */
  .kanban-btn-text,
  .favs-btn-text,
  .pwa-btn-text,
  #push-btn-text,
  .guest-btn-text,
  .admin-btn-text,
  .logout-text,
  .header-right-actions .nav-btn-text:not(.login-btn-text) {
    display: none !important;
  }
  .header-right-actions .nav-btn {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    max-width: 35px !important;
    padding: 0 !important;
    border-radius: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    position: relative !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
  }
  .header-right-actions .nav-btn-kanban .badge-count,
  .header-right-actions .nav-btn-favs .badge-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    min-width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    padding: 0 3px !important;
    border: 1.5px solid #172554 !important;
    border-radius: 99px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    z-index: 5 !important;
    margin: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
  }
  /* Mobilde Misafir Butonunu gizle (yer kazan), sadece kompakt Giriş Yap pill'i göster */
  .guest-header-actions .nav-btn-guest-badge {
    display: none !important;
  }
  .guest-header-actions .nav-btn-login {
    width: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    height: 34px !important;
    padding: 0 9px !important;
    border-radius: 99px !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 11.5px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35) !important;
    white-space: nowrap !important;
  }
  .guest-header-actions .nav-btn-login .login-btn-text {
    display: inline !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
  }
  .user-account-wrapper {
    gap: 3px !important;
    flex-shrink: 0 !important;
  }
  .user-profile-btn {
    height: 34px !important;
    padding: 2px 7px 2px 3px !important;
    gap: 4px !important;
    border-radius: 99px !important;
  }
  .user-avatar-badge {
    width: 26px !important;
    height: 26px !important;
    font-size: 11.5px !important;
  }
  .user-display-name {
    font-size: 11px !important;
    max-width: 65px !important;
    font-weight: 700 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .user-chevron {
    font-size: 9px !important;
  }
  .user-dropdown-card {
    right: 0 !important;
    width: min(300px, 92vw) !important;
    max-width: 92vw !important;
  }

  /* Mobil 2 Kademeli Header Alt Şeridi: Butonlar ve Tam Gözüken Canlı Güncelleme Rozeti */
  .header-sub-strip {
    display: block !important;
    background: rgba(15, 23, 42, 0.45) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 7px 0 8px 0 !important;
    margin: 4px 0 0 0 !important;
    width: 100% !important;
    overflow: visible !important;
  }
  .sub-strip-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .sub-strip-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .sub-strip-btn {
    flex: 1 1 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px !important;
    padding: 6px 4px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: transform 0.1s ease !important;
  }
  .sub-strip-btn:active {
    transform: scale(0.96) !important;
  }
  .sub-strip-btn.sub-taban-btn {
    background: #ffffff !important;
    color: #1d4ed8 !important;
    border-color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  }
  .sub-strip-btn .ss-icon {
    font-size: 13px !important;
    line-height: 1 !important;
  }

  /* Mobil Son Güncelleme: 100% Genişlikte, Asla Kesilmez ve Ortalanmış */
  .sub-strip-update {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    color: #cbd5e1 !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 4px 10px !important;
    border-radius: 99px !important;
    white-space: nowrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .sub-strip-update .update-pulse {
    width: 6px !important;
    height: 6px !important;
    flex-shrink: 0 !important;
  }
  .sub-strip-update .update-text {
    white-space: nowrap !important;
    overflow: visible !important;
  }
  .sub-strip-update strong {
    color: #38bdf8 !important;
    font-weight: 700 !important;
  }

  /* Mobil Sabit Alt Menü */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 58px !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    z-index: 9999 !important;
    align-items: center !important;
    justify-content: space-around !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35) !important;
  }
  .mbn-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    min-width: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 3px 1px !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .mbn-label {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    line-height: 1.1 !important;
  }
  .mbn-item:active {
    transform: scale(0.92) !important;
  }
  .mbn-item.active {
    color: #38bdf8 !important;
    font-weight: 800 !important;
  }
  .mbn-icon {
    font-size: 18px !important;
    line-height: 1 !important;
    margin-bottom: 2px !important;
    display: block !important;
  }
  .mbn-icon-wrap {
    position: relative !important;
    display: inline-block !important;
  }
  .mbn-badge {
    position: absolute !important;
    top: -4px !important;
    right: -8px !important;
    background: #ef4444 !important;
    color: white !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    padding: 1px 4px !important;
    border-radius: 99px !important;
    min-width: 14px !important;
    text-align: center !important;
    border: 1.5px solid #0f172a !important;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.5) !important;
  }

  /* =========================================================================
     SAYFA İÇERİKLERİ: SAĞA KAYDIRMASIZ TEK EKRAN UYUMLULUK DÜZENİ
     ========================================================================= */
  .wrap {
    padding: 0 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Toolbar & Başlık Düzeni */
  .all-ads-toolbar-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px 0 8px !important;
  }
  .toolbar-title-wrap {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .toolbar-quick-links {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .section-main-title {
    font-size: 19px !important;
  }

  /* İkincil Eylem & Sıralama Barı */
  .secondary-actions-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .btn-other-filters {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .listing-summary-sort {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }
  .custom-sort-select {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .custom-sort-select select {
    width: 100% !important;
    font-size: 12px !important;
    padding: 7px 28px 7px 10px !important;
    background-position: right 8px center !important;
    box-sizing: border-box !important;
  }

  /* Profil Akıllı Filtre Başlığı */
  .summary-top-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .summary-cta-box {
    width: 100% !important;
  }
  .toggle-text-btn {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* PWA ve Bildirim Bannerları */
  .pwa-mobile-banner,
  .pwa-push-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .pmb-actions,
  .ppb-actions {
    width: 100% !important;
    justify-content: flex-end !important;
  }
  .btn-pmb-install,
  .btn-ppb-enable {
    flex: 1 1 auto !important;
    text-align: center !important;
  }

  /* İlan Kartları Mobil Düzen */
  .job-institution-group {
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }
  .jig-header {
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding-bottom: 10px !important;
  }
  .jig-inst-logo {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
  }
  .jig-inst-name {
    font-size: 14px !important;
  }
  .psc-title {
    font-size: 14px !important;
  }

  /* Taban Puanı Şeridi (Mobilde 2 Satır Halinde Asla Taşmaz) */
  .card-taban-strip {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 8px 10px !important;
  }
  .cts-main {
    justify-content: space-between !important;
    width: 100% !important;
  }
  .cts-detail {
    justify-content: space-between !important;
    width: 100% !important;
  }
  .cts-matched-name {
    max-width: 180px !important;
  }

  /* İlan Kartı Aksiyon Butonları (Mobilde 2 Dengeli Satır: Üstte Yardımcı Butonlar, Altta Ana Butonlar) */
  .psc-actions-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding-top: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .psc-act-group {
    width: 100% !important;
    margin-left: 0 !important;
    display: flex !important;
    gap: 6px !important;
  }
  .psc-act-left {
    justify-content: space-between !important;
  }
  .psc-act-left .btn-card-action {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 7px 4px !important;
    font-size: 11px !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .psc-act-right {
    display: flex !important;
    width: 100% !important;
    gap: 6px !important;
  }
  .psc-act-right .card-app-dropdown-wrap {
    flex: 1 1 50% !important;
    width: 50% !important;
    min-width: 0 !important;
  }
  .psc-act-right .card-app-dropdown-wrap .btn-card-action {
    width: 100% !important;
    padding: 8px 6px !important;
    font-size: 11.5px !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .psc-act-right .btn-primary-detail {
    flex: 1 1 50% !important;
    width: 50% !important;
    min-width: 0 !important;
    padding: 8px 6px !important;
    font-size: 11.5px !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .app-stage-menu {
    right: 0 !important;
    left: auto !important;
    min-width: 250px !important;
    width: max-content !important;
    max-width: min(310px, calc(100vw - 32px)) !important;
    box-sizing: border-box !important;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.28), 0 8px 16px -4px rgba(15, 23, 42, 0.15) !important;
  }

  /* Modallar Tam Ekran / Güvenli Genişlik & Eksiksiz Görünüm */
  .modal-backdrop {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  .modal-dialog,
  .modal-taban-dialog,
  .modal-favorites-dialog,
  .profile-edit-modal-dialog,
  .ios-pwa-modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .modal-header {
    padding: 14px 16px 12px !important;
    flex-shrink: 0 !important;
  }
  .modal-title {
    font-size: 15.5px !important;
    padding-right: 36px !important;
  }
  .modal-close {
    top: 10px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 16px !important;
  }
  .meta-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
  .meta-cards-grid .meta-card:last-child {
    grid-column: span 2 !important;
  }
  .meta-card {
    padding: 6px 8px !important;
  }
  .mc-val {
    font-size: 11.5px !important;
  }
  .modal-body {
    padding: 12px 14px !important;
    flex: 1 1 auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #modal-ad .modal-ad-scroll-area {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #modal-ad .modal-header {
    flex: 0 0 auto !important;
  }
  #modal-ad .modal-body {
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: visible !important;
    flex: 0 0 auto !important;
    height: auto !important;
    max-height: none !important;
  }
  .modal-footer {
    padding: 10px 14px 16px !important;
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 8px !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08) !important;
    flex-shrink: 0 !important;
  }
  .btn-modal-apply {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 11px 14px !important;
    font-size: 13.5px !important;
    box-sizing: border-box !important;
  }
  .m-footer-utility {
    display: flex !important;
    width: 100% !important;
    gap: 6px !important;
  }
  .m-footer-utility .btn,
  .m-footer-utility .m-tracker-wrap {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .m-footer-utility .btn {
    padding: 8px 4px !important;
    font-size: 11px !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .m-footer-utility .m-stage-select {
    width: 100% !important;
    padding: 7px 24px 7px 8px !important;
    background-position: right 7px center !important;
    background-size: 13px 13px !important;
    font-size: 11.5px !important;
    box-sizing: border-box !important;
  }

  /* PDF, Görsel & Tablo İlan Mobilde Tam Uyum */
  .pdf-embed-wrapper {
    height: 55vh !important;
  }
  .pdf-view-header,
  .image-view-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .pdf-view-actions,
  .image-view-actions {
    width: 100% !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .pdf-view-actions .btn,
  .image-view-actions .btn {
    flex: 1 1 auto !important;
    font-size: 11.5px !important;
    padding: 6px 8px !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .modal-positions-box {
    padding: 12px !important;
  }
  .mpb-table-wrap {
    overflow: visible !important;
    max-height: none !important;
    width: 100% !important;
  }
  .mpb-table {
    min-width: 0 !important;
    width: 100% !important;
    display: block !important;
  }
  .mpb-table thead {
    display: none !important;
  }
  .mpb-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .mpb-table tr {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 6px 10px !important;
    padding: 10px 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    background: #ffffff;
  }
  .mpb-table tr.row-fit {
    background: rgba(236, 253, 245, 0.55) !important;
    border-color: #a7f3d0 !important;
  }
  .mpb-table td {
    display: block !important;
    padding: 0 !important;
    border: none !important;
    min-width: 0 !important;
    word-break: break-word !important;
  }
  .mpb-table td:nth-child(1) {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
  }
  .mpb-table td:nth-child(5) {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    justify-self: end !important;
    align-self: start !important;
    text-align: right !important;
  }
  .mpb-table td:nth-child(2) {
    grid-column: 1 / -1 !important;
    grid-row: 2 / 3 !important;
  }
  .mpb-table td:nth-child(3) {
    grid-column: 1 / 2 !important;
    grid-row: 3 / 4 !important;
    align-self: center !important;
  }
  .mpb-table td:nth-child(4) {
    grid-column: 2 / 3 !important;
    grid-row: 3 / 4 !important;
    justify-self: end !important;
    align-self: center !important;
  }
  .rich-html-body table {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* Küçük Ekranlı Telefonlar (<= 380px) */
@media (max-width: 380px) {
  #btn-push-toggle {
    display: none !important;
  }
  .brand .logo-title {
    font-size: 15px !important;
  }
  .live-dot-badge .live-text {
    display: none !important;
  }
}

.badge-pub-date {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
  font-weight: 700 !important;
}

/* =========================================================================
   GOOGLE ADSENSE DUYARLI REKLAM ALANLARI — TÜM SAYFALARDA GİZLİ
   ========================================================================= */
.adsense-container,
.adsense-infeed-slot,
.adsense-modal-slot,
.adsense-skyscraper,
.adsense-unit,
.adsense-top-leaderboard,
.adsense-bottom-billboard,
.login-top-adsense-bar,
.login-adsense-slot,
.login-portal-ad,
#login-adsense-showcase,
#login-adsense-top,
#login-adsense-form-bottom,
#login-adsense-leaderboard,
#login-adsense-billboard,
#adsense-top-leaderboard,
#adsense-skyscraper-left,
#adsense-skyscraper-right,
#adsense-modal-top,
#adsense-modal-bottom,
#adsense-taban-banner,
#btn-toggle-login-ads {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.adsense-unit {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 22px 16px 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.adsense-unit:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.adsense-badge {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748b;
  background: rgba(226, 232, 240, 0.85);
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}

.adsense-unit ins.adsbygoogle {
  z-index: 3;
}

/* Gerçek AdSense reklamı yüklendiğinde arka plan önizlemesini gizle */
.adsense-unit ins.adsbygoogle[data-ad-status="filled"] ~ .adsense-placeholder-content {
  display: none !important;
}

.adsense-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #475569;
  width: 100%;
}

.adsense-placeholder-content.apc-horizontal {
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
  gap: 14px;
  padding: 2px 6px;
}

.adsense-placeholder-content.apc-compact {
  padding: 0 4px;
}

.apc-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.apc-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e0e7ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.apc-title {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.3;
}

.apc-desc {
  display: block;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
}

.apc-dims-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.apc-dim {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  padding: 4px 9px;
  border-radius: 8px;
  white-space: nowrap;
}

/* 1. Üst & Akış İçi Leaderboard (728x90 / 970x90) */
.adsense-size-leaderboard {
  min-height: 96px;
  max-width: 100%;
}

/* 2. Akış İçi Doğal (In-Feed Native) */
.adsense-size-infeed {
  min-height: 104px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border-color: #93c5fd;
}

/* 3. Çiftli Dikdörtgen Kutu (336x280 + 300x250) */
.adsense-dual-rectangles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.adsense-size-336x280,
.adsense-size-300x250 {
  min-height: 250px;
  padding: 26px 16px 18px;
}

/* 4. Sayfa Altı Billboard (970x250 / 728x90 / 300x250) */
.adsense-size-billboard {
  min-height: 180px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border-color: #a5b4fc;
}

/* 5. Modal İçi Reklam Alanları (#modal-ad & #modal-taban) */
.adsense-size-modal-banner {
  min-height: 82px;
  padding: 20px 14px 10px;
}

.adsense-size-modal-rect {
  min-height: 180px;
  max-width: 520px;
  margin: 0 auto;
}

/* 6. Masaüstü Sağ & Sol Kule (160x600 Wide Skyscraper) */
.adsense-skyscraper {
  position: fixed;
  top: 96px;
  width: 160px;
  height: 600px;
  z-index: 40;
  display: none;
}

.adsense-skyscraper-left {
  left: max(10px, calc((100vw - 1180px) / 2 - 176px));
}

.adsense-skyscraper-right {
  right: max(10px, calc((100vw - 1180px) / 2 - 176px));
}

.adsense-size-160x600 {
  width: 160px;
  height: 600px;
  min-height: 600px;
  padding: 28px 10px 16px;
}

@media (min-width: 1520px) {
  .adsense-skyscraper {
    display: none !important;
  }
}

/* Mobil ve Tablet Uyumluluk Kuralları */
@media (max-width: 768px) {
  .desktop-tablet-only-ad,
  .apc-dim.desktop-dim {
    display: none !important;
  }
  .adsense-dual-rectangles {
    grid-template-columns: 1fr;
  }
  .adsense-placeholder-content.apc-horizontal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .apc-dims-group {
    justify-content: flex-start;
  }
  .adsense-size-336x280,
  .adsense-size-300x250 {
    min-height: 220px;
  }
  .adsense-size-billboard {
    min-height: 200px;
  }
}

@media (min-width: 769px) {
  .apc-dim.mobile-dim {
    display: none !important;
  }
}

/* =========================================================================
   🛡️ SÜPER ADMİN YÖNETİM VE KONTROL MERKEZİ STİLLERİ
   ========================================================================= */
.nav-btn-admin {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #f8fafc !important;
  border: 1px solid #334155 !important;
  font-weight: 700 !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-btn-admin:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

.modal-admin-dialog {
  width: min(1320px, 96vw) !important;
  max-width: 96vw !important;
  height: min(93vh, 940px) !important;
  max-height: 93vh !important;
  background: #f8fafc !important;
  border-radius: 18px !important;
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
}

.admin-login-view {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
  overflow-y: auto;
}

.admin-login-card {
  width: min(460px, 100%);
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.alc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.alc-logo {
  font-size: 40px;
  margin-bottom: 8px;
}

.alc-title {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.alc-sub {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 20px;
}

.alc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.alc-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.alc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.alc-input-icon {
  position: absolute;
  left: 12px;
  font-size: 16px;
  pointer-events: none;
}

.alc-input-wrap input {
  width: 100%;
  padding: 11px 40px 11px 38px;
  border: 1.5px solid #cbd5e1;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
}

.alc-input-wrap input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.alc-pw-toggle {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.alc-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.alc-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 14.5px;
  font-weight: 800;
  border-radius: 12px;
  margin-top: 4px;
}

.alc-security-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  font-size: 11.5px;
  color: #64748b;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Admin Dashboard View */
.admin-dashboard-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.admin-topbar {
  background: #0f172a;
  color: #f8fafc;
  padding: 16px 56px 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.atb-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.atb-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.atb-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.atb-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.atb-role-pill {
  background: #2563eb;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.atb-live-pill {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.atb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.atb-sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: #94a3b8;
}

.atb-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.atb-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
}

.atb-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

.atb-logout {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #fca5a5 !important;
}

.admin-nav-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  flex-shrink: 0;
}

.adm-tab-btn {
  border: 1px solid transparent;
  background: #f1f5f9;
  color: #475569;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.adm-tab-btn.active {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.admin-content-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}

.adm-tab-panel {
  display: none;
}

.adm-tab-panel.active {
  display: block;
}

.adm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.adm-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.akc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.akc-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.04em;
}

.akc-icon {
  font-size: 18px;
}

.akc-val {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.akc-foot {
  font-size: 11.5px;
  color: #64748b;
}

.adm-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.adm-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.adm-mb {
  margin-bottom: 16px;
}

.adm-box-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.adm-box-hdr h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.adm-box-sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: #64748b;
}

.adm-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}

.adm-badge-ok {
  background: #ecfdf5;
  color: #047857;
}

.adm-source-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-sbar-top {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 5px;
}

.adm-ok-dot {
  color: #10b981;
  font-size: 11px;
  font-weight: 700;
}

.adm-err-dot {
  color: #ef4444;
  font-size: 11px;
  font-weight: 700;
}

.adm-new-em {
  font-style: normal;
  font-weight: 700;
  color: #059669;
}

.adm-progress-track {
  width: 100%;
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.adm-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 999px;
}

.adm-telemetry-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adm-tel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 12.5px;
}

.adm-tel-lbl {
  color: #475569;
  font-weight: 600;
}

.adm-tel-val {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

.adm-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.adm-subform {
  margin-bottom: 16px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.adm-fgroup {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.adm-fgroup-wide {
  grid-column: span 2;
}

.adm-fgroup-full {
  grid-column: 1 / -1;
}

.adm-fgroup label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.adm-fgroup input,
.adm-fgroup select,
.adm-fgroup textarea,
.adm-select,
.adm-table-search input {
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  font-size: 13px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
}

.adm-table-search input {
  min-width: 260px;
}

.adm-table-wrap {
  width: 100%;
  overflow-x: auto;
  max-height: 440px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.adm-table th {
  position: sticky;
  top: 0;
  background: #f1f5f9;
  color: #334155;
  font-weight: 800;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #cbd5e1;
  z-index: 2;
}

.adm-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.adm-date-pill {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.adm-src-tag {
  display: inline-block;
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
}

.adm-row-inst {
  color: #0f172a;
  display: block;
}

.adm-row-sub {
  color: #64748b;
  font-size: 11.5px;
}

.adm-kpss-pill {
  background: #ecfdf5;
  color: #047857;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.adm-kpss-none {
  color: #64748b;
  font-size: 11.5px;
}

.adm-actions-cell {
  white-space: nowrap;
}

.adm-act-btn {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 7px;
  padding: 4px 7px;
  cursor: pointer;
  margin-right: 3px;
}

.adm-act-btn:hover {
  background: #f1f5f9;
}

.adm-act-del:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}

.adm-bot-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.adm-bot-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adm-tool-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.adm-tool-card p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
}

.adm-adsense-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.adm-adslot-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}

.aasc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.aasc-dim {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.adm-adslot-card p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

.adm-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.adm-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.adm-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: .2s;
  border-radius: 24px;
}

.adm-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
}

.adm-switch input:checked + .adm-slider {
  background-color: #2563eb;
}

.adm-switch input:checked + .adm-slider:before {
  transform: translateX(18px);
}

.adm-form-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-fgroup-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.adm-cred-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.adm-audit-log-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.adm-log-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
}

.ale-time {
  color: #64748b;
  font-weight: 700;
  white-space: nowrap;
}

.ale-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  background: #dbeafe;
  color: #1d4ed8;
}

.ale-tag.tag-ok {
  background: #d1fae5;
  color: #047857;
}

.ale-tag.tag-warn {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-live-announcement {
  width: 100%;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  box-sizing: border-box;
}

.admin-live-announcement.theme-blue {
  background: #1d4ed8;
  color: #ffffff;
}

.admin-live-announcement.theme-amber {
  background: #d97706;
  color: #ffffff;
}

.admin-live-announcement.theme-green {
  background: #059669;
  color: #ffffff;
}

.ala-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ala-inner button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  border-radius: 6px;
  padding: 3px 8px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .adm-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adm-two-col,
  .adm-bot-tools-grid,
  .adm-adsense-slots-grid {
    grid-template-columns: 1fr;
  }
  .adm-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .adm-kpi-grid,
  .adm-form-grid {
    grid-template-columns: 1fr;
  }
  .adm-fgroup-wide {
    grid-column: span 1;
  }
  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 44px 14px 14px;
  }
  .admin-btn-text {
    display: none;
  }
}

/* =========================================================================
   🛡️ ADSENSE BAŞVURU MODU (VARSAYILAN OLARAK GÖRSEL ÖNİZLEME KUTULARI GİZLİ)
   ========================================================================= */
body:not(.adsense-units-visible) .adsense-top-leaderboard,
body:not(.adsense-units-visible) .adsense-skyscraper,
body:not(.adsense-units-visible) .adsense-infeed-slot,
body:not(.adsense-units-visible) .adsense-bottom-billboard,
body:not(.adsense-units-visible) #adsense-modal-top,
body:not(.adsense-units-visible) #adsense-modal-bottom,
body:not(.adsense-units-visible) #adsense-taban-banner {
  display: none !important;
}

/* =========================================================================
   🏛️ KURUMSAL SİTE ALTBİLGİSİ (FOOTER) & YASAL POLİTİKALAR MODALI & ÇEREZ BANDI
   ========================================================================= */
.site-corporate-footer {
  background: linear-gradient(180deg, #0f172a 0%, #090e1a 100%);
  color: #cbd5e1;
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding: 44px 0 88px;
  font-size: 13.5px;
}

.scf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.scf-top-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 28px;
}

.scf-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.scf-logo {
  font-size: 28px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scf-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.scf-sub {
  display: block;
  font-size: 12px;
  color: #93c5fd;
  font-weight: 600;
}

.scf-desc {
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 14px;
  font-size: 13px;
}

.scf-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scf-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

.scf-heading {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: 0.2px;
}

.scf-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.scf-links button {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.scf-links button:hover {
  color: #60a5fa;
  transform: translateX(3px);
}

.scf-disclaimer-box {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 14px 18px;
  color: #94a3b8;
  font-size: 12.2px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.scf-disclaimer-box strong {
  color: #e2e8f0;
}

.scf-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 12.5px;
  color: #94a3b8;
}

.scf-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.scf-bottom-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
}

.scf-bottom-links a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

/* Kurumsal Yasal Politikalar Modalı */
.modal-legal-dialog {
  width: 94vw !important;
  max-width: 920px !important;
  max-height: 88vh !important;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
}

.legal-modal-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 22px 24px 0;
}

.lmh-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.lmh-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.legal-tabs-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.legal-tab-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.legal-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
}

.legal-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  color: #334155;
  line-height: 1.7;
  font-size: 14px;
}

.legal-pane {
  display: none;
}

.legal-pane.active {
  display: block;
}

.legal-pane h3 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.legal-pane h4 {
  margin: 18px 0 8px;
  color: #1e293b;
  font-size: 15px;
  font-weight: 800;
}

.legal-pane ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}

.legal-pane li {
  margin-bottom: 8px;
}

.legal-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0 18px;
}

.lcc-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
}

.lcc-item span {
  display: block;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.lcc-item strong {
  color: #0f172a;
  font-size: 13.5px;
}

.legal-contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lcf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.legal-contact-form input,
.legal-contact-form textarea {
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  font-size: 13.5px;
  font-family: inherit;
}

/* Çerez (Cookie) Onay Bandı */
.cookie-consent-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1080px;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  color: #f8fafc;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.45);
  z-index: 99990;
}

.ccb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ccb-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.8px;
  line-height: 1.5;
  color: #cbd5e1;
}

.ccb-text p {
  margin: 0;
}

.ccb-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.ccb-link {
  background: none;
  border: none;
  color: #60a5fa;
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
}

.ccb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .scf-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ccb-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .ccb-actions {
    justify-content: flex-end;
  }
  .cookie-consent-banner {
    bottom: 72px;
  }
  .legal-contact-cards,
  .lcf-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   📰 KPSS HABERLER, EN ÇOK ARANAN ATAMA REHBERLERİ & SSS (SEO MERKEZİ)
   ========================================================================= */
.d-nav-news {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}

.d-nav-news:hover {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
}

.kpss-news-seo-section {
  margin-top: 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

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

.knss-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}

.knss-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.knss-sub {
  margin: 0;
  font-size: 13.8px;
  color: #64748b;
  line-height: 1.55;
  max-width: 780px;
}

.knss-cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.knss-cat-pill {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.knss-cat-pill:hover {
  border-color: #3b82f6;
  color: #1d4ed8;
}

.knss-cat-pill.active {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.22);
}

.knss-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.knss-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.knss-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.knss-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.knss-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.knss-tag.tag-hot { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.knss-tag.tag-green { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.knss-tag.tag-blue { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.knss-tag.tag-purple { background: #f5f3ff; color: #7c3aed; border: 1px solid #ddd6fe; }
.knss-tag.tag-amber { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }

.knss-date {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.knss-card-title {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.45;
}

.knss-card-title a {
  color: #0f172a;
  text-decoration: none;
}

.knss-card-title a:hover {
  color: #2563eb;
}

.knss-card-excerpt {
  margin: 0 0 14px;
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}

.knss-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.knss-read-btn {
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 800;
  font-size: 12.8px;
  cursor: pointer;
  padding: 0;
}

.knss-read-btn:hover {
  text-decoration: underline;
}

/* SSS / FAQ Akordeon Kutusu */
.knss-faq-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
}

.knss-faq-hdr h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.knss-faq-hdr p {
  margin: 0 0 16px;
  font-size: 13px;
  color: #64748b;
}

.knss-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.knss-faq-item {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
}

.knss-faq-item summary {
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.knss-faq-item summary::after {
  content: "▾";
  color: #2563eb;
  font-size: 16px;
}

.knss-faq-item[open] summary {
  background: #eff6ff;
  color: #1d4ed8;
  border-bottom: 1px solid #dbeafe;
}

.knss-faq-ans {
  padding: 14px 16px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.65;
}

.knss-faq-ans p {
  margin: 0;
}

/* SEO Popüler Arama Etiketleri */
.knss-seo-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
}

.kst-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #334155;
}

.kst-chip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.kst-chip:hover {
  background: #eff6ff;
  border-color: #60a5fa;
  color: #1d4ed8;
}

/* Haberler & Rehberler Tam Ekran Modalı */
.modal-news-dialog,
.modal-reader-dialog {
  width: 94vw !important;
  max-width: 1040px !important;
  max-height: 90vh !important;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background: #f8fafc !important;
}

.news-modal-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 22px 26px;
}

.nmh-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.nmh-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.22);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.nmh-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.nmh-sub {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}

.nmh-search-box input {
  width: 310px;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
}

.nmh-search-box input::placeholder {
  color: #cbd5e1;
}

.news-modal-body {
  padding: 22px 26px;
  overflow-y: auto;
  flex: 1;
}

.news-modal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nml-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.nml-card:hover {
  border-color: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.nml-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.nml-title {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
}

.nml-sum {
  margin: 0 0 12px;
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}

/* Makale Okuyucu Modal */
.reader-scroll-area {
  padding: 26px 32px;
  overflow-y: auto;
  flex: 1;
  background: #ffffff;
}

.reader-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.reader-cat-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.reader-title {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.reader-meta {
  font-size: 12.8px;
  color: #64748b;
  font-weight: 600;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

.reader-content {
  font-size: 14.5px;
  line-height: 1.75;
  color: #1e293b;
}

.reader-content h3 {
  margin: 22px 0 10px;
  font-size: 17.5px;
  font-weight: 800;
  color: #0f172a;
}

.reader-content ul,
.reader-content ol {
  padding-left: 22px;
  margin: 10px 0 16px;
}

.reader-content li {
  margin-bottom: 8px;
}

.reader-table-wrap {
  overflow-x: auto;
  margin: 14px 0 18px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}

.reader-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.reader-table th {
  background: #0f172a;
  color: #ffffff;
  text-align: left;
  padding: 11px 14px;
  font-weight: 700;
}

.reader-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.reader-table tr:nth-child(even) td {
  background: #f8fafc;
}

.reader-cta-box {
  margin-top: 24px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #93c5fd;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.reader-cta-box strong {
  display: block;
  font-size: 15px;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.reader-cta-box p {
  margin: 0;
  font-size: 13px;
  color: #1e40af;
}

.reader-cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .knss-header {
    flex-direction: column;
  }
  .knss-grid,
  .news-modal-list {
    grid-template-columns: 1fr;
  }
  .kpss-news-seo-section {
    padding: 18px;
  }
  .reader-scroll-area {
    padding: 18px;
  }
  .reader-title {
    font-size: 18.5px;
  }
}

/* =========================================================================
   🔐 ADAY GİRİŞİ (/LOGIN) ADSENSE REKLAM ALANLARI & AÇIK PORTAL TASARIMI
   ========================================================================= */
.auth-body-split.has-public-portal {
  flex-direction: column;
  background: #f1f5f9;
}

.login-top-adsense-bar {
  background: #090e1a;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  padding: 9px 20px;
  font-size: 12.5px;
  z-index: 50;
}

.ltab-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ltab-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ltab-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
  flex-shrink: 0;
}

.ltab-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ltab-link {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
}

.ltab-link:hover {
  text-decoration: underline;
  color: #bfdbfe;
}

.ltab-ads-toggle {
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #f8fafc;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ltab-ads-toggle:hover {
  background: rgba(37, 99, 235, 0.38);
}

.auth-form-column {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.auth-form-column .auth-panel-card {
  max-width: 100%;
  box-sizing: border-box;
}

/* Login Sayfası Özel AdSense Kutuları */
.login-adsense-slot {
  position: relative;
  border-radius: 14px;
  padding: 22px 14px 12px;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.2s ease;
  z-index: 2;
}

.login-adsense-dark {
  margin-top: 22px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px dashed rgba(147, 197, 253, 0.35);
  backdrop-filter: blur(10px);
}

.login-adsense-light {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px dashed #93c5fd;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.login-adsense-rect {
  min-height: 115px;
}

.las-badge {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 5px;
  text-transform: uppercase;
}

.login-adsense-dark .las-badge {
  background: rgba(56, 189, 248, 0.18);
  color: #bae6fd;
}

.login-adsense-light .las-badge {
  background: #dbeafe;
  color: #1e40af;
}

.las-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.las-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.login-adsense-dark .las-icon {
  background: rgba(56, 189, 248, 0.16);
}

.login-adsense-light .las-icon {
  background: #dbeafe;
}

.las-info strong {
  display: block;
  font-size: 12.8px;
  font-weight: 800;
  margin-bottom: 2px;
}

.login-adsense-dark .las-info strong {
  color: #f8fafc;
}

.login-adsense-light .las-info strong {
  color: #0f172a;
}

.las-info span {
  display: block;
  font-size: 11.5px;
  line-height: 1.35;
}

.login-adsense-dark .las-info span {
  color: #94a3b8;
}

.login-adsense-light .las-info span {
  color: #64748b;
}

.login-adsense-slot ins.adsbygoogle[data-ad-status="filled"] ~ .las-placeholder {
  display: none !important;
}

body:not(.adsense-units-visible) .login-adsense-slot,
body:not(.adsense-units-visible) .login-portal-ad {
  display: none !important;
}

.ui-alert-info {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e3a8a;
}

/* Login Sayfası Altı Kamuoyuna Açık İlan & Rehber Portalı */
.login-public-portal {
  width: 100%;
  background: #f1f5f9;
  padding: 36px 20px 48px;
  box-sizing: border-box;
  border-top: 1px solid #e2e8f0;
}

.lpp-container {
  max-width: 1200px;
  margin: 0 auto;
}

.lpp-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
  margin-top: 20px;
}

.lpp-sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.lpp-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.lpp-sec-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.lpp-sec-desc {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
  max-width: 760px;
  line-height: 1.55;
}

.lpp-cta-btn {
  width: auto !important;
  padding: 0 20px !important;
  height: 44px !important;
  font-size: 13.5px !important;
  white-space: nowrap;
}

.lpp-ads-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lpp-ad-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-left: 5px solid #2563eb;
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.18s ease;
}

.lpp-ad-card:hover {
  background: #ffffff;
  border-color: #60a5fa;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
}

.lac-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.lac-source {
  font-size: 11px;
  font-weight: 800;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 6px;
}

.lac-deadline {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 6px;
}

.lac-deadline.urgent {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.lac-inst {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.lac-title {
  margin: 0 0 12px;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lac-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.lac-tag {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 6px;
}

.lac-tag.tag-kpss {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.lac-tag.tag-nokpss {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.lac-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
}

.lac-lock-hint {
  color: #64748b;
}

.lac-arrow {
  color: #2563eb;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .lpp-ads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lpp-ads-grid {
    grid-template-columns: 1fr;
  }
  .lpp-section {
    padding: 18px;
  }
  .login-public-portal {
    padding: 20px 12px 32px;
  }
}

/* =========================================================================
   👋 MİSAFİR KARŞILAMA & ÜYELİK DAVET POP-UP MODALI STİLLERİ
   ("Üye Olmak İster Misiniz?" / "Misafir Olarak Devam Et")
   ========================================================================= */
.guest-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-btn-guest-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.nav-btn-guest-badge:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.nav-btn-login {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.16s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.32);
  text-decoration: none;
}

.nav-btn-login:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
  color: #ffffff;
}

.ui-btn-guest-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 9px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.ui-btn-guest-direct:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}

.guest-welcome-backdrop {
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.68) !important;
  z-index: 100050 !important;
}

.guest-welcome-backdrop:not(.is-open) {
  display: none !important;
}

.guest-welcome-dialog {
  width: min(520px, 94vw) !important;
  max-width: 520px !important;
  height: auto !important;
  max-height: 92vh !important;
  padding: 0 !important;
  border-radius: 22px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #ffffff !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.45) !important;
  animation: guestPopupIn 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes guestPopupIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.guest-close-x {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 10 !important;
}

.guest-close-x:hover {
  background: rgba(255, 255, 255, 0.28) !important;
}

.gwd-hero {
  position: relative;
  background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
  color: #ffffff;
  padding: 30px 28px 24px;
  text-align: center;
  overflow: hidden;
}

.gwd-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
}

.gwd-orb-1 {
  width: 180px;
  height: 180px;
  background: rgba(56, 189, 248, 0.32);
  top: -50px;
  left: -40px;
}

.gwd-orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(99, 102, 241, 0.28);
  bottom: -60px;
  right: -40px;
}

.gwd-icon-ring {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.gwd-eyebrow {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(186, 230, 253, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.gwd-title {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.gwd-subtitle {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.55;
  max-width: 440px;
}

.gwd-body {
  padding: 22px 26px 24px;
  background: #ffffff;
}

.gwd-perks-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.gwd-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 14px;
}

.gwd-perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.gwd-perk-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.gwd-perk-item p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.gwd-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gwd-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
  transition: all 0.18s ease;
  box-sizing: border-box;
}

.gwd-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.36);
}

.gwd-arr {
  font-size: 17px;
  transition: transform 0.18s ease;
}

.gwd-btn-primary:hover .gwd-arr {
  transform: translateX(4px);
}

.gwd-btn-guest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}

.gwd-btn-guest:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}

.gwd-footer-note {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
}

.gwd-footer-note a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.gwd-footer-note a:hover {
  text-decoration: underline;
}

@media (max-width: 520px) {
  .gwd-hero {
    padding: 24px 18px 20px;
  }
  .gwd-title {
    font-size: 20px;
  }
  .gwd-body {
    padding: 18px;
  }
}







