/* =========================================================================
   Uygulama teması (ad: Tanımlamalar > Genel Ayarlar)
   İlçe logosu paleti: deniz mavisi + bayrak kırmızısı vurgu. Açık, sade, okunaklı.
   ========================================================================= */
:root {
  --renk-ana: #1565c0;          /* butonlar, bağlantılar (beyaz yazıyla 5.7:1) */
  --renk-ana-koyu: #0d47a1;
  --renk-ana-acik: #dbeafe;
  --renk-vurgu: #e30a17;         /* logo kırmızısı: marka vurgusu, buton değil */
  --renk-vurgu-acik: #fde8e9;
  --renk-zemin: #f4f6fa;
  --renk-kart: #ffffff;
  --renk-yazi: #0f1f33;
  --renk-yazi-soluk: #52607a;
  --renk-cizgi: #e1e6ef;
  --renk-menu: #0b2545;
  --renk-menu-yazi: #cfdcf0;
  --golge: 0 1px 2px rgba(15, 31, 51, .06), 0 4px 16px rgba(15, 31, 51, .06);
  --yaricap: 14px;
  --menu-genislik: 264px;

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--renk-yazi);
  --bs-body-bg: var(--renk-zemin);
  --bs-primary: var(--renk-ana);
  --bs-primary-rgb: 21, 101, 192;
  --bs-link-color: var(--renk-ana);
  --bs-link-color-rgb: 21, 101, 192;
  --bs-link-hover-color: var(--renk-ana-koyu);
  --bs-border-color: var(--renk-cizgi);
  --bs-secondary-color: var(--renk-yazi-soluk);
}

html { font-size: 16px; }
body { background: var(--renk-zemin); color: var(--renk-yazi); }

/* Dokunmatik ekranda rahat basılabilir kontroller */
.btn, .form-control, .form-select { min-height: 44px; }
.btn-sm { min-height: 36px; white-space: nowrap; }
/* Büyük butonlar: dokunma alanı büyük kalsın ama yazı normal boyda olsun */
.btn-lg { font-size: 1rem; padding: .6rem 1.15rem; min-height: 46px; }

/* Satır sonundaki "İşlemler" menüsü */
.islem-menusu .dropdown-toggle { min-height: 36px; }
.islem-menusu .dropdown-menu { min-width: 190px; padding: .35rem; border-radius: 12px; border-color: var(--renk-cizgi);
  box-shadow: 0 10px 30px rgba(15,31,51,.15); }
