/* ============================================
   SİBER BÜLTEN — MOBİL-ÖNCELİKLİ MODERN TEMA
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg-body: #030712;
  --bg-surface: #0f172a;
  --bg-elevated: #1e293b;
  --bg-glass: rgba(15, 23, 42, 0.75);
  
  --border-default: #1e293b;
  --border-focus: #38bdf8;
  --border-glow: rgba(56, 189, 248, 0.3);
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #22d3ee;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-orange: #f59e0b;
  --accent-purple: #a855f7;
  
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(34, 211, 238, 0.15);
  
  --header-height: 3.5rem;
  --sidebar-width: 16rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-focus);
}

/* ============================================
   SİDEBAR / OFFCANVAS
   ============================================ */
.sidebar-offcanvas {
  background: var(--bg-surface);
  border-right: 1px solid var(--border-default);
  width: var(--sidebar-width) !important;
}

.sidebar-offcanvas .offcanvas-header {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-default);
  height: var(--header-height);
  padding: 0 1rem;
}

.sidebar-offcanvas .offcanvas-title {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.sidebar-offcanvas .offcanvas-body {
  padding: 1rem 0.75rem;
}

.sidebar-offcanvas h4.brand {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-offcanvas .nav-link {
  color: var(--text-secondary);
  padding: 0.85rem 1rem;
  margin-bottom: 0.25rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.sidebar-offcanvas .nav-link i {
  font-size: 1.1rem;
  width: 1.25rem;
  text-align: center;
}

.sidebar-offcanvas .nav-link:hover,
.sidebar-offcanvas .nav-link:focus {
  color: var(--text-primary);
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
}

.sidebar-offcanvas .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(168, 85, 247, 0.1));
  border-color: rgba(56, 189, 248, 0.3);
  font-weight: 600;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

/* Masaüstü sabit sidebar */
@media (min-width: 992px) {
  .sidebar-offcanvas {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    transform: none !important;
    visibility: visible !important;
    z-index: 1040;
    box-shadow: var(--shadow-lg);
  }
}

/* ============================================
   MOBİL HEADER & TOGGLE
   ============================================ */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
  z-index: 1030;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.75rem;
}

.mobile-header .brand-text {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.mobile-menu-btn {
  background: transparent;
  border: 1px solid var(--border-default);
  color: var(--accent-cyan);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.2s;
}

.mobile-menu-btn:active {
  background: rgba(56, 189, 248, 0.15);
  transform: scale(0.95);
}

@media (min-width: 992px) {
  .mobile-header {
    display: none;
  }
}

/* ============================================
   ANA İÇERİK ALANI
   ============================================ */
.main-content {
  margin-left: var(--sidebar-width) !important;
  width: calc(100% - var(--sidebar-width)) !important;
  max-width: calc(100% - var(--sidebar-width)) !important;
  padding: 1.5rem 2rem 2rem;
  overflow-x: hidden !important;
}

@media (max-width: 991.98px) {
  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: calc(var(--header-height) + 1rem) 1rem 2rem !important;
  }
}

/* ============================================
   TİPOGRAFİ
   ============================================ */
.page-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.5px;
}

.page-title i {
  color: var(--accent-cyan);
}

.lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ============================================
   KARTLAR
   ============================================ */
.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}

.card-glass:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.card-glass .card-body {
  padding: 1.25rem;
}

.card-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* ============================================
   BÜLTEN KARTLARI (MOBİL LİSTE)
   ============================================ */
.bulten-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.bulten-card:active {
  transform: scale(0.99);
  border-color: var(--border-focus);
}

.bulten-card .card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 0.75rem;
}

.bulten-card .card-title-mobile {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.4;
  flex: 1;
}

.bulten-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  align-items: center;
}

.bulten-card .card-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.bulten-card .card-actions .btn {
  padding: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ============================================
   TABLO (Masaüstü) & HİZALAMA DÜZELTMELERİ
   ============================================ */
.table-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: none;
}

@media (min-width: 768px) {
  .table-container {
    display: block;
  }
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .desktop-only {
    display: none !important;
  }
}

.table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.table-modern thead th {
  background: var(--bg-elevated);
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1rem;
  border-bottom: 1px solid var(--border-default);
  white-space: nowrap;
}

.table-modern tbody tr {
  transition: background 0.15s;
}

.table-modern tbody tr:hover {
  background: rgba(56, 189, 248, 0.04);
}

.table-modern tbody td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-default);
  color: var(--text-primary);
  font-size: 0.875rem;
  vertical-align: middle;
}

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

/* İşlemler sütununu tam ortala */
.table-modern thead th:last-child {
  text-align: center !important;
}

.table-modern tbody td:last-child {
  text-align: center !important;
}

