/* Hocam PWA — ekran-özel stiller (Swift kaynağıyla BİREBİR).
   theme.css + components.css'ten SONRA yüklenir → burada override yapılabilir. */

/* ============================================================
   Genel ekran yardımcıları
   ============================================================ */
/* Ekranı viewport'a sabitle → .screen-scroll / .tab-scroll içeride kaydırır
   (detay ekranında başlık sabit kalır, sekme içeriği kayar). */
.screen { height: 100dvh; }

/* ---- Metin seçimi / callout kapalı (native his; web sızıntısını önler) ---- */
#app, .picker-overlay, .confirm-overlay, .alert-overlay, .lr-detail-overlay, .sheet-overlay {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; user-select: text; }

/* ---- Kaydırma zinciri: iç kaydırıcılar sayfaya/sheet'e taşmasın ---- */
.screen-scroll, .tab-scroll, .sheet-body { overscroll-behavior: contain; }
.wheel { overscroll-behavior: none; }

/* ---- Dokunma geri bildirimi (iOS anlık basılı hissi) ---- */
.btn:active { opacity: .82; }
.navcircle:active, .step-btn:active, .back-btn:active, .sh-save:active, .sh-cancel:active,
  .cal-nav:active, .picker-done:active, .checkcircle:active { opacity: .55; }
/* Opak satırlar (kart yüzeyi): basılıyken surface2'ye ANLIK geçiş */
.st-row:active, .dp-row:active, .pay-row:active, .swipe-slide:active,
  .set-row:active, .lr-menu-item:active { background-color: var(--surface2); }
/* surface2 üstündeki satırlar/seçenekler: hafif beyaz vurgu */
.loc-option:active, .set-loc-row:active, .set-add:active, .loc-add:active,
  .parent-add:active, .parent-remove:active, .seg-item:active,
  .confirm-action:active, .confirm-cancel:active, .alert-actions button:active {
  background-color: rgba(255,255,255,0.06); }
.cal-cell:active .cal-daywrap:not(.sel) { background-color: rgba(255,255,255,0.08); }

/* CheckCircle: dolum/tik animasyonlu geçiş (SwiftUI ease) */
.checkcircle { transition: background-color .18s ease, border-color .18s ease; }

/* Ekran itme/geri navigasyon kayması (iOS NavigationStack) */
@keyframes screenPush { from { transform: translateX(26px); opacity: .35; } to { transform: none; opacity: 1; } }
@keyframes screenPop { from { transform: translateX(-22px); opacity: .35; } to { transform: none; opacity: 1; } }
.screen-push { animation: screenPush .26s cubic-bezier(.2,.8,.2,1); }
.screen-pop { animation: screenPop .26s cubic-bezier(.2,.8,.2,1); }
.scroll-pad-bottom { padding-bottom: 30px; }
.hstack { display: flex; align-items: center; }
.vstack { display: flex; flex-direction: column; }
.spacer { flex: 1 1 auto; }

/* Detay başlığı — Swift: VStack(spacing 5), üst padding 4, yatay 20 */
.detail-name { padding-top: 4px; }
.detail-sub { padding-top: 5px; }

/* Geri barı pill'i (iOS 26 arka planlı back butonu) */
.back-btn {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-pill);
  padding: 7px 13px 7px 9px;
  font-weight: 400;
}
.back-btn .icon { margin-right: -1px; }

/* Nav başlığı (Ayarlar gibi sheet'lerde ortalı başlık) */
.nav-bar { position: relative; display: flex; align-items: center; min-height: 44px;
  padding: 6px 12px 0; padding-top: calc(6px + env(safe-area-inset-top, 0px)); }
.nav-title { position: absolute; left: 0; right: 0; text-align: center; font-size: 17px;
  font-weight: 700; color: var(--text); pointer-events: none; }

/* ============================================================
   HOME — öğrenci satırı
   ============================================================ */
.st-row { display: flex; align-items: center; gap: 13px; padding: 11px 14px; width: 100%;
  text-align: left; background: none; }
