﻿/* ==========================================================================
   TÜRK NÖROLOJİ DERNEĞİ (TND) - MODERN NÖRO-DİJİTAL TASARIM SİSTEMİ
   Telif Hakkı (c) 2026. Tüm hakları saklıdır.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* DARK THEME (KULLANICI TALEBİ: #083a6a KOYU MAVİ TONLARI) */
  --bg-body: #083a6a;
  --bg-deep: #052647;
  --bg-surface: #0c4780;
  --bg-card: rgba(11, 58, 106, 0.78);
  --bg-card-hover: rgba(14, 75, 138, 0.92);
  --bg-card-glass: rgba(8, 58, 106, 0.65);
  
  --border-subtle: rgba(56, 189, 248, 0.22);
  --border-highlight: rgba(56, 189, 248, 0.45);
  --border-glow: rgba(0, 210, 255, 0.7);
  
  --text-main: #f0f6fc;
  --text-title: #ffffff;
  --text-muted: #bcd0e8;
  --text-dim: #8ba9cb;
  
  --neuro-cyan: #00d2ff;
  --neuro-teal: #06b6d4;
  --neuro-blue: #3b82f6;
  --neuro-indigo: #60a5fa;
  --neuro-electric: #38bdf8;
  --neuro-gold: #fbbf24;
  --neuro-red: #f87171;
  
  --glow-cyan: 0 0 24px rgba(0, 210, 255, 0.4);
  --glow-cyan-sm: 0 0 12px rgba(0, 210, 255, 0.3);
  --glow-blue: 0 0 30px rgba(59, 130, 246, 0.35);
  --card-shadow: 0 12px 36px -10px rgba(4, 27, 51, 0.6);
  --card-shadow-hover: 0 20px 45px -10px rgba(0, 210, 255, 0.25);
  
  --navbar-bg: rgba(6, 42, 78, 0.95);
  --topbar-bg: #05294d;
  --header-border: rgba(56, 189, 248, 0.22);
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* LIGHT THEME MODU */
[data-bs-theme="light"] {
  --bg-body: #f4f8fc;
  --bg-deep: #e8f0f8;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.85);
  
  --border-subtle: rgba(14, 116, 144, 0.14);
  --border-highlight: rgba(14, 116, 144, 0.32);
  --border-glow: rgba(2, 132, 199, 0.5);
  
  --text-main: #1e293b;
  --text-title: #091a36;
  --text-muted: #526581;
  --text-dim: #94a3b8;
  
  --neuro-cyan: #0284c7;
  --neuro-teal: #0891b2;
  --neuro-blue: #1d4ed8;
  --neuro-electric: #0284c7;
  
  --glow-cyan: 0 10px 25px rgba(2, 132, 199, 0.18);
  --glow-cyan-sm: 0 4px 14px rgba(2, 132, 199, 0.12);
  --glow-blue: 0 10px 30px rgba(29, 78, 216, 0.15);
  --card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --card-shadow-hover: 0 18px 40px -5px rgba(2, 132, 199, 0.2);
  
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --topbar-bg: #091a36;
  --header-border: rgba(2, 132, 199, 0.15);
}

/* GENEL AYARLAR */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  position: relative;
}

/* BAŞLIKLAR */
h1, h2, h3, h4, h5, h6, .heading-display {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   INTERAKTİF NÖRON TUVALİ (CANVAS)
   ========================================================================== */
#neuroBackgroundCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
  mix-blend-mode: screen;
}

[data-bs-theme="light"] #neuroBackgroundCanvas {
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.content-wrapper {
  position: relative;
}

/* ==========================================================================
   HEADER & TOPBAR (TALEP EDİLEN DÜZEN)
   - Logo üstte büyük, sağda Anasayfa, İletişim, Üye Ol, Üye Girişi, Arama, EN, Mod Butonu
   - Altında tek satır boydan boya menü
   ========================================================================== */
.tnd-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: var(--navbar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

/* 1. SATIR: MARKA VE SAĞ ÜST İŞLEM BUTONLARI */
.tnd-top-brandbar {
  position: relative;
  z-index: 1050;
  overflow: visible !important;
  padding: 10px 0 8px 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  background: linear-gradient(90deg, #052444 0%, #083a6a 50%, #052444 100%);
}

.tnd-brandbar-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  clip-path: inset(0 0 0 0);
  -webkit-mask-image: linear-gradient(
    90deg, 
    rgba(0, 0, 0, 0.18) 0%, 
    rgba(0, 0, 0, 0.25) 24%, 
    rgba(0, 0, 0, 0.95) 44%, 
    rgba(0, 0, 0, 0.95) 60%, 
    rgba(0, 0, 0, 0.32) 78%, 
    rgba(0, 0, 0, 0.15) 100%
  );
  mask-image: linear-gradient(
    90deg, 
    rgba(0, 0, 0, 0.18) 0%, 
    rgba(0, 0, 0, 0.25) 24%, 
    rgba(0, 0, 0, 0.95) 44%, 
    rgba(0, 0, 0, 0.95) 60%, 
    rgba(0, 0, 0, 0.32) 78%, 
    rgba(0, 0, 0, 0.15) 100%
  );
}

.tnd-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.tnd-main-logo {
  max-height: 76px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 210, 255, 0.25));
  transition: var(--transition-spring);
}

.tnd-logo-wrapper:hover .tnd-main-logo {
  transform: scale(1.03) rotate(-0.5deg);
  filter: drop-shadow(0 6px 20px rgba(0, 210, 255, 0.45));
}

.tnd-brand-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neuro-cyan);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 20px;
}

/* SAĞ ÜSTTEKİ LİNKLER & BUTONLAR
   (Brandbar daima derin lacivert zeminli olduğu için light modda asla kararmaz, kristal netliğinde görünür) */
.tnd-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.tnd-auth-group,
.tnd-tools-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Hızlı Bağlantılar (ANASAYFA, İLETİŞİM) */
.tnd-quick-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88) !important;
  padding: 6px 11px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
}

.tnd-quick-link i {
  color: #38bdf8;
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.tnd-quick-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.tnd-quick-link:hover i {
  transform: scale(1.15);
}

/* DİL DEĞİŞTİRİCİ (TR / EN) */
.tnd-lang-group {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tnd-lang-badge {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.80rem;
  padding: 5px 10px;
  border-radius: 7px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.82) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}

.tnd-lang-badge:hover {
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.15);
}

.tnd-lang-badge:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.5);
}

.tnd-lang-badge.active {
  background: rgba(0, 210, 255, 0.22);
  border-color: #38bdf8;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

/* ÜYE OL BUTONU */
.btn-tnd-register {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1.5px solid rgba(56, 189, 248, 0.65);
  padding: 7px 18px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-tnd-register i {
  color: #38bdf8;
  font-size: 0.88rem;
  transition: transform 0.25s ease;
}

.btn-tnd-register:hover {
  color: #ffffff !important;
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
}

.btn-tnd-register:hover i {
  transform: scale(1.18);
}

/* SAĞ ÜSTTEKİ ÜYE GİRİŞİ (POPUP AÇAN ÖZEL BUTON) */
.btn-tnd-login {
  background: linear-gradient(135deg, #0284c7 0%, #00d2ff 100%);
  color: #020617 !important;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 8px 18px;
  border-radius: 25px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.4);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-tnd-login:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 26px rgba(0, 210, 255, 0.65);
  filter: brightness(1.08);
}

/* GİRİŞ YAPMIŞ ÜYE AÇILIR MENÜSÜ (USER DROPDOWN) */
.tnd-user-dropdown {
  position: relative;
}

.tnd-user-dropdown .btn-tnd-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tnd-user-dropdown .btn-tnd-login.dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
  border-top-color: currentColor;
  transition: transform 0.2s ease;
}

.tnd-user-dropdown.show .btn-tnd-login.dropdown-toggle::after {
  transform: rotate(180deg);
}

.tnd-user-dropdown {
  position: relative;
  z-index: 1060;
}

.tnd-user-menu {
  min-width: 220px;
  padding: 8px 6px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.98) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  margin-top: 8px !important;
  z-index: 99999 !important;
  animation: tndDropdownFadeIn 0.2s ease forwards;
}

[data-bs-theme="light"] .tnd-user-menu {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

@keyframes tndDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tnd-user-menu .dropdown-item {
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

[data-bs-theme="light"] .tnd-user-menu .dropdown-item {
  color: #334155;
}

.tnd-user-menu .dropdown-item:hover,
.tnd-user-menu .dropdown-item:focus {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  transform: translateX(3px);
}

[data-bs-theme="light"] .tnd-user-menu .dropdown-item:hover,
[data-bs-theme="light"] .tnd-user-menu .dropdown-item:focus {
  background: #f1f5f9;
  color: #0284c7;
}

.tnd-user-menu .dropdown-item.text-danger {
  color: #f87171 !important;
}

.tnd-user-menu .dropdown-item.text-danger:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
}

[data-bs-theme="light"] .tnd-user-menu .dropdown-item.text-danger {
  color: #dc2626 !important;
}

[data-bs-theme="light"] .tnd-user-menu .dropdown-item.text-danger:hover {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}

.tnd-user-menu .dropdown-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 6px 0;
}

[data-bs-theme="light"] .tnd-user-menu .dropdown-divider {
  border-top: 1px solid #e2e8f0;
}

/* TEMA VE ARAMA BUTONLARI (FROSTED GLASS DAİRELER) */
.btn-theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-spring);
}

.btn-theme-toggle:hover {
  border-color: #38bdf8;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.25) !important;
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.35);
}

/* Tema İkon Renkleri (Gündüz ve Gece Görünürlüğü) */
#themeIcon.fa-moon {
  color: #38bdf8 !important;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7));
}

#themeIcon.fa-sun {
  color: #facc15 !important;
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.7));
}

/* 2. SATIR: BOYDAN BOYA TEK SATIR MENÜ (FULL-WIDTH NAVBAR) */
.tnd-bottom-navbar {
  position: relative;
  z-index: 1020;
  padding: 0;
  width: 100%;
}

.tnd-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.tnd-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.tnd-nav-item {
  position: relative;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .tnd-nav-item.has-mega-menu,
  .tnd-nav-item:has(.tnd-mega-menu) {
    position: static;
  }
}

.tnd-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  transition: var(--transition-smooth);
}