.table-modern tbody td:last-child .btn-group-flex {
  justify-content: center !important;
}

/* ============================================
   BADGE
   ============================================ */
.badge-modern {
  display: inline-flex;
  align-items: center;
  padding: 0.35em 0.65em;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-id {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

.badge-count {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ============================================
   BUTONLAR
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  min-height: 38px;
}

.btn-lg {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  min-height: 52px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
  filter: brightness(1.1);
}

.btn-success {
  background: linear-gradient(135deg, var(--accent-green), #059669);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  filter: brightness(1.1);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: var(--accent-red);
  color: #fff;
}

.btn-info {
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.btn-info:hover {
  background: var(--accent-cyan);
  color: #000;
}

.btn-outline-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

.btn-outline-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.05);
}

.btn-outline-primary {
  background: transparent;
  color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
}

.btn-outline-primary:hover {
  background: var(--accent-blue);
  color: #fff;
}

.btn-outline-danger {
  background: transparent;
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
}

.btn-outline-danger:hover {
  background: var(--accent-red);
  color: #fff;
}

.btn-outline-success {
  background: transparent;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}

.btn-outline-success:hover {
  background: var(--accent-green);
  color: #fff;
}

.btn-group-flex {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   FORM ELEMANLARI
   ============================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: var(--bg-body);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  min-height: 48px;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15), 0 0 15px rgba(34, 211, 238, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-control[type="file"] {
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
}

.input-group {
  display: flex;
  gap: 0.5rem;
}

.input-group .form-control {
  flex: 1;
  min-width: 0;
}

.input-group .btn {
  white-space: nowrap;
}

/* ============================================
   HABER BLOKLARI
   ============================================ */
.haber-blok {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  transition: all 0.2s ease;
}

.haber-blok:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.haber-blok .blok-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.haber-blok .blok-numara {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}

.haber-blok .sil-btn {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.2);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.haber-blok .sil-btn:active {
  background: var(--accent-red);
  color: #fff;
  transform: scale(0.9);
}

/* ============================================
   ALERT
   ============================================ */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

/* ============================================
   MODAL
   ============================================ */
.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: 1px solid var(--border-default);
  padding: 1.25rem;
}

.modal-title {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.modal-body {
  padding: 1.25rem;
  color: var(--text-primary);
}

.modal-footer {
  border-top: 1px solid var(--border-default);
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal-footer .btn {
  flex: 1;
  min-width: 120px;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(2);
  opacity: 0.7;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--border-default);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-cyan);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
}

/* ============================================
   AKORDİYON (KILAVUZ)
   ============================================ */
.accordion-modern .accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-modern .accordion-button {
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 1rem 1.25rem;
  box-shadow: none;
}

.accordion-modern .accordion-button:not(.collapsed) {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
}

.accordion-modern .accordion-body {
  background: var(--bg-surface);
  color: var(--text-secondary);
  padding: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.accordion-modern .accordion-body a {
  color: var(--accent-cyan);
  text-decoration: none;
}

/* ============================================
   YARDIMCI SINIFLAR
   ============================================ */
.text-cyan { color: var(--accent-cyan); }
.text-blue { color: var(--accent-blue); }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.text-orange { color: var(--accent-orange); }
.text-muted { color: var(--text-muted); }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

.w-100 { width: 100%; }

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

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

.blink-duyuru {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

/* ============================================
   GRID SİSTEMİ (Bozulmaması için Sadeleştirildi)
   ============================================ */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.col-12 {
  width: 100%;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .col-md-6 {
    width: 50%;
    padding: 0 0.5rem;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    width: 33.333333%;
    padding: 0 0.5rem;
  }
}

/* ============================================
   ÖNİZLEME MODAL İÇERİĞİ
   ============================================ */
.preview-haber {
  background: var(--bg-body);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
}

.preview-haber .haber-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.preview-haber .haber-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  word-break: break-word;
}

.preview-haber .haber-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

/* ============================================
   KILAVUZ İÇİNDEKİLER
   ============================================ */
.toc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.toc-card h5 {
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.toc-card ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 2;
}

.toc-card ol a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.toc-card ol a:hover {
  color: var(--accent-cyan);
}

.section-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title i {
  color: var(--accent-cyan);
}

.file-input-hidden {
    display: none;
}
.file-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--bg-body);
    border: 1px dashed var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 48px;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
}
.file-upload-btn:hover {
    border-color: var(--accent-cyan);
    background: rgba(56, 189, 248, 0.05);
    color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}
.file-upload-btn i {
    font-size: 1.25rem;
    color: var(--accent-cyan);
}
.file-upload-btn .file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
}
.file-upload-btn .file-name.has-file {
    color: var(--accent-green);
    font-weight: 600;
}