.st-texts { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-name { font-size: 17px; font-weight: 600; color: var(--text); }
.st-sub { font-size: 14px; color: var(--text2); }
.st-chev { margin-left: auto; flex: none; }

/* ============================================================
   HOME — aylık takvim
   ============================================================ */
.cal-inner { padding: 14px 12px 16px; }
.cal-head { display: flex; align-items: center; padding-bottom: 10px; }
.cal-month { font-size: 18px; font-weight: 700; color: var(--text); white-space: nowrap; }
.cal-navs { margin-left: auto; display: flex; align-items: center; gap: 22px; flex: none; }
.cal-nav { display: inline-flex; align-items: center; justify-content: center; color: var(--green); }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); padding-bottom: 4px; }
.cal-wd { font-size: 12px; font-weight: 600; color: var(--text3); text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-cell { height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; cursor: pointer; }
.cal-daywrap { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; }
.cal-daywrap.sel { background: var(--green); }
.cal-daywrap.today { border: 1.5px solid var(--green); }
.cal-day { font-size: 16px; font-weight: 400; color: var(--text); line-height: 1; }
.cal-day.out { color: var(--text3); }
.cal-day.today { color: var(--green); }
.cal-daywrap.sel .cal-day { color: var(--green-ink); font-weight: 700; }
.cal-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.cal-dot.hidden { opacity: 0; }

/* ============================================================
   HOME — gün paneli
   ============================================================ */
.dp-head { display: flex; align-items: center; padding: 22px 20px 10px; }
.dp-title { font-size: 16px; font-weight: 700; color: var(--text); }
.dp-count { margin-left: auto; font-size: 14px; color: var(--text2); }
.dp-empty { font-size: 14px; color: var(--text2); padding: 16px 14px; }
.dp-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 100%; text-align: left;
  background: none; }
.dp-time { width: 52px; flex: none; display: flex; flex-direction: column; gap: 2px; }
.dp-start { font-size: 16px; font-weight: 700; color: var(--text); }
.dp-end { font-size: 13px; color: var(--text3); }
.dp-bar { width: 3px; height: 36px; border-radius: 1.5px; background: var(--green); flex: none; }
.dp-mid { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dp-name { font-size: 16px; font-weight: 600; color: var(--text); }
.dp-loc { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text2); min-width: 0; }
.dp-loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-chev { margin-left: auto; flex: none; }

/* ============================================================
   Grouped liste bölümü (Dersler/Ödemeler/Bilgi sekmeleri)
   ============================================================ */
.tab-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--bg); }
.tab-scroll::-webkit-scrollbar { display: none; }
.group-header { padding: 14px 20px 8px; }   /* SectionHeader başlıkları için list insets */

/* ============================================================
   LESSONS TAB — ders satırı
   ============================================================ */