.tnd-nav-icon {
  font-size: 0.90rem;
  color: var(--neuro-cyan);
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.tnd-nav-item:hover .tnd-nav-icon {
  opacity: 1;
  transform: scale(1.15);
  color: var(--neuro-cyan);
}

[data-bs-theme="light"] .tnd-nav-icon {
  color: #0284c7;
}

[data-bs-theme="light"] .tnd-nav-item:hover .tnd-nav-icon {
  color: #0369a1;
}

.tnd-nav-link i.dropdown-chevron {
  font-size: 0.68rem;
  opacity: 0.7;
  transition: transform 0.25s ease;
  margin-left: 2px;
}

.tnd-nav-item:hover .tnd-nav-link {
  color: var(--neuro-cyan);
}

.tnd-nav-item:hover .tnd-nav-link i.dropdown-chevron {
  transform: rotate(180deg);
  color: var(--neuro-cyan);
}

/* Alt Çizgi Nöron Hareketi */
.tnd-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neuro-cyan), transparent);
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--glow-cyan-sm);
}

.tnd-nav-item:hover .tnd-nav-link::after {
  width: 80%;
}

/* MEGA DROPDOWN VE AÇILIR MENÜLER */
.tnd-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px;
  z-index: 1050;
  min-width: 260px;
  animation: dropdownFade 0.25s ease forwards;
}

/* Mouse geçişinde kopmayı önleyici görünmez köprü */
.tnd-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.tnd-nav-item:hover > .tnd-dropdown-menu {
  display: block;
}

/* Sağ taraftaki menülerin (Bilim & Hizmet Ödülleri, KVKK vb.) sağdan dışarı taşmasını önleme */
@media (min-width: 992px) {
  .tnd-nav-item:last-child .tnd-dropdown-menu,
  .tnd-nav-item:nth-last-child(2) .tnd-dropdown-menu:not(.tnd-mega-menu),
  .tnd-nav-item:nth-last-child(3) .tnd-dropdown-menu:not(.tnd-mega-menu) {
    left: auto;
    right: 0;
  }
  .tnd-menu-dernek { min-width: 580px; }
  .tnd-menu-egitim { min-width: 340px; }
  .tnd-menu-yeterlik { min-width: 395px; }
  .tnd-menu-basin { min-width: 240px; }
  .tnd-menu-kvkk { min-width: 290px; }
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mega Menü Stilleri (Çalışma Grupları & Dernek) */
.tnd-mega-menu {
  width: calc(100% - 40px);
  max-width: 1380px;
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
  max-height: 85vh;
  overflow-y: auto;
  padding: 26px 32px;
  z-index: 1060;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 210, 255, 0.12);
}

/* Mega Menü Bölüm Başlığı (TND Bilimsel Çalışma Grupları / TND Diğer / Yönerge) */
.tnd-mega-heading {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-title);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
}

[data-bs-theme="light"] .tnd-mega-heading {
  color: #083a6a;
  border-bottom: 2px solid rgba(8, 58, 106, 0.28);
}

.tnd-mega-sidebar {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .tnd-mega-sidebar {
  border-left: 1px solid rgba(8, 58, 106, 0.12);
}

.tnd-mega-header {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neuro-cyan);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Açılır Menü Öğeleri (Net, Okunaklı, Ferah ve Modern) */
.tnd-drop-item {
  display: flex;
  align-items: center;
  padding: 7px 12px;
  margin-bottom: 2px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-main);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tnd-drop-item:hover {
  background: rgba(0, 210, 255, 0.12);
  color: var(--neuro-cyan);
  transform: translateX(4px);
  padding-left: 16px;
}

[data-bs-theme="light"] .tnd-drop-item:hover {
  background: rgba(8, 58, 106, 0.08);
  color: #083a6a;
}

.tnd-drop-highlight {
  font-weight: 600;
  color: var(--neuro-cyan) !important;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  margin-top: 4px;
}

.tnd-drop-highlight:hover {
  background: rgba(0, 210, 255, 0.2);
  color: #fff !important;
  border-color: var(--neuro-cyan);
}

[data-bs-theme="light"] .tnd-drop-highlight {
  color: #083a6a !important;
  background: rgba(8, 58, 106, 0.06);
  border-color: rgba(8, 58, 106, 0.2);
}

/* Bilim & Hizmet Ödülleri Mega Menü Öğeleri (Tek satır, ferah, taşma yapmayan) */
.tnd-award-item {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  margin-bottom: 3px;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-main);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tnd-award-item span {
  white-space: nowrap !important;
}

.tnd-award-item:hover {
  background: rgba(0, 210, 255, 0.12);
  color: var(--neuro-cyan);
  transform: translateX(4px);
  padding-left: 14px;
}

.tnd-award-item:hover i {
  color: var(--neuro-cyan);
  opacity: 1 !important;
}

[data-bs-theme="light"] .tnd-award-item:hover {
  background: rgba(8, 58, 106, 0.08);
  color: #083a6a;
}

@media (max-width: 1200px) and (min-width: 992px) {
  .tnd-award-item {
    font-size: 0.80rem;
    padding: 5px 6px;
  }
}

/* ==========================================================================
   FULL-WIDTH HERO SLIDER
   - "slider full olsun üstte"
   ========================================================================== */
.tnd-hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
}

.tnd-hero-slider {
  width: 100%;
}

.tnd-hero-slide {
  position: relative;
  min-height: 520px;
  display: flex !important;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
}

.tnd-slide-full-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: block;
  text-decoration: none;
}

@media (min-width: 992px) {
  .tnd-hero-slide {
    height: calc(100vh - var(--tnd-header-h, 138px) - var(--tnd-hub-h, 102px));
    min-height: 500px;
    max-height: 860px;
  }
}

.tnd-slide-img-link {
  display: none;
}

/* Slide Overlay (Sadece Yazı Tarafı Koyu, Resim Alanı Tamamen Görünür) */
.tnd-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(8, 58, 106, 0.88) 0%, 
    rgba(8, 58, 106, 0.58) 26%, 
    rgba(8, 58, 106, 0.16) 46%, 
    rgba(8, 58, 106, 0) 62%,
    transparent 100%
  );
  z-index: 1;
}

[data-bs-theme="light"] .tnd-slide-overlay {
  background: linear-gradient(
    90deg, 
    rgba(255, 255, 255, 0.88) 0%, 
    rgba(255, 255, 255, 0.55) 26%, 
    rgba(255, 255, 255, 0.12) 46%, 
    rgba(255, 255, 255, 0) 62%,
    transparent 100%
  );
}

.tnd-slide-content {
  position: relative;
  z-index: 2;
  padding: 40px 0;
  padding-left: clamp(40px, 4.5vw, 75px);
}

.tnd-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 210, 255, 0.15);
  color: var(--neuro-cyan);
  border: 1px solid rgba(0, 210, 255, 0.35);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.tnd-slide-title {
  font-size: clamp(1.6rem, 2.9vw, 2.6rem);
  font-weight: 700;
  line-height: 1.24;
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--text-title);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  letter-spacing: -0.01em;
}

.tnd-slide-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 28px;
}

.tnd-hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

/* Slider Controls */
.carousel-control-prev, .carousel-control-next {
  width: 46px;
  height: 46px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 21, 46, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  opacity: 0.85;
  transition: var(--transition-spring);
  z-index: 10;
}

.carousel-control-prev { left: 16px; }
.carousel-control-next { right: 16px; }

.carousel-control-prev:hover, .carousel-control-next:hover {
  background: var(--neuro-cyan);
  color: #020617;
  opacity: 1;
  box-shadow: var(--glow-cyan);
}

.carousel-indicators {
  z-index: 10;
}

.carousel-indicators [data-bs-target] {
  width: 32px;
  height: 5px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.45);
  border: none;
  opacity: 0.65;
  transition: var(--transition-smooth);
}

.carousel-indicators [data-bs-target]:hover {
  background-color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

/* Dark Modda Slider Üstündeki İndikatörler Beyaz Renk */
.carousel-indicators .active,
[data-bs-theme="dark"] .carousel-indicators .active {
  width: 52px;
  background-color: #ffffff !important;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.95), 0 0 4px #ffffff;
  opacity: 1 !important;
}

/* ==========================================================================
   HIZLI ERİŞİM & NÖRO KONTROL PANELİ (4 BUTON ALANI)
   - Burs & Ödüller, Eğitim Videoları, Basında Biz, Haftanın Sorusu
   ========================================================================== */
.tnd-quick-hub {
  margin-top: 14px;
  margin-bottom: 16px;
  position: relative;
  z-index: 15;
}

.tnd-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 13px 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-spring);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Nöral Işık Şeridi Efekti */
.tnd-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.tnd-hub-card:hover::before {
  left: 100%;
}

.tnd-hub-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--neuro-cyan);
  box-shadow: var(--card-shadow-hover);
}

.tnd-hub-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--neuro-cyan);
  transition: var(--transition-spring);
}

.tnd-hub-card:hover .tnd-hub-icon {
  background: var(--neuro-cyan);
  color: #020617;
  transform: rotate(6deg) scale(1.1);
  box-shadow: var(--glow-cyan-sm);
}

.tnd-hub-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
  margin: 0;
}

.tnd-hub-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}

/* ==========================================================================
   ÖNE ÇIKAN KONGRE BÖLÜMÜ (62. ULUSAL NÖROLOJİ KONGRESİ)
   ========================================================================== */
.tnd-section {
  padding: 85px 0;
  position: relative;
}

.tnd-section-title-wrap {
  margin-bottom: 45px;
  position: relative;
}

.tnd-pre-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neuro-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tnd-section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.25;
}

/* ==========================================================================
   ÖNE ÇIKAN ULUSAL KONGRE BANNERI (uk.jpg & CAM SAYAÇ KARTI)
   ========================================================================== */
