:root {
  --mor: #9e0b5b;
  --pembe: #d81b5b;
  --yesil: #8db63f;
  --turuncu: #f7941d;
  --turkuaz: #00a9bd;
  --kirmizi: #e5484d;

  --zemin: #f7f5f8;
  --kart: #ffffff;
  --cizgi: #ece8ef;
  --metin: #1f1a24;
  --soluk: #6f6878;
  --golge: 0 1px 2px rgba(31, 26, 36, .04), 0 4px 16px rgba(31, 26, 36, .05);
  --yaricap: 14px;
}

* { box-sizing: border-box; }
/* display veren sınıflar (ör. .qr-kutu, .btn-grup) [hidden] özniteliğini ezmesin */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--metin);
  background: var(--zemin);
}
a { color: var(--mor); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 16px; margin: 0 0 14px; }
h3 { font-size: 14px; margin: 0 0 10px; color: var(--soluk); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.soluk { color: var(--soluk); }
.kucuk { font-size: 12.5px; }
.sag { text-align: right; }
.nowrap { white-space: nowrap; }

/* ── Üst çubuk ── */
.ust {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--cizgi);
}
.ust-ic {
  max-width: 1200px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 24px;
}
.logo img { height: 40px; display: block; }
.menu { display: flex; gap: 4px; flex: 1; }
.menu a {
  padding: 8px 14px; border-radius: 10px; color: var(--soluk); font-weight: 500;
  white-space: nowrap; flex: 0 0 auto; /* dar ekranda sekme metni/durum noktası bölünmesin, menü yana kaysın */
}
.menu a:hover { background: var(--zemin); color: var(--metin); text-decoration: none; }
.menu a.aktif { background: #fbeef4; color: var(--mor); }
.kim { display: flex; align-items: center; gap: 10px; color: var(--soluk); font-size: 13px; }
.kim form { margin: 0; }

.sayfa { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }
.baslik-satir { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }

/* ── Kartlar ── */
.kart {
  background: var(--kart); border: 1px solid var(--cizgi); border-radius: var(--yaricap);
  box-shadow: var(--golge); padding: 20px;
}
.kart + .kart { margin-top: 16px; }
.izgara { display: grid; gap: 16px; }
.izgara > .kart { margin-top: 0; }
.izgara > * { min-width: 0; }
.detay-izgara > * { min-width: 0; }
.izgara-4 { grid-template-columns: repeat(4, 1fr); }
.izgara-2 { grid-template-columns: 1fr 1fr; }
.detay-izgara { display: grid; grid-template-columns: 360px 1fr; gap: 16px; align-items: start; }

.sayac { padding: 16px 18px; }
.sayac .deger { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.sayac .etiket { color: var(--soluk); font-size: 13px; }
.sayac.vurgu-mor { border-top: 3px solid var(--mor); }
.sayac.vurgu-turuncu { border-top: 3px solid var(--turuncu); }
.sayac.vurgu-yesil { border-top: 3px solid var(--yesil); }
.sayac.vurgu-turkuaz { border-top: 3px solid var(--turkuaz); }
.sayac.vurgu-kirmizi { border-top: 3px solid var(--kirmizi); }

/* ── Butonlar & formlar ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 10px; border: 1px solid var(--cizgi);
  background: #fff; color: var(--metin); font: inherit; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s, transform .05s;
  white-space: nowrap;
}
.btn:hover { background: var(--zemin); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-ana { background: var(--mor); border-color: var(--mor); color: #fff; }
.btn-ana:hover { background: #860a4d; }
.btn-yesil { background: var(--yesil); border-color: var(--yesil); color: #fff; }
.btn-yesil:hover { background: #7aa032; }
.btn-tehlike { color: var(--kirmizi); }
.btn-kucuk { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-grup { display: flex; gap: 8px; flex-wrap: wrap; }

label { display: block; font-size: 13px; font-weight: 600; color: var(--soluk); margin-bottom: 5px; }
input[type=text], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; padding: 9px 12px; border: 1px solid #ddd6e2; border-radius: 10px;
  font: inherit; color: var(--metin); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #f3c6da; border-color: var(--pembe); }
textarea { resize: vertical; min-height: 84px; }
.alan { margin-bottom: 14px; }
.alan-satir { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alan-satir-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.ipucu { font-size: 12.5px; color: var(--soluk); margin-top: 4px; }
.onay { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--metin); font-size: 14px; }
.onay input { width: 18px; height: 18px; accent-color: var(--mor); }

/* ── Uyarılar ── */
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.flash.tamam { background: #eef7e2; color: #3d5a12; border: 1px solid #d6ebbb; }
.flash.hata { background: #fdecec; color: #8c1d20; border: 1px solid #f7caca; }
.bilgi-kutu { padding: 12px 14px; border-radius: 12px; background: #eaf8fa; color: #0b5560; border: 1px solid #c4ebf0; font-size: 13.5px; }
.uyari-kutu { padding: 12px 14px; border-radius: 12px; background: #fff5e8; color: #7a4a06; border: 1px solid #fde0b8; font-size: 13.5px; }

/* ── Rozetler ── */
.rozet { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.d-yeni { background: #e3f6f8; color: #00808f; }
.d-araniyor { background: #fff1e0; color: #b8650a; }
.d-gorusuldu { background: #e8eefc; color: #3553b0; }
.d-ziyaret { background: #f3e8fb; color: #7b2fa8; }
.d-kayit { background: #eaf5dc; color: #4e7419; }
.d-olumsuz { background: #efedf1; color: #6f6878; }
.d-ulasilamadi { background: #fdeaea; color: #b3262a; }
.o-odendi { background: #eaf5dc; color: #4e7419; }
.o-gecikti { background: #fdeaea; color: #b3262a; }
.o-kismi { background: #fff1e0; color: #b8650a; }
.o-bekliyor { background: #efedf1; color: #6f6878; }

/* ── Filtre çipleri ── */
.cipler { display: flex; gap: 6px; flex-wrap: wrap; }
.cip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--cizgi); background: #fff; color: var(--soluk); font-size: 13px; font-weight: 500; }
.cip:hover { text-decoration: none; border-color: #d9d1df; color: var(--metin); }
.cip.aktif { background: var(--mor); border-color: var(--mor); color: #fff; }
.cip .sayi { opacity: .7; margin-left: 4px; }
.arac-cubugu { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 0 12px; }
.arama-kutu { max-width: 280px; }

/* ── Tablo ── */
.tablo-kap { overflow-x: auto; }
table.tablo { width: 100%; border-collapse: collapse; }
.tablo th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--soluk); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--cizgi); white-space: nowrap; }
.tablo td { padding: 12px 14px; border-bottom: 1px solid var(--cizgi); vertical-align: middle; }
.tablo tr:last-child td { border-bottom: 0; }
.tablo th.sag, .tablo td.sag { text-align: right; }
.tablo tr.tik { cursor: pointer; }
.tablo tr.tik:hover td { background: #fcfafd; }
.tablo .ad { font-weight: 600; }
.bos { text-align: center; padding: 48px 20px; color: var(--soluk); }

/* ── Bilgi listesi ── */
.bilgi { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 0; }
.bilgi dt { color: var(--soluk); font-size: 13px; }
.bilgi dd { margin: 0; font-weight: 500; word-break: break-word; }

/* ── Zaman çizelgesi ── */
.cizelge { list-style: none; margin: 0; padding: 0; }
.cizelge li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--cizgi); }
.cizelge li:last-child { border-bottom: 0; }
.ikon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: var(--zemin); }
.ikon.t-form { background: #e3f6f8; }
.ikon.t-whatsapp { background: #e6f7ea; }
.ikon.t-arama { background: #fbeef4; }
.ikon.t-durum { background: #f3e8fb; }
.ikon.t-not { background: #fff4d6; }
.ikon.t-hata { background: #fdeaea; }
.olay-metin { word-break: break-word; }
.olay-alt { font-size: 12.5px; color: var(--soluk); margin-top: 2px; }
audio { width: 100%; max-width: 420px; height: 36px; margin-top: 8px; }

/* ── Sekmeler ── */
.sekmeler { display: flex; gap: 4px; border-bottom: 1px solid var(--cizgi); margin-bottom: 20px; overflow-x: auto; }
.sekmeler a { padding: 10px 16px; color: var(--soluk); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.sekmeler a:hover { color: var(--metin); text-decoration: none; }
.sekmeler a.aktif { color: var(--mor); border-bottom-color: var(--mor); }

.mesai-tablo td { padding: 8px 10px; }
.mesai-tablo input[type=time] { max-width: 130px; }
.qr-kutu { display: grid; place-items: center; min-height: 260px; border: 1px dashed #d9d1df; border-radius: 14px; background: #fcfafd; padding: 16px; }
.qr-kutu img { max-width: 260px; width: 100%; }
.durum-nokta { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: #c9c2cf; }
.durum-nokta.acik { background: var(--yesil); }
.durum-nokta.kapali { background: var(--kirmizi); }

/* ── Giriş ── */
.giris-zemin { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(160deg, #fbeef4 0%, #f7f5f8 45%, #e8f7f9 100%); }
.giris-kart { width: 100%; max-width: 380px; }
.giris-kart .logo-buyuk { display: block; width: 220px; margin: 0 auto 22px; }

/* ── Modal ── */
dialog { border: 0; border-radius: 16px; padding: 24px; width: min(460px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(31, 26, 36, .25); }
dialog::backdrop { background: rgba(31, 26, 36, .35); }

/* ── WhatsApp bağlantı durumu ── */
.wa-nokta { display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: #c9c2cf; vertical-align: middle; }
.wa-nokta.acik { background: var(--yesil); }
.wa-nokta.kapali { background: var(--kirmizi); animation: nabiz 1.6s ease-in-out infinite; }
.wa-durum { font-size: 16px; font-weight: 600; }
@keyframes nabiz { 50% { opacity: .35; } }

/* ── Facebook bağlama adımları ── */
.cok-satir { white-space: pre-line; line-height: 1.7; }
.adimlar { margin: 0 0 16px; padding-left: 20px; line-height: 1.6; }
.adimlar li { margin-bottom: 8px; }
code.izinler { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: #f7f1f5; font-size: 12.5px; word-break: break-word; user-select: all; }
details.kart > summary { cursor: pointer; font-weight: 600; }

/* ── Cumartesi yoklama ── */
.hafta-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.hafta-baslik { text-align: center; font-size: 15px; }
.yoklama-satir { display: flex; align-items: center; gap: 12px; padding: 14px 14px; margin-bottom: 8px; border: 1px solid var(--cizgi);
  border-radius: 12px; background: #fff; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.yoklama-satir:hover { background: var(--zemin); }
.yoklama-satir.geldi { background: #eef7dd; border-color: var(--yesil); }
.yoklama-ad { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.yoklama-durum { font-weight: 600; color: var(--soluk); white-space: nowrap; }
.yoklama-satir.geldi .yoklama-durum { color: #4d7a12; }
.yoklama-link { padding: 4px 6px; }
.yoklama-satir.bekle { opacity: .6; pointer-events: none; }
.hafta-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.hafta-kutu { text-align: center; padding: 6px 4px; border: 1px solid var(--cizgi); border-radius: 10px; color: var(--soluk); font-weight: 600; }
.hafta-kutu.geldi { background: #eef7dd; border-color: var(--yesil); color: #4d7a12; }

/* ── Mesajlar (WhatsApp temalı sohbet) ── */
.sohbet-kutu {
  display: grid; grid-template-columns: 300px 1fr; height: calc(100vh - 160px); min-height: 480px;
  background: var(--kart); border: 1px solid var(--cizgi); border-radius: var(--yaricap);
  box-shadow: var(--golge); overflow: hidden;
}
.sohbet-liste { border-right: 1px solid var(--cizgi); overflow-y: auto; }
.sohbet-oge { display: block; padding: 12px 16px; border-bottom: 1px solid var(--cizgi); color: var(--metin); }
.sohbet-oge:hover { background: var(--zemin); text-decoration: none; }
.sohbet-oge.aktif { background: #fbeef4; }
.sohbet-oge-ust { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.sohbet-onizle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sohbet-alan { display: flex; flex-direction: column; min-width: 0; }
.sohbet-bos { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; }
.sohbet-baslik { padding: 12px 18px; border-bottom: 1px solid var(--cizgi); display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* WhatsApp'ın klasik duvar kağıdı tonu ve balon renkleri */
.sohbet-mesajlar {
  flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px;
  background: #e9dfd3;
}
.balon { max-width: 72%; padding: 7px 10px 6px; border-radius: 9px; box-shadow: 0 1px 1px rgba(0,0,0,.08); font-size: 13.5px; line-height: 1.4; }
.balon-metin { white-space: pre-wrap; word-break: break-word; }
.balon-saat { margin-top: 2px; font-size: 10.5px; color: rgba(0,0,0,.45); text-align: right; }
.balon.gelen { align-self: flex-start; background: #ffffff; border-top-left-radius: 2px; }
.balon.giden { align-self: flex-end; background: #dcf8c6; border-top-right-radius: 2px; }

.sohbet-yaz { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--cizgi); }
.sohbet-yaz textarea { flex: 1; resize: none; height: 42px; padding: 10px 12px; border-radius: 20px; border: 1px solid var(--cizgi); font: inherit; }
.sohbet-yaz button { border-radius: 20px; align-self: flex-end; }

.geri-link { display: none; }
@media (max-width: 720px) {
  .sohbet-kutu { grid-template-columns: 1fr; height: calc(100vh - 130px); }
  .sohbet-kutu.sohbet-acik .sohbet-liste { display: none; }
  .sohbet-kutu:not(.sohbet-acik) .sohbet-alan { display: none; }
  .geri-link { display: inline-block; margin-right: 4px; }
}

/* ── Kullanıcılar ── */
.kullanici-satir { padding: 14px 0; border-top: 1px solid var(--cizgi, #eee7ee); }
.kullanici-satir:first-of-type { border-top: 0; }
.kullanici-ust { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.yetki-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; }
.yetki-form .onay { margin: 0; }
.sifre-ver { margin-top: 8px; }
.sifre-ver summary { cursor: pointer; color: var(--mor, #9e0b5b); }
.kim-ad { color: inherit; text-decoration: none; font-size: 14px; padding: 6px 8px; border-radius: 8px; }
.kim-ad:hover, .kim-ad.aktif { background: #f7f1f5; }

.kirtasiye-sekil { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.kirtasiye-sekil .onay { margin: 0; }
.kirtasiye-sekil input[type=number] { width: 72px; }

/* ── Gizlilik sayfası ── */
.metin-sayfa { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; line-height: 1.7; }
.metin-sayfa .logo-buyuk { display: block; width: 200px; margin: 0 0 24px; }
.metin-sayfa h1 { font-size: 26px; margin: 0 0 6px; }
.metin-sayfa h2 { font-size: 18px; margin: 28px 0 8px; }

@media (max-width: 900px) {
  .izgara-4 { grid-template-columns: 1fr 1fr; }
  .detay-izgara, .izgara-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ust-ic { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .kim { margin-left: auto; }
  .menu { order: 3; flex: 1 1 100%; overflow-x: auto; }
  .baslik-satir h1 { font-size: 19px; }
  .kim span { display: none; }
  .sayfa { padding: 16px 14px 48px; }
  .alan-satir, .alan-satir-3 { grid-template-columns: 1fr; }
  .tablo .gizle-mobil { display: none; }
  .arama-kutu { max-width: none; width: 100%; }
}

/* ── İletişim defteri (öğretmen) ── */
.dg-satir { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--cizgi); color: var(--metin); }
.dg-satir:last-child { border-bottom: 0; }
.dg-satir:hover { text-decoration: none; background: #fcfafd; }
.dg-ad { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dg-avatar { width: 38px; height: 38px; border-radius: 50%; background: #fbeef4; color: var(--mor); display: grid; place-items: center; font-weight: 700; flex: none; }
.secim { display: flex; flex-wrap: wrap; gap: 8px; }
.sec { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 1.5px solid var(--cizgi); border-radius: 12px; background: #fff; font: inherit; font-weight: 600; color: var(--soluk); cursor: pointer; }
.sec span { font-size: 20px; }
.sec:hover { border-color: #d9d1df; }
.sec.on { background: #fbeef4; border-color: var(--pembe); color: var(--mor); }
.sec.on.gelmedi { background: #fdeaea; border-color: var(--kirmizi); color: #b3262a; }
.ogun-satir { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px dashed var(--cizgi); }
.ogun-satir:last-child { border-bottom: 0; }
.ogun-ad { width: 130px; font-weight: 600; }
.kaydet-cubuk { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-top: 16px; background: rgba(255,255,255,.95); border: 1px solid var(--cizgi); border-radius: 14px; box-shadow: var(--golge); }
@media (max-width: 900px) { #defterForm { grid-template-columns: 1fr !important; } }

/* ── Öğrenci formu: ek veliler ── */
.ek-veli { padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--cizgi); border-radius: 12px; background: #fcfafd; }
.ek-veli .alan-satir-3, .ek-veli .alan-satir { margin-bottom: 0; }

/* ── Defter: çoklu seçim (günlük etkinlikler) ── */
.coklu { display: flex; flex-wrap: wrap; gap: 8px; }

/* Velilerden gelen mesajlar sayfası + hızlı bildirim renkleri */
.gelen-satir { display:flex; align-items:center; gap:12px; padding:12px 14px; margin-bottom:8px; background:var(--kart, #fff); border:1px solid rgba(0,0,0,.08); border-left:5px solid #c7c7d1; border-radius:12px; color:inherit; text-decoration:none; }
.gelen-satir.yeni { background:#f4fbff; border-left-color:#3b9be0; }
.gelen-satir.hizli { background:#fff4e5; border-left-color:#f08a00; }
.gelen-satir.hizli.yeni { background:#ffe9c7; }
.gelen-sim { font-size:26px; }
.gelen-ic { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.gelen-metin { white-space:pre-wrap; word-break:break-word; }
.balon.gelen.hizli { background:#ffe2b8; border-left:4px solid #f08a00; font-weight:600; }
.ses-btn { position:fixed; right:14px; bottom:14px; z-index:50; border:0; border-radius:20px; padding:9px 14px; font-size:13px; background:#555; color:#fff; box-shadow:0 2px 8px rgba(0,0,0,.25); cursor:pointer; }
.ses-btn.on { background:#1f9d55; }

/* Gelen mesajlar: iki bölmeli gelen kutusu */
.ga { display:grid; grid-template-columns:360px 1fr; height:calc(100vh - 190px); min-height:480px; background:var(--kart, #fff); border:1px solid rgba(0,0,0,.1); border-radius:14px; overflow:hidden; }
.ga-liste { display:flex; flex-direction:column; border-right:1px solid rgba(0,0,0,.1); min-height:0; }
.ga-arac { padding:12px; border-bottom:1px solid rgba(0,0,0,.08); display:flex; flex-direction:column; gap:8px; }
.ga-arac input { width:100%; padding:9px 12px; border:1px solid rgba(0,0,0,.15); border-radius:10px; font:inherit; }
.ga-konusmalar { overflow-y:auto; flex:1; }
.ga-oge { display:flex; gap:10px; align-items:center; width:100%; text-align:left; padding:11px 12px; border:0; border-bottom:1px solid rgba(0,0,0,.06); border-left:4px solid transparent; background:transparent; font:inherit; cursor:pointer; }
.ga-oge:hover { background:rgba(0,0,0,.04); }
.ga-oge.secili { background:#eef3ff; }
.ga-oge.yeni strong { font-weight:800; }
.ga-oge.hizli { border-left-color:#f08a00; background:#fff4e5; }
.ga-oge.hizli.secili { background:#ffe9c7; }
.ga-avatar { flex:none; width:40px; height:40px; border-radius:50%; background:#9e0b5b; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.ga-oge-ic { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.ga-oge-ust, .ga-oge-alt { display:flex; justify-content:space-between; gap:8px; align-items:center; }
.ga-onizleme { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:rgba(0,0,0,.6); font-size:13px; }
.ga-rozet { flex:none; min-width:20px; padding:1px 7px; border-radius:10px; background:#3b9be0; color:#fff; font-size:12px; text-align:center; font-weight:700; }
.ga-rozet.hizli { background:#f08a00; }
.ga-sohbet { display:flex; flex-direction:column; min-height:0; background:#e9dfd3; }
.ga-bos { margin:auto; text-align:center; color:rgba(0,0,0,.45); font-size:15px; }
.ga-ic { display:flex; flex-direction:column; height:100%; min-height:0; }
.ga-ic[hidden] { display:none; }
.ga-baslik { display:flex; align-items:center; gap:12px; padding:10px 14px; background:var(--kart, #fff); border-bottom:1px solid rgba(0,0,0,.1); }
.ga-kim { flex:1; display:flex; flex-direction:column; }
.ga-geri { display:none; border:0; background:transparent; font-size:26px; cursor:pointer; }
.ga-mesajlar { flex:1; overflow-y:auto; padding:14px 18px; display:flex; flex-direction:column; gap:6px; }
.ga-gun { align-self:center; margin:8px 0 2px; padding:2px 12px; border-radius:10px; background:rgba(255,255,255,.7); font-size:12px; color:rgba(0,0,0,.55); }
.ga-balon { max-width:70%; padding:7px 11px 5px; border-radius:10px; box-shadow:0 1px 1px rgba(0,0,0,.1); }
.ga-balon.gelen { align-self:flex-start; background:#fff; border-top-left-radius:2px; }
.ga-balon.giden { align-self:flex-end; background:#dcf8c6; border-top-right-radius:2px; }
.ga-balon.hizli { background:#ffe2b8; border-left:4px solid #f08a00; font-weight:600; }
.ga-metin { white-space:pre-wrap; word-break:break-word; }
.ga-saat { margin-top:2px; font-size:11px; color:rgba(0,0,0,.45); text-align:right; }
.ga-hazir { display:flex; flex-wrap:wrap; gap:6px; padding:8px 14px 0; background:var(--kart, #fff); }
.ga-form { display:flex; gap:8px; align-items:flex-end; padding:10px 14px; background:var(--kart, #fff); }
.ga-form textarea { flex:1; resize:none; padding:9px 12px; border:1px solid rgba(0,0,0,.15); border-radius:12px; font:inherit; max-height:140px; }
@media (max-width: 899px) {
  .ga { grid-template-columns:1fr; height:calc(100vh - 150px); }
  .ga-sohbet { display:none; }
  .ga.sohbet-acik .ga-sohbet { display:flex; }
  .ga.sohbet-acik .ga-liste { display:none; }
  .ga-geri { display:block; }
  .ga-balon { max-width:88%; }
}

.ntfy-kutu { display:flex; flex-direction:column; gap:8px; margin-bottom:14px; }
.ntfy-satir { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ntfy-satir > span { width:120px; }
.ntfy-satir code { background:rgba(0,0,0,.06); padding:5px 10px; border-radius:8px; user-select:all; word-break:break-all; }