.lr-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; }
.lr-block { width: 48px; height: 52px; flex: none; border-radius: var(--r-date-block); background: var(--surface2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.lr-block.planned { background: var(--blue-dim); }
.lr-day { font-size: 19px; font-weight: 700; color: var(--text); line-height: 1.05; }
.lr-month { font-size: 11px; color: var(--text2); text-transform: uppercase; line-height: 1; }
.lr-block.planned .lr-day, .lr-block.planned .lr-month { color: var(--blue); }
.lr-block.canceled .lr-day, .lr-block.canceled .lr-month { color: var(--text3); }
.lr-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lr-line1 { display: flex; align-items: center; gap: 6px; }
.lr-time { font-size: 16px; font-weight: 600; color: var(--text); }
.lr-wd { font-size: 16px; font-weight: 500; color: var(--text3); }
.lr-row.canceled .lr-time, .lr-row.canceled .lr-wd { text-decoration: line-through; text-decoration-color: var(--text3); color: var(--text3); }
.lr-order { margin-left: auto; padding-left: 8px; font-size: 13px; font-weight: 600; color: var(--text3); flex: none; }
.lr-line2 { display: flex; align-items: center; gap: 4px; min-width: 0; }
.lr-loc { font-size: 13px; color: var(--text2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-check { margin-left: auto; flex: none; }

/* "Daha fazla göster" alanı */
.more-wrap { display: flex; flex-direction: column; gap: 10px; padding: 4px 20px; }
.more-note { font-size: 13px; color: var(--text3); text-align: center; }

/* Kaydırma aksiyonları (Düzenle / İptal-Geri Al) — satırın altında, sağda gizli. Ders + Ödeme satırları paylaşır. */
.swipe-wrap { position: relative; overflow: hidden; }
.swipe-actions { position: absolute; top: 0; right: 0; bottom: 0; display: flex; }
.swipe-act { width: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; font-size: 12px; font-weight: 600; color: #fff; }
.swipe-act.edit { background: var(--gray-action); }
.swipe-act.danger { background: var(--red); }
.swipe-slide { position: relative; background: var(--surface); transition: transform .18s cubic-bezier(.2,.8,.2,1); touch-action: pan-y; }
.swipe-wrap.open .swipe-slide { transition: transform .22s cubic-bezier(.2,.8,.2,1); }

/* Ders detay kartı (basılı tut) — LessonDetailCard.swift ile birebir */
.lr-detail-overlay { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(0,0,0,0); transition: background .2s; }
.lr-detail-overlay.open { background: rgba(0,0,0,.5); }
.lr-detail-card, .lr-detail-menu { transform: scale(.9); opacity: 0;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.lr-detail-overlay.open .lr-detail-card, .lr-detail-overlay.open .lr-detail-menu { transform: scale(1); opacity: 1; }
@media (min-width: 460px) { .lr-detail-overlay { max-width: 393px; left: 50%; transform: translateX(-50%); } }
.lr-detail-card { width: 300px; max-width: 100%; background: var(--surface); border-radius: 16px;
  border: 1px solid var(--hair); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.ldc-head { display: flex; flex-direction: column; gap: 3px; }
.ldc-title { font-size: 18px; font-weight: 700; color: var(--text); }
.ldc-sub { font-size: 14px; color: var(--text2); }
.ldc-rows { display: flex; flex-direction: column; gap: 10px; }
.ldc-row { display: flex; align-items: center; gap: 10px; }
.ldc-row .ic { width: 18px; display: flex; justify-content: center; flex: none; color: var(--text3); }
.ldc-row .tx { font-size: 15px; color: var(--text); }
.ldc-hair { height: 1px; background: var(--sep); }
.ldc-note-label { font-size: 12px; font-weight: 600; letter-spacing: .3px; color: var(--text3); }
.ldc-note { font-size: 15px; color: var(--text); }
.ldc-note.empty { color: var(--text3); }
.lr-detail-menu { width: 250px; max-width: 100%; background: var(--surface2); border-radius: 14px; overflow: hidden; }
.lr-menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; font-size: 17px; color: var(--text); }
.lr-menu-item.danger { color: var(--red); }

/* ============================================================
   PAYMENTS TAB — tahsilat kutusu + ödeme satırı
   ============================================================ */
.collect { margin: 0 20px; padding: 18px 20px; border-radius: var(--r-collect);
  background: linear-gradient(to bottom, rgba(48,209,88,0.15), rgba(48,209,88,0.04));
  border: 1px solid rgba(48,209,88,0.24); display: flex; flex-direction: column; gap: 6px; }
.collect-top { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 14px; font-weight: 600; }
.collect-amount { font-size: 40px; font-weight: 800; letter-spacing: -1px; color: var(--text); font-variant-numeric: tabular-nums; }
.collect-sub { font-size: 13px; color: var(--text2); }

/* Not: background YOK → .swipe-slide'ın opak surface arka planı geçerli olur (kaydırınca aksiyonları örter). */
.pay-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 100%; text-align: left; }
.pay-icon { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--green-dim);
  display: flex; align-items: center; justify-content: center; }
.pay-texts { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pay-amount { font-size: 17px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.pay-sub { font-size: 13px; color: var(--text2); }
.pay-chev { margin-left: auto; flex: none; }

/* ============================================================
   SHEET altyapısı (large detent, 94dvh)
   ============================================================ */
/* Masaüstü önizlemede (>=460px) sheet'i 393px'lik #app kolonuna ORTALA.
   Gerçek telefonda (<460px) components.css'teki inset:0 tam genişlik kullanılır. */
@media (min-width: 460px) {
  .sheet-overlay { left: 50%; right: auto; width: 393px; max-width: 393px; transform: translateX(-50%); margin: 0; }
}
.sheet-panel { height: 94dvh; }
.sheet-content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sheet-body { flex: 1; min-height: 0; }
/* sheet-body flex kolonudur → çocukları büzülmesin, gövde kaydırsın (aksi halde gruplar clip'lenir). */
.sheet-body > * { flex-shrink: 0; }
/* sheet-body zaten 8/18/24 padding + gap 20 verir; alt öğeler flush (18) durur.
   sheetSectionHeader'ın kendi 0 18 padding'ini sıfırla → body'nin 18'i ile hizalan. */
.sheet-body > .sheet-section-header { padding-left: 0; padding-right: 0; }

/* Tarih/saat çipi (iOS compact DatePicker görünümü) — dokununca ÖZEL seçici açılır */
.datechip { display: inline-flex; align-items: center; justify-content: center;
  background: rgba(118,118,128,0.24); border-radius: 8px; padding: 6px 11px; font-size: 17px; color: var(--text);
  white-space: nowrap; cursor: pointer; }
.datechip:active { background: rgba(118,118,128,0.34); }

/* ---- Özel iOS tarih (grafik takvim) / saat (tekerlek) seçici ---- */
.picker-overlay { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(0,0,0,0); transition: background .2s; }
.picker-overlay.open { background: rgba(0,0,0,.5); }
@media (min-width: 460px) { .picker-overlay { max-width: 393px; left: 50%; transform: translateX(-50%); } }
.picker-card { background: var(--surface); border: 1px solid var(--hair); border-radius: 18px; padding: 10px 12px 12px;
  width: 320px; max-width: 100%; transform: scale(.94); opacity: 0; transition: transform .2s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.picker-overlay.open .picker-card { transform: scale(1); opacity: 1; }

.picker-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; }
.picker-title { font-size: 15px; font-weight: 600; color: var(--text2); }
.picker-done { font-size: 17px; font-weight: 700; color: var(--green); padding: 4px 6px; min-width: 44px; text-align: right; }

/* Tarih: takvim (ana ekran .cal-* sınıfları yeniden kullanılır) */
.picker-cal { padding: 2px 2px 2px; }

/* Saat: tekerlek */
.wheel-row { position: relative; display: flex; align-items: stretch; justify-content: center; gap: 2px; height: 200px; }
.wheel-band { position: absolute; left: 8px; right: 8px; top: 80px; height: 40px; background: var(--surface2);
  border-radius: 9px; pointer-events: none; }
.wheel { position: relative; height: 200px; width: 76px; overflow-y: scroll; scroll-snap-type: y mandatory;
  padding-block: 80px; text-align: center; -ms-overflow-style: none; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(transparent, #000 26%, #000 74%, transparent);
  mask-image: linear-gradient(transparent, #000 26%, #000 74%, transparent); }
.wheel::-webkit-scrollbar { display: none; }
.wheel-item { height: 40px; display: flex; align-items: center; justify-content: center; font-size: 23px;
  color: var(--text); scroll-snap-align: center; scroll-snap-stop: always; font-variant-numeric: tabular-nums; line-height: 1; }
.wheel-colon { display: flex; align-items: center; justify-content: center; font-size: 23px; color: var(--text); padding-bottom: 2px; }
.datechip.today-wrap { background: none; padding: 0; }
.date-today { font-size: 13px; color: var(--text2); white-space: nowrap; }

/* Konum seçici satırları */
.loc-option { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 13px 15px; border-radius: var(--r-loc-option); background: var(--surface2);
  border: 1px solid var(--hair); font-size: 17px; color: var(--text); }
.loc-option.sel { color: var(--green); }
.loc-option .icon { margin-left: auto; }
.loc-add { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 13px 15px; color: var(--green); font-size: 17px; font-weight: 600; }
.loc-list { display: flex; flex-direction: column; gap: 8px; }

/* Not alanı (textarea) — Swift lineLimit(3...6): 3 satırdan başlar, 6'ya kadar büyür, sonra kaydırır */
.note-field { width: 100%; background: var(--surface2); border-radius: var(--r-fgrp);
  padding: 13px 15px; font-size: 17px; color: var(--text); resize: none;
  line-height: 1.35; caret-color: var(--green); min-height: 92px; max-height: 150px; overflow-y: auto;
  box-sizing: border-box; }
.note-field::placeholder { color: var(--text3); }

/* iOS onay eylem sayfası (confirmationDialog karşılığı) — "Öğrenciyi sil?" */
.confirm-overlay { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column;
  justify-content: flex-end; gap: 8px; padding: 8px; background: rgba(0,0,0,0); transition: background .22s; }
.confirm-overlay { padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
.confirm-overlay.open { background: rgba(0,0,0,.4); }
.confirm-group, .confirm-cancel { transform: translateY(120%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.confirm-overlay.open .confirm-group, .confirm-overlay.open .confirm-cancel { transform: translateY(0); }
@media (min-width: 460px) { .confirm-overlay { left: 50%; right: auto; width: 393px; max-width: 393px; transform: translateX(-50%); } }
.confirm-group { background: rgba(44,44,46,0.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-radius: 14px; overflow: hidden; }
.confirm-head { padding: 15px 16px; text-align: center; }
.confirm-head + .confirm-action { border-top: 1px solid rgba(255,255,255,0.12); }
.confirm-title { font-size: 13px; font-weight: 600; color: var(--text2); }
.confirm-msg { font-size: 13px; color: var(--text2); margin-top: 3px; line-height: 1.3; }
.confirm-action { display: block; width: 100%; padding: 16px; font-size: 20px; text-align: center; color: var(--red); }
.confirm-action.safe { color: var(--green); font-weight: 600; }
.confirm-cancel { display: block; width: 100%; padding: 16px; font-size: 20px; font-weight: 600; text-align: center;
  color: var(--green); background: rgba(44,44,46,0.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-radius: 14px; }

/* ============================================================
   TAKE PAYMENT — alt sabit bar (pay-foot) + toggle
   ============================================================ */
.pay-foot { flex: none; background: var(--surface2); border-top: 1px solid var(--hair);
  padding: 15px 18px; padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 8px; }
.pf-break { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pf-break .lbl { color: var(--text3); }
.pf-break .val { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.pf-hair { height: 1px; background: var(--hair); }
.pf-net { display: flex; align-items: center; }
.pf-net .lbl { font-size: 14px; color: var(--text2); }
.pf-net .amt { margin-left: auto; font-size: 22px; font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }

/* iOS toggle */
.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch .track { position: absolute; inset: 0; border-radius: 31px; background: rgba(120,120,128,0.32);
  transition: background .2s; }
.switch .knob { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.25); transition: transform .2s; }
.switch input:checked ~ .track { background: var(--green); }
.switch input:checked ~ .knob { transform: translateX(20px); }

/* Sağ hizalı ₺ girişli field trailing */
.fee-input { display: inline-flex; align-items: center; gap: 2px; }
.fee-input .cur { font-size: 17px; color: var(--text3); }
.fee-input .cur.on { color: var(--text); }
.fee-input input { text-align: right; font-size: 17px; color: var(--text); caret-color: var(--green);
  width: 90px; background: none; }

/* ============================================================
   SETTINGS — konum düzenleme satırı + genel
   ============================================================ */
.set-loc-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.set-loc-row .grip { color: var(--text3); flex: none; }
.set-loc-row input { flex: 1; font-size: 17px; color: var(--text); background: none; caret-color: var(--green); }
.set-add { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--green);
  font-size: 17px; font-weight: 600; width: 100%; text-align: left; }
.set-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 48px; }
.set-row .lbl { font-size: 17px; color: var(--text); }
.set-row input { margin-left: auto; text-align: right; font-size: 17px; color: var(--text); background: none;
  caret-color: var(--green); flex: 1; }
.set-row .ro { margin-left: auto; font-size: 17px; color: var(--text2); }
.set-footer { font-size: 13px; color: var(--text3); padding: 8px 20px 0; line-height: 1.35; }
.set-header { font-size: 13px; font-weight: 600; letter-spacing: .3px; color: var(--text2); padding: 0 20px 6px; }

/* Veli kaldır / veli ekle satırları (student-form) */
.parent-remove { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  padding: 13px 15px; color: var(--red); font-size: 15px; }
.parent-add { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  padding: 4px 18px; color: var(--green); font-size: 17px; font-weight: 600; }

/* ============================================================
   iOS uyarı (alert) — "Konum Ekle" gibi
   ============================================================ */
.alert-overlay { position: fixed; inset: 0; z-index: 85; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0); transition: background .18s; padding: 40px; }
.alert-overlay.open { background: rgba(0,0,0,0.28); }
@media (min-width: 460px) { .alert-overlay { max-width: 393px; left: 50%; transform: translateX(-50%); } }
.alert-box { transform: scale(1.1); opacity: 0; transition: transform .18s cubic-bezier(.2,.8,.2,1), opacity .18s; }
.alert-overlay.open .alert-box { transform: scale(1); opacity: 1; }
.alert-box { width: 270px; border-radius: 14px; overflow: hidden; background: rgba(44,44,46,0.82);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); text-align: center; }
.alert-main { padding: 19px 16px 15px; display: flex; flex-direction: column; gap: 4px; }
.alert-title { font-size: 17px; font-weight: 600; color: var(--text); }
.alert-msg { font-size: 13px; color: var(--text); }
.alert-input { margin-top: 12px; background: var(--bg); border: 1px solid var(--hair); border-radius: 7px;
  padding: 7px 9px; font-size: 13px; color: var(--text); caret-color: var(--green); }
.alert-actions { display: flex; border-top: 1px solid rgba(255,255,255,0.14); }
.alert-actions button { flex: 1; padding: 11px 0; font-size: 17px; color: var(--green); }
.alert-actions button + button { border-left: 1px solid rgba(255,255,255,0.14); font-weight: 600; }

/* ============================================================
   Bildirim hatırlatma bandı (notify.js)
   ============================================================ */
.reminder { margin: 10px 20px 0; background: var(--green-dim); border: 1px solid rgba(48,209,88,0.24);
  border-radius: var(--r-card); padding: 12px 14px; display: flex; align-items: flex-start; gap: 10px; }
.reminder .ricon { color: var(--green); flex: none; margin-top: 1px; }
.reminder .rtext { font-size: 14px; color: var(--text); line-height: 1.35; }
.reminder .rtext b { font-weight: 700; }
.reminder .rclose { margin-left: auto; color: var(--text3); flex: none; }