.tnd-uk-banner-card {
  position: relative;
  width: 100%;
  min-height: 250px;
  background-repeat: no-repeat;
  background-position: center left;
  background-size: cover;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 24px 34px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.tnd-uk-banner-card:hover {
  box-shadow: 0 20px 48px rgba(0, 210, 255, 0.25);
  border-color: rgba(56, 189, 248, 0.45);
}

/* Sağdaki Cam/Koyu Sayaç Kartı */
.tnd-uk-countdown-widget {
  background: rgba(30, 27, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 16px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  width: 100%;
  max-width: 325px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
  transition: var(--transition-spring);
}

.tnd-uk-countdown-widget:hover {
  transform: translateY(-3px);
  background: rgba(24, 22, 20, 0.85);
  border-color: rgba(245, 158, 11, 0.4);
}

.tnd-uk-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tnd-uk-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  display: inline-block;
}

.tnd-uk-widget-title {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Sayaç Kutuları */
.tnd-uk-countdown-grid {
  display: flex;
  gap: 6px;
  justify-content: space-between;
}

.tnd-uk-count-box {
  flex: 1;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 7px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tnd-uk-count-num {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #ffffff;
  line-height: 1;
}

.tnd-uk-count-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1;
}

.tnd-uk-date-line {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
}

/* Ziyaret Et Butonu */
.tnd-uk-visit-btn {
  background: linear-gradient(135deg, #fef08a 0%, #facc15 50%, #f59e0b 100%);
  color: #1e293b !important;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 9px 16px;
  border-radius: 25px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.tnd-uk-visit-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
  color: #0f172a !important;
}

@media (max-width: 991.98px) {
  .tnd-uk-banner-card {
    min-height: 280px;
    background-position: center;
    justify-content: center;
    padding: 20px;
  }
  .tnd-uk-countdown-widget {
    max-width: 100%;
  }
}

/* ==========================================================================
   TÜRK NÖROLOJİ DERGİSİ & YAYINLAR (ÖZEL 3D DERGİ KAPAĞI)
   ========================================================================== */
.tnd-journal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 34px;
  backdrop-filter: blur(16px);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.tnd-journal-box:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--card-shadow-hover);
}

.tnd-journal-cover-wrap {
  perspective: 1000px;
}

.tnd-journal-cover {
  width: 100%;
  max-width: 220px;
  border-radius: 8px;
  box-shadow: -10px 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 210, 255, 0.2);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: var(--transition-spring);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tnd-journal-cover-wrap:hover .tnd-journal-cover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 210, 255, 0.35);
}

.tnd-journal-btn-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn-tnd-journal {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition-smooth);
}

.btn-tnd-journal:hover {
  background: var(--neuro-cyan);
  color: #020617;
  border-color: var(--neuro-cyan);
  box-shadow: var(--glow-cyan-sm);
  transform: translateY(-2px);
}

.btn-tnd-journal-primary {
  background: linear-gradient(135deg, #0284c7 0%, #00d2ff 100%);
  color: #020617;
  border: none;
  font-weight: 700;
}

.btn-tnd-journal-primary:hover {
  filter: brightness(1.15);
  color: #020617;
  transform: translateY(-2px);
}

/* YAYIN KARTLARI */
.tnd-pub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-height: 100px;
  backdrop-filter: blur(12px);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.tnd-pub-card:hover {
  border-color: rgba(245, 158, 11, 0.45);
  background: var(--bg-card-hover);
  transform: translateX(6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25), 0 0 16px rgba(245, 158, 11, 0.12);
}

.tnd-pub-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition-smooth);
}

.tnd-pub-card:hover .tnd-pub-icon {
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
  transform: scale(1.06);
}

.tnd-pub-arrow {
  color: var(--text-muted);
  opacity: 0.35;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.tnd-pub-card:hover .tnd-pub-arrow {
  opacity: 1;
  color: #f59e0b;
  transform: translateX(4px);
}

/* YAYIN KARTLARI - LIGHT MODE */
[data-bs-theme="light"] .tnd-pub-card:hover {
  border-color: rgba(217, 119, 6, 0.45);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08), 0 0 12px rgba(217, 119, 6, 0.12);
}

[data-bs-theme="light"] .tnd-pub-icon {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.25);
  color: #d97706;
}

[data-bs-theme="light"] .tnd-pub-card:hover .tnd-pub-icon {
  background: rgba(217, 119, 6, 0.18);
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.45);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.2);
}

[data-bs-theme="light"] .tnd-pub-card:hover .tnd-pub-arrow {
  color: #d97706;
}

/* ==========================================================================
   GÜNCEL DUYURULAR & HABERLER (MÜSTAKİL BÖLÜM VE KART IZGARASI)
   ========================================================================== */
.tnd-section-announcements {
  background: linear-gradient(180deg, #041c36 0%, #031427 100%);
  border-top: 1px solid rgba(0, 210, 255, 0.14);
  border-bottom: 1px solid rgba(0, 210, 255, 0.14);
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 -10px 30px rgba(0, 0, 0, 0.25);
}

.tnd-section-announcements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 210, 255, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

/* ARKA PLAN DEKORATİF LOGO & NÖRAL DALGA (RIPPLE) EFEKTİ */
.tnd-announcements-bg-decor {
  position: absolute;
  top: 50%;
  right: -90px;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.tnd-decor-logo-wrap {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tnd-decor-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.11;
  filter: drop-shadow(0 0 25px rgba(0, 210, 255, 0.22));
  transform: rotate(-3deg);
  transition: opacity 0.4s ease;
}

[data-bs-theme="light"] .tnd-decor-logo-img {
  opacity: 0.07;
  filter: drop-shadow(0 0 20px rgba(8, 58, 106, 0.15));
}

/* Peş Peşe Yayılan Yuvarlak Nöral Dalgalar (Ripple) */
.tnd-decor-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 440px;
  margin-top: -220px;
  margin-left: -220px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.16), inset 0 0 16px rgba(0, 210, 255, 0.06);
  opacity: 0;
  pointer-events: none;
  animation: tndNeuroRipple 8s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
}

.tnd-decor-ripple.ripple-1 { animation-delay: 0s; }
.tnd-decor-ripple.ripple-2 { animation-delay: 2s; }
.tnd-decor-ripple.ripple-3 { animation-delay: 4s; }
.tnd-decor-ripple.ripple-4 { animation-delay: 6s; }

@keyframes tndNeuroRipple {
  0% {
    transform: scale(0.9);
    opacity: 0;
    border-width: 2px;
  }
  15% {
    opacity: 0.32;
  }
  45% {
    opacity: 0.16;
    border-width: 1.5px;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
    border-width: 1px;
  }
}

[data-bs-theme="light"] .tnd-decor-ripple {
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.1), inset 0 0 14px rgba(2, 132, 199, 0.04);
}

@keyframes tndNeuroRippleLight {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  15% {
    opacity: 0.20;
  }
  45% {
    opacity: 0.09;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

[data-bs-theme="light"] .tnd-decor-ripple {
  animation-name: tndNeuroRippleLight;
}

@media (max-width: 991.98px) {
  .tnd-announcements-bg-decor {
    width: 360px;
    height: 360px;
    right: -50px;
  }
  .tnd-decor-logo-wrap {
    width: 320px;
    height: 320px;
  }
  .tnd-decor-ripple {
    width: 320px;
    height: 320px;
    margin-top: -160px;
    margin-left: -160px;
  }
}

/* Light Mode için Müstakil Zemin ve Kart Uyumu */
[data-bs-theme="light"] .tnd-section-announcements {
  background: linear-gradient(180deg, #edf4fc 0%, #e3ecf7 100%);
  border-top: 1px solid rgba(8, 58, 106, 0.09);
  border-bottom: 1px solid rgba(8, 58, 106, 0.09);
  box-shadow: inset 0 6px 20px rgba(8, 58, 106, 0.04), inset 0 -6px 20px rgba(8, 58, 106, 0.04);
}

[data-bs-theme="light"] .tnd-section-announcements::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 65%);
}

[data-bs-theme="light"] .tnd-section-announcements .tnd-news-card-grid {
  background: #ffffff;
  border-color: rgba(8, 58, 106, 0.1);
  box-shadow: 0 4px 18px rgba(8, 58, 106, 0.06);
}

[data-bs-theme="light"] .tnd-section-announcements .tnd-news-card-grid:hover {
  background: #ffffff;
  border-color: #00d2ff;
  box-shadow: 0 10px 26px rgba(8, 58, 106, 0.12);
}

[data-bs-theme="light"] .tnd-news-date-pill {
  background: rgba(8, 58, 106, 0.05);
  border-color: rgba(8, 58, 106, 0.12);
  color: #475569;
}

.tnd-news-card-grid {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.tnd-news-card-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neuro-cyan), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.tnd-news-card-grid:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.tnd-news-card-grid:hover::before {
  opacity: 1;
}

.tnd-news-date-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.tnd-news-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tnd-news-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-bs-theme="light"] .tnd-news-card-footer {
  border-top-color: rgba(8, 58, 106, 0.08);
}

.tnd-read-more {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--neuro-cyan);
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.tnd-news-card-grid:hover .tnd-read-more {
  transform: translateX(4px);
}

/* Tek Satırlı Duyuru Kartı (Yedek/Liste Görünümü) */
.tnd-news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.tnd-news-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--neuro-cyan);
  opacity: 0;
  transition: var(--transition-smooth);
}

.tnd-news-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.tnd-news-card:hover::before {
  opacity: 1;
}

.tnd-date-block {
  width: 68px;
  min-width: 68px;
  text-align: center;
  padding-right: 18px;
  border-right: 1px solid var(--border-subtle);
}

.tnd-date-day {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--neuro-cyan);
  line-height: 1;
}

.tnd-date-month {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.tnd-date-year {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.tnd-news-body {
  flex: 1;
  min-width: 0;
}

.tnd-news-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f59e0b !important;
  margin-bottom: 4px;
  display: inline-block;
}

[data-bs-theme="light"] .tnd-news-badge {
  color: #d97706 !important;
}

.tnd-news-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.4;
  margin: 0;
  transition: var(--transition-smooth);
}

.tnd-news-card-grid:hover .tnd-news-title,
.tnd-news-card:hover .tnd-news-title {
  color: var(--neuro-cyan);
}

.tnd-news-arrow {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.tnd-news-card:hover .tnd-news-arrow {
  background: var(--neuro-cyan);
  color: #020617;
  transform: translateX(4px);
  box-shadow: var(--glow-cyan-sm);
}

/* ==========================================================================
   TOPLANTILAR VE ETKİNLİKLER (SOLDA TAKVİM, SAĞDA ETKİNLİK LİSTESİ)
   ========================================================================== */

/* SOL KOLON: MİNİ TAKVİM WIDGET KARTI */
.tnd-cal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 22px 22px 18px 22px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

[data-bs-theme="light"] .tnd-cal-card {
  background: #ffffff;
  border-color: rgba(8, 58, 106, 0.12);
  box-shadow: 0 10px 30px rgba(8, 58, 106, 0.08);
}

.tnd-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tnd-cal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  display: flex;
  align-items: center;
}

.tnd-cal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tnd-cal-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tnd-cal-btn:hover {
  background: var(--neuro-cyan);
  color: #020617;
  border-color: var(--neuro-cyan);
}

[data-bs-theme="light"] .tnd-cal-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

