:root {
  --app-bg: #eef2f7;
  --app-surface: #ffffff;
  --app-border: #dee2e6;
  --app-text: #212529;
  --app-muted: #6c757d;
  --app-primary: #0d6efd;
  color-scheme: light;
  font-family: system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--app-text);
  background: var(--app-bg);
  line-height: 1.4;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--app-bg);
}

.app-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-site-header {
  background: var(--app-surface);
  border-bottom: 1px solid var(--app-border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.app-site-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem 0.85rem;
}

body.app-menu-acik {
  overflow: hidden;
}

.app-menu-ac {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  border: 1px solid var(--app-primary);
  background: #fff;
  color: var(--app-primary);
  border-radius: 0.35rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}

.app-menu-ac:hover {
  background: #e7f1ff;
}

.app-menu-hamburger {
  display: block;
  width: 0.95rem;
  height: 0.72rem;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}

.app-menu-arka {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(15, 23, 42, 0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.app-menu-arka.acik {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.app-menu-cekmece {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1045;
  display: flex;
  flex-direction: column;
  width: min(88vw, 300px);
  height: 100%;
  background: #fff;
  box-shadow: 8px 0 24px rgba(15, 23, 42, 0.16);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  pointer-events: none;
}

.app-menu-cekmece.acik {
  transform: translateX(0);
  pointer-events: auto;
}

.app-menu-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.05rem;
  border-bottom: 1px solid var(--app-border);
}

.app-menu-ust h2 {
  margin: 0;
  font-size: 1.1rem;
}

.app-menu-kapat {
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: 0;
  border-radius: 0.25rem;
  background:
    linear-gradient(currentColor, currentColor) center / 0.85rem 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 0.85rem no-repeat;
  background-color: transparent;
  color: #6c757d;
  transform: rotate(45deg);
  cursor: pointer;
}

.app-menu-kapat:hover {
  background-color: #f1f5f9;
}

.app-menu-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.app-menu-nav a,
.app-menu-nav button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  color: var(--app-text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.app-menu-nav form {
  margin: 0;
}

.app-menu-nav a:hover,
.app-menu-nav button:hover {
  background: linear-gradient(90deg, #e7f1ff 0%, #f0f6ff 100%);
  border-left-color: rgba(13, 110, 253, 0.45);
  color: #0a58ca;
}

.app-menu-nav a.aktif {
  background: #e7f1ff;
  border-left-color: var(--app-primary);
  color: #0a58ca;
}

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.35rem 1.25rem 2rem;
  background: var(--app-bg);
}

.login-wrap {
  width: 100%;
  max-width: 22rem;
}

.login-logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0.15rem auto 1.1rem;
  flex-shrink: 0;
  object-fit: contain;
}

.login-card {
  width: 100%;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 0.7rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  padding: 1.35rem 1.25rem 1.4rem;
}

.login-card h1 {
  margin: 0;
  font-size: 1.35rem;
  text-align: center;
}

.login-lead,
.login-label {
  color: var(--app-muted);
}

.login-lead {
  margin: 0.35rem 0 1rem;
  font-size: 0.95rem;
  text-align: center;
}

.login-label {
  display: block;
  margin: 0.7rem 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.login-input {
  width: 100%;
  border: 1px solid var(--app-border);
  border-radius: 0.4rem;
  padding: 0.7rem 0.75rem;
  font-size: 1rem;
}

.login-hatirla {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.95rem 0 0;
  color: var(--app-text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.login-hatirla input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--app-primary);
}

.login-hatirla-not {
  margin: 0.25rem 0 0 1.55rem;
  color: var(--app-muted);
  font-size: 0.82rem;
}

.login-btn {
  width: 100%;
  margin-top: 1.1rem;
  border: 0;
  border-radius: 0.4rem;
  background: var(--app-primary);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.login-banner-ok {
  background: #d1e7dd;
  border-color: #a3cfbb;
  color: #0f5132;
}

.login-kod {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
}

.login-btn-ikincil {
  margin-top: 0.55rem;
  background: #fff;
  color: var(--app-primary);
  border: 1px solid var(--app-primary);
}

.login-vazgec {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  color: var(--app-muted);
  font-size: 0.9rem;
}

.pwa-yukle {
  width: 100%;
  margin-top: 0.85rem;
  border: 1px solid var(--app-primary);
  background: #fff;
  color: var(--app-primary);
  border-radius: 0.4rem;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.pwa-yukle[hidden],
.pwa-ios[hidden],
.pwa-chrome[hidden] {
  display: none !important;
}

a.pwa-chrome {
  display: block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.app-menu-nav #btn-bildirim-ac {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.7rem 1rem;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.app-menu-nav #btn-bildirim-ac.bildirim-acik {
  color: #198754;
  font-weight: 600;
}

.pwa-yukle-ust {
  margin: 0 1rem 0.75rem;
  width: calc(100% - 2rem);
}

.pwa-ios {
  margin: 0.7rem 0 0;
  color: var(--app-muted);
  font-size: 0.86rem;
  text-align: center;
}

.pwa-ios-ust {
  margin: 0 1rem 0.75rem;
}

.app-site-header h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
}

.app-unvan {
  margin: 3px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.app-hoca-not {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0a58ca;
}

a.hoca-sec-karti {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.hoca-sec-karti:hover {
  box-shadow: 0 0 0 2px #0d6efd;
}

.hoca-liste-baslik {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.egitimci-bkds-kartlar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.egitimci-bkds-kart-giris {
  grid-column: 1;
}

.egitimci-bkds-kart-cikis {
  grid-column: 2;
}

.saat-nav {
  display: grid;
  grid-template-columns: 3rem 1fr 3rem;
  gap: 0.5rem;
  align-items: stretch;
  margin: 0 0 0.75rem;
}

.saat-nav-ok {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid var(--app-border);
  border-radius: 0.5rem;
  color: var(--app-text);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}

.saat-nav-ok.kapali {
  opacity: 0.35;
  pointer-events: none;
}

.saat-nav-orta {
  background: #f8fafc;
  border: 1px solid var(--app-border);
  border-radius: 0.5rem;
  padding: 0.42rem 0.55rem 0.48rem;
  text-align: center;
}

.saat-nav-orta.rama-mod {
  border-color: #6f42c1;
  background: #f4eefe;
}

.saat-nav-orta.rama-mod .egitimci-bkds-etiket,
.saat-nav-orta.rama-mod strong {
  color: #6f42c1;
}

.saat-nav-orta.skor-mod {
  border-color: #c2410c;
  background: #fff7ed;
}

.saat-nav-orta.skor-mod .egitimci-bkds-etiket,
.saat-nav-orta.skor-mod strong {
  color: #c2410c;
}

.saat-nav-orta.sofor-saat-mod {
  border-color: #0f766e;
  background: #ecfdf5;
}

.saat-nav-orta.sofor-saat-mod .egitimci-bkds-etiket,
.saat-nav-orta.sofor-saat-mod strong {
  color: #0f766e;
}

.sofor-bolum {
  margin: 0 0 1rem;
}

.sofor-bolum-baslik {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 800;
}

.sofor-bolum-baslik-kart {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 0.45rem;
  padding: 0.38rem 0.7rem;
  border: 2px solid;
  border-radius: 0.4rem;
  background: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.sofor-bolum-baslik-kart .sofor-bolum-baslik-yazi {
  min-width: 0;
  height: auto;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
  font-weight: 800;
}

.sofor-bolum-baslik-kart .sofor-bolum-baslik-saat {
  flex-shrink: 0;
  min-width: 0;
  height: auto;
  margin-left: auto;
  background: transparent;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.sofor-bolum-baslik span {
  display: inline-flex;
  min-width: 1.6rem;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.85rem;
  background: #e2e8f0;
  color: #334155;
}

.sofor-bolum-alinacak {
  color: #166534;
}

.sofor-bolum-alinacak span {
  background: #bbf7d0;
  color: #166534;
}

.sofor-bolum-alinacak.sofor-bolum-baslik-kart {
  border-color: #15803d;
  background: #16a34a;
  color: #fff;
}

.sofor-bolum-alinacak.sofor-bolum-baslik-kart span {
  background: transparent;
  color: #fff;
}

.sofor-bolum-birakilacak {
  color: #9a3412;
}

.sofor-bolum-birakilacak span {
  background: #fed7aa;
  color: #9a3412;
}

.sofor-bolum-birakilacak.sofor-bolum-baslik-kart {
  border-color: #c2410c;
  background: #ea580c;
  color: #fff;
}

.sofor-bolum-birakilacak.sofor-bolum-baslik-kart span {
  background: transparent;
  color: #fff;
}

.sofor-bos {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.7rem;
  background: #f8fafc;
  border: 1px dashed var(--app-border);
  border-radius: 0.5rem;
  color: var(--app-muted);
  font-size: 0.9rem;
}

.sofor-rozet {
  flex-shrink: 0;
  padding: 0.12rem 0.45rem;
  border-radius: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sofor-rozet-alinacak {
  background: #22a06b;
  color: #fff;
}

.sofor-rozet-birakilacak {
  background: #ea580c;
  color: #fff;
}

.sofor-geldigi-servis {
  margin-left: auto;
  flex-shrink: 0;
  max-width: 42%;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sofor-gittigi-servis {
  margin-left: auto;
  flex-shrink: 0;
  max-width: 42%;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sofor-servis-liste {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sofor-servis-sec-btn {
  text-align: left;
}

.sofor-karti-alinacak {
  border-color: #86efac;
}

.sofor-karti-birakilacak {
  border-color: #fdba74;
}

.sofor-bolum-gorev-baslik {
  color: #9a3412;
}

.sofor-bolum-gorev-baslik span {
  background: #ffedd5;
  color: #9a3412;
}

.sofor-karti-gorev {
  border-color: #fb923c;
}

.sofor-gorev-saat {
  font-size: 0.8rem;
  font-weight: 700;
  color: #c2410c;
  margin: 0 0 0.2rem;
}

.sofor-gorev-servis {
  margin-left: auto;
  flex-shrink: 0;
  max-width: 46%;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: #ffedd5;
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sofor-gorev-aciklama {
  margin: 0.3rem 0 0;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #44403c;
  white-space: pre-wrap;
}

.sofor-karti-tiklanabilir {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.sofor-karti-tiklanabilir:active {
  transform: scale(0.99);
}

.sofor-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sofor-sheet[hidden] {
  display: none !important;
}

.sofor-sheet-arka {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.sofor-sheet-panel {
  position: relative;
  width: min(100%, 26rem);
  margin: 0;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.18);
}

.sofor-sheet-baslik {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
}

.sofor-sheet-btn {
  display: block;
  width: 100%;
  margin: 0 0 0.45rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  background: #f8fafc;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.sofor-sheet-btn[hidden] {
  display: none !important;
}

.sofor-sheet-btn:active {
  background: #e2e8f0;
}

.sofor-sheet-btn-tehlike {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.sofor-sheet-btn-tehlike:active {
  background: #fee2e2;
}

.sofor-sheet-iptal {
  margin-top: 0.35rem;
  background: #fff;
  color: #64748b;
  font-weight: 600;
}

.sofor-bilgi-panel {
  max-height: min(92vh, 42rem);
  overflow: auto;
}

.sofor-bilgi-icerik {
  margin: 0 0 0.85rem;
}

.sofor-bilgi-satir {
  margin: 0 0 0.75rem;
}

.sofor-bilgi-etiket {
  display: block;
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
}

.sofor-bilgi-deger {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
  color: #0f172a;
  word-break: break-word;
}

.sofor-bilgi-adres {
  white-space: pre-wrap;
}

.sofor-tel-liste {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sofor-tel-kart {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  background: #f8fafc;
  text-decoration: none;
  color: inherit;
}

.sofor-tel-kart:active {
  background: #e2e8f0;
}

.sofor-tel-etiket {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #64748b;
}

.sofor-tel-gsm {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f766e;
}

.sofor-bilgi-adres-link {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid #bfdbfe;
  border-radius: 0.7rem;
  background: #eff6ff;
  color: #1e3a8a;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  white-space: pre-wrap;
  cursor: pointer;
}

.sofor-bilgi-adres-link:active {
  background: #dbeafe;
}

.sofor-bilgi-adres-not {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563eb;
}

.sofor-bilgi-yukleniyor,
.sofor-bilgi-hata {
  margin: 0.5rem 0 0.85rem;
  text-align: center;
  color: #64748b;
}

.sofor-bilgi-hata {
  color: #b91c1c;
}

.saat-nav-orta strong {
  display: block;
  margin-top: 0.08rem;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.saat-sec-form {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.saat-sec {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 1.15rem;
}

.ders-ogretmen {
  flex-shrink: 1;
  max-width: 46%;
  font-size: 0.78rem;
  font-weight: 700;
  color: #333;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.egitimci-bkds-kart {
  background: #f8fafc;
  border: 1px solid var(--app-border);
  border-radius: 0.5rem;
  padding: 0.42rem 0.55rem 0.48rem;
  text-align: center;
}

.egitimci-bkds-etiket {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--app-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.egitimci-bkds-kart strong {
  display: block;
  margin-top: 0.08rem;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.egitimci-bkds-kart-giris {
  background: #22a06b;
  border-color: #1a8358;
}

.egitimci-bkds-kart-cikis {
  background: #e2483d;
  border-color: #c43c33;
}

.egitimci-bkds-kart-giris .egitimci-bkds-etiket,
.egitimci-bkds-kart-giris strong,
.egitimci-bkds-kart-cikis .egitimci-bkds-etiket,
.egitimci-bkds-kart-cikis strong {
  color: #fff;
}

.page-main {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0.75rem;
}

.tarih-nav {
  display: grid;
  grid-template-columns: 3rem 1fr 3rem;
  gap: 0.5rem;
  align-items: stretch;
  margin-bottom: 0.5rem;
}

.tarih-kilit-not {
  margin: -0.15rem 0 0.7rem;
  padding: 0.45rem 0.7rem;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 0.5rem;
  color: #9a3412;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.tarih-nav-orta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #212529;
  border-radius: 0.5rem;
  padding: 0.45rem 0.7rem;
}

.tarih-nav strong {
  font-size: 1.05rem;
}

.tarih-nav span {
  color: var(--app-muted);
  font-size: 0.92rem;
}

.skor-ozet-kartlar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.skor-ozet-kart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #fff;
  border: 2px solid #212529;
  border-radius: 0.5rem;
  padding: 0.55rem 0.7rem;
  text-align: center;
}

.skor-ozet-kart span {
  color: var(--app-muted);
  font-size: 0.92rem;
}

.skor-ozet-kart strong {
  margin-top: 0.08rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #c2410c;
  line-height: 1.2;
}

.skor-gonder-form {
  margin: 0;
}

.skor-gonder-kart {
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: #c2410c;
  cursor: pointer;
}

.skor-gonder-kart:hover {
  background: #fff7ed;
}

.tt-liste {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ders-karti {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 2.2rem;
  height: auto;
  padding: 0.35rem 0.6rem 0.45rem;
  border-radius: 0.35rem;
  border: 2px solid rgba(0, 0, 0, 0.18);
  color: #212529;
  overflow: hidden;
  box-sizing: border-box;
}

.ders-karti.durum-geldi,
.ders-karti.durum-gelmedi {
  padding: 0 0.6rem 0 0;
}

.ders-devam-isaret {
  flex: 0 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.durum-geldi .ders-devam-isaret {
  background: #22a06b;
}

.durum-gelmedi .ders-devam-isaret {
  background: #e2483d;
}

.sofor-gelmiyor-rozet {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.08rem 0.38rem;
  border-radius: 0.25rem;
  background: #e2483d;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.2;
}

.ders-karti-govde {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.28rem 0 0.28rem 0.55rem;
}

.tt-kisi-satir {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.ders-ad-satir {
  display: inline-block;
  max-width: 100%;
  min-width: 0;
  flex: 1;
  border-radius: 0.2rem;
  padding: 0.02rem 0.18rem;
  line-height: 1.1;
}

.ders-ad-satir.geldi {
  background: #6ee7a8;
}

.ders-ad-satir.gelmedi {
  background: #fca5a5;
}

.ders-ad {
  flex: 1;
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ders-ad-satir.gelmedi .ders-ad {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #842029;
  color: #842029;
}

.ders-saat {
  flex-shrink: 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.sofor-ram-saat {
  flex-shrink: 0;
  padding: 0.1rem 0.38rem;
  border-radius: 0.25rem;
  background: #ede4fb;
  color: #4b2a8a;
  border: 1px solid #c9b3ef;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.sofor-ram-yer {
  margin-top: 0.22rem;
  line-height: 1;
}

.sofor-ram-yer-kart {
  display: inline-block;
  padding: 0.12rem 0.4rem;
  border-radius: 0.25rem;
  background: #f4effc;
  color: #4b2a8a;
  border: 1px solid #d9c9f3;
  font-size: 0.72rem;
  font-weight: 700;
}

.ders-rama-rozet {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.08rem 0.32rem;
  border-radius: 0.25rem;
  background: #6f42c1;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.ders-grup-rozet {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.08rem 0.32rem;
  border-radius: 0.25rem;
  background: #0d6efd;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.grup-ogrenci-karti {
  border-color: #9ec5fe;
}

.grup-kutu {
  padding: 0.4rem 0.45rem 0.5rem;
  border: 2px solid #0d6efd;
  border-radius: 0.45rem;
  background: #f0f7ff;
}

.grup-kutu-baslik {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.grup-kutu-baslik strong {
  font-size: 0.92rem;
}

.grup-kutu .tt-liste {
  gap: 6px;
}

.skor-karti .skor-sayi {
  flex-shrink: 0;
  min-width: 2rem;
  text-align: right;
  font-size: 1.35rem;
  font-weight: 800;
  color: #c2410c;
  line-height: 1;
}

.skor-unvan {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.sifre-kutu {
  background: #fff;
  border: 1px solid var(--app-border);
  border-radius: 0.5rem;
  padding: 0.9rem 1rem 1.1rem;
}

.sifre-kutu h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.sifre-kutu .login-input {
  width: 100%;
}

.rama-ogrenci-karti {
  background: #f4eefe;
  border-color: #6f42c1;
}

.rama-ogrenci-karti .rama-kutu-durum {
  display: inline-block;
  width: max-content;
  margin: 0.15rem 0 0;
}

.rama-ogrenci-karti .rama-kutu-hoca {
  display: block;
  margin-top: 0.2rem;
}

.rama-kutu {
  margin: 0.85rem 0 0.15rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #6f42c1;
  border-radius: 0.45rem;
  background: #f4eefe;
}

.rama-kutu-baslik {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.rama-kutu-baslik strong {
  font-size: 0.92rem;
}

.rama-kutu-liste {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rama-kutu-liste li {
  padding: 0.45rem 0.6rem;
  border: 1px solid #d9c9f3;
  border-left: 4px solid #6f42c1;
  border-radius: 0.4rem;
  background: #fff;
  font-size: 0.95rem;
  box-shadow: 0 1px 2px rgba(111, 66, 193, 0.12);
}

.rama-kutu-ust,
.rama-kutu-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.rama-kutu-alt {
  margin-top: 0.3rem;
}

.rama-kutu-ad {
  font-weight: 700;
}

.rama-kutu-saat {
  font-weight: 800;
  color: #6f42c1;
}

.rama-kutu-durum {
  padding: 0.06rem 0.32rem;
  border-radius: 0.25rem;
  background: #6f42c1;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.rama-kutu-hoca {
  color: #5c4a7a;
  font-size: 0.82rem;
}

.ders-servis {
  display: block;
  margin-top: 0.12rem;
  color: #5c4a7a;
  font-size: 0.78rem;
  font-weight: 600;
}

.ogrenci-bkds-kartlar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  margin: 0.22rem 0 0;
}

.ogrenci-bkds-kart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid rgba(33, 37, 41, 0.16);
  border-radius: 0.3rem;
  padding: 0.12rem 0.35rem;
  text-align: left;
}

.ogrenci-bkds-kart .egitimci-bkds-etiket {
  display: inline;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}

.ogrenci-bkds-kart strong {
  display: inline;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #212529;
}

.ogrenci-bkds-kart-giris {
  grid-column: 1;
  background: #22a06b;
  border-color: #1a8358;
}

.ogrenci-bkds-kart-giris .egitimci-bkds-etiket,
.ogrenci-bkds-kart-giris strong {
  color: #fff;
}

.ogrenci-bkds-kart-cikis {
  grid-column: 2;
  background: #e2483d;
  border-color: #c43c33;
}

.ogrenci-bkds-kart-cikis .egitimci-bkds-etiket,
.ogrenci-bkds-kart-cikis strong {
  color: #fff;
}

.ders-aciklama {
  margin: 3px 0 0;
  font-size: 0.72rem;
  color: #333;
}

.empty-box,
.muted,
.banner {
  margin: 1rem 0.25rem;
}

.empty-box h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.empty-box p,
.muted {
  color: var(--app-muted);
}

.banner {
  background: #f8d7da;
  border: 1px solid #f5c2c7;
  color: #842029;
  padding: 0.6rem 0.8rem;
  margin: 0.75rem;
  border-radius: 0.35rem;
}

.menu-beta {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f766e;
  background: #ccfbf1;
  border-radius: 0.25rem;
  vertical-align: middle;
}

.foto-cek-sayfa {
  padding: 0.75rem 0.85rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: stretch;
}

.foto-cek-not {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.foto-ac-wrap {
  position: relative;
  z-index: 5;
}

.foto-cek-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.foto-cek-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 0.9rem;
  font: inherit;
  font-size: 1.08rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.foto-cek-input:focus {
  outline: 2px solid #93c5fd;
  outline-offset: 1px;
  border-color: #60a5fa;
}

.foto-cek-sonuc {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: min(50vh, 16rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.35rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.foto-cek-sonuc-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  font: inherit;
  padding: 0.55rem 0.6rem;
  min-height: 3rem;
  border: 0;
  border-radius: 0.55rem;
  background: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.foto-cek-sonuc-btn:hover,
.foto-cek-sonuc-btn:focus {
  background: #e0f2fe;
}

.foto-ac-thumb {
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
}

.foto-ac-thumb-bos {
  display: inline-block;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc);
  border: 1px dashed #cbd5e1;
}

.foto-ac-ad {
  flex: 1 1 auto;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.25;
}

.foto-cek-bos {
  margin: 0.5rem;
  color: var(--app-muted);
  font-size: 0.9rem;
}

.foto-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.5rem 0.25rem;
}

.foto-panel-ust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  text-align: center;
}

.foto-panel-ust strong {
  font-size: 1.05rem;
}

.foto-maske {
  position: relative;
  width: min(42vw, 10.5rem);
  height: min(42vw, 10.5rem);
  border-radius: 50%;
  overflow: hidden;
  background: #0f172a;
  border: 3px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  transition: width 0.2s ease, height 0.2s ease;
}

.foto-maske.foto-maske-canli {
  width: min(88vw, 22rem);
  height: min(88vw, 22rem);
  border-width: 4px;
  border-color: #93c5fd;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
}

.foto-maske.foto-maske-onizleme {
  width: min(88vw, 22rem);
  height: min(88vw, 22rem);
  border-width: 4px;
  border-color: #5eead4;
}

.foto-maske-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: none;
  z-index: 1;
  background: #0f172a;
}

.foto-maske-media.foto-ayna {
  transform: scaleX(-1);
}

.foto-maske-bos {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  background: #1e293b;
}

.foto-maske-bos[hidden],
.foto-maske-media[hidden] {
  display: none !important;
}

.foto-rehber {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 5 4;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
}

.foto-rehber[hidden] {
  display: none !important;
}

.foto-cek-aksiyon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 22rem;
}

.foto-cek-btn {
  flex: 1 1 7.5rem;
  font: inherit;
  font-weight: 700;
  padding: 0.8rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: #0d6efd;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.foto-cek-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.foto-cek-btn-ikincil {
  background: #64748b;
}

.foto-cek-btn-kaydet {
  background: #0f766e;
}

.foto-cek-durum {
  margin: 0.15rem 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: #334155;
  text-align: center;
}

.foto-cek-durum.foto-cek-hata {
  color: #b91c1c;
}

.foto-ust-nav {
  margin: 0 0 0.35rem;
  text-align: right;
}

.foto-ust-link {
  font-size: 0.95rem;
  font-weight: 650;
  color: #0369a1;
  text-decoration: none;
}

.foto-ust-link:hover,
.foto-ust-link:focus {
  text-decoration: underline;
}

.foto-liste-sayfa {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: min(100%, 28rem);
  margin: 0 auto;
  padding: 0.35rem 0.85rem 1.4rem;
}

.foto-liste-guncelle-satir {
  margin: 0;
}

.foto-liste-guncelle {
  width: 100%;
  font: inherit;
  font-weight: 700;
  padding: 0.7rem 0.9rem;
  border: 0;
  border-radius: 0.7rem;
  background: #0369a1;
  color: #fff;
  cursor: pointer;
}

.foto-liste-guncelle:disabled {
  opacity: 0.6;
  cursor: default;
}

.foto-liste {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.foto-liste-satir {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.foto-liste-img {
  flex: 0 0 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
}

.foto-liste-img-bos {
  display: inline-block;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc);
  border: 1px dashed #cbd5e1;
}

.foto-liste-bilgi {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.foto-liste-ad {
  font-size: 0.98rem;
  color: #0f172a;
  line-height: 1.25;
  word-break: break-word;
}

.foto-liste-meta {
  font-size: 0.78rem;
  color: #64748b;
}

.foto-liste-sil {
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 0.55rem;
  background: #fee2e2;
  color: #991b1b;
  cursor: pointer;
}

.foto-liste-sil:disabled {
  opacity: 0.55;
  cursor: default;
}

.foto-liste-aksiyon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.foto-liste-ac {
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 0.55rem;
  background: #e0f2fe;
  color: #075985;
  cursor: pointer;
}

.foto-liste-indir {
  flex: 0 0 auto;
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.45rem 0.7rem;
  border-radius: 0.55rem;
  background: #dcfce7;
  color: #166534;
  text-decoration: none;
}

.foto-liste-onizleme {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.2rem;
  background: rgba(15, 23, 42, 0.88);
}

.foto-liste-onizleme[hidden] {
  display: none !important;
}

.foto-liste-onizleme img {
  max-width: min(96vw, 28rem);
  max-height: min(78vh, 28rem);
  width: auto;
  height: auto;
  border-radius: 0.75rem;
  object-fit: contain;
  background: #0f172a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.foto-liste-onizleme-bilgi {
  margin: 0;
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.foto-liste-onizleme-kapat {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