.islem-menusu .dropdown-item { display: flex; align-items: center; gap: .6rem; border-radius: 8px; padding: .5rem .65rem; min-height: 40px; }
.islem-menusu .dropdown-item i { width: 1.1rem; text-align: center; color: var(--renk-yazi-soluk); }
.islem-menusu .dropdown-item.tehlike { color: #b42318; }
.islem-menusu .dropdown-item.tehlike i { color: #b42318; }
.islem-menusu form { margin: 0; }
.form-control, .form-select { border-color: #cfd8e6; border-radius: 10px; }
.form-label { font-weight: 500; }
.form-text { color: var(--renk-yazi-soluk); }

.btn { border-radius: 10px; font-weight: 500; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.btn-primary { --bs-btn-bg: var(--renk-ana); --bs-btn-border-color: var(--renk-ana);
  --bs-btn-hover-bg: var(--renk-ana-koyu); --bs-btn-hover-border-color: var(--renk-ana-koyu);
  --bs-btn-active-bg: var(--renk-ana-koyu); --bs-btn-active-border-color: var(--renk-ana-koyu);
  --bs-btn-disabled-bg: var(--renk-ana); --bs-btn-disabled-border-color: var(--renk-ana); }
.btn-outline-primary { --bs-btn-color: var(--renk-ana); --bs-btn-border-color: var(--renk-ana);
  --bs-btn-hover-bg: var(--renk-ana); --bs-btn-hover-border-color: var(--renk-ana);
  --bs-btn-active-bg: var(--renk-ana-koyu); --bs-btn-active-border-color: var(--renk-ana-koyu); }
.form-check-input:checked { background-color: var(--renk-ana); border-color: var(--renk-ana); }

:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.btn:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: 0 0 0 .25rem rgba(21, 101, 192, .3); border-color: var(--renk-ana);
}

/* Hata yokken doğrulama özeti kutusu görünmesin */
.validation-summary-valid { display: none; }

.atla-baglantisi { position: absolute; left: -9999px; top: 0; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.atla-baglantisi:focus { left: 1rem; top: 1rem; }

/* ---------- Yan menü ---------- */
.yan-menu {
  --bs-offcanvas-width: var(--menu-genislik);
  --bs-offcanvas-bg: var(--renk-menu);
  background: linear-gradient(180deg, #0b2545 0%, #08192f 100%);
  color: var(--renk-menu-yazi);
  display: flex; flex-direction: column;
}
@media (min-width: 992px) {
  .yan-menu { position: fixed; inset: 0 auto 0 0; width: var(--menu-genislik); z-index: 1030; }
  .ana-alan { margin-left: var(--menu-genislik); }
}
.yan-menu-ust { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1rem 1rem; }
.marka { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.marka-logo { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 2px;
  box-shadow: 0 0 0 2px rgba(255,255,255,.12); }
.marka-logo img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 50%; }
.marka-ad { display: block; font-weight: 700; line-height: 1.2; }
.marka-alt { display: block; font-size: .8rem; color: #9db4d6; }

.yan-menu-govde { flex: 1; overflow-y: auto; padding: .5rem .75rem; }
.menu { list-style: none; margin: 0 0 .5rem; padding: 0; }
.menu-baslik { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #8aa3c8; padding: 1rem .75rem .4rem; }
.menu-oge { display: flex; align-items: center; gap: .75rem; min-height: 46px; padding: .55rem .75rem;
  border-radius: 10px; color: var(--renk-menu-yazi); text-decoration: none; font-weight: 500;
  background: none; border: 0; text-align: left; position: relative;
  transition: background-color .15s, color .15s; }
.menu-oge i { font-size: 1.15rem; width: 1.25rem; text-align: center; }
.menu-oge:hover { background: rgba(255,255,255,.07); color: #fff; }
.menu-oge.active { background: rgba(66, 165, 245, .16); color: #fff; }
.menu-oge.active::before { content: ""; position: absolute; left: -.75rem; top: 10px; bottom: 10px;
  width: 4px; border-radius: 0 4px 4px 0; background: var(--renk-vurgu); }
.yan-menu-alt { padding: .75rem; border-top: 1px solid rgba(255,255,255,.08); }

/* ---------- Üst çubuk ---------- */
.ust-cubuk { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--renk-cizgi); }
@media (min-width: 992px) { .ust-cubuk { padding: .9rem 2rem; } }
.ust-ikon { width: 44px; height: 44px; padding: 0; font-size: 1.5rem; color: var(--renk-yazi); }
.sayfa-basligi { font-size: 1.2rem; font-weight: 600; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.donem-cipi { align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px;
  background: var(--renk-vurgu-acik); color: #b00811; font-weight: 600; font-size: .85rem; }
.kullanici-kutusu { display: flex; align-items: center; gap: .6rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--renk-ana-acik); color: var(--renk-ana-koyu); font-weight: 700; font-size: .9rem; }
.kullanici-ad { display: block; font-weight: 600; font-size: .9rem; line-height: 1.2; }
.kullanici-rol { display: block; font-size: .78rem; color: var(--renk-yazi-soluk); }

/* ---------- İçerik ---------- */
.icerik { padding: 1.25rem 1rem 2rem; max-width: 1400px; }
@media (min-width: 992px) { .icerik { padding: 1.75rem 2rem 2.5rem; } }
.alt-bilgi { padding: 1rem; color: var(--renk-yazi-soluk); font-size: .85rem; }
@media (min-width: 992px) { .alt-bilgi { padding: 1rem 2rem; } }

.kart { background: var(--renk-kart); border: 1px solid var(--renk-cizgi); border-radius: var(--yaricap); box-shadow: var(--golge); }
.kart-ust { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--renk-cizgi); }
.kart-ust h2 { font-size: 1.05rem; font-weight: 600; margin: 0; }
.kart-govde { padding: 1.25rem; }
.sayfa-aciklama { color: var(--renk-yazi-soluk); margin-bottom: 1.25rem; }

/* Karşılama bandı */
.karsilama { position: relative; overflow: hidden; border-radius: var(--yaricap); padding: 1.5rem;
  color: #fff; background: linear-gradient(120deg, #0d47a1 0%, #1565c0 55%, #1e88e5 100%); box-shadow: var(--golge); }
.karsilama::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255,255,255,.08); }
.karsilama h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: .25rem; }
.karsilama p { margin: 0; color: #dbe9fb; }

/* Özet kartları */
.ozet-kart { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; height: 100%; }
.ozet-ikon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; }
.ozet-ikon.kirmizi { background: #fde8e9; color: #c8102e; }
.ozet-ikon.mavi { background: #dbeafe; color: #1d4ed8; }
.ozet-ikon.amber { background: #fef3c7; color: #b45309; }
.ozet-ikon.mor { background: #ede9fe; color: #6d28d9; }
.ozet-sayi { font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.ozet-etiket { color: var(--renk-yazi-soluk); font-size: .9rem; }

/* Tablolar */
.table { --bs-table-bg: transparent; margin: 0; }
.table > :not(caption) > * > * { padding: .7rem .75rem; }
@media (min-width: 1200px) { .table > :not(caption) > * > * { padding: .8rem 1.25rem; } }
.table thead th { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: var(--renk-yazi-soluk); background: #f7f9fc; border-bottom-color: var(--renk-cizgi); }
.rozet { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.rozet.aktif { background: #dcfce7; color: #166534; }
.rozet.pasif { background: #f1f5f9; color: #475569; }
.rozet.bilgi { background: var(--renk-ana-acik); color: var(--renk-ana-koyu); }

/* Okul rengi küresi: <span class="kure" style="--k:#1565C0"></span> */
.kure { --k: #1565c0; display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 50%;
  vertical-align: -2px;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.9) 0 10%, var(--k) 48%,
              color-mix(in srgb, var(--k) 65%, #000) 100%);
  box-shadow: 0 1px 2px rgba(15,31,51,.3); }
.kure.buyuk { width: 18px; height: 18px; }
.kure-dizisi { display: inline-flex; gap: 4px; flex-wrap: wrap; align-items: center; }

/* Okul renk etiketleri (aynı zamanda süzgeç düğmesi) */
.okul-etiketleri { display: flex; flex-wrap: wrap; gap: .5rem; }
.okul-etiketi { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: .3rem .75rem;
  border: 1px solid var(--renk-cizgi); border-radius: 999px; background: #fff; color: var(--renk-yazi);
  font-size: .88rem; font-weight: 500; cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.okul-etiketi:hover { border-color: #b8c6dc; }
.okul-etiketi[aria-pressed="true"] { border-color: var(--k); box-shadow: 0 0 0 2px color-mix(in srgb, var(--k) 25%, transparent);
  background: color-mix(in srgb, var(--k) 7%, #fff); }

/* Tablo içi grup başlığı */
.grup-baslik td { background: #f1f4f9; font-weight: 600; font-size: .9rem; border-top: 2px solid var(--renk-cizgi); }
.grup-baslik .alt { font-weight: 400; color: var(--renk-yazi-soluk); }

/* Adım göstergesi (faaliyet formu) */
.adimlar { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; flex-wrap: wrap; }
.adimlar li { display: flex; align-items: center; gap: .5rem; padding: .4rem .85rem .4rem .4rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--renk-cizgi); color: var(--renk-yazi-soluk); font-weight: 500; font-size: .9rem; }
.adimlar li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e6ecf5; font-size: .8rem; font-weight: 700; }
.adimlar li.aktif { border-color: var(--renk-ana); color: var(--renk-ana-koyu); }
.adimlar li.aktif span { background: var(--renk-ana); color: #fff; }
.adimlar li.tamam span { background: #16a34a; color: #fff; }
.adim-cubugu { display: flex; justify-content: space-between; gap: .5rem; padding: 1rem 1.25rem; border-top: 1px solid var(--renk-cizgi); }
section[data-adim="2"] > .adim-cubugu { border-top: 0; padding: 1rem 0 0; }

/* Öğrenci seçici */
.secici-liste { list-style: none; margin: 0; padding: .5rem; max-height: 460px; overflow-y: auto; }
.havuz-oge { width: 100%; display: flex; align-items: center; gap: .65rem; padding: .55rem .65rem; min-height: 48px;
  border: 0; border-radius: 10px; background: none; color: inherit; transition: background-color .12s; }
.havuz-oge:hover, .havuz-oge:focus-visible { background: #eef5ff; }
.havuz-oge .bi { font-size: 1.25rem; }
.secili-oge { padding: .65rem; border-bottom: 1px solid var(--renk-cizgi); }
.secili-oge:last-child { border-bottom: 0; }
.ozet-listesi { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin-bottom: 1rem; }
.ozet-listesi dt { color: var(--renk-yazi-soluk); font-weight: 500; }
.ozet-listesi dd { margin: 0; font-weight: 600; }
.rozet.demo { background: #fef3c7; color: #92400e; }
tr.tiklanir { cursor: pointer; }

/* Boş durum */
.bos-durum { text-align: center; padding: 2rem 1rem; color: var(--renk-yazi-soluk); }
.bos-durum i { font-size: 2.25rem; color: #a3b3cc; display: block; margin-bottom: .5rem; }

/* İlerleme çubuğu */
.cubuk { height: 10px; border-radius: 999px; background: #e6ecf5; overflow: hidden; }
.cubuk > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1565c0, #42a5f5); }

/* Tanımlamalar kartları */
.secim-karti { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; height: 100%;
  color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.secim-karti:hover { transform: translateY(-2px); border-color: #a9c7ef; box-shadow: 0 8px 24px rgba(15,31,51,.1); color: inherit; }
.secim-karti h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: .25rem; }
.secim-karti p { margin: 0; color: var(--renk-yazi-soluk); font-size: .92rem; }

/* Rol seçimi (büyük seçilebilir kutular) */
.rol-secenek { display: block; height: 100%; cursor: pointer; }
.rol-secenek input { position: absolute; opacity: 0; }
.rol-secenek .kutu { display: block; height: 100%; padding: .85rem 1rem; border: 2px solid var(--renk-cizgi);
  border-radius: 12px; transition: border-color .15s, background-color .15s; }
.rol-secenek .kutu strong { display: block; }
.rol-secenek .kutu small { color: var(--renk-yazi-soluk); }
.rol-secenek input:checked + .kutu { border-color: var(--renk-ana); background: #eef5ff; }
.rol-secenek input:focus-visible + .kutu { outline: 3px solid #f59e0b; outline-offset: 2px; }

/* Giriş sayfası */
.giris-sayfasi { min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(1200px 600px at 10% -10%, #dbeafe 0%, transparent 60%),
              radial-gradient(900px 500px at 110% 110%, #fde8e9 0%, transparent 55%), var(--renk-zemin); }
.giris-kutu { --g: #1565c0; background: #fff; box-shadow: 0 10px 40px rgba(15, 31, 51, .10) !important; max-width: 420px; margin: 2rem auto; border-radius: 18px; border: 1px solid var(--renk-cizgi); }
.giris-logo { display: block; width: 112px; height: 112px; margin: 0 auto 1rem; }
.giris-kutu.genis { max-width: 520px; }

/* Giriş türü kartları (Öğretmen / Okul Yönetimi / İlçe MEM) */
.giris-kartlari { display: flex; flex-direction: column; gap: .75rem; }
.giris-karti { --g: #1565c0; position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto;
  column-gap: .9rem; align-items: center; padding: 1rem 1.1rem; min-height: 76px; border: 1px solid var(--renk-cizgi);
  border-left: 5px solid var(--g); border-radius: 14px; background: #fff; color: var(--renk-yazi); text-decoration: none;
  transition: box-shadow .15s, transform .15s, border-color .15s; }
.giris-karti:hover, .giris-karti:focus-visible { color: var(--renk-yazi); box-shadow: 0 8px 22px rgba(15,31,51,.12); transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--g) 45%, var(--renk-cizgi)); border-left-color: var(--g); }
.giris-karti-ikon { grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.45rem; color: var(--g); background: color-mix(in srgb, var(--g) 12%, #fff); }
.giris-karti-baslik { font-weight: 700; font-size: 1.05rem; }
.giris-karti-aciklama { grid-column: 2; font-size: .85rem; color: var(--renk-yazi-soluk); }
.giris-karti-ok { grid-column: 3; grid-row: 1 / span 2; color: var(--g); font-size: 1.2rem; }
.giris-karti.son-kullanilan { box-shadow: 0 0 0 2px color-mix(in srgb, var(--g) 35%, transparent); }
.giris-karti-etiket { position: absolute; top: -9px; right: 12px; font-size: .7rem; font-weight: 600; padding: .1rem .5rem;
  border-radius: 999px; background: var(--g); color: #fff; }
.giris-grup-basligi { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; margin-bottom: 1.25rem;
  border-radius: 12px; background: color-mix(in srgb, var(--g) 8%, #fff); border: 1px solid color-mix(in srgb, var(--g) 25%, #fff); }
.giris-dugmesi { background: var(--g); border-color: var(--g); color: #fff; }
.giris-dugmesi:hover, .giris-dugmesi:focus { background: color-mix(in srgb, var(--g) 85%, #000); border-color: color-mix(in srgb, var(--g) 85%, #000); color: #fff; }

/* Yetki tablosu: yetki adı sütunu yatay kaydırmada sabit kalır */
.yetki-tablosu .yetki-adi { position: sticky; left: 0; background: #fff; min-width: 220px; z-index: 1; }
.yetki-tablosu .table-light th { background: #eef2f8; }
.yetki-tablosu .rol-basligi { min-width: 110px; text-transform: none; letter-spacing: 0; font-size: .85rem; color: var(--renk-yazi); }
.yetki-tablosu .form-check-input { width: 1.4em; height: 1.4em; }

.kaydet-cubugu { position: sticky; bottom: 0; background: var(--renk-zemin); padding: 1rem 0;
  z-index: 10; /* tablonun sabit "Yetki" sütununun üstünde kalsın */
  display: flex; gap: .5rem; }

/* Raporlar */
.grafik-kutusu { position: relative; height: 280px; }
.grafik-kutusu.kisa { height: 200px; }
.rapor-karti details summary { cursor: pointer; color: var(--renk-ana); }
.yazdirma-basligi { display: none; }

@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff; }
  .yan-menu, .ust-cubuk, .alt-bilgi, .rapor-araclari, .atla-baglantisi, .alert-success, .alert-danger { display: none !important; }
  .ana-alan { margin-left: 0 !important; }
  .icerik { padding: 0 !important; max-width: none; }
  .yazdirma-basligi { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 2px solid #1565c0; }
  .kart { box-shadow: none !important; break-inside: avoid; }
  .rapor-karti details summary { display: none; }
  .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8,
  .col-xl-5, .col-xl-6, .col-xl-7 { flex: 0 0 100%; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Kullanım rehberi ---------- */
.rehber { max-width: 980px; }
.rehber-kapilar { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; margin-bottom: 1.25rem; }
.rehber-kapilar a { --g: #1565c0; display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; background: #fff; color: var(--renk-yazi);
  text-decoration: none; border: 1px solid var(--renk-cizgi); border-left: 4px solid var(--g); border-radius: 12px; }
.rehber-kapilar a:hover, .rehber-kapilar a:focus-visible { border-color: color-mix(in srgb, var(--g) 45%, var(--renk-cizgi)); border-left-color: var(--g); }
.rehber-kapilar i { font-size: 1.35rem; color: var(--g); }
.rehber-kapilar span { display: flex; flex-direction: column; line-height: 1.25; }
.rehber-kapilar small { color: var(--renk-yazi-soluk); }
.rehber-bolum { --g: #1565c0; padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; border-top: 4px solid var(--g); scroll-margin-top: 1rem; }
.rehber-bolum > h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.rehber-bolum > h2 i { color: var(--g); }
.rehber-bolum h3 { font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 .6rem; }
.rehber-bolum h4 { font-size: 1rem; font-weight: 600; margin: 0 0 .35rem; }
.rehber-adimlar { padding-left: 1.3rem; }
.rehber-adimlar li { margin-bottom: .35rem; }
.rehber-adimlar li::marker { color: var(--g); font-weight: 700; }
.rehber-adim-kutusu { display: flex; gap: .85rem; padding: .85rem 1rem; margin: .75rem 0; background: color-mix(in srgb, var(--g) 5%, #fff);
  border: 1px solid color-mix(in srgb, var(--g) 18%, #fff); border-radius: 12px; }
.rehber-adim-kutusu ul { margin: 0; padding-left: 1.1rem; }
.rehber-adim-no { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  color: #fff; background: var(--g); }
.rehber-not { position: relative; padding: .6rem .85rem .6rem 2.3rem; border-radius: 10px; background: #f1f5f9; font-size: .925rem; }
.rehber-not.uyari { background: #fef3c7; color: #78350f; }
.rehber-not > i { position: absolute; left: .85rem; top: .65rem; }
.rehber-ekran { margin: .75rem 0 1.25rem; }
.rehber-ekran img { display: block; max-width: 100%; height: auto; border: 1px solid var(--renk-cizgi); border-radius: 10px;
  box-shadow: var(--golge); }
.rehber-ekran figcaption { font-size: .85rem; color: var(--renk-yazi-soluk); margin-top: .4rem; }
.rehber-tablo th[scope=row] { font-weight: 500; min-width: 200px; }
.rehber-tablo thead th { font-size: .85rem; white-space: nowrap; }
.rehber-tablo td { font-size: .85rem; white-space: nowrap; }
.rehber-evet { color: #166534; } .rehber-okul { color: #0b7a6b; } .rehber-hayir { color: #94a3b8; }
.rehber-sss dt { font-weight: 600; margin-top: .75rem; }
.rehber-sss dd { margin: .2rem 0 0; color: var(--renk-yazi-soluk); }
@media (max-width: 575.98px) { .rehber-bolum { padding: 1rem; } .rehber-adim-kutusu { padding: .75rem; } }
@media print { .rehber-kapilar { display: none !important; } .rehber-bolum { break-inside: auto; box-shadow: none; } }

/* ---------- Giriş sayfası: proje hakkında ---------- */
.proje-hakkinda { max-width: 520px; margin: 0 auto 2rem; background: rgba(255,255,255,.85); border: 1px solid var(--renk-cizgi);
  border-radius: 14px; font-size: .925rem; }
.proje-hakkinda > summary { cursor: pointer; padding: .8rem 1.1rem; font-weight: 600; color: var(--renk-ana-koyu); list-style: none;
  display: flex; align-items: center; gap: .5rem; }
.proje-hakkinda > summary::-webkit-details-marker { display: none; }
.proje-hakkinda > summary::after { content: "\F282"; font-family: bootstrap-icons; margin-left: auto; transition: transform .2s; }
.proje-hakkinda[open] > summary::after { transform: rotate(180deg); }
.proje-govde { padding: 0 1.1rem 1rem; color: var(--renk-yazi); line-height: 1.6; }
.proje-govde ul { list-style: none; padding: 0; margin: .75rem 0; display: grid; gap: .6rem; }
.proje-govde li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; }
.proje-govde li > i { color: var(--renk-ana); font-size: 1.1rem; }
.proje-kunye { display: flex; flex-direction: column; gap: .15rem; padding-top: .75rem; border-top: 1px solid var(--renk-cizgi);
  font-size: .78rem; color: var(--renk-yazi-soluk); }
.proje-kunye strong { color: var(--renk-yazi); font-weight: 600; }

.giris-logo { object-fit: contain; }
.logo-onizleme { display: flex; gap: 1rem; align-items: stretch; }
.logo-onizleme > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem; border: 1px solid var(--renk-cizgi); border-radius: 12px; color: var(--renk-yazi-soluk); }
.logo-onizleme-menu { background: #0b1f3a; color: #cbd5e1 !important; }
.logo-onizleme-giris img { width: 88px; height: 88px; object-fit: contain; }