[data-bs-theme="light"] .tnd-cal-btn:hover {
  background: #083a6a;
  color: #ffffff;
  border-color: #083a6a;
}

.tnd-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.tnd-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
  margin-bottom: 18px;
}

.tnd-cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tnd-cal-day:hover {
  background: rgba(0, 210, 255, 0.15);
  color: var(--neuro-cyan);
}

[data-bs-theme="light"] .tnd-cal-day:hover {
  background: rgba(8, 58, 106, 0.08);
  color: #083a6a;
}

.tnd-day-prev,
.tnd-day-next {
  color: var(--text-dim) !important;
  opacity: 0.35;
}

.tnd-day-active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #020617 !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

.tnd-cal-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f59e0b;
  position: absolute;
  bottom: 4px;
}

.tnd-day-active .tnd-cal-dot {
  background: #020617;
}

.tnd-cal-dot.dot-online { background: #00d2ff; }
.tnd-cal-dot.dot-congress { background: #f59e0b; }
.tnd-cal-dot.dot-course { background: #10b981; }

.tnd-cal-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
  margin-bottom: 0;
}

[data-bs-theme="light"] .tnd-cal-legend {
  border-top-color: rgba(8, 58, 106, 0.1);
}

.tnd-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tnd-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.tnd-legend-dot.dot-online { background: #00d2ff; }
.tnd-legend-dot.dot-congress { background: #f59e0b; }
.tnd-legend-dot.dot-course { background: #10b981; }

.tnd-day-today:not(.tnd-day-active) {
  border: 1.5px solid var(--neuro-cyan);
  color: var(--neuro-cyan);
}

[data-bs-theme="light"] .tnd-day-today:not(.tnd-day-active) {
  border-color: #083a6a;
  color: #083a6a;
  font-weight: 700;
}

.tnd-cal-selected-info {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 14px;
  animation: fadeIn 0.25s ease;
}

[data-bs-theme="light"] .tnd-cal-selected-info {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.35);
}

.tnd-card-glow {
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.65) !important;
  border-color: #f59e0b !important;
  transform: translateX(4px);
  transition: all 0.3s ease;
}

.tnd-cal-import-btn {
  display: none;
}

/* SAĞ KOLON: YATAY ETKİNLİK KARTLARI */
.tnd-event-row-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  flex: 1;
}

[data-bs-theme="light"] .tnd-event-row-card {
  background: #ffffff;
  border-color: rgba(8, 58, 106, 0.12);
  box-shadow: 0 6px 20px rgba(8, 58, 106, 0.06);
}

.tnd-event-row-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--neuro-cyan);
  transform: translateX(5px);
  box-shadow: var(--card-shadow-hover);
}

[data-bs-theme="light"] .tnd-event-row-card:hover {
  background: #f8fafc;
  border-color: #0284c7;
}

/* Sol Tarih Rozeti */
.tnd-event-date-pill {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  transition: var(--transition-smooth);
}

[data-bs-theme="light"] .tnd-event-date-pill {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.tnd-event-row-card:hover .tnd-event-date-pill {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.tnd-event-p-day {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #fbbf24;
}

[data-bs-theme="light"] .tnd-event-p-day {
  color: #d97706;
}

.tnd-event-p-mo {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-title);
  margin-top: 1px;
}

.tnd-event-p-yr {
  font-size: 0.56rem;
  color: var(--text-dim);
}

/* Orta İçerik */
.tnd-event-info {
  flex: 1;
  min-width: 0;
}

.tnd-event-meta {
  margin-bottom: 2px;
}

.tnd-meta-time {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-dim);
}

.tnd-event-row-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
  margin: 0 0 2px 0;
  transition: var(--transition-smooth);
}

.tnd-event-row-card:hover .tnd-event-row-title {
  color: var(--neuro-cyan);
}

[data-bs-theme="light"] .tnd-event-row-card:hover .tnd-event-row-title {
  color: #0284c7;
}

.tnd-event-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Sağ Buton */
.btn-tnd-event-det {
  padding: 5px 13px;
  font-size: 0.80rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-tnd-event-det:hover {
  background: #f59e0b;
  color: #020617;
  border-color: #f59e0b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
}

[data-bs-theme="light"] .btn-tnd-event-det {
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(217, 119, 6, 0.06);
}

[data-bs-theme="light"] .btn-tnd-event-det:hover {
  background: #d97706;
  color: #ffffff;
  border-color: #d97706;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

@media (max-width: 575.98px) {
  .tnd-event-row-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn-tnd-event-det {
    align-self: flex-start;
  }
}

/* Grid Kartlar (Gerektiğinde Alternatif Kullanım) */
.tnd-event-card-grid {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.tnd-event-card-grid:hover {
  background: var(--bg-card-hover);
  border-color: var(--neuro-cyan);
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.tnd-event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   ÇALIŞMA GRUPLARI VİTRİNİ (INTERAKTİF NÖRO KARTLAR)
   ========================================================================== */
.tnd-cg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.tnd-cg-card:hover {
  transform: translateY(-6px);
  border-color: var(--neuro-cyan);
  background: var(--bg-card-hover);
  box-shadow: var(--card-shadow-hover);
}

.tnd-cg-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.12);
  color: var(--neuro-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
  transition: var(--transition-spring);
}

.tnd-cg-card:hover .tnd-cg-icon {
  background: var(--neuro-cyan);
  color: #020617;
  transform: scale(1.12) rotate(6deg);
}

.tnd-cg-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}

.tnd-cg-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.tnd-cg-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neuro-cyan);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tnd-cg-card:hover .tnd-cg-link {
  gap: 9px;
}

/* ==========================================================================
   CANLI NÖRAL ANİMASYONLU BANNER (BOL HAREKET & SİNAPS AKIŞI)
   ========================================================================== */
.tnd-synapse-banner {
  position: relative;
  background: linear-gradient(135deg, #052647 0%, #0c4780 50%, #052647 100%);
  border-top: 1px solid var(--border-highlight);
  border-bottom: 1px solid var(--border-highlight);
  padding: 70px 0;
  overflow: hidden;
}

.tnd-synapse-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.tnd-synapse-content {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   FOOTER (DAİMA DERİN KOYU MAVİ & NÖROLOJİ DOKUSU - LIGHT MODDA DAİMA AYNI KALIR)
   - "light moda geçince footer dark mod ile aynı olarak kalsın değişmesin."
   ========================================================================== */
.tnd-footer,
[data-bs-theme="light"] .tnd-footer {
  --bg-deep: #052647;
  --border-subtle: rgba(56, 189, 248, 0.22);
  --border-highlight: rgba(56, 189, 248, 0.45);
  --border-glow: rgba(0, 210, 255, 0.7);
  --text-main: #f0f6fc;
  --text-title: #ffffff;
  --text-muted: #bcd0e8;
  --text-dim: #8ba9cb;
  --neuro-cyan: #00d2ff;
  --glow-cyan-sm: 0 0 12px rgba(0, 210, 255, 0.3);
  --glow-cyan: 0 0 24px rgba(0, 210, 255, 0.4);

  background: #052647 !important;
  border-top: 1px solid rgba(56, 189, 248, 0.22) !important;
  color: #f0f6fc !important;
  padding: 70px 0 25px 0;
  position: relative;
  overflow: hidden;
}

.tnd-footer-canvas,
[data-bs-theme="light"] .tnd-footer-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35 !important;
  transition: opacity 0.4s ease;
}

.tnd-footer-logo {
  max-height: 88px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 210, 255, 0.2));
  transition: var(--transition-spring);
}

.tnd-footer-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 20px rgba(0, 210, 255, 0.4));
}

@media (max-width: 991.98px) {
  .tnd-footer-logo {
    max-height: 72px;
  }
}

.tnd-footer-title,
[data-bs-theme="light"] .tnd-footer-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.tnd-footer-title::after,
[data-bs-theme="light"] .tnd-footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 35px;
  height: 2px;
  background: #00d2ff !important;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.3) !important;
}

.tnd-footer-text,
[data-bs-theme="light"] .tnd-footer-text {
  font-size: 0.9rem;
  color: #bcd0e8 !important;
  line-height: 1.7;
}

.tnd-footer-text i,
[data-bs-theme="light"] .tnd-footer-text i {
  color: #38bdf8 !important;
}

.tnd-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tnd-footer-links li {
  margin-bottom: 10px;
}

.tnd-footer-links a,
[data-bs-theme="light"] .tnd-footer-links a {
  font-size: 0.88rem;
  color: #bcd0e8 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.tnd-footer-links a i,
[data-bs-theme="light"] .tnd-footer-links a i {
  color: #38bdf8 !important;
}

.tnd-footer-links a:hover,
[data-bs-theme="light"] .tnd-footer-links a:hover {
  color: #00d2ff !important;
  transform: translateX(4px);
}

.tnd-social-link,
[data-bs-theme="light"] .tnd-social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  color: #f0f6fc !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-spring);
}

.tnd-social-link:hover,
[data-bs-theme="light"] .tnd-social-link:hover {
  background: #00d2ff !important;
  color: #020617 !important;
  border-color: #00d2ff !important;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.4) !important;
}

.tnd-copyright-bar,
[data-bs-theme="light"] .tnd-copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-top: 50px;
  padding-top: 25px;
  font-size: 0.82rem;
  color: #8ba9cb !important;
}

.tnd-copyright-bar a,
[data-bs-theme="light"] .tnd-copyright-bar a {
  color: #8ba9cb !important;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.tnd-copyright-bar a:hover,
[data-bs-theme="light"] .tnd-copyright-bar a:hover {
  color: #00d2ff !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   MODAL: ÜYE GİRİŞİ (SADECE BUNUN İÇİN POPUP) & Z-INDEX KONTROLÜ
   ========================================================================== */
.modal-backdrop {
  z-index: 1050 !important;
}

.modal {
  z-index: 1055 !important;
}

.tnd-modal .modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 210, 255, 0.25);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  color: var(--text-main);
  overflow: hidden;
}

.tnd-modal-header {
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 28px 16px 28px;
}

.tnd-modal-body {
  padding: 28px;
}

.tnd-form-control {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-title);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.tnd-form-control:focus {
  background: rgba(2, 6, 23, 0.85);
  border-color: var(--neuro-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
  color: #fff;
}

/* SEARCH OVERLAY MODAL */
.tnd-search-modal .modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: 18px;
  padding: 24px;
}

/* ==========================================================================
   BUTONLAR & ETİKETLER
   ========================================================================== */
