/* ==========================================================================
   GENÇ BİLİŞİMCİLER KULÜBÜ - BAŞVURU SİSTEMİ
   Tasarım Dili & Modern Vanilla CSS
   ========================================================================== */

:root {
  /* Renk Paleti (Genç Bilişimciler Ana Renkleri) */
  --color-primary: #2563eb;
  --color-primary-dark: #1e3a8a;
  --color-primary-light: #dbeafe;
  --color-accent: #38bdf8;
  
  --color-bg: #ffffff;
  --color-surface: #f6f9ff;
  --color-surface-card: #ffffff;
  --color-border: #e2e8f0;
  --color-border-focus: #2563eb;
  
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-text-dim: #94a3b8;
  
  /* Durum Renkleri */
  --color-success: #10b981;
  --color-success-bg: #ecfdf5;
  --color-warning: #f59e0b;
  --color-warning-bg: #fffbeb;
  --color-danger: #ef4444;
  --color-danger-bg: #fef2f2;
  --color-info: #0284c7;
  --color-info-bg: #f0f9ff;

  /* Tipografi & Boyutlar */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Gölgeler */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px -2px rgba(37, 99, 235, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -4px rgba(37, 99, 235, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.25);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* Koyu Tema (prefers-color-scheme: dark ve manuel seçici desteği) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #0b1120;
    --color-surface: #0f172a;
    --color-surface-card: #1e293b;
    --color-border: #334155;
    --color-border-focus: #38bdf8;
    
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;
    
    --color-primary-light: rgba(37, 99, 235, 0.2);
    
    --color-success-bg: rgba(16, 185, 129, 0.15);
    --color-warning-bg: rgba(245, 158, 11, 0.15);
    --color-danger-bg: rgba(239, 68, 68, 0.15);
    --color-info-bg: rgba(2, 132, 199, 0.15);

    --shadow-md: 0 6px 20px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 30px -4px rgba(0, 0, 0, 0.6);
  }
}

:root[data-theme="dark"] {
  --color-bg: #0b1120;
  --color-surface: #0f172a;
  --color-surface-card: #1e293b;
  --color-border: #334155;
  --color-border-focus: #38bdf8;
  
  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  
  --color-primary-light: rgba(37, 99, 235, 0.2);
  
  --color-success-bg: rgba(16, 185, 129, 0.15);
  --color-warning-bg: rgba(245, 158, 11, 0.15);
  --color-danger-bg: rgba(239, 68, 68, 0.15);
  --color-info-bg: rgba(2, 132, 199, 0.15);

  --shadow-md: 0 6px 20px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 30px -4px rgba(0, 0, 0, 0.6);
}

/* Sıfırlama & Genel */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-main);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Tipografi */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Honeypot gizleme */
.hp-field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}

/* Kapsayıcı */
.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem 1rem;
}

.container-wide {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem 1rem;
}

/* Header & Logo */
.site-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.brand-badge svg {
  width: 16px;
  height: 16px;
}

.site-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Kart Bileşeni */
.card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-normal);
}

@media (max-width: 480px) {
  .card {
    padding: 1.25rem;
  }
}

/* Form Elemanları */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.form-label .required-star {
  color: var(--color-danger);
  margin-left: 2px;
}

.form-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-dim);
}

/* Sınıf Seçimi Buton Çipleri */
.class-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.class-chip {
  cursor: pointer;
  position: relative;
  text-align: center;
}

.class-chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.class-chip-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.5rem;
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  user-select: none;
}

.class-chip-box span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.class-chip:hover .class-chip-box {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.class-chip input[type="radio"]:checked + .class-chip-box {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.class-chip input[type="radio"]:checked + .class-chip-box span {
  color: rgba(255, 255, 255, 0.85);
}

/* Alan Seçimi (Çoklu Seçim Kartları) */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }
}

.area-card {
  position: relative;
  cursor: pointer;
}

.area-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.area-card-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.75rem 1rem;
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  user-select: none;
}

