:root {
  --gece: #0d1424;
  --gece-2: #161e30;
  --altin: #e4b15a;
  --altin-2: #c8923a;
  --yazi: #1b2433;
  --soluk: #6b7385;
  --cizgi: #e7ebf2;
  --zemin: #f6f1e8;
  --kart: #fffdf9;
  --golge: 0 14px 36px rgba(42, 33, 15, 0.06);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--yazi);
  background: var(--zemin);
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }

.kg:not(:has(.kabuk)) {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(228, 177, 90, 0.22), transparent 60%),
    var(--gece);
}
.kg-giris {
  width: min(460px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--golge);
}
.kg-giris h1, .sayfa-bas h2, .kart h3 { margin: 0 0 6px; }
.kg-giris h1 { color: var(--gece); }
.kg-giris p, .soluk { color: var(--soluk); }
.kg label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: #6d5a3c; margin: 12px 0 4px; }
.kg input, .kg select, .kg textarea {
  width: 100%;
  border: 1px solid #e6dccb;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  color: var(--gece);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.kg input:focus, .kg select:focus, .kg textarea:focus {
  outline: none;
  border-color: var(--altin);
  box-shadow: 0 0 0 3px rgba(228, 177, 90, 0.28);
}
.kg input[type="radio"], .kg input[type="checkbox"] { width: auto; padding: 0; border-radius: 0; box-shadow: none; }
#planForm .secimler { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
#planForm .secim {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--cizgi);
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yazi);
}
#planForm .secim input {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  accent-color: var(--gece);
}
.kg textarea { min-height: 88px; resize: vertical; }
.kg-satir { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.iki-alan { display: flex; gap: 12px; flex-wrap: wrap; }
.iki-alan label { flex: 1; min-width: 180px; }
.arama { display: block; margin: 16px 0; }
.arama input { width: 100%; margin-top: 6px; }
.kg-giris button, .kg-kart button, .kg table button, .sayfa-bas button, .kahraman button, .promo button, .plan button, .ders-satir button {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  background: var(--gece);
  color: #fff;
  cursor: pointer;
}
.kg button.ikincil, .kg .ikincil { background: #eef2f7; color: var(--gece); }
.kg button.tehlike { background: #fff; color: #9f1239; border: 1px solid #fecdd3; }
.kg button:disabled { opacity: 0.55; cursor: default; }
.kg .hata, .kg .bilgi { border-radius: 12px; padding: 10px 12px; margin-top: 12px; }
.kg .hata { color: #9f1239; background: #fff1f2; }
.kg .bilgi { color: #0c3d86; background: #e8f1fc; }
.kg-kart, .kart, .takvim, .tablo-kutu {
  background: var(--kart);
  border: 1px solid var(--cizgi);
  border-radius: 22px;
  box-shadow: var(--golge);
}
.kg-kart { padding: 22px 24px 18px; margin-bottom: 14px; border-color: #f0e2c8; background: radial-gradient(480px 160px at 100% 0%, rgba(228, 177, 90, 0.14), transparent 62%), #fffdf9; }
.kg-kart h3 { color: var(--gece); padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #f3e7d2; }
.form-kart { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; align-items: start; }
.form-kart > h3, .form-kart > .tam, .form-kart > .kg-satir { grid-column: 1 / -1; }
.form-kart .alan p { margin: 6px 0 0; }
.form-kart button[type="submit"], #sifreForm button[type="submit"] { border-radius: 999px; background: var(--altin); color: #2a210f; }
#sifreForm { max-width: 520px; margin-top: 8px; }
.secim-serit { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.secim-serit label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 8px 14px; border: 1px solid #eadfce; border-radius: 999px; background: #fff; color: var(--gece);
}
.secim-serit label:has(input:checked) { border-color: var(--altin); background: #fff8ec; }
.kg table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 22px; overflow: hidden; }
.kg th, .kg td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #eef1f5; vertical-align: top; }
.kg th { color: var(--soluk); font-size: 0.8rem; }
.kod { font-family: ui-monospace, Consolas, monospace; font-weight: 800; letter-spacing: 0.5px; }
.bos { color: var(--soluk); padding: 16px; margin: 0; }

.kabuk { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); background: var(--zemin); }
.menu {
  background: var(--gece);
  color: #d5dbe8;
  padding: 22px 14px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.logo { display: flex; gap: 10px; align-items: center; padding: 0 8px 18px; }
.logo-isaret {
  width: 40px; height: 40px; border-radius: 12px;
  object-fit: cover; display: block; background: #000;
}
.logo strong { display: block; letter-spacing: 1.4px; font-size: 0.95rem; color: #fff; }
.logo small { display: block; letter-spacing: 1.6px; font-size: 0.58rem; color: #9aa3b5; }
.menu nav { display: flex; flex-direction: column; gap: 4px; overflow: auto; }
.menu nav button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  border: 0; background: transparent; color: #c5cedd;
  border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 600;
}
.menu nav button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.menu nav button.secili { background: var(--altin); color: #2a210f; }
.menu nav button .rozet-sayi {
  margin-left: auto; background: #e11d48; color: #fff; border-radius: 99px;
  min-width: 18px; height: 18px; padding: 0 5px; font-size: 0.72rem;
  display: grid; place-items: center;
}

.saha { min-width: 0; background: radial-gradient(880px 240px at 100% 0%, rgba(228, 177, 90, 0.16), transparent 58%), var(--zemin); }
.tepe {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 22px 8px;
}
.damga svg, .kurum-adi svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto;
}
.kurum-adi {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--cizgi); border-radius: 999px;
  padding: 8px 14px; font-weight: 700; box-shadow: var(--golge);
}
.tepe-sag { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.tepe-cikis {
  border: 1px solid var(--cizgi); background: #fff; color: var(--gece);
  border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer;
  box-shadow: var(--golge);
}
.zil {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--cizgi);
  background: #fff; position: relative; cursor: pointer; display: grid; place-items: center;
}
.zil svg { width: 18px; height: 18px; fill: none; stroke: var(--yazi); stroke-width: 1.8; }
.zil i {
  position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%;
  background: #e11d48; font-style: normal; color: transparent;
}
.profil { display: flex; align-items: center; gap: 10px; }
.profil strong { display: block; font-size: 0.92rem; }
.profil span { color: var(--soluk); font-size: 0.78rem; }
.avatar, .avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.avatar { display: grid; place-items: center; background: #efe6d4; color: #7a5b24; font-weight: 800; flex: 0 0 auto; }
button.avatar { border: 0; padding: 0; cursor: pointer; overflow: hidden; font: inherit; }
.icerik { padding: 8px 22px 36px; }

.pano { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.kolon, .sag { display: flex; flex-direction: column; gap: 16px; }
.kahraman {
  position: relative; overflow: hidden; min-height: 228px; border-radius: 24px; color: #fff;
  background: #140e0a;
  display: flex; align-items: center;
  padding: 18px 36% 18px 28%;
  box-shadow: var(--golge);
}
.kahraman-gorsel {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0; pointer-events: none;
}
.kahraman .soz-katman { position: relative; z-index: 1; min-width: 0; }
.kahraman h1 {
  margin: 0 0 8px; font-size: 1.08rem; line-height: 1.32; font-weight: 650;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}
.kahraman .soz-sahip { margin: 0 0 6px; color: #e4b15a; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.kahraman .soz-kurum { margin: 0 0 12px; color: rgba(255,255,255,0.82); font-size: 0.82rem; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.kahraman button { background: #fff; color: var(--gece); border-radius: 999px; }
.sahne { position: relative; min-height: 160px; }
.sahne svg { width: 100%; height: 180px; }
.nota {
  position: absolute; color: var(--altin); font-size: 1.4rem; text-shadow: 0 0 12px rgba(228,177,90,0.8);
}
.nota.a { top: 10px; right: 18px; }
.nota.b { top: 46px; right: 70px; font-size: 1.1rem; }
.nota.c { bottom: 24px; right: 8px; }

.istat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.istat article, .istat button.istat-kart {
  background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--golge); border: 1px solid var(--cizgi);
}
.istat button.istat-kart { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.istat .damga {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px;
}
.istat .damga svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.damga.mor { background: #efe7ff; color: #7c3aed; }
.damga.yesil { background: #e7f8ee; color: #15915c; }
.damga.mavi { background: #e7f0ff; color: #2563eb; }
.damga.turuncu { background: #fff1e6; color: #ea580c; }
.istat b { display: block; font-size: 1.55rem; }
.istat span { color: var(--soluk); font-size: 0.82rem; }

.iki { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 16px; }
.kart { padding: 16px 16px 12px; }
.kart-ust, .liste-ust { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.kart-ust button, .liste-ust button {
  border: 0; background: transparent; color: #2563eb; font-weight: 700; cursor: pointer; padding: 0;
}
.lejant { display: flex; gap: 14px; color: var(--soluk); font-size: 0.8rem; }
.lejant i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.lejant .m { background: #3b82f6; }
.lejant .a { background: var(--altin); }
.grafik-svg { width: 100%; height: 150px; }
.cizgi-mavi, .cizgi-altin { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cizgi-mavi { stroke: #3b82f6; }
.cizgi-altin { stroke: var(--altin-2); }
.aylar { display: flex; justify-content: space-between; color: var(--soluk); font-size: 0.75rem; padding: 0 8px 4px; }

.hizli { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hizli button {
  border: 1px solid var(--cizgi); background: #fbfcfe; border-radius: 16px;
  padding: 14px 10px; cursor: pointer; color: var(--yazi); font-weight: 700;
}
.hizli .damga { margin: 0 auto 8px; }
.hizli span { display: block; font-size: 0.82rem; }

.yakin { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid #f0f2f6; }
button.yakin { width: 100%; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; }
button.yakin:hover { background: #fffaf2; }
.yakin:last-child { border-bottom: 0; }
.yakin .saat { color: #2563eb; font-weight: 800; }
.yakin strong { display: block; }
.kisi { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.kisi .avatar, .kisi .avatar img { width: 28px; height: 28px; font-size: 0.75rem; }
.duyuru { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid #f0f2f6; }
.duyuru:last-child { border-bottom: 0; }
.duyuru span { color: var(--soluk); font-size: 0.78rem; white-space: nowrap; }

.halkalar { display: flex; flex-wrap: wrap; gap: 14px; }
.halka { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--renk) calc(var(--p) * 1%), #e8edf3 0); }
.halka b {
  width: 58px; height: 58px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-size: 0.92rem;
}
.halka-ad { display: block; text-align: center; font-size: 0.75rem; color: var(--soluk); margin-top: 4px; max-width: 84px; }

.cubuklar { display: flex; align-items: flex-end; gap: 14px; height: 120px; padding-top: 8px; }
.cubuklar div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.cubuklar i { display: block; width: 100%; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #f0d48a, #d39a45); min-height: 6px; }
.cubuklar span { color: var(--soluk); font-size: 0.75rem; font-style: normal; }
.tutar { font-size: 1.6rem; font-weight: 800; }
.tutar em { font-style: normal; color: #15915c; font-size: 0.9rem; margin-left: 6px; }

.promo {
  position: relative; overflow: hidden; color: #fff; border-radius: 22px; min-height: 180px;
  background: linear-gradient(160deg, #1a120c, #3a2414 70%);
  padding: 18px;
}
.promo h3 { margin: 0 0 6px; font-size: 1.25rem; }
.promo p { color: rgba(255,255,255,0.78); }
.promo button { background: var(--altin); color: #2a210f; }
.promo .nota { font-size: 2rem; }

.ders-satir { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #eef2f6; }
.ders-satir .saat { color: #1d4ed8; font-weight: 800; }
.kazanim { color: #1d4ed8; font-size: 0.84rem; }
.ogretmen-kart { display: block; }
.ogretmen-ust { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ogretmen-ust button { margin-left: auto; }
.sayfa-bas { margin-bottom: 12px; }

.program-baslik, .hafta-gez, .gorunum { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.program-baslik { justify-content: space-between; margin-bottom: 12px; }
.program-baslik h2 { margin: 0; }
.gorunum { background: #fff; border-radius: 14px; padding: 4px; border: 1px solid var(--cizgi); }
.gorunum button, .hafta-gez button, .liste-ust span button {
  border: 0; background: transparent; border-radius: 10px; padding: 8px 12px; cursor: pointer; font-weight: 700; color: var(--yazi);
}
.gorunum button.secili { background: var(--gece); color: #fff; }
.hafta-gez button { background: #fff; border: 1px solid var(--cizgi); }
.hafta-gez select { width: auto; min-width: 148px; padding: 8px 12px; border-radius: 10px; }
.ay-cubugu { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 12px; }
.ay-cubugu select { width: auto; min-width: 190px; padding: 10px 14px; border-radius: 12px; font-weight: 700; background: #fff; }
.ay-cubugu button { width: 42px; height: 42px; border: 1px solid var(--cizgi); border-radius: 12px; background: #fff; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.ogrenci-suz { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tatil-kutu {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(228, 177, 90, 0.18), transparent 70%),
    #fff;
  border: 1px solid #f0dfc0;
  box-shadow: var(--golge);
}
.tatil-baslik h3 { margin: 0 0 4px; color: var(--gece); }
.tatil-baslik p { margin: 0; color: var(--soluk); max-width: 68ch; }
.tatil-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 16px; }
.tatil-kart {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 168px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--cizgi);
}
.tatil-kart.kapali { background: linear-gradient(180deg, #fffaf2, #fff); border-color: #f0dfc0; }
.tatil-kart .rozet { font-size: 0.75rem; font-weight: 700; border-radius: 999px; padding: 3px 8px; }
.tatil-kart.kapali .rozet { color: #8a6230; background: #f8ead2; }
.tatil-kart.acik .rozet { color: #166534; background: #e7f6ec; }
.tatil-kart strong { color: var(--gece); }
.tatil-kart em { color: var(--soluk); font-style: normal; font-size: 0.82rem; }
.tatil-kart button { margin-top: auto; border: 0; border-radius: 12px; padding: 8px 12px; font-weight: 700; cursor: pointer; background: var(--gece); color: #fff; }
.tatil-kart button.ikincil { background: #eef2f7; color: var(--gece); }
.tatil-kart button.tehlike { background: #fff; color: #9f1239; border: 1px solid #fecdd3; }
.tatil-ekle { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 16px; }
.tatil-ekle label { margin: 0; }
.tatil-ekle button { border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 700; background: var(--gece); color: #fff; cursor: pointer; }
.tatil-telafi {
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(480px 160px at 100% 0%, rgba(228, 177, 90, 0.18), transparent 68%),
    #fff;
  border: 1px solid #f0dfc0;
  box-shadow: var(--golge);
}
.tatil-telafi h3 { margin: 0; color: var(--gece); }
.tatil-satir {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 160px 120px auto;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid #efe6d4;
  border-left: 4px solid var(--altin);
  border-radius: 16px;
  padding: 12px 14px;
}
.tatil-satir strong, .tatil-satir em { display: block; }
.tatil-satir strong { color: var(--gece); }
.tatil-satir em { color: var(--soluk); font-style: normal; font-size: 0.82rem; }
.tatil-satir input { margin: 0; border-color: #efe6d4; border-radius: 12px; }
.tatil-satir button { border: 0; border-radius: 999px; padding: 10px 14px; font-weight: 700; background: #161e30; color: #fff; cursor: pointer; }
.plan-kart {
  margin-bottom: 14px;
  padding: 18px;
  border-color: #f0dfc0;
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(228, 177, 90, 0.16), transparent 62%),
    #fff;
}
.plan-kart h3 { color: var(--gece); }
#planForm .secim:has(input:checked) {
  background: #f8ead2;
  color: #7a5420;
  border-color: #e4b15a;
}
#planForm .secim:has(input:checked) .soluk { color: #8a6230; }
.plan-kart button[type="submit"] {
  border-radius: 999px;
  background: #fff;
  color: #161e30;
  border: 1px solid #161e30;
}
.program-ara { margin-bottom: 14px; }
.program-ara h3 { margin: 0 0 6px; color: #161e30; }
.program-ara .arama { margin: 0; }
.program-ara .arama input { margin-bottom: 0; }
.plan-liste { margin-bottom: 14px; padding: 18px; }
.plan-liste h3 { margin: 0 0 6px; color: #161e30; }
.plan-satir {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #f3ead8;
}
.plan-satir strong, .plan-satir span { display: block; }
.plan-islem { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.plan-satir button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  background: #161e30;
  color: #fff;
  cursor: pointer;
}
.plan-satir button.tehlike { background: #9f1239; color: #fff; border: 0; }
.plan-satir button.ikincil { background: #e8eef5; color: #161e30; }
.finans-akisi, .mesaj-akisi { display: flex; flex-direction: column; gap: 16px; }
.finans-akisi > .kg-satir button { border-radius: 999px; }
.finans-akisi .liste-kart h3 { margin: 0 0 4px; color: var(--gece); }
#telafiGunluk .liste-ust h3 { margin: 0; }
#telafiGunluk .hafta-gez input[type="date"] { width: auto; padding: 8px 12px; }
.finans-akisi .liste-kart > p, .finans-akisi table, .mesaj-akisi .mesaj-form { margin-top: 0; }
.finans-akisi table { min-width: 720px; border: 0; box-shadow: none; background: transparent; }
.finans-akisi th {
  background: #161e30;
  color: #f6ead4;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 0;
  white-space: nowrap;
}
.finans-akisi th:first-child { border-radius: 14px 0 0 0; }
.finans-akisi th:last-child { border-radius: 0 14px 0 0; }
.finans-akisi td { background: #fff; }
.finans-akisi tbody tr:hover td { background: #fffaf3; }
.finans-akisi table button { padding: 7px 12px; border-radius: 999px; font-size: 0.78rem; }
.tutar-hucre { font-weight: 800; color: var(--gece); white-space: nowrap; }
.durum-rozet {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}
.durum-bekliyor { background: #f8ead2; color: #7a5420; }
.durum-odendi { background: #e7f6ec; color: #166534; }
.durum-eksik { background: #fff1f2; color: #9f1239; }
.mesaj-form, .mesaj-akisi .mesaj-kart {
  border-color: #f0dfc0;
  background:
    radial-gradient(420px 140px at 100% 0%, rgba(228, 177, 90, 0.16), transparent 70%),
    #fff;
}
.mesaj-form h3, .mesaj-kart strong { color: var(--gece); }
.mesaj-form button[type="submit"] { border-radius: 999px; background: #161e30; }
.mesaj-akisi .mesaj-kart { border-left: 4px solid var(--altin); }
.hedef-rozet {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f8ead2;
  color: #7a5420;
  font-size: 0.75rem;
  font-weight: 800;
}
.mesaj-liste { display: flex; flex-direction: column; gap: 10px; }
.mesaj-akisi #mesajHepsiniSil { border-radius: 999px; }
.pano .kart, .pano .istat article, .pano .istat button.istat-kart {
  border-color: #f0dfc0;
  background:
    radial-gradient(280px 120px at 100% 0%, rgba(228, 177, 90, 0.14), transparent 70%),
    #fff;
}
.pano .istat b { color: #161e30; }
.pano .istat span { color: #8a6230; font-weight: 700; }
.pano .kart-ust strong, .pano .liste-ust strong { color: #161e30; }
.pano .kahraman button { background: var(--altin); color: #2a210f; }
.pano .hizli button {
  background: #fffdf9;
  border-color: #efe6d4;
}
.pano .hizli button:hover { border-color: #e4b15a; background: #fffaf2; }
.pano .yakin { align-items: center; }
.pano .yakin .saat {
  display: grid;
  place-items: center;
  min-height: 36px;
  border-radius: 10px;
  background: #f8ead2;
  color: #7a5420;
  font-size: 0.78rem;
}
.pano .halka b { box-shadow: inset 0 0 0 1px #f3ead8; }
.pano .promo { border: 1px solid rgba(228, 177, 90, 0.45); }
.gun-dokum { margin-bottom: 16px; }
.gun-dokum h3 { margin: 16px 0 8px; color: #161e30; font-size: 1rem; }
.dokum-arac { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dokum-arac input { width: auto; margin: 0; }
.oran-satir { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 4px; }
.oran-satir div { min-width: 120px; padding: 10px 12px; border-radius: 14px; background: #fffaf2; border: 1px solid #f0dfc0; }
.oran-satir b { display: block; font-size: 1.3rem; color: #161e30; }
.oran-satir span { color: #8a6230; font-size: 0.78rem; font-weight: 700; }
.tablo-kaydir { overflow-x: auto; }
.gun-dokum table { width: 100%; border-collapse: collapse; }
.gun-dokum th, .gun-dokum td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #f3ead8; font-size: 0.9rem; }
.gun-dokum th { color: #8a6230; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.kg .yoklama-sec { display: flex; flex-wrap: wrap; gap: 4px; }
.kg .yoklama-dugme {
  border: 1px solid #eadcc4;
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff;
  color: #5c4630;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}
.kg .yoklama-dugme.secili[data-yoklama="geldi"] { background: #e7f6ec; color: #166534; border-color: #b7e4c7; }
.kg .yoklama-dugme.secili[data-yoklama="gelmedi"] { background: #fff1f2; color: #9f1239; border-color: #fecdd3; }
.kg .yoklama-dugme.secili[data-yoklama="izinli"] { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
.kg .ogretmen-yok {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
  color: #7a5420;
  font-size: 0.75rem;
  font-weight: 700;
}
.kg .ogretmen-yok input { width: auto; margin: 0; }
.ders-perde {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
  padding: 28px 16px;
  background: rgba(13, 20, 36, 0.46);
}
.ders-panel {
  width: min(640px, 100%);
  margin: auto;
  padding: 18px 18px 8px;
  border-radius: 22px;
  background: #fffdf9;
  box-shadow: 0 18px 48px rgba(13, 20, 36, 0.2);
}
.ders-panel .liste-ust { align-items: flex-start; }
.ders-panel .liste-ust p { margin: 4px 0 0; }
.izin-telafi-kart { margin-top: 14px; padding-top: 12px; border-top: 1px solid #efe6d4; }
.izin-telafi-kart h3, .ders-panel form h3 { margin: 0 0 6px; }
.ders-panel form { margin-top: 14px; padding-top: 12px; border-top: 1px solid #efe6d4; }
.izin-telafi { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
.izin-telafi input { width: auto; flex: 1 1 140px; margin: 0; }
.izin-telafi button { border: 0; border-radius: 999px; padding: 10px 14px; background: #161e30; color: #fff; font-weight: 800; cursor: pointer; }
.telafi-bilgi { color: #166534; font-weight: 700; }
.yoklama-kutu { margin-top: 12px; }
.yoklama-kutu strong { color: #161e30; }
.yoklama-satir { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.yoklama-satir > span { min-width: 140px; font-weight: 700; color: #161e30; }
.kisi-liste { display: flex; flex-direction: column; gap: 8px; }
.kisi-liste article { border: 1px solid #efe6d4; border-left: 4px solid var(--altin); border-radius: 14px; padding: 10px 12px; background: #fffaf2; }
.kisi-liste strong { display: block; color: #161e30; }
.tatil-telafi .arama { margin: 0; font-weight: 700; color: #161e30; }
.tatil-telafi .arama input { margin: 6px 0 0; }
.egitmen-akisi { display: flex; flex-direction: column; gap: 16px; }
.egitmen-akisi button { border-radius: 999px; }
.egitmen-akisi .egitmen-form, .egitmen-akisi .ogretmen-kart {
  border-color: #f0dfc0;
  background:
    radial-gradient(480px 160px at 100% 0%, rgba(228, 177, 90, 0.16), transparent 68%),
    #fff;
}
.egitmen-akisi .ogretmen-kart { border-left: 4px solid var(--altin); }
.egitmen-akisi h3, .egitmen-akisi .ogretmen-ust strong { color: #161e30; }
.egitmen-akisi .kod {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 8px;
  background: #f7f4ee;
}
.egitmen-akisi .ay-takvim {
  border-color: #efe6d4;
  background: #fffdf9;
}
.egitmen-akisi .ay-bas {
  color: #8a6230;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.egitmen-akisi .ay-gun {
  background: #fff;
  border: 1px solid #f3eee4;
}
.egitmen-akisi .ay-gun.bugun { outline-color: var(--altin); }
.tatil-telafi-liste { max-height: 420px; overflow: auto; display: flex; flex-direction: column; gap: 8px; }
.arama input { width: 100%; border: 1px solid var(--cizgi); border-radius: 14px; padding: 12px 14px; margin: 4px 0 14px; background: #fff; }
.yumusak article:nth-child(1) { background: #eef4ff; }
.yumusak article:nth-child(2) { background: #fff6e8; }
.yumusak article:nth-child(3) { background: #f4efff; }
.yumusak article:nth-child(4) { background: #e9f9ef; }
.program-orta { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; align-items: start; }
.izgara {
  display: grid;
  grid-template-columns: 72px repeat(7, minmax(96px, 1fr));
  background: #fff; border: 1px solid var(--cizgi); border-radius: 18px; overflow: auto;
}
.salon-izgara { grid-template-columns: 64px repeat(var(--k), minmax(110px, 1fr)); }
.gun-bas, .saat-etiket { padding: 8px; font-size: 0.75rem; color: var(--soluk); }
.gun-bas strong, .saat-etiket { display: block; color: var(--yazi); }
.gun-bas.bugun { background: #f4f0ff; border-radius: 10px; }
button.gun-bas { border: 0; background: transparent; font: inherit; text-align: inherit; cursor: pointer; width: 100%; }
button.gun-bas:hover { background: #fff8ec; }
.gun-tek {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--cizgi);
  border-radius: 18px;
  overflow: auto;
}
.gun-kartlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.gun-tek .blok { font-size: 0.84rem; padding: 8px 10px; }
.hucre { min-height: 48px; border-top: 1px solid #f2f4f8; padding: 3px; }
.pazar-bos .hucre:nth-child(8n) { background: repeating-linear-gradient(-45deg, #fbfbfc, #fbfbfc 6px, #f3f4f6 6px, #f3f4f6 12px); }
.blok { border-radius: 8px; padding: 4px 6px; margin-bottom: 3px; font-size: 0.72rem; line-height: 1.25; cursor: pointer; }
.blok b, .blok span { display: block; font-weight: 700; }
.blok span { font-weight: 500; opacity: 0.85; }
.program-yan { display: flex; flex-direction: column; gap: 12px; }
.bugun-satir, .ogretmen-satir, .yakin-kisa { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid #f2f4f8; }
.bugun-satir i { width: 8px; height: 28px; border-radius: 99px; display: block; }
.bugun-satir b, .yakin-kisa b { display: block; }
.serit, .yeni {
  width: 100%; border: 0; border-radius: 12px; padding: 10px 14px; font-weight: 800; cursor: pointer;
  background: var(--altin); color: #2a210f;
}
.yeni { width: auto; background: #5b4bdb; color: #fff; }
.program-alt { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.salon-alt { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.7fr); gap: 14px; margin-top: 14px; align-items: start; }
.yakin-kisa em { margin-left: auto; font-style: normal; color: #1d4ed8; font-size: 0.78rem; font-weight: 700; }
.afis {
  min-height: 180px; border-radius: 22px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end; padding: 18px; color: #fff;
}
.afis div { background: rgba(12, 16, 28, 0.45); border-radius: 14px; padding: 12px 14px; }
.afis strong, .afis span { display: block; }
.salon-govde { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 14px; align-items: start; }
.salon-govde > * { min-width: 0; }
.salon-takvim { overflow-x: auto; }
.salon-kartlar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.salon-kart {
  position: relative; text-align: left; border: 1px solid var(--cizgi); background: #fff; border-radius: 18px;
  overflow: hidden; padding: 0 0 10px; cursor: pointer; align-self: start; height: auto;
}
.salon-kart img, .salon-detay img { width: 100%; height: 120px; object-fit: cover; display: block; }
.salon-kart strong, .salon-kart em { display: block; padding: 0 10px; }
.salon-kart em { color: var(--soluk); font-style: normal; font-size: 0.78rem; }
.salon-kart.secili { outline: 2px solid #5b4bdb; }
.durum {
  position: absolute; top: 8px; right: 8px; background: #dcfce7; color: #166534;
  border-radius: 99px; padding: 3px 8px; font-size: 0.72rem; font-weight: 800;
}
.durum.var { background: #ffedd5; color: #9a3412; }
.salon-detay { display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); gap: 14px; padding: 12px; align-items: start; }
.salon-detay > * { min-width: 0; }
.salon-detay img { width: 100%; height: 160px; object-fit: cover; }
.salon-detay .kg-kart { margin: 12px 0 0; }
.salon-detay .durum { position: static; margin-left: 8px; }
.liste-tam { margin-top: 0; }
.ay-takvim {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  background: #fff;
  border: 1px solid var(--cizgi);
  border-radius: 18px;
  padding: 12px;
}
.ay-bas { text-align: center; font-size: 0.72rem; color: var(--soluk); font-weight: 700; padding: 4px 0; }
.ay-gun {
  min-height: 84px;
  background: #f7f8fb;
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.ay-gun.bos { background: transparent; }
.ay-gun.bugun { outline: 2px solid #c4b5fd; }
.ay-gun.acik {
  overflow: visible;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 20, 36, 0.14);
  position: relative;
  z-index: 2;
}
.ay-gun strong { font-size: 0.78rem; }
.ay-gun-dersler { display: flex; flex-direction: column; gap: 3px; min-height: 0; }
.ay-gun.acik .ay-gun-dersler { max-height: 360px; overflow: auto; }
.ay-fazla {
  align-self: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d4ed8;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}
.ay-fazla:hover { text-decoration: underline; }
.ay-ders {
  display: block;
  border-radius: 6px;
  padding: 2px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  cursor: pointer;
}
.ay-gun.acik .ay-ders { white-space: normal; }
.ay-ders.ay-tatil { white-space: normal; background: #eef2f7; color: #475569; cursor: default; }
.mesaj-bas { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mesaj-ust { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mesaj-kart p { margin: 10px 0 0; white-space: pre-wrap; line-height: 1.45; }
.geri-cubuk { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.geri-cubuk button { background: var(--gece); color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; font-weight: 700; cursor: pointer; }

.ogrenci-akisi { display: flex; flex-direction: column; gap: 16px; }
.ogrenci-akisi .ogrenci-suz { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ogrenci-akisi .ogrenci-suz label {
  margin: 0;
  padding: 10px 12px 12px;
  background: #fff;
  border: 1px solid #efe6d4;
  border-radius: 16px;
  box-shadow: var(--golge);
}
.ogrenci-akisi .arama input {
  margin: 0;
  border-color: #efe6d4;
  border-radius: 16px;
  box-shadow: var(--golge);
}
.liste-kart, .yil-kart {
  padding: 16px;
  border-radius: 22px;
  background:
    radial-gradient(480px 160px at 100% 0%, rgba(228, 177, 90, 0.18), transparent 68%),
    #fff;
  border: 1px solid #f0dfc0;
  box-shadow: var(--golge);
  overflow: auto;
}
.liste-kart .sayac, .yil-kart h3 { margin: 0 0 4px; color: var(--gece); }
.liste-kart .sayac {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6230;
}
.yil-kart p { margin: 0 0 12px; }
.ogrenci-akisi table { min-width: 920px; border: 0; box-shadow: none; background: transparent; }
.ogrenci-akisi th {
  background: #161e30;
  color: #f6ead4;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 0;
  white-space: nowrap;
}
.ogrenci-akisi th:first-child { border-radius: 14px 0 0 0; }
.ogrenci-akisi th:last-child { border-radius: 0 14px 0 0; }
.ogrenci-akisi td { background: #fff; }
.ogrenci-akisi tbody tr:hover td { background: #fffaf3; }
.kisi-hucre { display: flex; align-items: center; gap: 10px; }
.kisi-hucre strong { color: var(--gece); }
.harf {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  background: linear-gradient(160deg, #1a2236, #3a2c18);
  color: var(--altin);
  font-weight: 800;
  font-size: 1.25rem;
}
button.harf {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  flex: 0 0 64px;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  border-radius: 50%;
  overflow: hidden;
}
.harf img {
  width: 64px;
  height: 64px;
  min-width: 0;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.sinif-rozet, .saat-rozet {
  display: inline-flex;
  margin: 2px 4px 2px 0;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.sinif-rozet { background: #eef2f7; color: var(--gece); }
.saat-rozet { background: #f8ead2; color: #7a5420; }
.saatler { min-width: 148px; }
.ogrenci-akisi .kod {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 8px;
  background: #f7f4ee;
}
.ogrenci-akisi .ucret { font-weight: 800; color: var(--gece); white-space: nowrap; }
.satir-islem { white-space: nowrap; }
.ogrenci-akisi table button { padding: 7px 11px; border-radius: 999px; font-size: 0.78rem; }
.yil-kart th, .yil-kart td { text-align: center; }
.yil-kart td:first-child, .yil-kart th:first-child,
.yil-kart td:nth-child(2), .yil-kart th:nth-child(2) { text-align: left; }
.yil-kart td.dolu { background: #fff4e2; color: #7a5420; font-weight: 800; }
.yil-kart td.yil-toplam { background: #161e30; color: var(--altin); }
.yil-kart tbody tr:hover td.dolu { background: #f8ead2; }
.yil-kart tbody tr:hover td.yil-toplam { background: #161e30; }
.ogrenci-takvim {
  padding: 18px;
  border-color: #f0dfc0;
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(228, 177, 90, 0.16), transparent 62%),
    #fff;
}
.ogrenci-takvim .takvim-govde { margin-top: 12px; }
.ogrenci-takvim select { max-width: 320px; }
.ders-dokum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.ders-dokum-sutun {
  border: 1px solid #f0dfc0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf3 0%, #fff 72px);
  padding: 12px 14px 8px;
  min-width: 0;
}
.ders-dokum-sutun .liste-ust { margin-bottom: 8px; }
.ders-dokum-sutun .liste-ust strong { color: var(--gece); }
.ders-dokum-sutun .liste-ust span { color: #8a6230; font-weight: 800; font-size: 0.82rem; }
.ders-dokum-liste { max-height: 440px; overflow: auto; }
.ders-dokum-satir {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  margin: 0 0 8px;
  padding: 8px;
  border: 1px solid #f3e7d2;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.ders-dokum-satir:hover { border-color: #e4b15a; background: #fffaf3; }
.ders-dokum-satir.donuk { background: #f7f4ee; }
.ders-dokum-gun {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  background: #161e30;
  color: #f6ead4;
}
.ders-dokum-gun b { font-size: 1.05rem; line-height: 1; }
.ders-dokum-gun small { color: var(--altin); font-weight: 800; letter-spacing: 0.04em; }
.ders-dokum-metin { min-width: 0; display: flex; flex-direction: column; }
.ders-dokum-metin strong, .ders-dokum-metin em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ders-dokum-metin strong { color: var(--gece); }
.ders-dokum-metin em { color: #8a6230; font-style: normal; font-size: 0.82rem; }
.ders-dokum-ogretmen { margin-top: 18px; padding: 18px; }
.dokum-daha {
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #161e30;
  color: #f6ead4;
  font-weight: 800;
  cursor: pointer;
}
.ders-dokum-ogretmen select { max-width: 320px; margin-bottom: 12px; }
.ders-dokum-ogretmen .ders-dokum-sutun { margin-top: 8px; }
@media (max-width: 900px) {
  .ders-dokum { grid-template-columns: 1fr; }
}
.ogrenci-akisi .izgara {
  border-color: #efe6d4;
  background: #fffdf9;
}
.ogrenci-akisi .gun-bas {
  background: #161e30;
  color: #f6ead4;
  padding: 10px 8px;
}
.ogrenci-akisi .gun-bas strong { color: #fff; }
.ogrenci-akisi .gun-bas span { color: var(--altin); }
.ogrenci-akisi .gun-bas.bugun {
  background: #2c2418;
  box-shadow: inset 0 -3px 0 var(--altin);
}
.ogrenci-akisi .saat-etiket { background: #faf7f2; font-weight: 800; color: #8a6230; }
.ogrenci-akisi .hucre { min-height: 52px; background: #fff; }
.ogrenci-akisi .blok {
  border-radius: 10px;
  padding: 7px 8px;
  font-size: 0.78rem;
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.08);
}
.ogrenci-akisi .ay-takvim { border-color: #efe6d4; background: #fffdf9; }
.ogrenci-akisi .ay-gun { background: #fff; border: 1px solid #f3eee4; }
.ogrenci-akisi .ay-gun.bugun { outline-color: var(--altin); }

@media (max-width: 1100px) {
  .kabuk { grid-template-columns: 1fr; }
  .menu { position: relative; height: auto; }
  .menu nav { flex-direction: row; flex-wrap: wrap; }
  .pano, .iki, .istat, .program-orta, .program-alt, .salon-govde, .salon-alt, .salon-detay { grid-template-columns: 1fr; }
  .kahraman { padding: 20px 16px; }
  .salon-kartlar { grid-template-columns: 1fr 1fr; }
  .ogrenci-suz, .ogrenci-akisi .ogrenci-suz, .tatil-ekle, .tatil-satir, .form-kart { grid-template-columns: 1fr; }
}
.foto-olcu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 20, 28, 0.55);
}
.foto-kutu {
  width: min(360px, 100%);
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.2);
}
.foto-kutu h3 { margin: 0 0 6px; }
.foto-cerceve {
  width: 280px;
  height: 280px;
  max-width: 100%;
  margin: 14px auto;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: #161e30;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #d7c4a1;
}
.foto-cerceve img {
  position: absolute;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}
.foto-kutu label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 700; }
.foto-kutu input[type="range"] { width: 100%; }
.foto-kutu .kg-satir { margin-top: 14px; }
.foto-buyuk {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: rgba(16, 20, 28, 0.82);
}
.foto-buyuk img {
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.kasa-sahne {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 28px;
  color: #f7f1e6;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(228, 177, 90, 0.34), transparent 58%),
    linear-gradient(148deg, #12192b 0%, #1c2742 48%, #2c2218 100%);
  box-shadow: 0 24px 50px rgba(18, 14, 8, 0.18);
}
.kasa-sahne h3 { margin: 0; font-size: 1.85rem; letter-spacing: -0.04em; font-weight: 700; }
.kasa-kicker {
  margin: 0 0 4px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #e4b15a;
}
.kasa-ust { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; }
.kasa-gez { display: flex; gap: 8px; }
.kasa-gez button, .kasa-ay {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #f7f1e6;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.kasa-gez button:hover, .kasa-ay:hover { background: rgba(255, 255, 255, 0.12); }
.kasa-rakamlar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 8px; }
.kasa-rakamlar article {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kasa-rakamlar span { display: block; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: #d9d0c2; }
.kasa-rakamlar strong { display: block; margin-top: 6px; font-size: 1.45rem; letter-spacing: -0.03em; }
.kasa-rakamlar em { display: block; margin-top: 6px; font-style: normal; font-size: 0.75rem; color: #cbbfaa; }
.kasa-rakamlar .net strong { color: #f0d7a2; }
.kasa-rakamlar .eksi strong { color: #ffc2b6; }
.kasa-cizgi {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.kasa-ay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 8px 4px 10px;
  border-radius: 16px;
}
.kasa-ay.secili { background: rgba(228, 177, 90, 0.16); border-color: rgba(228, 177, 90, 0.45); }
.kasa-cubuklar { display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 112px; }
.kasa-cubuklar i { display: block; width: 11px; border-radius: 99px 99px 4px 4px; }
.kasa-cubuklar i.gelir, .kasa-lejant i.gelir { background: linear-gradient(#fff1d2, #e4b15a); }
.kasa-cubuklar i.gider, .kasa-lejant i.gider { background: linear-gradient(#f4c7ba, #8d3a32); }
.kasa-ay span { font-size: 0.75rem; color: #efe6d8; }
.kasa-ay em { font-style: normal; font-size: 0.68rem; color: #e4b15a; }
.kasa-lejant { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 0; font-size: 0.75rem; color: #e6dccb; }
.kasa-lejant i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 99px; vertical-align: middle; }
.kasa-form {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.8fr 0.9fr 0.8fr;
  gap: 10px 12px;
  align-items: end;
  margin-top: 16px;
  padding: 16px;
  border-radius: 22px;
  background: #fffdf9;
  color: var(--yazi);
}
.kasa-form label { color: #6d5a3c; }
.kasa-dis { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.kasa-dis .kasa-bos { margin: 4px 0 12px; }
.kasa-islem input {
  width: 88px;
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  color: #1b2433;
}
.kasa-tekrar {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8f1e4;
  font-weight: 500;
}
.kasa-tekrar input { width: 18px; height: 18px; margin-top: 2px; accent-color: #1c2742; }
.kasa-tekrar strong { display: block; }
.kasa-tekrar small { display: block; margin-top: 2px; color: var(--soluk); font-size: 0.78rem; line-height: 1.35; }
.kasa-gonder { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; }
.kasa-gonder button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: #1c2742;
  color: #f7f1e6;
  cursor: pointer;
}
.kasa-liste { display: grid; gap: 8px; margin-top: 14px; }
.kasa-satir {
  display: grid;
  grid-template-columns: 14px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.kasa-satir.bekler { border-style: dashed; }
.kasa-satir strong { display: block; }
.kasa-satir span { color: #d9d0c2; font-size: 0.78rem; }
.kasa-satir b { font-size: 1.05rem; }
.kasa-nokta { width: 10px; height: 10px; border-radius: 99px; background: #e4b15a; }
.kasa-nokta.elektrik, .kasa-nokta.su, .kasa-nokta.dogalgaz, .kasa-nokta.telefon, .kasa-nokta.internet { background: #8ec5ff; }
.kasa-nokta.personel { background: #f0d7a2; }
.kasa-nokta.kira, .kasa-nokta.aidat { background: #e7a08a; }
.kasa-islem { display: flex; gap: 6px; }
.kasa-islem button {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #f7f1e6;
  cursor: pointer;
}
.kasa-bos { margin: 4px 0 0; color: #d9d0c2; }
.blok.donduruldu, .ay-ders.donduruldu {
  opacity: 0.78;
  outline: 1px dashed currentColor;
  outline-offset: -2px;
}
@media (max-width: 900px) {
  .kasa-rakamlar, .kasa-form, .kasa-cizgi { grid-template-columns: 1fr 1fr; }
  .kasa-ust { flex-direction: column; align-items: flex-start; }
  .kasa-cizgi { grid-template-columns: repeat(3, 1fr); }
  .kasa-satir { grid-template-columns: 14px 1fr; }
}