.btn-tnd-primary {
  background: linear-gradient(135deg, #0284c7 0%, #00d2ff 100%);
  color: #020617;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 24px;
  border-radius: 30px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.35);
  transition: var(--transition-smooth);
}

.btn-tnd-primary:hover {
  filter: brightness(1.1);
  color: #020617;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

.btn-tnd-outline {
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid var(--border-highlight);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-tnd-outline:hover {
  background: rgba(0, 210, 255, 0.12);
  color: var(--neuro-cyan);
  border-color: var(--neuro-cyan);
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE UYARLAMALAR
   ========================================================================== */
@media (max-width: 1199.98px) {
  .tnd-nav-link {
    padding: 10px 9px;
    font-size: 0.84rem;
  }
}

@media (max-width: 991.98px) {
  .tnd-main-logo {
    max-height: 56px;
  }
  /* MOBİLDE ÜST BAR: 2 SATIRLI DÜZEN
     - Üst Satır: ÜYE OL & ÜYE GİRİŞİ
     - Alt Satır: ARAMA, TR/EN, LIGHT MODE, HAMBURGER MENÜ */
  .tnd-top-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .tnd-auth-group {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .tnd-auth-group .btn-tnd-register,
  .tnd-auth-group .btn-tnd-login {
    padding: 7px 18px !important;
    font-size: 0.85rem !important;
  }

  .tnd-tools-group {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  #mainMenuCollapse {
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    border-radius: 14px;
    padding: 10px 14px;
    margin: 10px 0 16px 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 210, 255, 0.08);
  }

  [data-bs-theme="light"] #mainMenuCollapse {
    background: #ffffff;
    border-color: rgba(8, 58, 106, 0.18);
    box-shadow: 0 16px 40px rgba(8, 58, 106, 0.12);
  }

  .tnd-nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 2px;
  }

  .tnd-nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .tnd-nav-item:last-child {
    border-bottom: none;
  }

  [data-bs-theme="light"] .tnd-nav-item {
    border-bottom: 1px solid rgba(8, 58, 106, 0.08);
  }

  .tnd-nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 11px 10px;
    border-radius: 8px;
    font-size: 0.95rem;
    white-space: normal !important;
  }

  .tnd-nav-link .dropdown-chevron {
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
  }

  .tnd-nav-link:hover,
  .tnd-nav-link.active,
  .tnd-nav-item.open > .tnd-nav-link {
    background: rgba(0, 210, 255, 0.1);
    color: var(--neuro-cyan) !important;
  }

  [data-bs-theme="light"] .tnd-nav-link:hover,
  [data-bs-theme="light"] .tnd-nav-link.active,
  [data-bs-theme="light"] .tnd-nav-item.open > .tnd-nav-link {
    background: rgba(8, 58, 106, 0.08);
    color: #083a6a !important;
  }

  /* MOBİL DROPDOWN: YANA DOĞRU TAŞMA YERİNE ALT ALTA AÇILMA */
  .tnd-dropdown-menu {
    position: static !important;
    display: none;
    box-shadow: none !important;
    background: rgba(0, 210, 255, 0.04) !important;
    border: none !important;
    border-left: 2px solid rgba(0, 210, 255, 0.25) !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 8px 10px !important;
    margin: 4px 0 10px 4px !important;
    animation: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  [data-bs-theme="light"] .tnd-dropdown-menu {
    background: rgba(8, 58, 106, 0.04) !important;
    border-left: 2px solid rgba(8, 58, 106, 0.25) !important;
  }

  .tnd-nav-item.open > .tnd-dropdown-menu {
    display: block !important;
  }

  .tnd-nav-item.open .dropdown-chevron {
    transform: rotate(180deg);
  }

  /* Dropdown içindeki tüm satır ve sütunlar yana uzamak yerine ALT ALTA gelir */
  .tnd-dropdown-menu .row,
  .tnd-dropdown-menu [style*="min-width"],
  .tnd-menu-dernek,
  .tnd-menu-egitim,
  .tnd-menu-yeterlik,
  .tnd-menu-basin,
  .tnd-menu-kvkk,
  .tnd-mega-menu .row {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .tnd-dropdown-menu [class*="col-"],
  .tnd-mega-menu [class*="col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .tnd-dropdown-menu .tnd-mega-header,
  .tnd-dropdown-menu .tnd-mega-heading {
    font-size: 0.92rem;
    margin-top: 14px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  }

  .tnd-dropdown-menu [class*="col-"]:first-child .tnd-mega-header,
  .tnd-dropdown-menu [class*="col-"]:first-child .tnd-mega-heading {
    margin-top: 4px;
  }

  .tnd-drop-item {
    white-space: normal !important;
    word-break: break-word;
    padding: 8px 10px !important;
    font-size: 0.88rem !important;
    line-height: 1.35;
    width: 100%;
    border-radius: 6px;
    margin-bottom: 3px;
    transform: none !important;
  }

  .tnd-drop-item:hover {
    padding-left: 12px !important;
    transform: none !important;
  }

  .tnd-mega-menu {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    left: 0 !important;
    right: auto !important;
    margin: 4px 0 10px 4px !important;
    padding: 10px 10px !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  .tnd-mega-sidebar {
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-left: 0 !important;
    padding-top: 14px !important;
    margin-top: 14px !important;
  }

  [data-bs-theme="light"] .tnd-mega-sidebar {
    border-top: 1px solid rgba(8, 58, 106, 0.12) !important;
  }
  /* Mobil Slider İyileştirmesi: Afiş kesilmeden tam görünür (1890x647 oranında), başlık ve buton hemen altındaki şık panelde */
  .tnd-hero-slide {
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    background-image: none !important;
    background-color: var(--bg-surface) !important;
  }

  .tnd-slide-overlay {
    display: none !important;
  }

  .tnd-slide-img-link {
    display: block !important;
    width: 100%;
    line-height: 0;
    background-color: #031427;
    position: relative;
    z-index: 2;
    text-decoration: none;
  }

  .tnd-slide-img-mobile {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1890 / 647;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 210, 255, 0.15);
  }

  [data-bs-theme="light"] .tnd-slide-img-mobile {
    border-bottom: 1px solid rgba(8, 58, 106, 0.15);
  }

  .tnd-slide-content {
    position: relative !important;
    z-index: 2 !important;
    padding: 16px 20px 42px 20px !important;
    background: linear-gradient(180deg, rgba(5, 36, 68, 0.98) 0%, rgba(4, 25, 48, 1) 100%) !important;
    width: 100% !important;
  }

  [data-bs-theme="light"] .tnd-slide-content {
    background: linear-gradient(180deg, #f0f7ff 0%, #e2eeff 100%) !important;
  }

  .tnd-slide-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    margin-bottom: 8px !important;
  }

  [data-bs-theme="light"] .tnd-slide-title {
    color: #083a6a !important;
  }

  .tnd-slide-content .mt-4 {
    margin-top: 10px !important;
  }

  .tnd-slide-content .btn-tnd-primary {
    padding: 7px 18px !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  }

  .carousel-indicators {
    bottom: 8px !important;
    margin-bottom: 0 !important;
    z-index: 5;
  }

  .carousel-indicators [data-bs-target] {
    width: 22px;
    height: 4px;
  }

  .carousel-indicators .active {
    width: 36px !important;
  }

  [data-bs-theme="light"] .carousel-indicators [data-bs-target] {
    background-color: rgba(8, 58, 106, 0.35);
  }

  [data-bs-theme="light"] .carousel-indicators .active {
    background-color: #083a6a !important;
    box-shadow: 0 0 8px rgba(8, 58, 106, 0.4) !important;
  }

  .carousel-control-prev, .carousel-control-next {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    top: 25%;
    transform: translateY(-50%);
    opacity: 0.9;
    background: rgba(3, 20, 39, 0.75);
    border-color: rgba(0, 210, 255, 0.25);
  }

  .carousel-control-prev { left: 8px; }
  .carousel-control-next { right: 8px; }
}

@media (max-width: 767.98px) {
  .tnd-slide-title {
    font-size: 1.05rem !important;
  }
  .tnd-slide-content {
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-bottom: 38px !important;
  }
  .tnd-countdown-box {
    justify-content: center;
  }
  .tnd-count-unit {
    min-width: 58px;
    padding: 8px 10px;
  }
  .tnd-count-val {
    font-size: 1.3rem;
  }
  .tnd-journal-cover {
    max-width: 160px;
    margin: 0 auto 20px auto;
  }
}


/* ==========================================================================
   İÇ SAYFALAR (INNER PAGES) STİLLERİ
   ========================================================================== */
.tnd-inner-hero {
  background: rgba(8, 58, 106, 0.04);
  border-bottom: 1px solid rgba(8, 58, 106, 0.1);
  backdrop-filter: blur(8px);
}
[data-bs-theme="dark"] .tnd-inner-hero {
  background: rgba(10, 25, 47, 0.6);
  border-bottom: 1px solid rgba(0, 210, 255, 0.15);
}

.tnd-breadcrumb {
  font-size: 0.88rem;
  font-weight: 500;
}
.tnd-breadcrumb .breadcrumb-item a {
  color: #0284c7;
  transition: var(--transition-smooth);
}
.tnd-breadcrumb .breadcrumb-item a:hover {
  color: #0369a1;
  text-decoration: underline !important;
}
[data-bs-theme="dark"] .tnd-breadcrumb .breadcrumb-item a {
  color: var(--neuro-cyan);
}
.tnd-breadcrumb .breadcrumb-item.active {
  color: #64748b;
}
[data-bs-theme="dark"] .tnd-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}

.tnd-inner-card {
  background: #ffffff;
  border: 1px solid rgba(8, 58, 106, 0.1);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(8, 58, 106, 0.06);
  color: #1e293b;
  line-height: 1.7;
}
[data-bs-theme="dark"] .tnd-inner-card {
  background: rgba(11, 25, 44, 0.75);
  border: 1px solid rgba(0, 210, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  color: #e2e8f0;
}

.tnd-inner-card h1, .tnd-inner-card h2, .tnd-inner-card h3, .tnd-inner-card h4 {
  font-weight: 700;
  color: #083a6a;
  margin-bottom: 1.25rem;
}
[data-bs-theme="dark"] .tnd-inner-card h1,
[data-bs-theme="dark"] .tnd-inner-card h2,
[data-bs-theme="dark"] .tnd-inner-card h3,
[data-bs-theme="dark"] .tnd-inner-card h4 {
  color: #f8fafc;
}

.tnd-inner-card p {
  margin-bottom: 1rem;
}

.tnd-inner-card a:not(.btn) {
  color: #0284c7;
  text-decoration: none;
}
.tnd-inner-card a:not(.btn):hover {
  text-decoration: underline;
}
[data-bs-theme="dark"] .tnd-inner-card a:not(.btn) {
  color: var(--neuro-cyan);
}

.btn-primary,
a.btn-primary,
.btn-primary:hover,
a.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:focus,
.btn-primary:active,
a.btn-primary:active,
.btn-primary i,
a.btn-primary i {
  color: #ffffff !important;
}

.tnd-inner-card table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}
.tnd-inner-card th, .tnd-inner-card td {
  padding: 10px 14px;
  border: 1px solid rgba(8, 58, 106, 0.12);
}
[data-bs-theme="dark"] .tnd-inner-card th,
[data-bs-theme="dark"] .tnd-inner-card td {
  border: 1px solid rgba(0, 210, 255, 0.15);
}
.tnd-inner-card th {
  background: rgba(8, 58, 106, 0.05);
  font-weight: 600;
}
[data-bs-theme="dark"] .tnd-inner-card th {
  background: rgba(0, 210, 255, 0.08);
}

/* ==========================================================================
   GOOGLE TRANSLATE GİZLEME & SABİTLEME DÜZENLEMELERİ
   - Üstteki Google Translate çubuğunun (banner frame) görünmesini engeller
   - Body ve HTML'in 40px aşağı ötelenmesini engeller
   - Tooltip balonları ve spinner'ları gizler
   - TR ve EN buton metinlerinin çevrilmesini önler
   ========================================================================== */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt,
#goog-gt-vt,
.goog-te-spinner-pos,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-ORHb,
.VIpgJd-yAWNEb-L7lbkb,
.VIpgJd-yAWNEb-hvhGLb,
.VIpgJd-ZVi9od-aZ2wEe-OqhOVb,
.VIpgJd-ZVi9od-l4eHX-hSRGPd {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html, body {
  top: 0px !important;
  position: static !important;
  margin-top: 0px !important;
}

#google_translate_element {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
}

/* Çeviri sonrası metin vurgusu ve alt çizgileri temizle */
font[style] {
  background: transparent !important;
  box-shadow: none !important;
}

/* Dil butonları ve özel alanlar asla çevrilmesin */
.notranslate,
[translate="no"],
.tnd-lang-group,
.tnd-lang-badge {
  -webkit-translate: no !important;
  translate: no !important;
}

/* ==========================================================================
   TND YÖNETİM KURULU & KURUMSAL KARTLAR (.card-kurum)
   ========================================================================== */

/* Yönetim Kurulu ve İç Sayfa Başlığı */
.tnd-inner-card > h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #083a6a;
  margin-bottom: 2rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tnd-inner-card > h3::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 28px;
  background: linear-gradient(180deg, #0284c7 0%, #083a6a 100%);
  border-radius: 4px;
}

[data-bs-theme="dark"] .tnd-inner-card > h3 {
  color: #f1f5f9;
  border-bottom-color: rgba(56, 189, 248, 0.25);
}

[data-bs-theme="dark"] .tnd-inner-card > h3::before {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
}

/* Ofis Yönetimi ve Ara Başlıklar */
.tnd-inner-card h4.text-center {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #083a6a !important;
  margin-top: 3.5rem !important;
  margin-bottom: 2rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px dashed rgba(2, 132, 199, 0.25) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

[data-bs-theme="dark"] .tnd-inner-card h4.text-center {
  color: #38bdf8 !important;
  border-bottom-color: rgba(56, 189, 248, 0.25);
}

/* Yönetim Kurulu Kartı Temel Yapısı */
.card.card-kurum {
  background: #ffffff !important;
  border: 1px solid rgba(8, 58, 106, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 20px rgba(8, 58, 106, 0.05) !important;
  margin-bottom: 1.5rem !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.card.card-kurum::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #0284c7 0%, #083a6a 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card.card-kurum:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.16) !important;
  border-color: rgba(2, 132, 199, 0.35) !important;
}

.card.card-kurum:hover::before {
  opacity: 1;
}

[data-bs-theme="dark"] .card.card-kurum {
  background: rgba(11, 25, 44, 0.75) !important;
  border-color: rgba(56, 189, 248, 0.18) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35) !important;
}

[data-bs-theme="dark"] .card.card-kurum:hover {
  border-color: rgba(0, 210, 255, 0.45) !important;
  box-shadow: 0 16px 36px rgba(0, 210, 255, 0.18) !important;
}

/* Kart İçeriği & Flexbox Düzeni */
.card.card-kurum .card-body {
  padding: 1.25rem 1.5rem !important;
}

.card.card-kurum .row.d-table {
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Fotoğraf Alanı */
.card.card-kurum .col-4.d-table-cell {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  flex: 0 0 100px !important;
  max-width: 100px !important;
  padding: 0 !important;
}

.card.card-kurum img {
  width: 95px !important;
  height: 95px !important;
  min-width: 95px !important;
  min-height: 95px !important;
  max-width: 95px !important;
  max-height: 95px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 3px solid #0284c7 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25) !important;
  transition: transform 0.3s ease !important;
  background-color: #f8fafc !important;
}

.card.card-kurum:hover img {
  transform: scale(1.05) !important;
}

[data-bs-theme="dark"] .card.card-kurum img {
  border-color: #38bdf8 !important;
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.35) !important;
  background-color: rgba(15, 23, 42, 0.8) !important;
}

/* Bilgi Alanı */
.card.card-kurum .col-8.d-table-cell {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* Unvan / Görev Rozeti (Başkan, Genel Sekreter vb.) */
.card.card-kurum .card-title {
  display: inline-block !important;
  align-self: flex-start !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.75px !important;
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.1) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  margin-bottom: 0.45rem !important;
  border: 1px solid rgba(2, 132, 199, 0.2) !important;
}

[data-bs-theme="dark"] .card.card-kurum .card-title {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

/* İsim Soyisim */
.card.card-kurum .card-subtitle {
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  color: #083a6a !important;
  margin-bottom: 0.3rem !important;
  line-height: 1.3 !important;
}

[data-bs-theme="dark"] .card.card-kurum .card-subtitle {
  color: #ffffff !important;
}

/* Kurum / Üniversite / Hastane */
.card.card-kurum .card-text {
  font-size: 0.85rem !important;
  color: #64748b !important;
  margin-bottom: 0 !important;
  line-height: 1.45 !important;
}

[data-bs-theme="dark"] .card.card-kurum .card-text {
  color: #94a3b8 !important;
}

/* Mobil Cihazlar İçin Ayarlamalar */
@media (max-width: 576px) {
  .card.card-kurum .row.d-table {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.85rem !important;
  }
  .card.card-kurum .col-8.d-table-cell {
    align-items: center !important;
  }
  .card.card-kurum .card-title {
    align-self: center !important;
  }
}

/* ==========================================================================
   TND ONAM FORMLARI SAYFASI (.onamForm, .onamPDF)
   ========================================================================== */

/* Kılavuz İndirme Bannerı (.onamForm) */
.onamForm {
  margin: 1rem 0 2rem 0 !important;
}

.onamForm a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: linear-gradient(135deg, rgba(8, 58, 106, 0.05) 0%, rgba(2, 132, 199, 0.1) 100%) !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
  border-radius: 14px !important;
  padding: 18px 24px !important;
  color: #083a6a !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.08) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

.onamForm a::after {
  content: 'Dokümanı İndir \f019';
  font-family: var(--font-sans), "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.85rem;
  background: #0284c7;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transition: all 0.25s ease;
}

.onamForm a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.18) !important;
  border-color: rgba(2, 132, 199, 0.45) !important;
}

.onamForm a:hover::after {
  background: #083a6a;
}

.onamForm a i.fa-file-word {
  color: #2b579a !important;
  font-size: 1.6rem !important;
  margin-right: 12px !important;
}

[data-bs-theme="dark"] .onamForm a {
  background: linear-gradient(135deg, rgba(8, 58, 106, 0.4) 0%, rgba(2, 132, 199, 0.2) 100%) !important;
  border-color: rgba(0, 210, 255, 0.3) !important;
  color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .onamForm a i.fa-file-word {
  color: #38bdf8 !important;
}

/* Bölüm Başlığı & PDF Notu */
.tnd-inner-card .text-dark {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #083a6a !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

[data-bs-theme="dark"] .tnd-inner-card .text-dark {
  color: #38bdf8 !important;
}

.tnd-inner-card .text-secondary[style*="border-left"] {
  background: rgba(2, 132, 199, 0.05) !important;
  border-left: 3px solid #0284c7 !important;
  padding: 8px 14px !important;
  border-radius: 0 8px 8px 0 !important;
  margin-bottom: 1.75rem !important;
  display: inline-block !important;
  font-weight: 500 !important;
}

[data-bs-theme="dark"] .tnd-inner-card .text-secondary[style*="border-left"] {
  background: rgba(56, 189, 248, 0.1) !important;
  border-left-color: #38bdf8 !important;
  color: #cbd5e1 !important;
}

/* PDF Kart Listesi (.onamPDF) */
.onamPDF ol {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  counter-reset: onam-num !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 16px !important;
}

.onamPDF ol li {
  counter-increment: onam-num !important;
  display: flex !important;
  height: 100% !important;
}

.onamPDF ol li a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  padding: 14px 18px !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 58, 106, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 3px 12px rgba(8, 58, 106, 0.04) !important;
  color: #1e293b !important;
  text-decoration: none !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

/* Numaratör Rozeti */
.onamPDF ol li a::before {
  content: counter(onam-num) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  background: rgba(8, 58, 106, 0.06) !important;
  color: #083a6a !important;
  border-radius: 8px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

/* PDF İkonu */
.onamPDF ol li a i.fa-file-pdf {
  font-size: 1.4rem !important;
  color: #e11d48 !important;
  min-width: 20px !important;
  transition: transform 0.2s ease !important;
}

/* Hover Efektleri */
.onamPDF ol li a:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.15) !important;
  border-color: rgba(2, 132, 199, 0.4) !important;
  color: #0284c7 !important;
}

.onamPDF ol li a:hover::before {
  background: #0284c7 !important;
  color: #ffffff !important;
}

.onamPDF ol li a:hover i.fa-file-pdf {
  transform: scale(1.15) !important;
}

/* Dark Theme Desteği */
[data-bs-theme="dark"] .onamPDF ol li a {
  background: rgba(11, 25, 44, 0.75) !important;
  border-color: rgba(56, 189, 248, 0.18) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .onamPDF ol li a::before {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
}

[data-bs-theme="dark"] .onamPDF ol li a:hover {
  border-color: rgba(0, 210, 255, 0.45) !important;
  box-shadow: 0 12px 28px rgba(0, 210, 255, 0.18) !important;
  color: #38bdf8 !important;
}

[data-bs-theme="dark"] .onamPDF ol li a:hover::before {
  background: #38bdf8 !important;
  color: #052647 !important;
}

/* Mobil İyileştirmeleri */
@media (max-width: 576px) {
  .onamPDF ol {
    grid-template-columns: 1fr !important;
  }
  .onamForm a {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }
  .onamForm a::after {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   TND ÇALIŞMA GRUPLARI (ALTBİRİM) SAYFALARI
   ========================================================================== */

.altbirim {
  max-width: 100%;
}

/* Üst Mavi Başlık Çubuğu (Referans Görsele Birebir) */
.altbirim .minibaslik2 {
  background: linear-gradient(135deg, #083a6a 0%, #0c4780 100%) !important;
  color: #ffffff !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  padding: 16px 24px !important;
  margin: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  box-shadow: 0 4px 15px rgba(8, 58, 106, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  letter-spacing: 0.3px !important;
}

[data-bs-theme="dark"] .altbirim .minibaslik2 {
  background: linear-gradient(135deg, #05294d 0%, #083a6a 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-bottom: none !important;
}

/* Çalışma Grubu İç Menüsü (.bt-page / .bt-page-menu) */
.altbirim .bt-page {
  background: #edf4fa !important;
  border-bottom: 2px solid rgba(2, 132, 199, 0.2) !important;
  border-radius: 0 0 12px 12px !important;
  padding: 8px 16px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 3px 12px rgba(8, 58, 106, 0.05) !important;
}

[data-bs-theme="dark"] .altbirim .bt-page {
  background: rgba(15, 23, 42, 0.7) !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

.altbirim .bt-page-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

.altbirim .bt-page-menu li {
  margin: 0 !important;
}

.altbirim .bt-page-menu li a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 8px 16px !important;
  color: #083a6a !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

.altbirim .bt-page-menu li a:hover {
  background: rgba(2, 132, 199, 0.12) !important;
  color: #0284c7 !important;
}

.altbirim .bt-page-menu li.active a,
.altbirim .bt-page-menu li a.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3) !important;
}

[data-bs-theme="dark"] .altbirim .bt-page-menu li a {
  color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .altbirim .bt-page-menu li a:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
}

[data-bs-theme="dark"] .altbirim .bt-page-menu li.active a,
[data-bs-theme="dark"] .altbirim .bt-page-menu li a.active {
  background: #0284c7 !important;
  color: #ffffff !important;
}

/* Alt Sayfa İçerik Başlığı (Ana Sayfa, Haberler vb.) */
.altbirim h1.fs-5,
.altbirim .tnd-sub-heading {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #083a6a !important;
  border-bottom: 2px solid rgba(8, 58, 106, 0.1) !important;
  padding-bottom: 10px !important;
  margin-bottom: 22px !important;
}

[data-bs-theme="dark"] .altbirim h1.fs-5,
[data-bs-theme="dark"] .altbirim .tnd-sub-heading {
  color: #38bdf8 !important;
  border-bottom-color: rgba(56, 189, 248, 0.2) !important;
}

/* İçerikteki Bölüm Başlıkları (Moderatör, Grup Sekreteryası, Aktif Üyeler) */
.altbirim p strong {
  display: inline-block !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #083a6a !important;
  margin-top: 1.25rem !important;
  margin-bottom: 0.25rem !important;
  position: relative !important;
  padding-left: 12px !important;
}

.altbirim p strong::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: #0284c7;
  border-radius: 2px;
}

[data-bs-theme="dark"] .altbirim p strong {
  color: #38bdf8 !important;
}

[data-bs-theme="dark"] .altbirim p strong::before {
  background: #38bdf8 !important;
}

.altbirim p {
  color: #334155 !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  margin-bottom: 0.85rem !important;
}

[data-bs-theme="dark"] .altbirim p {
  color: #cbd5e1 !important;
}

/* Mobil İyileştirmeleri */
@media (max-width: 576px) {
  .altbirim .minibaslik2 {
    font-size: 1.15rem !important;
    padding: 14px 18px !important;
  }
  .altbirim .bt-page-menu {
    gap: 4px !important;
  }
  .altbirim .bt-page-menu li a {
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
  }
}

/* ==========================================================================
   ALT MENÜ LİSTESİ (lostPass2) MODERNİZASYONU
   ========================================================================== */
ul.lostPass2 {
  list-style: none !important;
  padding: 0 !important;
  margin: 16px 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 10px !important;
}

ul.lostPass2 li {
  margin: 0 !important;
  padding: 0 !important;
}

ul.lostPass2 li a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 7px 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 58, 106, 0.18) !important;
  border-radius: 50px !important;
  color: #083a6a !important;
  font-weight: 600 !important;
  font-size: 0.90rem !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

ul.lostPass2 li a:hover {
  background: #083a6a !important;
  color: #ffffff !important;
  border-color: #083a6a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(8, 58, 106, 0.25) !important;
}

[data-bs-theme="dark"] ul.lostPass2 li a {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
  color: #38bdf8 !important;
}

[data-bs-theme="dark"] ul.lostPass2 li a:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
}

/* ==========================================================================
   BASINDA BİZ & MEDYA ARŞİVİ SAYFALARI
   ========================================================================== */

/* Arşiv Yıl Gezinti Çubuğu */
.tnd-press-archive-nav {
  background: #f8fafc;
  border: 1px solid rgba(8, 58, 106, 0.12);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(8, 58, 106, 0.04);
}

[data-bs-theme="dark"] .tnd-press-archive-nav {
  background: #0f172a;
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tnd-press-archive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(8, 58, 106, 0.1);
}

[data-bs-theme="dark"] .tnd-press-archive-header {
  border-bottom-color: rgba(56, 189, 248, 0.15);
}

.tnd-press-archive-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #083a6a;
  display: flex;
  align-items: center;
}

[data-bs-theme="dark"] .tnd-press-archive-title {
  color: #38bdf8;
}

.tnd-press-archive-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(8, 58, 106, 0.08);
  color: #083a6a;
  border: 1px solid rgba(8, 58, 106, 0.15);
}

[data-bs-theme="dark"] .tnd-press-archive-badge {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.25);
}

.tnd-press-year-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.tnd-year-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: #ffffff;
  border: 1px solid rgba(8, 58, 106, 0.18);
  border-radius: 50px;
  color: #083a6a;
  font-weight: 600;
  font-size: 0.90rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.tnd-year-pill:hover {
  background: #083a6a;
  color: #ffffff !important;
  border-color: #083a6a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 58, 106, 0.25);
}

.tnd-year-pill.active {
  background: linear-gradient(135deg, #083a6a 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  border-color: #083a6a !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
  font-weight: 700 !important;
}

[data-bs-theme="dark"] .tnd-year-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.25);
  color: #cbd5e1;
}

[data-bs-theme="dark"] .tnd-year-pill:hover {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

[data-bs-theme="dark"] .tnd-year-pill.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3) !important;
}

