/* ============================================================
   Bodrum TınazTepe Sitesi - Üye Hesapları Takip
   Tema: liman defteri - koyu lacivert / gemici yeşili / kum rengi
   ============================================================ */

:root {
  --navy-deep: #0e2433;
  --navy: #163b52;
  --navy-soft: #1f4f6b;
  --teal: #1f7a6c;
  --teal-soft: #e4f1ee;
  --sand: #f6f2e9;
  --sand-deep: #eee7d8;
  --white: #ffffff;
  --ink: #1c2a33;
  --muted: #62727c;
  --line: #e1dbca;
  --warn: #b5452b;
  --warn-soft: #fbe9e3;
  --ok: #2f7d4f;
  --ok-soft: #e7f3ea;
  --amber: #a4780f;
  --amber-soft: #fbf1dd;
  --radius: 10px;
  --font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}

a { color: var(--teal); text-decoration: none; }

/* ---------- shell ---------- */
#app-shell { display: flex; min-height: 100vh; }

#sidebar {
  width: 246px;
  flex-shrink: 0;
  background: var(--navy-deep);
  color: #cfe0e6;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 18px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand-logo {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(155deg, var(--teal), #123a4f);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-display); font-size: 14.5px; color: #fff; }
.brand-text span { font-size: 11.5px; color: #93a9b3; letter-spacing: .02em; }

#nav { display: flex; flex-direction: column; padding: 14px 10px; gap: 2px; flex: 1; overflow-y: auto; }
#nav a {
  color: #b9cad1;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.6px;
  display: flex; align-items: center; gap: 10px;
}
#nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
#nav a.active { background: var(--teal); color: #fff; font-weight: 600; }

.nav-group { display: flex; flex-direction: column; }
.nav-group-header {
  color: #b9cad1;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.6px;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  background: none; border: none; width: 100%; text-align: left;
  font-family: inherit;
}
.nav-group-header:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-group-header .chevron { margin-left: auto; font-size: 11px; transition: transform .15s ease; }
.nav-group.open > .nav-group-header .chevron { transform: rotate(90deg); }
.nav-group-header.has-active { color: #fff; font-weight: 600; }
.nav-subitems { display: none; flex-direction: column; padding-left: 16px; gap: 2px; margin-top: 2px; }
.nav-group.open .nav-subitems { display: flex; }
.nav-subitems a { padding: 9px 12px 9px 20px; font-size: 13px; }

.sidebar-footer { padding: 14px 18px 18px; border-top: 1px solid rgba(255,255,255,0.08); }
#donem-badge {
  display: inline-block;
  font-size: 11.5px;
  color: #a7dcd0;
  background: rgba(31,122,108,0.25);
  border: 1px solid rgba(31,122,108,0.5);
  padding: 4px 10px;
  border-radius: 999px;
}

#main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

#topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
/* 5 Ekim 2026: ☰ her ekranda görünür — geniş ekranda sol menüyü gizler/gösterir (tercih tarayıcıda hatırlanır),
   dar ekranda (≤880px) menüyü kaydırarak açar. */
#menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none;
  background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 18px; cursor: pointer; color: var(--navy-deep); }
