/* Kartlı tasarımın ortak parçaları: sayfa, kart, üst çubuk, renk açıklaması, alt pencere, form, tablo (Öğrenci Özel Ders, Öğretmen Bilgileri, Sınav Form Tanımları) */
.ozd-sayfa { background: #f1f4f8; min-height: 100vh; padding: 10px 12px; color: #2c3e50; }
.ozd-kart { background: #fff; border: 1px solid #dbe2ea; border-radius: 6px; box-shadow: 0 1px 3px rgba(44, 62, 80, .08); }
.ozd-kart-baslik { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid #e4e9ef; border-radius: 6px 6px 0 0; font-weight: 600; font-size: 13px; background: #f8fafc; }
.ozd-kart-baslik .ozd-sag { margin-left: auto; display: flex; gap: 4px; align-items: center; flex-shrink: 0; white-space: nowrap; }
.ozd-kart-baslik small { font-weight: 400; color: #5d6d7e; font-size: 12px; }
.ozd-vurgu-mavi { border-top: 3px solid #3598dc; }
.ozd-vurgu-yesil { border-top: 3px solid #1bbc9b; }
.ozd-vurgu-mor { border-top: 3px solid #8e44ad; }
.ozd-vurgu-turuncu { border-top: 3px solid #f2994a; }
.ozd-ust-cubuk { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 9px 12px; margin-bottom: 10px; }
.ozd-alan label { display: block; margin: 0 0 2px; font-size: 11px; font-weight: 600; color: #5d6d7e; }
.ozd-sag-it { margin-left: auto; }
.ozd-donem { background: #eaf3fb; color: #1f6aa5; border-radius: 4px; padding: 5px 10px; font-weight: 600; }
.ozd-secim-grubu { display: inline-flex; border: 1px solid #c8d3df; border-radius: 4px; overflow: hidden; }
.ozd-secim-grubu label { margin: 0; padding: 5px 12px; cursor: pointer; font-size: 12px; font-weight: 600; color: #5d6d7e; background: #fff; }
.ozd-secim-grubu input { position: absolute; opacity: 0; width: 0; }
.ozd-secim-grubu label.ozd-etkin { background: #3598dc; color: #fff; }
.ozd-buton-rapor { background: #8e44ad; border-color: #7d3c98; color: #fff; }
.ozd-buton-rapor:hover, .ozd-buton-rapor:focus { background: #7d3c98; color: #fff; }
.ozd-lejant { display: flex; flex-wrap: wrap; gap: 10px; font-weight: 400; font-size: 11px; color: #5d6d7e; }
.ozd-lejant span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .15); }

/* Alt pencereler */
.ozd-katman { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; background: rgba(30, 41, 59, .6); overflow: auto; padding: 28px 15px; }
.ozd-pencere { max-width: 620px; margin: 0 auto; background: #fff; border-radius: 8px; box-shadow: 0 16px 48px rgba(0, 0, 0, .4); overflow: hidden; }
.ozd-pencere-genis { max-width: 860px; }
.ozd-pencere-baslik { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: #fff; font-size: 15px; font-weight: 600; background: #2c5f8a; }
.ozd-pencere-baslik .fa { font-size: 16px; }
.ozd-b-yesil { background: #148f77; }
.ozd-b-mor { background: #7d3c98; }
.ozd-b-turuncu { background: #ca6f1e; }
.ozd-kapat { margin-left: auto; color: #fff; font-size: 20px; line-height: 1; opacity: .85; text-decoration: none; }
.ozd-kapat:hover, .ozd-kapat:focus { color: #fff; opacity: 1; text-decoration: none; }
.ozd-pencere-govde { padding: 14px 16px; background: #f8fafc; }
.ozd-pencere-alt { display: flex; justify-content: flex-end; gap: 6px; padding: 10px 16px; background: #eef2f6; border-top: 1px solid #dbe2ea; }
.ozd-bolum { background: #fff; border: 1px solid #dbe2ea; border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; }
.ozd-bolum:last-child { margin-bottom: 0; }
.ozd-bolum-baslik { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: #34495e; margin-bottom: 8px; }
.ozd-bolum-baslik .ozd-sag { margin-left: auto; display: flex; gap: 4px; }
.ozd-bilgi { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; }
.ozd-bilgi dt { color: #5d6d7e; font-weight: 600; }
.ozd-bilgi dd { margin: 0; font-weight: 600; }
.ozd-aciklama { color: #5d6d7e; font-size: 12px; margin: 0 0 8px; }

/* Kart içi form, seçim düğmeleri, tablolar */
.ogb-kart { margin-bottom: 10px; }
.ogb-kart-govde { padding: 10px 12px; }
.ogb-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 12px; align-items: start; }
.ogb-genis { grid-column: 1 / -1; }
.ogb-iki { grid-column: span 2; }
.ogb-kutu-alan { align-self: end; padding-bottom: 6px; }
.ogb-alt-cubuk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 12px; margin-bottom: 10px; }
.ogb-alt-cubuk > .ozd-sag-it, .ozd-ust-cubuk > a.ozd-sag-it { margin-left: auto; }
.ogb-dugmeler { display: flex; flex-wrap: wrap; gap: 4px; }
.ogb-not { color: #1f6aa5; font-size: 12px; flex: 1 1 240px; align-self: center; }
.ozd-kart-baslik .ogb-sar { flex-wrap: wrap; justify-content: flex-end; white-space: normal; }
.ozd-sayfa textarea.form-control { height: auto; resize: vertical; }
/* Seçim düğmeleri: işaret kutusu / radyo düğme gibi görünür, betik gerekmez */
.ogb-secim { display: inline-flex; border: 1px solid #c8d3df; border-radius: 4px; overflow: hidden; background: #fff; vertical-align: middle; }
.ozd-alan .ogb-secim label, .ogb-secim label { margin: 0; cursor: pointer; }
.ogb-secim input { position: absolute; opacity: 0; width: 0; height: 0; }
.ogb-secim span { display: block; padding: 4px 12px; font-size: 12px; font-weight: 600; color: #5d6d7e; white-space: nowrap; }
.ogb-secim label + label span { border-left: 1px solid #c8d3df; }
.ogb-secim input:checked + span { background: #3598dc; color: #fff; }
.ogb-secim input:focus-visible + span { outline: 2px solid #1f6aa5; outline-offset: -2px; }
.ogb-tablo-kap { overflow-x: auto; border-radius: 0 0 6px 6px; }
.ogb-kaydirma { max-height: calc(100vh - 270px); min-height: 180px; overflow: auto; }
.ozd-sayfa table.ogb-tablo { width: 100%; margin: 0; font-size: 12px; border-collapse: separate; border-spacing: 0; background: #fff; }
.ozd-sayfa table.ogb-tablo > thead > tr > th { position: sticky; top: 0; z-index: 1; padding: 5px 8px; background: #34495e; color: #fff; font-weight: 600; font-size: 12px; border: 0; border-right: 1px solid #46607a; white-space: nowrap; }
.ozd-sayfa table.ogb-tablo > tbody > tr > td { padding: 4px 8px; border: 0; border-right: 1px solid #e4e9ef; border-bottom: 1px solid #e4e9ef; vertical-align: middle; background: transparent; }
.ozd-sayfa table.ogb-tablo:not(.ogb-renkli) > tbody > tr:hover > td { background: #f3f8fc; }
.ozd-sayfa table.ogb-tablo.ogb-secilir > tbody > tr { cursor: pointer; }
.ozd-sayfa table.ogb-tablo > tbody > tr.active > td { background: #d6eaf8; box-shadow: inset 0 -1px 0 #aed6f1; }
.ozd-sayfa table.ogb-tablo > tbody > tr.active > td:first-child { box-shadow: inset 3px 0 0 #3598dc, inset 0 -1px 0 #aed6f1; font-weight: 600; }
.ogb-tablo .form-control { height: 26px; padding: 2px 6px; font-size: 12px; }

@media (max-width: 767px) {
    .ogb-iki { grid-column: 1 / -1; }
}