/* Basın Haber Kartları (.tnd-press-card) */
.tnd-press-wrapper {
  position: relative;
}

.tnd-press-card {
  display: block !important;
  text-decoration: none !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 58, 106, 0.12) !important;
  border-left: 4px solid #0284c7 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin: 10px 0 14px 0 !important;
  box-shadow: 0 3px 10px rgba(8, 58, 106, 0.04) !important;
  transition: all 0.22s ease-in-out !important;
}

.tnd-press-card:hover {
  background: #ffffff !important;
  border-color: rgba(2, 132, 199, 0.35) !important;
  border-left-color: #083a6a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(8, 58, 106, 0.12) !important;
}

[data-bs-theme="dark"] .tnd-press-card {
  background: #0f172a !important;
  border-color: rgba(56, 189, 248, 0.18) !important;
  border-left-color: #38bdf8 !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25) !important;
}

[data-bs-theme="dark"] .tnd-press-card:hover {
  background: #1e293b !important;
  border-color: #38bdf8 !important;
  border-left-color: #00d2ff !important;
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2) !important;
}

.tnd-press-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}

.tnd-press-source-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 10px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  border-radius: 6px !important;
  background: rgba(8, 58, 106, 0.08) !important;
  color: var(--brand-color, #083a6a) !important;
  border: 1px solid rgba(8, 58, 106, 0.15) !important;
}

