/* Öğretmen yönetimi (yönetim paneli) */
.ogty-filtre-karti { margin-bottom: 20px; }
.ogty-filtreler { display: grid; grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(130px, .7fr)) auto; gap: 10px; align-items: end; padding: 18px 22px; }
.ogty-filtreler label { display: grid; gap: 6px; color: var(--soluk); font-size: 11px; font-weight: 600; }
.ogty-filtreler input, .ogty-filtreler select { width: 100%; min-height: 40px; padding: 0 11px; border: 1px solid var(--cizgi); border-radius: 9px; color: var(--metin); background: #fff; font: inherit; }
.ogty-filtre-islem { display: flex; gap: 8px; justify-content: flex-end; }
.ogty-uzmanlik { max-width: 220px; min-width: 150px; color: var(--soluk); font-size: 12px; line-height: 1.45; white-space: normal; } /* B-007 */
.ogty-asim { color: #8d1018 !important; font-weight: 700; }
/* g297: öğretmen hesabını yönetici açar — "Panel girişi" kartı + ekleme bilgisi.
   (Eski .ogty-basvurular* kuralları başvuru yolu kapandığı için kaldırıldı.) */
.ogty-ekle-bilgi { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #dbe4f0; border-radius: 10px; background: #f4f8fd; color: var(--metin); font-size: 13px; line-height: 1.55; }
.ogty-giris-satirlar { display: grid; gap: 10px; padding: 0 22px 20px; }
.ogty-giris-satir { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 18px; padding: 13px 15px; border: 1px solid var(--cizgi); border-radius: 11px; background: #fff; }
.ogty-giris-satir strong { display: block; margin-bottom: 3px; font-size: 13.5px; }
.ogty-giris-satir small { display: block; color: var(--soluk); font-size: 12px; line-height: 1.5; }
.ogty-giris-satir form { margin: 0; }
.ogty-giris-satir--tehlike { border-color: #f0cfcf; background: #fdf7f7; }
.ogty-giris-yok { display: block; margin-top: 4px; color: #a3121d; font-size: 11px; font-weight: 500; white-space: nowrap; }
@media (max-width: 720px) {
  .ogty-giris-satirlar { padding: 0 16px 16px; }
  .ogty-giris-satir { grid-template-columns: minmax(0, 1fr); }
  .ogty-giris-satir .buton { width: 100%; min-height: 44px; }
}
.ogty-form { padding: 22px 23px; }
.ogty-form select { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid var(--cizgi); border-radius: 9px; color: var(--metin); background: #fff; font: inherit; font-weight: 500; }
.ogty-form input[readonly] { color: var(--soluk); background: #f5f6f8; }
.ogty-form label small { font-weight: 500; color: var(--soluk); }
.ogty-secenekler { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 12px 14px 14px; border: 1px solid var(--cizgi); border-radius: 10px; }
.ogty-secenekler legend { padding: 0 6px; color: var(--metin); font-size: 12px; font-weight: 600; }
.ogty-secenekler label { display: flex !important; align-items: center; gap: 7px; font-size: 13px !important; font-weight: 600 !important; }
.ogty-secenekler input { width: 16px !important; min-height: 0 !important; height: 16px; padding: 0 !important; accent-color: var(--kirmizi); }
/* g301: `align-items: end` — "Saat ücreti" etiketi iki satırlık yardım metni taşıdığı için
   kutusu "Para birimi" seçiminden ~10 px aşağı kayıyordu (g293'teki aynı desen). */
.ogty-ucret { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(110px, .8fr); gap: 10px; align-items: end; }
.ogty-ucret label { display: grid; gap: 7px; color: var(--metin); font-size: 12px; font-weight: 600; }
.ogty-musaitlik { padding: 14px 16px 16px; border: 1px dashed #cfd3da; border-radius: 12px; background: #fafbfc; }
.ogty-musaitlik-baslik { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ogty-musaitlik-baslik strong { font-size: 13px; }
.ogty-musaitlik-baslik small { color: var(--soluk); font-size: 11px; }
.ogty-musaitlik-satirlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.ogty-musaitlik-satir { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(90px, .8fr) auto minmax(90px, .8fr); align-items: center; gap: 6px; }
.ogty-musaitlik-satir select, .ogty-musaitlik-satir input { min-height: 38px !important; padding: 0 9px !important; font-size: 13px; }
.ogty-musaitlik-satir span { color: var(--soluk); font-size: 12px; }
.ogty-sinif-ata select { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid var(--cizgi); border-radius: 9px; background: #fff; font: inherit; }
.ogty-sinif-ata { grid-template-columns: minmax(260px, 1fr) auto; }
.ogty-uyari { margin: 0 22px 16px; padding: 10px 13px; border-radius: 10px; color: #646b76; background: #eceef1; font-size: 13px; }
/* g132 — öğretmen detayı ölçüye taşındı: degrade bant, 9 "#çapa hapı", dağınık işlem satırı,
   devir kartı ve iki sütunlu bio/not bloğu kaldırıldı (kimlik kartı + gerçek sekmeler + ⋯).
   `.ogty-banner/-sekmeler/-islem-satiri/-ucret-rozet/-devir/-iki/-metin` kuralları da silindi.
   KURSLARI tablosu: 7 sütun 1280 px'te sağdan kesiliyordu; kod kurs adının altına indi,
   tekrar eden "Yönet →" sütunu kalktı, kalan 5 sütunun genişliği sabitlendi. */
.ogty-kurs-tablo { width: 100%; table-layout: fixed; }
.ogty-kurs-tablo th { white-space: normal; }
.ogty-kurs-tablo th:nth-child(1), .ogty-kurs-tablo td:nth-child(1) { width: 38%; }
.ogty-kurs-tablo th:nth-child(2), .ogty-kurs-tablo td:nth-child(2) { width: 10%; }
.ogty-kurs-tablo th:nth-child(3), .ogty-kurs-tablo td:nth-child(3) { width: 21%; }
.ogty-kurs-tablo th:nth-child(4), .ogty-kurs-tablo td:nth-child(4) { width: 17%; }
.ogty-kurs-tablo th:nth-child(5), .ogty-kurs-tablo td:nth-child(5) { width: 14%; }
.ogty-kurs-ad { white-space: normal; }
.ogty-kurs-ad strong { display: block; font-size: var(--yazi-satir); font-weight: 650; line-height: 1.35; }
.ogty-kurs-ad small { display: block; margin-top: 3px; overflow: hidden; color: var(--soluk); font-size: var(--yazi-meta); text-overflow: ellipsis; white-space: nowrap; }
.ogty-ilerleme { min-width: 150px; }
.ogty-ilerleme small { display: block; margin-top: 5px; color: var(--soluk); font-size: 11px; }
.ogty-yorumlar { border-top: 1px solid #eef0f3; }
.ogty-yorumlar .liste-icerik strong { white-space: normal; font-weight: 500; font-style: italic; }
.ogty-izgara { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 0 22px 20px; }
.ogty-gun { display: grid; align-content: start; gap: 6px; min-height: 96px; padding: 12px 10px; border: 1px solid var(--cizgi); border-radius: 12px; background: #fafbfc; }
.ogty-gun--dolu { border-color: #bce8d7; background: #f1fbf7; }
.ogty-gun strong { font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--soluk); }
.ogty-gun--dolu strong { color: #086b49; }
.ogty-gun span { display: inline-flex; padding: 5px 8px; border-radius: 8px; color: #086b49; background: #dbf5ea; font-size: 12px; font-weight: 600; }
.ogty-gun small { color: #b0b5be; }
#siniflar, #program, #aktivite, #yoklama, #anket, #birebir, #destek, #musaitlik, #zaman { scroll-margin-top: 20px; }
#siniflar, #musaitlik { margin-bottom: 20px; }
@media (max-width: 1100px) {
  .ogty-izgara { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .ogty-filtreler { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ogty-filtre-islem { grid-column: 1 / -1; }
  .ogty-musaitlik-satirlar { grid-template-columns: minmax(0, 1fr); }
  .ogty-sinif-ata { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .ogty-filtreler { grid-template-columns: minmax(0, 1fr); }
  .ogty-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* B-019: form izleri ve select'ler kart kenarını aşmasın */
  .ogty-ucret { grid-template-columns: minmax(0, 1fr); }
  .ogty-form select, .ogty-form input, .ogty-musaitlik-satir select, .ogty-musaitlik-satir input { min-width: 0; }
  .ogty-musaitlik-satir { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) auto minmax(0, .8fr); }
}

/* öğretmen listesi (20 Eyl sadeleştirme): tek satır, sabit sütun */
.ogty-tablo { width: 100%; table-layout: fixed; }
.ogty-tablo th, .ogty-tablo td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ogty-tablo th:nth-child(1), .ogty-tablo td:nth-child(1) { width: 34%; }
.ogty-tablo th:nth-child(2), .ogty-tablo td:nth-child(2) { width: 20%; }
.ogty-tablo th:nth-child(3), .ogty-tablo td:nth-child(3) { width: 9%; }
.ogty-tablo th:nth-child(4), .ogty-tablo td:nth-child(4) { width: 10%; }
.ogty-tablo th:nth-child(5), .ogty-tablo td:nth-child(5) { width: 15%; }
.ogty-tablo th:nth-child(6), .ogty-tablo td:nth-child(6) { width: 12%; }
/* bkz. ogrenci-yonetimi.css: flex td, fixed genişliği bozuyordu; flex td-içi sarmalayıcıda. */
.ogty-kisi-ic { display: flex; align-items: center; gap: 11px; min-width: 0; }
.ogty-kisi-ic .avatar { width: 34px; height: 34px; flex: 0 0 34px; background: var(--lacivert); font-size: var(--yazi-mini); }
.ogty-kisi-metin { display: grid; min-width: 0; gap: 1px; flex: 1; }
.ogty-kisi-metin strong { overflow: hidden; font-size: var(--yazi-satir); font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.ogty-kisi-metin strong a { color: inherit; text-decoration: none; }
.ogty-kisi-metin small { overflow: hidden; color: var(--soluk); font-size: var(--yazi-meta); text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) {
  .ogty-tablo { table-layout: auto; }
  .ogty-tablo th:nth-child(2), .ogty-tablo td:nth-child(2), .ogty-tablo th:nth-child(5), .ogty-tablo td:nth-child(5) { display: none; }
}

@media (max-width: 480px) {
  /* 16 px altı alanda iOS sayfayı büyütüp düzeni kaydırıyor (g126 D10). */
  .ogty-sinif-ata select, .ogty-filtreler input, .ogty-filtreler select, .ogty-form select { font-size: 16px; }
  /* Dar ekranda sabit sütun genişliği kurs adını 2 harfe indiriyordu. */
  .ogty-kurs-tablo { table-layout: auto; }
  .ogty-kurs-tablo th:nth-child(4), .ogty-kurs-tablo td:nth-child(4) { display: none; }
}

/* ===================================================================== g292
   Öğretmen formu: seviye ÇİPLERİ (ortak `.seviye-cip`, app.css) + "öğrenci kendi
   özel dersini bu öğretmenle kurabilsin" anahtarı.

   🔴 `.ogty-form input { width: 100% }` ile app.css'teki `.seviye-cip input`
      (0,1,1) AYNI özgüllükte ve panel CSS'i app.css'ten SONRA yükleniyor → gizli
      onay kutuları forma açılıp yatay taşma yapıyordu (g252/g258 dersi, ölçümle
      görünür, ekran görüntüsünde GÖRÜNMEZ). İki sınıflı yazıldı. */
.ogty-form .seviye-cip input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; padding: 0; }
.ogty-secenekler--cip { display: block; }
.ogty-secenekler--cip .seviye-cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.ogty-secenekler--cip .seviye-cip-ipucu { margin: 8px 0 0; color: var(--soluk); font-size: var(--yazi-meta); }

.ogty-ozel-satis { display: block; padding: 14px 16px; border: 1px solid var(--cizgi); border-radius: var(--radius, 10px); background: var(--zemin-acik, #f7f8fa); }
.ogty-ozel-satis-kutu { display: flex; align-items: center; gap: 10px; }
.ogty-form .ogty-ozel-satis-kutu input[type="checkbox"] { width: 18px; min-height: 18px; height: 18px; margin: 0; flex: 0 0 18px; }
.ogty-ozel-satis small { display: block; margin-top: 7px; color: var(--soluk); font-size: var(--yazi-meta); line-height: 1.6; }

/* g392: yönetimdeki "Profil / CV" bölümü — öğretmen formunda alan ızgarası,
   detay ekranında künye + CV belgesi. Çipler/dosya seçici için ortak kurallar
   profil.css'teki `.ogp-*` bloğunda; burada yalnız formun ızgarası var. */
.ogty-cv { grid-column: 1 / -1; margin: 0; padding: 12px 14px 16px;
    border: 1px solid var(--cizgi); border-radius: 10px; }
.ogty-cv legend { padding: 0 6px; color: var(--metin); font-size: 12px; font-weight: 600; }
/* Detay kartinda CV blogu kart govdesiyle ayni ic bosluga hizalanir (kunye dl'i 22 px'te). */
.ogty-cv-kart .ogp-cv, .ogty-cv-kart .ogty-cv-not { padding-right: 22px; padding-left: 22px; }
.ogty-cv-kart .ogp-cv { padding-bottom: 22px; }
.ogty-cv-not { margin: 0 0 12px; color: var(--soluk, #6b7480); font-size: 13px; }
.ogty-cv-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.ogty-cv-izgara > label { display: block; min-width: 0; font-size: 13px; font-weight: 600; }
.ogty-cv-izgara > label.genis-alan { grid-column: 1 / -1; }
.ogty-cv-izgara input, .ogty-cv-izgara textarea { width: 100%; margin-top: 6px; font-weight: 400; }
.ogty-cv-onay { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 13px; font-weight: 600; }
.ogty-cv-onay input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.ogty-cv-onay small { display: block; font-weight: 400; color: var(--soluk, #6b7480); }
@media (max-width: 720px) {
    .ogty-cv-izgara { grid-template-columns: minmax(0, 1fr); }
}