/* ============================================
   YEREL GAZETE MODAL SATIRLARI
   ============================================ */
.yerel-gazete-satir {
    transition: all 0.2s ease;
}
.yerel-gazete-satir:hover {
    border-color: var(--accent-cyan) !important;
    background: rgba(34, 211, 238, 0.04) !important;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.08);
}
.yerel-gazete-satir .form-control {
    min-height: 42px;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
}
.yerel-gazete-satir .form-group {
    margin-bottom: 0.75rem;
}
.yerel-gazete-satir .form-group:last-child {
    margin-bottom: 0;
}
#yerelGazeteContainer {
    max-height: 45vh;
    overflow-y: auto;
    padding-right: 0.25rem;
}
#yerelGazeteContainer::-webkit-scrollbar {
    width: 5px;
}
#yerelGazeteContainer::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 3px;
}

/* ============================================
   BOOTSTRAP UYUMLULUK DÜZELTMELERİ
   Koyu temada Bootstrap varsayılan renklerinin
   okunmamasını engeller.
   ============================================ */

/* Bootstrap .text-muted sınıfını koyu temaya uyarla */
.text-muted,
span.text-muted,
p.text-muted,
small.text-muted,
div.text-muted {
    color: var(--text-secondary) !important;
    opacity: 1 !important;
}

/* Modal içindeki tüm metinleri okunur yap */
.modal-content,
.modal-body,
.modal-body p,
.modal-body span,
.modal-body div,
.modal-body small,
.modal-body li {
    color: var(--text-primary);
}

.modal-body p.text-muted,
.modal-body small.text-muted,
.modal-body span.text-muted {
    color: var(--text-secondary) !important;
    opacity: 1 !important;
}

/* Modal içindeki strong (vurgu) elemanları */
.modal-body strong {
    color: var(--text-primary);
}
.modal-body strong.text-cyan {
    color: var(--accent-cyan) !important;
}

/* Alert içindeki bağlantılar ve text-muted */
.alert .text-muted,
.alert small.text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
    opacity: 1 !important;
}

/* Bootstrap'in link rengini temaya uyarla */
a {
    color: var(--accent-cyan);
}
a:hover {
    color: var(--accent-blue);
}

/* Modal header/footer içindeki metinler */
.modal-header,
.modal-footer {
    color: var(--text-primary);
}

/* Card içindeki text-muted'lar */
.card-glass .text-muted,
.card-body .text-muted {
    color: var(--text-secondary) !important;
    opacity: 1 !important;
}

/* Form yardım metinleri (small) */
.form-group small.text-muted,
.form-group small.text-info {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    line-height: 1.4;
}

.form-group small.text-info {
    color: var(--accent-cyan) !important;
}

.form-group small.text-primary {
    color: var(--accent-blue) !important;
}

/* Bootstrap btn-close beyaz (dark tema) */
.btn-close {
    filter: invert(1) grayscale(100%) brightness(2);
    opacity: 0.7;
}
.btn-close:hover {
    opacity: 1;
}

/* Bootstrap form-control-file düzeltmesi */
.form-control:disabled,
.form-control[readonly] {
    background: var(--bg-elevated);
    color: var(--text-muted);
    opacity: 1;
}

/* Bootstrap modal backdrop daha koyu */
.modal-backdrop.show {
    opacity: 0.7;
}

.yerel-gazete-satır {
			transition: all 0.2s ease;
}
.yerel-gazete-satir:hover {
    border-color: var(--accent-cyan) !important;
    background: rgba(34, 211, 238, 0.04) !important;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.08);
}
.yerel-gazete-satir .form-control {
    min-height: 42px;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
}
.yerel-gazete-satir .form-group {
    margin-bottom: 0.75rem;
}
.yerel-gazete-satir .form-group:last-child {
    margin-bottom: 0;
}
#yerelGazeteContainer {
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 0.25rem;
}
#yerelGazeteContainer::-webkit-scrollbar {
    width: 5px;
}
#yerelGazeteContainer::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 3px;
}

/* Thumbnail önizlemeleri */
.yerel-gazete-thumbnails img {
    transition: all 0.15s ease;
}
.yerel-gazete-thumbnails img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.25);
}

/* Sıralama ve önizleme butonları */
.yerel-yukari-btn,
.yerel-asagi-btn,
.yerel-onizle-btn {
    padding: 0.35rem 0.55rem !important;
    min-height: auto !important;
    font-size: 0.75rem !important;
    line-height: 1 !important;
}
.yerel-onizle-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Word durumu badge'leri */
.badge-word-var {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.badge-word-yok {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-orange);
    border: 1px solid rgba(245, 158, 11, 0.3);
}