[data-bs-theme="dark"] .tnd-press-source-pill {
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

.tnd-press-arrow {
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  transition: all 0.2s ease !important;
}

.tnd-press-card:hover .tnd-press-arrow {
  color: #0284c7 !important;
  transform: translate(2px, -2px) !important;
}

[data-bs-theme="dark"] .tnd-press-card:hover .tnd-press-arrow {
  color: #38bdf8 !important;
}

.tnd-press-card-title {
  color: #1e293b !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  margin-bottom: 6px !important;
  transition: color 0.2s ease !important;
}

.tnd-press-card:hover .tnd-press-card-title {
  color: #083a6a !important;
}

[data-bs-theme="dark"] .tnd-press-card-title {
  color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .tnd-press-card:hover .tnd-press-card-title {
  color: #38bdf8 !important;
}

.tnd-press-card-meta {
  color: #64748b !important;
  font-size: 0.80rem !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  opacity: 0.85 !important;
}

[data-bs-theme="dark"] .tnd-press-card-meta {
  color: #94a3b8 !important;
}

/* Basın Sayfası Gazete Küpürü Resimleri */
.tnd-press-wrapper img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(8, 58, 106, 0.08) !important;
  border: 1px solid rgba(8, 58, 106, 0.08) !important;
  margin: 18px auto !important;
  display: block !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.tnd-press-wrapper img:hover {
  transform: scale(1.008) !important;
  box-shadow: 0 8px 30px rgba(8, 58, 106, 0.16) !important;
}

[data-bs-theme="dark"] .tnd-press-wrapper img {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* YouTube Video Kapsayıcısı */
.tnd-press-video-wrapper {
  position: relative;
  max-width: 760px;
  margin: 22px auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(8, 58, 106, 0.14);
}

.tnd-press-video-wrapper iframe {
  display: block;
  width: 100% !important;
  border: none !important;
}

/* PDF Doküman İndirme Kartı */
.tnd-press-pdf-card {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 22px !important;
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  border-left: 5px solid #ef4444 !important;
  border-radius: 12px !important;
  color: #991b1b !important;
  font-weight: 700 !important;
  font-size: 0.96rem !important;
  text-decoration: none !important;
  margin: 12px 0 18px 0 !important;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.08) !important;
  transition: all 0.22s ease !important;
}

.tnd-press-pdf-card:hover {
  background: #fee2e2 !important;
  color: #7f1d1d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.2) !important;
}

[data-bs-theme="dark"] .tnd-press-pdf-card {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #fca5a5 !important;
}

/* Fallback: Pure CSS styling for raw press links */
.tnd-press-wrapper p > a[href^="http"]:not(.tnd-press-card) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin: 4px 0;
  background: rgba(8, 58, 106, 0.04);
  border: 1px solid rgba(8, 58, 106, 0.12);
  border-radius: 8px;
  color: #0284c7;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  word-break: break-all;
  max-width: 100%;
  transition: all 0.2s ease;
}

.tnd-press-wrapper p > a[href^="http"]:not(.tnd-press-card):hover {
  background: rgba(8, 58, 106, 0.08);
  color: #083a6a;
  transform: translateX(3px);
}

[data-bs-theme="dark"] .tnd-press-wrapper p > a[href^="http"]:not(.tnd-press-card) {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

/* Mobil İyileştirmeleri */
@media (max-width: 576px) {
  .tnd-press-archive-nav {
    padding: 14px 16px;
  }
  .tnd-press-card {
    padding: 12px 14px !important;
  }
  .tnd-press-card-title {
    font-size: 0.96rem !important;
  }
  .tnd-year-pill {
    padding: 6px 12px;
    font-size: 0.84rem;
  }
}

/* ==========================================================================
   HUKUKSAL GÖRÜŞLER SAYFASI (.tnd-legal-*)
   ========================================================================== */

/* Üst Başlık Banner (Hero) */
.tnd-legal-hero {
  background: linear-gradient(135deg, rgba(8, 58, 106, 0.06) 0%, rgba(2, 132, 199, 0.12) 100%);
  border: 1px solid rgba(8, 58, 106, 0.14);
  border-radius: 16px;
  padding: 22px 26px;
}

[data-bs-theme="dark"] .tnd-legal-hero {
  background: linear-gradient(135deg, rgba(8, 58, 106, 0.3) 0%, rgba(2, 132, 199, 0.15) 100%);
  border-color: rgba(56, 189, 248, 0.22);
}

.tnd-legal-hero-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: #083a6a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(8, 58, 106, 0.25);
}

[data-bs-theme="dark"] .tnd-legal-hero-icon {
  background: #0284c7;
  color: #020617;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35);
}

.tnd-legal-hero-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #083a6a;
}