#menu-toggle:hover { background: var(--sand, #f3f1ea); }
@media (min-width: 881px) { #app-shell.menu-kapali #sidebar { display: none; } }
#page-title { font-family: var(--font-display); font-size: 20px; margin: 0; flex: 1; color: var(--navy-deep); }
.badge-pill {
  font-size: 12px; font-weight: 600;
  background: var(--warn-soft); color: var(--warn);
  padding: 5px 12px; border-radius: 999px;
  display: none;
}
.badge-pill.show { display: inline-block; }

.view-root { padding: 24px 26px 60px; max-width: 1680px; width: 100%; }

/* ---------- cards / dashboard ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.stat-card .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stat-card .value { font-family: var(--font-display); font-size: 25px; color: var(--navy-deep); margin-top: 6px; }
.stat-card.accent { border-color: var(--teal); }
.stat-card.warn .value { color: var(--warn); }

.section-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 20px;
}
.section-card h2, .section-card h3 { font-family: var(--font-display); color: var(--navy-deep); margin-top: 0; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.section-title-row.bolum-baslik:hover h2 { color: var(--teal); }

/* Su Hesapları / Diğer Hesaplar / Cari Takip ekranlarının üst başlık
   satırı (üye adı + dönem + sekme çubuğu) - 22 Eylül 2026, Erhan'ın "bu
   satır sayfa kaydırılınca hep görünsün" talebiyle. --topbar-h, app.js
   tarafından üstteki #topbar'ın gerçek yüksekliğine göre ayarlanır. */
.uye-ust-bar-sticky {
  position: sticky;
  top: var(--topbar-h, 64px);
  z-index: 4;
  background: var(--white);
  margin: -20px -22px 20px;
  padding: 16px 22px 14px;
  border-bottom: 1px solid var(--line);
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
/* 27 Eylül 2026: ana listelerde (Üyeler, Konutlar, Kiracılar, Su / Diğer Hesaplar, Cari Takip) kolon başlıkları
   ekranda sabit kalır: tablo kendi içinde kayar, yüksekliği ekranı (üst başlık hariç) geçmez. */
.table-wrap.baslik-sabit { overflow: auto; max-height: calc(100vh - 86px); }
.table-wrap.baslik-sabit table.data-table thead th { position: sticky; top: 0; z-index: 3; box-shadow: 0 1px 0 var(--line); }
.table-wrap.baslik-sabit table.data-table thead th:last-child { z-index: 4; }
table.data-table { border-collapse: collapse; width: 100%; font-size: 13.4px; }
table.data-table th {
  background: var(--sand-deep);
  color: var(--navy-deep);
  text-align: left;
  padding: 10px 10px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
}
table.data-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data-table td.col-isim { white-space: normal; max-width: 240px; word-break: break-word; }
table.data-table tbody tr:hover { background: var(--teal-soft); }
table.data-table td.num, table.data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data-table tr.row-error { background: var(--warn-soft); }
table.data-table tr.row-error:hover { background: #f7d9cf; }
table.data-table tr.row-active { background: var(--teal-soft); }

/* İşlem sütunu (her listenin en sağındaki Aç/Düzenle/Sil butonları) sağda
   sabit kalır — tablo geniş olup yatay kaydırma gerektiğinde bile bu
   butonlar hiçbir zaman görünmez/erişilmez hale gelmez. */
table.data-table th:last-child,
table.data-table td:last-child {
  /* 5 Ekim 2026 (Erhan): en sağdaki kolon artık sabit DEĞİL; diğer kolonlarla birlikte kayar. */
  position: static;
  right: auto;
  background: var(--white);
  box-shadow: none;
}
table.data-table th:last-child { z-index: 3; background: var(--sand-deep); }
table.data-table tbody tr:hover td:last-child { background: var(--teal-soft); }
table.data-table tr.row-error td:last-child { background: var(--warn-soft); }
table.data-table tr.row-error:hover td:last-child { background: #f7d9cf; }
table.data-table tr.row-active td:last-child { background: var(--teal-soft); }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary { margin-bottom: 4px; }
table.data-table th.sortable { cursor: pointer; user-select: none; }
table.data-table th.sortable:hover { background: var(--teal-soft); color: var(--navy-deep); }
table.data-table .sort-icon { font-size: 10.5px; color: #b9b09a; margin-left: 2px; }
table.data-table .sort-icon.active { color: var(--teal); }
table.data-table th.col-sayacno, table.data-table td.col-sayacno {
  width: 90px; max-width: 90px; min-width: 90px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---- Üye Paneli ("Hesabım") tabloları — boşluk kullanımı özenle
   hesaplanmış, kolona özel genişlikler. Kısa hücreler (harf, m³, gün
   sayısı, tarih, tutar) TEK SATIRDA kalır; yalnızca uzun açıklama
   metinleri (ör. "Ek Gider Payı (...)") gerektiğinde en fazla 2 satıra
   sarılır. Genel amaç: yatay kaydırmaya hiç gerek kalmaması. */

/* 1) "Hesap Dökümünüz" tablosu: harf | açıklama | m³ | B.Fiyat | Birim | Tahakkuk | Ödenen */
table.hesap-dokum-table { table-layout: fixed; font-size: 12.2px; }
table.hesap-dokum-table th, table.hesap-dokum-table td { padding: 6px 6px; }
table.hesap-dokum-table th:nth-child(1), table.hesap-dokum-table td:nth-child(1) { width: 22px; white-space: nowrap; }
table.hesap-dokum-table th:nth-child(2), table.hesap-dokum-table td:nth-child(2) { width: auto; white-space: normal; line-height: 1.25; }
table.hesap-dokum-table th:nth-child(3), table.hesap-dokum-table td:nth-child(3) { width: 46px; white-space: nowrap; }
table.hesap-dokum-table th:nth-child(4), table.hesap-dokum-table td:nth-child(4) { width: 60px; white-space: nowrap; }
table.hesap-dokum-table th:nth-child(5), table.hesap-dokum-table td:nth-child(5) { width: 52px; white-space: nowrap; }
table.hesap-dokum-table th:nth-child(6), table.hesap-dokum-table td:nth-child(6) { width: 92px; white-space: nowrap; }
table.hesap-dokum-table th:nth-child(7), table.hesap-dokum-table td:nth-child(7) { width: 92px; white-space: nowrap; }

/* 2) "Taksit Planı" tablosu (4 Eylül 2026 revizyonu — tek bileşenli sade
   model): # | Vade T. | Öd. T. | Gecikme (gün) | Faiz | Taksit | Borç |
   Ödeme | Kalan | Küm. Kalan */
table.taksit-plani-table { table-layout: fixed; font-size: 12px; }
table.taksit-plani-table th, table.taksit-plani-table td { padding: 6px 5px; white-space: nowrap; }
table.taksit-plani-table th { white-space: normal; line-height: 1.15; }
table.taksit-plani-table th:nth-child(1), table.taksit-plani-table td:nth-child(1) { width: 22px; }
table.taksit-plani-table th:nth-child(2), table.taksit-plani-table td:nth-child(2),
table.taksit-plani-table th:nth-child(3), table.taksit-plani-table td:nth-child(3) { width: 62px; }
table.taksit-plani-table th:nth-child(4), table.taksit-plani-table td:nth-child(4) { width: 32px; }
table.taksit-plani-table th:nth-child(5), table.taksit-plani-table td:nth-child(5) { width: 60px; }
table.taksit-plani-table th:nth-child(6), table.taksit-plani-table td:nth-child(6),
table.taksit-plani-table th:nth-child(7), table.taksit-plani-table td:nth-child(7),
table.taksit-plani-table th:nth-child(8), table.taksit-plani-table td:nth-child(8),
table.taksit-plani-table th:nth-child(9), table.taksit-plani-table td:nth-child(9) { width: 68px; }
table.taksit-plani-table th:nth-child(10), table.taksit-plani-table td:nth-child(10) { width: 76px; }

/* 3) "Sayaç Verileriniz" tablosu: Ay | Tarih | Sayaç Okuması | Aylık Tüketim */
table.sayac-verileri-table { table-layout: fixed; font-size: 12.4px; }
table.sayac-verileri-table th, table.sayac-verileri-table td { padding: 6px 8px; white-space: nowrap; }
table.sayac-verileri-table th:nth-child(1), table.sayac-verileri-table td:nth-child(1) { width: 30%; }
table.sayac-verileri-table th:nth-child(2), table.sayac-verileri-table td:nth-child(2) { width: 22%; }

.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--amber-soft); color: var(--amber); }
.pill-error { background: var(--warn-soft); color: var(--warn); }
.pill-info { background: var(--teal-soft); color: var(--teal); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 18px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: 12.3px; color: var(--muted); font-weight: 600; }
.form-field .hint { font-size: 11px; color: var(--muted); font-weight: 400; }
input[type=text], input[type=number], input[type=date], select, textarea {
  font-family: var(--font-body);
  font-size: 13.8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
input[readonly] { background: var(--sand-deep); color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-size: 13.4px; font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--teal); color: #fff;
}
.btn:hover { background: #185f54; }
.btn.secondary { background: #fff; color: var(--navy-deep); border-color: var(--line); }
.btn.secondary:hover { background: var(--sand-deep); }
.btn.danger { background: var(--warn); }
.btn.danger:hover { background: #953a24; }
.btn.small { padding: 5px 11px; font-size: 12.3px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search-input { min-width: 220px; }

/* Su Hesapları / Diğer Hesaplar / Cari Takip LİSTE ekranlarının üst
   araç çubuğundaki dönem seçici - 22 Eylül 2026, Erhan'ın "üç listenin
   üst barındaki dönem/arama/filtre elemanları olabildiğince aynı, sabit
   yerleşimde dursun" talebiyle: üçünde de aynı sabit genişlik. */
.liste-donem-sec { min-width: 112px; }

/* ---------- installment / taksit table ---------- */
.taksit-table td.inactive { color: #b8c0c4; }
.taksit-table tr.inactive-row { background: #fafafa; color: #aab2b6; }

/* ---------- misc ---------- */
.muted { color: var(--muted); }
.empty-state {
  text-align: center; padding: 50px 20px; color: var(--muted);
}
.empty-state .icon { font-size: 34px; margin-bottom: 10px; }

.issue-list { display: flex; flex-direction: column; gap: 10px; }
.issue-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px;
}
.issue-item.hata { border-left: 4px solid var(--warn); }
.issue-item.uyari { border-left: 4px solid var(--amber); }
.issue-item .txt { flex: 1; }
.issue-item .txt b { display: block; margin-bottom: 2px; }
.issue-item .txt span { font-size: 12.8px; color: var(--muted); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.tabs button {
  background: none; border: none; padding: 10px 16px; font-size: 13.4px; font-weight: 600;
  color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs button.active { color: var(--teal); border-bottom-color: var(--teal); }

.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 5px 12px; border-radius: 999px; font-size: 12.3px; font-weight: 600;
  border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer;
}
.chip.active { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }

.toast {
  position: fixed; bottom: 22px; right: 22px;
  background: var(--navy-deep); color: #fff;
  padding: 12px 18px; border-radius: 9px; font-size: 13.4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: all .25s ease;
  z-index: 50;
}
.toast.show { transform: translateY(0); opacity: 1; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.note-box {
  background: var(--amber-soft); border: 1px solid #e8cf9c; color: #6b4f10;
  padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px;
}
/* 23 Eylül 2026: Dernekler Masası'nın ZORUNLU alanlarını (Profilim ve Üye
   Kartı'nda) hafif, açık bir PEMBE tonla öne çıkarır - ekranın üstündeki
   "eksik bilgi" uyarı kutusuyla AYNI ton, ikisi görsel olarak birbirine
   bağlanır (23 Eylül 2026'da Erhan'ın isteğiyle daha da açık bir tona
   çekildi). */
.form-field.zorunlu-alan {
  background: #fdf2f4; border: 1px solid #e3aebb;
  border-radius: 8px; padding: 8px 10px 10px;
}
.note-box.note-box-zorunlu {
  background: #fdf2f4; border-color: #e3aebb; color: #9c4a5c;
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  #sidebar { position: fixed; left: -260px; z-index: 40; transition: left .2s ease; box-shadow: 8px 0 24px rgba(0,0,0,.2); }
  #sidebar.open { left: 0; }
  #menu-toggle { display: inline-block; }
  .view-root { padding: 18px 14px 50px; }
  #topbar { padding: 14px 16px; }

  /* 5 Ekim 2026 (Erhan): telefonda ve dar pencerede tablolar KART'a dönüşmez; masaüstündeki gibi
     başlıklı tablo kalır, sığmazsa tablo kutusu içinde sağa-sola kaydırılır (sayfa kaymaz).
     İstisna: sahada kullanılan Sayaç Okuma tablosu (#okuma-table) dokunma kolaylığı için kart düzeninde kalır. */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .section-card { overflow-x: auto; }
  table.data-table { min-width: 640px; }
  table.data-table th { white-space: nowrap; }
  #okuma-table { min-width: 0; }
  /* dar ekranda sağdaki işlem kolonu (Düzenle vb.) sabit durmasın - isimlerin üstünü kapatıyordu */
  table.data-table th:last-child, table.data-table td:last-child { position: static; box-shadow: none; right: auto; }
  /* başlığı sabit listelerde son başlık hücresi yalnız YUKARIDA sabit kalır, sağa yapışmaz */
  .table-wrap.baslik-sabit table.data-table thead th:last-child { position: sticky; right: auto; }

  #okuma-table.data-table thead { display: none; }
  #okuma-table.data-table, #okuma-table.data-table tbody, #okuma-table.data-table tr, #okuma-table.data-table td {
    display: block; width: 100%;
  }
  #okuma-table.data-table tr {
    margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px 12px; background: var(--white); box-shadow: 0 1px 3px rgba(20,30,40,.06);
  }
  #okuma-table.data-table td {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 8px 2px; border-bottom: 1px dashed var(--line); text-align: right; white-space: normal;
  }
  #okuma-table.data-table td:last-child { border-bottom: none; position: static; box-shadow: none; background: transparent; }
  #okuma-table.data-table td[data-label]::before {
    content: attr(data-label); font-weight: 600; color: var(--navy-deep); text-align: left; margin-right: 10px; flex-shrink: 0;
  }
  #okuma-table.data-table td:empty { display: none; }
  #okuma-table.data-table td.col-sayacno { width: auto; max-width: none; min-width: 0; overflow: visible; text-overflow: clip; white-space: normal; }
  #okuma-table.data-table td.col-isim { max-width: none; }

  /* ---- Sayaç okuma ekranlarına özel dokunma-dostu büyütmeler ---- */
  #okuma-table .sayac-foto-btn { width: 100%; padding: 12px 10px; font-size: 14.5px; margin-top: 6px; }
  #okuma-table td.okuma-m3-hucre input.okuma-m3 { width: 100% !important; font-size: 17px; padding: 10px 8px; }
  #okuma-table td .hint { text-align: left; }
  #okuma-table .ay-tuketim-mobil { display: none; } /* office-review amaçlı, sahada gereksiz */
  .sayac-foto-sonuc-row td { display: block; text-align: left; }
}

::-webkit-scrollbar { height: 10px; width: 10px; }
::-webkit-scrollbar-thumb { background: #cdbfa0; border-radius: 6px; }

/* ---------- giriş ekranı ---------- */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, var(--teal));
  padding: 20px;
}
.auth-card {
  background: var(--white);
  border-radius: 14px;
  padding: 34px 32px 30px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  text-align: center;
}
.auth-card h1 { font-family: var(--font-display); font-size: 21px; margin: 0 0 2px; color: var(--navy-deep); }
.auth-card form { text-align: left; display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }

/* ---------- Google ile Giriş Yap ---------- */
.google-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 12px; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.google-divider::before, .google-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.google-btn-wrap { display: flex; justify-content: center; }
.google-btn-wrap > div { width: 100% !important; }

/* ---------- kimlik / whoami ---------- */
.whoami {
  font-size: 12.3px;
  color: #a7c1cb;
  line-height: 1.4;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.whoami b { color: #fff; display: block; font-size: 13px; }

/* ---------- üye paneli ---------- */
#member-shell { min-height: 100vh; background: var(--sand); }
.onizleme-banner {
  background: #b5842b; color: #fff; text-align: center;
  padding: 10px 16px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 50;
}
.onizleme-banner button {
  background: rgba(255,255,255,0.18); color: #fff; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; cursor: pointer;
}
.member-topbar {
  background: var(--navy-deep); color: #fff;
  padding: 16px 22px; display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.member-topbar .brand-text strong { color: #fff; }
.member-topbar .brand-text span { color: #93a9b3; }
.member-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.member-nav button {
  background: none; border: 1px solid rgba(255,255,255,0.25); color: #dce8ec;
  padding: 7px 14px; border-radius: 999px; font-size: 12.8px; font-weight: 600; cursor: pointer;
}
.member-nav button.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.member-body { max-width: 900px; margin: 0 auto; padding: 24px 20px 60px; }
.announcement-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; margin-bottom: 12px;
}
.announcement-card .date { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.duyuru-embed-wrap { margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--sand); }
.duyuru-embed-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.duyuru-ek-liste-uye { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.duyuru-ek-foto { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; background: var(--sand); cursor: zoom-in; border: 1px solid var(--line); }
.duyuru-ek-belge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); text-decoration: none; }
.duyuru-ek-liste { display: flex; flex-direction: column; gap: 6px; }
.duyuru-ek-item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12.8px; }
.duyuru-ek-ikon { font-size: 15px; }
.duyuru-ek-ad { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- yazışma önizleme modalı ---------- */
.onizle-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(20, 30, 35, 0.55); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.onizle-modal-kutu { background: var(--white); border-radius: 12px; max-width: 640px; width: 100%; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.onizle-modal-baslik { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.onizle-modal-alan { padding: 18px; overflow-y: auto; }
.onizle-modal-etiket { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 4px; }
.onizle-modal-konu { font-weight: 600; font-size: 14px; }
.onizle-modal-govde { white-space: pre-wrap; font-size: 13.5px; line-height: 1.5; background: var(--sand); border-radius: 8px; padding: 12px; }
.bank-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
}
.bank-card .iban { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .02em; }
.event-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; margin-bottom: 12px; display: flex; gap: 14px; align-items: flex-start;
}
.event-card .date { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.event-poster { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; background: var(--sand); flex-shrink: 0; cursor: zoom-in; transition: opacity .15s ease; }
.event-poster:hover { opacity: .85; }
.event-poster-yer { width: 84px; height: 84px; border-radius: 8px; background: var(--sand); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--muted); }
.event-body { flex: 1; min-width: 0; }
.event-belge { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--teal); text-decoration: none; }
.event-belge:hover { text-decoration: underline; }
.event-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 9999; align-items: center; justify-content: center; padding: 24px; }
.event-lightbox.open { display: flex; }
.event-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; display: block; }
.event-lightbox-kapat { position: absolute; top: 16px; right: 20px; background: none; border: none; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
@media(max-width:640px) {
  .event-card { flex-direction: column; }
  .event-poster, .event-poster-yer { width: 100%; height: 160px; }
}

/* ---------- sürükle-bırak alanı (toplu veri girişi) ---------- */
.dropzone {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  background: var(--sand);
  color: var(--muted);
  transition: all .15s ease;
}
.dropzone:hover { border-color: var(--teal); background: var(--teal-soft); }
.dropzone.drag-over { border-color: var(--teal); background: var(--teal-soft); }
.dropzone-icon { font-size: 30px; margin-bottom: 8px; }

/* ---------- fotoğraf / avatar ---------- */
.avatar-upload { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.avatar-circle {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--sand-deep); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0; color: var(--muted); font-size: 28px;
}
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.avatar-actions { display: flex; flex-direction: column; gap: 6px; }
.avatar-actions input[type=file] { display: none; }
.avatar-mini {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--sand-deep);
  font-size: 13px; overflow: hidden; color: var(--muted); flex-shrink: 0; vertical-align: middle;
}
.avatar-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.name-cell { display: flex; align-items: center; gap: 9px; }

/* 27 Eylül 2026: Tanıtım kartlarının sabit üst barı (Üye/Kurumsal, Kiracı,
   Personel, Kullanıcı) - Cari Takip barıyla aynı yapışkan davranış
   (.uye-ust-bar-sticky) + isim/etiket/özet düzeni. */
.kart-ust-bar { align-items: center; gap: 10px 16px; }
.kart-ust-bar .kub-sol { display: flex; flex-direction: column; gap: 4px; flex: 1 1 380px; min-width: 0; }
.kart-ust-bar .kub-isim { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kart-ust-bar .kub-isim h2 { margin: 0; }
.kart-ust-bar .kub-isim h2 a { color: inherit; }
.kart-ust-bar .kub-meta { font-size: 12.8px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 3px 14px; }
.kart-ust-bar .kub-meta a { color: var(--teal); }
.kart-ust-bar .kub-sag { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.pill-notr { background: var(--sand-deep); color: var(--navy); }
.baslik-alt { color: var(--muted); font-weight: 400; }
@media (max-width: 640px) { .kart-ust-bar .kub-sag { justify-content: flex-start; } }
/* tel/e-posta/şifre kutuları diğer metin kutularıyla aynı görünsün */
input:not([type]), input[type=tel], input[type=email], input[type=password], input[type=search] {
  font-family: var(--font-body); font-size: 13.8px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink);
}
/* 27 Eylül 2026: Tediye Tablosu - tutar/tarih hücreleri bölünmesin */
.td-tablo td, .td-tablo th { white-space: nowrap; }
@media (max-width: 880px) {
  /* 5 Ekim 2026: telefonda da başlık sabit; liste kutu içinde yukarı-aşağı ve sağa-sola kayar */
  .table-wrap.baslik-sabit { overflow: auto; max-height: 78vh !important; max-height: 78svh !important; }
}

/* 29 Eylül 2026: Tahakkuk ve Tahsilat ekranı — sıkı düzen, geniş tabloda sütunlar ekrana sığsın. */
table.data-table.tt-tablo th, table.data-table.tt-tablo td { padding: 6px 6px; }
table.data-table.tt-tablo td.tt-isim { white-space: normal; min-width: 150px; max-width: 210px; }
table.data-table.tt-tablo td[colspan] { position: static; box-shadow: none; }
table.data-table.tt-tablo input { font-size: 12px; padding: 3px 5px; height: auto; min-height: 0; }
table.data-table.tt-tablo input[type=checkbox] { padding: 0; }
table.data-table.tt-tablo .tt-tah-sil { padding: 1px 6px; }
table.data-table.tt-tablo .tt-tah-ekle { padding: 2px 8px; font-size: 11.5px; }
table.data-table.tt-tablo tr.tt-ay-satir td { vertical-align: top; }
table.data-table.tt-tablo { font-size: 12.5px; }
table.data-table.tt-tablo th { white-space: normal; line-height: 1.2; }
table.data-table.tt-tablo td.tt-isim { min-width: 130px; max-width: 170px; }
table.data-table.tt-tablo .tt-ozet-btn { font-size: 11px; line-height: 1.15; padding: 3px 7px; text-align: center; }
table.data-table.tt-tablo input[type=date] { padding: 2px 3px; }

/* 29 Eylül 2026 (hizalama): Tahakkuk ve Tahsilat — aylık satırlarda tüm öğeler (metin, tarih, P kutusu,
   ✕ / + düğmeleri, tutar kutusu) aynı yükseklikte (--tt-h) ve aynı yazı boyutunda; her tahsilat
   bütün sütunlarda aynı hizadaki tek bir "şerit" olarak durur. */
table.data-table.tt-tablo { --tt-h: 26px; --tt-fs: 12.5px; }
table.data-table.tt-tablo tr.tt-ay-satir td { vertical-align: top; line-height: var(--tt-h); padding-top: 6px; padding-bottom: 6px; font-size: var(--tt-fs); }
table.data-table.tt-tablo tr.tt-ay-satir td.tt-isim { font-size: var(--tt-fs); }
table.data-table.tt-tablo .tt-serit { display: flex; align-items: center; gap: 4px; height: var(--tt-h); white-space: nowrap; margin: 0; }
table.data-table.tt-tablo .tt-serit + .tt-serit { margin-top: 4px; }
table.data-table.tt-tablo .tt-serit-sag { justify-content: flex-end; }
table.data-table.tt-tablo .tt-metin { line-height: var(--tt-h); }
table.data-table.tt-tablo tr.tt-ay-satir input[type=text],
table.data-table.tt-tablo tr.tt-ay-satir input[type=date] {
  box-sizing: border-box; height: var(--tt-h); min-height: 0; margin: 0;
  font-size: var(--tt-fs); line-height: normal; padding: 0 6px; border-radius: 6px;
}
table.data-table.tt-tablo tr.tt-ay-satir input[type=date] { width: 132px; padding: 0 4px 0 6px; }
table.data-table.tt-tablo tr.tt-ay-satir input.tt-tutar { width: 100px; text-align: right; }
table.data-table.tt-tablo .btn.tt-kare {
  box-sizing: border-box; height: var(--tt-h); min-width: var(--tt-h); width: var(--tt-h);
  padding: 0; margin: 0; justify-content: center; font-size: var(--tt-fs); line-height: 1; border-radius: 6px;
}
table.data-table.tt-tablo .btn.tt-kare.tt-genis { width: auto; padding: 0 10px; }
table.data-table.tt-tablo .tt-pesin-etiket {
  display: inline-flex; align-items: center; gap: 3px; height: var(--tt-h); margin: 0; padding: 0 2px;
  font-size: var(--tt-fs); line-height: 1; cursor: pointer; white-space: nowrap;
}
table.data-table.tt-tablo .tt-pesin-etiket input[type=checkbox] { width: 14px; height: 14px; margin: 0; padding: 0; }
table.data-table.tt-tablo .tt-pill { font-size: 10.5px; line-height: 1.5; padding: 1px 7px; vertical-align: middle; }
table.data-table.tt-tablo .tt-sigma { font-size: var(--tt-fs); }
/* Satır altındaki ayar şeridi: kutular ve düğmeler aynı yükseklikte, alt kenardan hizalı */
table.data-table.tt-tablo .tt-ayar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 10px 12px; background: var(--sand); }
table.data-table.tt-tablo .tt-ayar .form-field { gap: 4px; }
table.data-table.tt-tablo .tt-ayar .form-field label { font-size: 12px; line-height: 1.2; }
table.data-table.tt-tablo .tt-ayar input[type=text] {
  box-sizing: border-box; height: 32px; width: 130px; margin: 0; padding: 0 8px;
  font-size: var(--tt-fs); line-height: normal; text-align: right; border-radius: 6px;
}
table.data-table.tt-tablo .tt-ayar .btn { box-sizing: border-box; height: 32px; padding: 0 14px; font-size: var(--tt-fs); line-height: 1; border-radius: 6px; }
table.data-table.tt-tablo .tt-ayar .tt-ayar-not { font-size: 12px; line-height: 32px; }
table.data-table.tt-tablo .tt-ayar .tt-ayar-uyari { font-size: 11.5px; white-space: normal; align-self: center; }

/* 1 Ekim 2026 (Sedef 30 Eylül): Su Hesabı / Hesap Özeti sayfaları üst çubuğu - ‹ Geri / İleri › ve her zaman erişilebilir Kaydet */
.hk-nav { display: inline-flex; align-items: stretch; border: 1px solid #b9ccc4; border-radius: 8px; overflow: hidden; background: #fff; }
.hk-nav .hk-git { font: inherit; font-size: 13px; font-weight: 700; padding: 5px 11px; border: 0; background: #fff; color: var(--teal, #1d6b57); cursor: pointer; white-space: nowrap; }
.hk-nav .hk-git:hover:not([disabled]) { background: var(--teal-soft, #e2efe9); }
.hk-nav .hk-git[disabled] { color: #b9b09a; cursor: default; }
.hk-nav .hk-git:first-child { border-right: 1px solid #e4dccd; }
.hk-nav .hk-git:last-child { border-left: 1px solid #e4dccd; }
.hk-nav .hk-sira { font-size: 12.5px; color: #4d473f; padding: 0 10px; display: inline-flex; align-items: center; white-space: nowrap; }
.hk-kaydet { white-space: nowrap; background: #e2efe9 !important; color: #134a3c !important; border: 1px solid var(--teal, #1d6b57) !important; }
.hk-kaydet.hk-degisti { background: #b45309 !important; color: #fff !important; border-color: #b45309 !important; box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.2); }

/* ---------- 5 Ekim 2026: Tanıtım Kartları sayfa düzeni (body.tk-sayfa) ---------- */
.tk-ipucu { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 4px; border-radius: 50%;
  font-size: 11px; font-weight: 700; line-height: 1; color: var(--teal, #2f6f73); background: var(--teal-soft, #e6f0ee); cursor: help; position: relative; vertical-align: middle; font-style: normal; }
.tk-ipucu:hover::after, .tk-ipucu:focus::after { content: attr(data-ipucu); position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  width: max-content; max-width: min(340px, 80vw); white-space: normal; text-align: left; font-size: 12.5px; font-weight: 400; line-height: 1.45; color: #fff;
  background: var(--navy-deep, #16323c); padding: 8px 11px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.22); z-index: 60; text-transform: none; letter-spacing: 0; }
.tk-ipucu:focus { outline: none; }
body.tk-sayfa .form-grid { align-items: start; }
body.tk-sayfa .form-field > label { white-space: nowrap; overflow: visible; min-height: 18px; display: flex; align-items: center; gap: 2px; }
body.tk-sayfa .form-field > label > .tk-ipucu { flex: none; }
body.tk-sayfa .section-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
body.tk-sayfa .section-title-row > .toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex: 1 1 auto; margin: 0; }
body.tk-sayfa .section-title-row > .toolbar:last-child { justify-content: flex-end; }
body.tk-sayfa .section-title-row > .toolbar:first-child:not(:last-child) { justify-content: flex-start; }
body.tk-sayfa .section-title-row > a.btn:last-child, body.tk-sayfa .section-title-row > button.btn:last-child { margin-left: auto; }
body.tk-sayfa .section-title-row .search-input { width: 240px; max-width: 100%; }
body.tk-sayfa .section-title-row .btn, body.tk-sayfa .section-title-row select, body.tk-sayfa .section-title-row .search-input { min-height: 36px; }
body.tk-sayfa .section-title-row details > summary.btn { display: inline-flex; align-items: center; }
body.tk-sayfa .section-title-row details[open] { position: relative; }
body.tk-sayfa .section-title-row details[open] > .toolbar { position: absolute; z-index: 30; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.14); flex-direction: column; align-items: stretch; min-width: 320px; }
#tk-eksik-not { display: none; position: fixed; right: 18px; bottom: 90px; z-index: 80; max-width: min(420px, 90vw); background: #fff8e6; color: #6b4a00;
  border: 1px solid #e8c56a; border-radius: 10px; padding: 10px 14px; font-size: 13px; line-height: 1.5; box-shadow: 0 8px 24px rgba(0,0,0,.18); cursor: pointer; }
@media (min-width: 881px) { body.tk-sayfa .section-title-row { flex-wrap: nowrap; align-items: flex-start; } body.tk-sayfa .section-title-row > .toolbar { min-width: 0; } body.tk-sayfa .section-title-row > a.btn, body.tk-sayfa .section-title-row > .toolbar:last-child > a.btn:last-child { white-space: nowrap; flex: none; } }

/* ---------- 10 Ekim 2026 (v1.95): Alım ve Ödeme liste ekranları — ortak sabit üst çubuk ---------- */
.ao-ekran { padding-top: 0; }
.ao-ust {
  position: sticky; top: var(--ao-ust, 69px); z-index: 6;
  display: flex; flex-wrap: nowrap; align-items: center; gap: 8px;
  margin: 0 -22px; padding: 12px 22px; background: var(--white);
  border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0;
  overflow-x: auto; scrollbar-width: thin;
}
.ao-ust > * { flex: none; }
.ao-ust input, .ao-ust select { height: 34px; padding: 4px 8px; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); min-width: 0; }
.ao-ust .ao-u-tarih { width: 128px; padding-right: 4px; }
.ao-ust .ao-u-ayrac { margin: 0 -3px; }
.ao-ust .ao-u-secim { flex: 1 1 140px; min-width: 96px; max-width: 200px; text-overflow: ellipsis; }
.ao-ust .ao-u-ara { flex: 1 1 140px; min-width: 100px; max-width: 280px; }
.ao-ust .ao-u-bosluk { flex: 1 1 0; min-width: 0; }
.ao-ust .btn.small { height: 34px; white-space: nowrap; padding-left: 10px; padding-right: 10px; }
/* Açıklama kolonu satıra sarılır; uzun banka açıklamaları tabloyu yana taşırmaz */
.ao-liste table.data-table td.ao-acik { white-space: normal; min-width: 180px; max-width: 420px; overflow-wrap: anywhere; }
.ao-liste table.data-table td.ao-cari { white-space: normal; min-width: 140px; max-width: 240px; }
.ao-liste table.data-table td.ao-kalem { white-space: normal; min-width: 150px; max-width: 230px; }
.ao-liste table.data-table td.ao-belge { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.ao-u-info.acik { background: var(--teal-soft); border-color: var(--teal); }
.ao-u-rozet { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #b5452b; color: #fff; font-size: 11px; line-height: 18px; text-align: center; margin-left: 2px; }
.ao-info-panel { margin: 12px 0 0; padding: 12px 14px; background: var(--sand, #f5f1e8); border: 1px solid var(--line); border-radius: var(--radius); }
.ao-info-panel .hint { margin: 8px 0 0; }
.ao-info-panel .cards-grid { margin-top: 0; }
.ao-liste { margin-top: 12px; }
.ao-liste table.data-table tfoot td { position: sticky; bottom: 0; background: var(--sand-deep); z-index: 2; border-top: 1px solid var(--line); }
@media (max-width: 1400px) { .ao-ust .ao-u-et { display: none; } .ao-ust .ao-u-tarih { width: 122px; } }
.ao-ust .ao-u-baslik { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--navy-deep); }

/* ---------- 10 Ekim 2026 (v1.97): Raporlar › Mali Rapor (muhasebe "Mali Özet" düzeni) ---------- */
.ao-u-hizli { display: inline-flex; gap: 4px; }
.mr-sayfa { max-width: 1100px; margin: 14px auto 4px; font-family: Arial, Helvetica, sans-serif; color: #111; }
.mr-bas { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; }
.mr-logo { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #1e88c8 0 55%, #f6b21a 55%); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.mr-site { font-size: 21px; font-weight: 700; }
.mr-baslik { font-size: 20px; font-weight: 700; letter-spacing: 2px; }
.mr-ana-tablo { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mr-ana-tablo > tbody > tr > td { vertical-align: top; padding: 0; }
.mr-ana-tablo td.mr-ara { width: 18px; border-left: 3px solid #e02020; }
.mr-tarih { font-weight: 600; font-size: 14.5px; padding: 0 4px 6px !important; }
.mr-hucre { padding-bottom: 14px !important; }
.mr-blok { width: 100%; border-collapse: collapse; font-size: 14px; }
.mr-blok td { padding: 3px 6px; white-space: nowrap; }
.mr-kutu td { border: 2px solid #e02020; font-weight: 700; padding: 4px 6px; }
.mr-kutu.mr-mavi td { background: #c9daf8; }
.mr-kutu.mr-sari td { background: #f1c232; }
.mr-kutu.mr-uyari td { background: #f4c7c3; color: #8e1c12; } /* v2.03: Mutabakat Farkı */
.mr-kutu.mr-ana td { text-align: center; }
.mr-kutu.mr-ana td.mr-tut { text-align: right; }
.mr-kutu .mr-ad { width: 64%; white-space: normal; }
.mr-kutu .mr-tut, .mr-oran .mr-tut, .mr-mevcut .mr-tut { text-align: right; font-variant-numeric: tabular-nums; }
.mr-kutu .mr-harf { width: 22px; text-align: center; }
.mr-not { font-weight: 400; font-size: 11px; color: #444; }
.mr-alt td { font-size: 14px; }
.mr-alt td:first-child { white-space: normal; text-transform: none; }
.mr-alt .mr-altt { text-align: right; font-variant-numeric: tabular-nums; }
.mr-alt .mr-yz { text-align: right; width: 22px; font-variant-numeric: tabular-nums; }
.mr-oran td { background: #ffe599; font-weight: 700; padding: 5px 6px; }
.mr-oran .mr-tut { background: #fff; border: 1px solid #f1c232; }
.mr-mevcut { margin-top: 16px; border: 3px solid #e02020; padding: 14px 18px; }
.mr-mevcut td { font-weight: 700; font-size: 13.5px; padding: 4px 6px; }
.mr-mb td { font-weight: 700; }
.mr-mb-yesil td { background: #d9ead3; }
.mr-mb-sari td { background: #ffe599; }
.mr-sonuc td { background: #f4cccc; font-size: 14.5px; }
@media (max-width: 880px) { .mr-ana-tablo, .mr-ana-tablo > tbody, .mr-ana-tablo > tbody > tr, .mr-ana-tablo > tbody > tr > td { display: block; width: 100%; } .mr-ana-tablo td.mr-ara { display: none; } }
.ao-liste tr.ao-gg-grup td { background: var(--sand, #f5f1e8); }
/* ---------- 10 Ekim 2026 (v1.99): Tediyeler › Alım ve Ödeme ---------- */
.tb-tablo tr.tb-ozet:hover td { background: var(--teal-soft); }
.tb-tablo tr.tb-detay td { background: #fbfaf6; vertical-align: top; font-size: 12.5px; }
.tb-tablo tr.tb-detay .tb-acik { font-size: 11.5px; color: #555; white-space: normal; }
.tb-tablo tr.tb-alt td { background: #f3efe4; text-align: right; padding: 8px 10px; }
.tb-tablo .tb-td { display: flex; gap: 4px; align-items: center; justify-content: flex-end; margin: 2px 0; min-height: 30px; }
.tb-tablo td:nth-child(5) .tb-td { justify-content: flex-start; }
.tb-tablo .tb-td input[type="date"] { width: 118px; height: 30px; font-size: 12.5px; padding: 2px 6px; }
.tb-tablo .tb-td select { height: 30px; font-size: 12px; padding: 2px 4px; }
.tb-tablo .tb-td .tb-tutar { width: 96px; height: 30px; text-align: right; font-size: 12.5px; padding: 2px 6px; }
.tb-tablo .tb-td .btn.small { height: 28px; padding: 0 8px; }
.tb-tablo .tb-oneri { width: 8px; height: 8px; border-radius: 50%; background: #e0a800; display: inline-block; flex: none; }
.tb-tablo tr.tb-detay .tb-cari-ad { display: block; max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-tablo tr.tb-ozet td.ao-cari b { display: block; max-width: 240px; }
.tb-tablo .tb-rozet { font-size: 10px; background: #e8f0fe; color: #1a4fa0; border-radius: 6px; padding: 1px 5px; margin-left: 4px; }
.tb-tablo .tb-rozet.tb-tahmini { background: #fff3cd; color: #8a6d1f; }
.tb-tablo .tb-islem { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.tb-tablo .tb-islem .btn.small { height: 22px; padding: 0 6px; font-size: 11px; }