.area-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.area-checkbox-visual {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.area-checkbox-visual svg {
  display: none;
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  stroke-width: 3;
}

.area-card:hover .area-card-box {
  border-color: var(--color-primary);
}

.area-card input[type="checkbox"]:checked + .area-card-box {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.area-card input[type="checkbox"]:checked + .area-card-box .area-checkbox-visual {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.area-card input[type="checkbox"]:checked + .area-card-box .area-checkbox-visual svg {
  display: block;
}

/* Diğer Alanı Animasyonu */
.diger-alan-wrapper {
  margin-top: 0.75rem;
  animation: slideDown 0.25s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Karakter Sayacı */
.char-counter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.char-counter.warning {
  color: var(--color-danger);
  font-weight: 600;
}

/* Matematik Bot Doğrulaması */
.math-captcha-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.math-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  border: 1px dashed var(--color-primary);
}

.math-input {
  width: 100px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
}

/* KVKK Onay Kutusu */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.kvkk-link {
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none !important;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, var(--color-primary-dark) 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-block {
  width: 100%;
}

.btn-secondary {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.btn-secondary:hover {
  background-color: var(--color-border);
}

.btn-sm {
  min-height: 36px;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.btn-danger {
  background-color: var(--color-danger);
  color: #ffffff;
}

.btn-danger:hover {
  background-color: #dc2626;
}

/* Hata ve Uyarı Kutuları */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-danger {
  background-color: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.alert-success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.alert ul {
  padding-left: 1.25rem;
  margin: 0.25rem 0 0 0;
}

/* Başarı / Teşekkür Ekranı */
.success-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
}

.success-icon-wrapper {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-full);
  background-color: var(--color-success-bg);
  border: 2px solid var(--color-success);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
  animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.success-icon-wrapper svg {
  width: 40px;
  height: 40px;
}

.success-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

.success-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 1.75rem auto;
}

.summary-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  text-align: left;
}

.summary-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

.summary-item strong {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.summary-item span {
  font-weight: 600;
  color: var(--color-text-main);
}

/* Modal (KVKK ve Detay Pencereleri) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-dialog {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

.modal-close-btn:hover {
  color: var(--color-text-main);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-main);
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ==========================================================================
   YÖNETİM PANELİ STİLLERİ
   ========================================================================== */

.admin-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text-main);
}

/* Durum Rozetleri */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge.Yeni {
  background-color: var(--color-info-bg);
  color: var(--color-info);
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.status-badge.Görüşmeye.çağrıldı,
.status-badge[data-status="Görüşmeye çağrıldı"] {
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.Kabul {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.Red {
  background-color: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Filtreleme Çubuğu */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.filter-input {
  flex: 1 1 200px;
}

.filter-select {
  flex: 0 1 160px;
}

/* Tablo */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-card);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th {
  background-color: var(--color-surface);
  color: var(--color-text-muted);
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-main);
  vertical-align: middle;
}

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

.admin-table tr:hover td {
  background-color: rgba(37, 99, 235, 0.02);
}

/* Mobil Kart Görünümü (Yönetim Tablosu Küçük Ekranlar) */
@media (max-width: 768px) {
  .admin-table thead {
    display: none;
  }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td {
    display: block;
    width: 100%;
  }
  .admin-table tr {
    border-bottom: 2px solid var(--color-border);
    padding: 1rem 0;
  }
  .admin-table td {
    border: none;
    padding: 0.4rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .admin-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.8rem;
  }
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.site-footer a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

.site-footer a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   DAĞ ARKA PLANI (soluk, sabit)
   ========================================================================== */
.mountain-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../img/mountains.svg") center bottom / cover no-repeat;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mountain-bg { opacity: 0.10; filter: brightness(0.8); }
}
:root[data-theme="dark"] .mountain-bg { opacity: 0.10; filter: brightness(0.8); }

/* Kartlar dağ görseli üzerinde okunaklı kalsın */
.card { background: color-mix(in srgb, var(--color-surface-card) 94%, transparent); backdrop-filter: blur(6px); }

/* ==========================================================================
   BÖLÜM SEÇİCİ (Başvuru Formu)
   ========================================================================== */
.bolum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (max-width: 480px) { .bolum-grid { grid-template-columns: 1fr; } }

.bolum-chip { position: relative; cursor: pointer; }
.bolum-chip input { position: absolute; opacity: 0; width: 0; height: 0; }

.bolum-chip-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.7rem 1rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  user-select: none;
}
.bolum-ico { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-text-dim); transition: color var(--transition-fast); }

.bolum-chip:hover .bolum-chip-box { border-color: var(--color-primary); background: var(--color-primary-light); }
.bolum-chip:hover .bolum-ico { color: var(--color-primary); }

.bolum-chip input:checked + .bolum-chip-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d4ed8 100%);
  border-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.bolum-chip input:checked + .bolum-chip-box .bolum-ico { color: #fff; }
.bolum-chip input:focus-visible + .bolum-chip-box { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25); }

/* ==========================================================================
   BÖLÜM YÖNETİMİ (Panel)
   ========================================================================== */
.bolum-admin-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bolum-admin-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.4rem 0.35rem 0.9rem;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bolum-admin-item { color: #bfdbfe; } }
:root[data-theme="dark"] .bolum-admin-item { color: #bfdbfe; }
.bolum-admin-item button {
  width: 24px; height: 24px;
  border: none; border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  color: var(--color-danger);
  font-size: 1.1rem; line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.bolum-admin-item button:hover { background: var(--color-danger); color: #fff; }