[data-bs-theme="dark"] .tnd-legal-hero-title {
  color: #38bdf8;
}

.tnd-legal-hero-subtitle {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.45;
}

[data-bs-theme="dark"] .tnd-legal-hero-subtitle {
  color: #94a3b8;
}

/* Üyeye Bilgilendirme Kartı (Intro) */
.tnd-legal-intro-card {
  background: #ffffff;
  border: 1px solid rgba(8, 58, 106, 0.12);
  border-left: 5px solid #083a6a;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(8, 58, 106, 0.04);
}

[data-bs-theme="dark"] .tnd-legal-intro-card {
  background: #0f172a;
  border-color: rgba(56, 189, 248, 0.18);
  border-left-color: #38bdf8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tnd-legal-intro-badge {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: rgba(8, 58, 106, 0.08);
  color: #083a6a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

[data-bs-theme="dark"] .tnd-legal-intro-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.tnd-legal-intro-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #083a6a;
  margin-bottom: 8px;
}

[data-bs-theme="dark"] .tnd-legal-intro-heading {
  color: #38bdf8;
}

.tnd-legal-intro-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
}

[data-bs-theme="dark"] .tnd-legal-intro-text {
  color: #cbd5e1;
}

/* Arama ve Filtreleme Araç Çubuğu (Toolbar) */
.tnd-legal-toolbar {
  background: #f8fafc;
  border: 1px solid rgba(8, 58, 106, 0.1);
  border-radius: 14px;
  padding: 16px 20px;
}

[data-bs-theme="dark"] .tnd-legal-toolbar {
  background: #0f172a;
  border-color: rgba(56, 189, 248, 0.15);
}

.tnd-legal-search-box {
  position: relative;
}

.tnd-legal-search-box .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}

.tnd-legal-search-input {
  padding-left: 42px !important;
  padding-right: 36px !important;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(8, 58, 106, 0.18);
  background: #ffffff;
  font-size: 0.92rem;
  color: #1e293b;
  transition: all 0.2s ease;
}

.tnd-legal-search-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

[data-bs-theme="dark"] .tnd-legal-search-input {
  background: #1e293b;
  border-color: rgba(56, 189, 248, 0.25);
  color: #f1f5f9;
}

.tnd-legal-search-box .btn-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #94a3b8;
  padding: 4px 8px;
  font-size: 0.9rem;
}

.tnd-legal-search-box .btn-clear:hover {
  color: #ef4444;
}

/* Filtre Butonları */
.tnd-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid rgba(8, 58, 106, 0.15);
  border-radius: 50px;
  color: #083a6a;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tnd-filter-btn:hover {
  background: #083a6a;
  color: #ffffff !important;
  border-color: #083a6a;
}

.tnd-filter-btn:hover .text-primary,
.tnd-filter-btn:hover .text-danger,
.tnd-filter-btn:hover .text-info {
  color: #ffffff !important;
}

.tnd-filter-btn.active {
  background: #083a6a;
  color: #ffffff !important;
  border-color: #083a6a;
  box-shadow: 0 3px 10px rgba(8, 58, 106, 0.25);
}

.tnd-filter-btn.active .text-primary,
.tnd-filter-btn.active .text-danger,
.tnd-filter-btn.active .text-info {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .tnd-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(56, 189, 248, 0.2);
  color: #cbd5e1;
}

[data-bs-theme="dark"] .tnd-filter-btn:hover,
[data-bs-theme="dark"] .tnd-filter-btn.active {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

/* Hukuksal Görüş Kartları */
.tnd-legal-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid rgba(8, 58, 106, 0.12);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(8, 58, 106, 0.04);
  position: relative;
  overflow: hidden;
}

.tnd-legal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 8px 25px rgba(8, 58, 106, 0.12);
}

[data-bs-theme="dark"] .tnd-legal-card {
  background: #0f172a;
  border-color: rgba(56, 189, 248, 0.16);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

[data-bs-theme="dark"] .tnd-legal-card:hover {
  background: #1e293b;
  border-color: #38bdf8;
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.2);
}

/* Kart Kenar Çizgisi Tipleri */
.tnd-legal-card.card-pdf {
  border-left: 4px solid #ef4444;
}

.tnd-legal-card.card-word {
  border-left: 4px solid #0284c7;
}

.tnd-legal-card.card-article {
  border-left: 4px solid #083a6a;
}

.tnd-legal-card.card-compound {
  border-left: 4px solid #8b5cf6;
}

[data-bs-theme="dark"] .tnd-legal-card.card-article {
  border-left-color: #38bdf8;
}

/* Tip Rozetleri */
.tnd-legal-type-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: 6px;
}

.pill-pdf {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.pill-word {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.pill-article {
  background: rgba(8, 58, 106, 0.08);
  color: #083a6a;
  border: 1px solid rgba(8, 58, 106, 0.16);
}

.pill-compound {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

[data-bs-theme="dark"] .pill-pdf {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

[data-bs-theme="dark"] .pill-word {
  background: rgba(2, 132, 199, 0.14);
  color: #38bdf8;
  border-color: rgba(2, 132, 199, 0.3);
}

[data-bs-theme="dark"] .pill-article {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.25);
}

[data-bs-theme="dark"] .pill-compound {
  background: rgba(139, 92, 246, 0.14);
  color: #c4b5fd;
  border-color: rgba(139, 92, 246, 0.3);
}

.tnd-legal-card-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
  margin: 12px 0 14px 0;
  transition: color 0.2s ease;
}

.tnd-legal-card:hover .tnd-legal-card-title {
  color: #083a6a;
}

[data-bs-theme="dark"] .tnd-legal-card-title {
  color: #f1f5f9;
}

[data-bs-theme="dark"] .tnd-legal-card:hover .tnd-legal-card-title {
  color: #38bdf8;
}

.tnd-legal-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed rgba(8, 58, 106, 0.1);
  font-size: 0.84rem;
  font-weight: 600;
  color: #0284c7;
}

[data-bs-theme="dark"] .tnd-legal-card-action {
  border-top-color: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.tnd-legal-card:hover .tnd-legal-card-action i {
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

/* Fallback: Pure CSS styling for legal links */
.tnd-legal-wrapper p > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin: 4px 0;
  background: #ffffff;
  border: 1px solid rgba(8, 58, 106, 0.15);
  border-left: 4px solid #083a6a;
  border-radius: 10px;
  color: #083a6a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.tnd-legal-wrapper p > a:not(.btn):hover {
  background: #f8fafc;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateX(4px);
}

[data-bs-theme="dark"] .tnd-legal-wrapper p > a:not(.btn) {
  background: #0f172a;
  border-color: rgba(56, 189, 248, 0.2);
  border-left-color: #38bdf8;
  color: #f1f5f9;
}

/* Mobil İyileştirmeleri */
@media (max-width: 576px) {
  .tnd-legal-hero {
    padding: 16px 18px;
  }
  .tnd-legal-hero-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.25rem;
  }
  .tnd-legal-hero-title {
    font-size: 1.15rem;
  }
  .tnd-legal-intro-card {
    padding: 16px 18px;
  }
  .tnd-legal-toolbar {
    padding: 12px 14px;
  }
  .tnd-filter-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   ÜYE GİRİŞ MODALI TİTREME (SHAKE) ANİMASYONU VE HATA BİLDİRİMİ
   ========================================================================== */
@keyframes tndModalShake {
  0%, 100% {
    transform: translateX(0);
  }
  15%, 45%, 75% {
    transform: translateX(-9px);
  }
  30%, 60%, 90% {
    transform: translateX(9px);
  }
}

.tnd-modal .modal-content.tnd-shake {
  animation: tndModalShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both !important;
}

.tnd-form-control.tnd-input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
  transition: all 0.2s ease;
}


