/* ── Temel ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-tap-highlight-color: transparent; }
body { font-family: 'Inter', system-ui, sans-serif; background: #fff; color: #111827; -webkit-font-smoothing: antialiased; }

/* ── Değişkenler ── */
:root {
  --gold:        #C9A84C;
  --gold-dark:   #A07C28;
  --gold-light:  #FBF7EE;
  --cream:       #F5EFDA;
  --text:        #111827;
  --muted:       #6B7280;
  --border:      #E5E7EB;
  --radius:      12px;
}

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 640px; margin: 0 auto; padding: 0 20px;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.header-logo { height: 30px; width: auto; display: block; }
.hamburger {
  width: 42px; height: 42px; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; color: var(--text); transition: background .15s;
}
.hamburger:hover { background: #F3F4F6; }

/* ════════════════════════════════
   MOBİL MENÜ — SAĞ ÇEKMECE
════════════════════════════════ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; justify-content: flex-end;
}
.menu-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.38);
}
.menu-panel {
  position: relative; z-index: 1;
  width: 78%; max-width: 300px; height: 100%;
  background: var(--cream);
  display: flex; flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,.14);
}
.menu-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid rgba(0,0,0,.08);
}
.menu-panel-logo { height: 28px; width: auto; }
.menu-x {
  width: 36px; height: 36px; border: none; background: rgba(0,0,0,.08);
  border-radius: 50%; cursor: pointer; color: var(--text);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: background .15s;
}
.menu-x:hover { background: rgba(0,0,0,.14); }
.menu-links { flex: 1; }
.menu-links a {
  display: flex; align-items: center; gap: 14px;
  padding: 17px 22px; font-size: 1rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background .12s;
}
.menu-links a:hover { background: rgba(0,0,0,.04); }
.menu-links a .mi { color: var(--gold); flex-shrink: 0; }
.menu-links a .mc { flex: 1; }
.menu-links a .ma { color: var(--muted); }
.menu-bottom {
  padding: 18px 22px; border-top: 1px solid rgba(0,0,0,.06);
  display: flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: .82rem;
}

/* ════════════════════════════════
   ANA SAYFA
════════════════════════════════ */
.home-hero {
  padding: 44px 24px 28px;
  display: flex; flex-direction: column; align-items: flex-start;
  max-width: 640px; margin: 0 auto; width: 100%;
}
.home-hero h1 {
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 10px;
}
.home-hero h1 span { color: var(--gold); }
.home-hero p { color: var(--muted); font-size: .95rem; margin-bottom: 24px; line-height: 1.6; }

.search-bar {
  width: 100%; max-width: 520px; position: relative; margin-bottom: 20px;
}
.search-bar input {
  width: 100%; height: 54px; padding: 0 56px 0 20px;
  border: 1.5px solid var(--border); border-radius: 999px;
  font-size: .97rem; font-family: inherit; background: #fff; color: var(--text);
  outline: none; box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: border-color .15s, box-shadow .15s;
}
.search-bar input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15), 0 2px 12px rgba(0,0,0,.06);
}
.search-bar input::placeholder { color: #9CA3AF; }
.search-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: none; border-radius: 50%;
  background: var(--gold); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.search-btn:hover { background: var(--gold-dark); }

.feat-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.feat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: var(--gold-light);
  border-radius: 999px; font-size: .78rem; font-weight: 500; color: #78580A;
}

.wa-row {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 520px; padding: 14px 18px;
  background: #F0FDF4; border-radius: 12px;
  text-decoration: none; color: #15803d; font-size: .9rem; font-weight: 500;
  transition: background .15s;
}
.wa-row:hover { background: #DCFCE7; }
.wa-row-left { display: flex; align-items: center; gap: 10px; }

/* ════════════════════════════════
   ARAMA SONUÇLARI
════════════════════════════════ */
.results-wrap { max-width: 640px; margin: 0 auto; padding: 16px 20px 40px; }
.results-back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px;
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: .88rem; font-weight: 500; padding: 0;
}
.results-back:hover { color: var(--text); }
.results-title { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.results-tag {
  display: inline-flex; align-items: center; gap: 5px; margin-bottom: 6px;
  background: var(--gold-light); color: var(--gold-dark);
  padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600;
}
.results-count { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }

/* Arama kutusu sonuç sayfasında */
.results-searchbar { position: relative; margin-bottom: 20px; }
.results-searchbar input {
  width: 100%; height: 48px; padding: 0 50px 0 18px;
  border: 1.5px solid var(--border); border-radius: 999px;
  font-size: .93rem; font-family: inherit; background: #fff; color: var(--text);
  outline: none; transition: border-color .15s;
}
.results-searchbar input:focus { border-color: var(--gold); }
.results-searchbar input::placeholder { color: #9CA3AF; }
.results-searchbar .search-btn {
  width: 36px; height: 36px; right: 6px;
}

/* Sonuç satırı */
.result-row {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid #F3F4F6; cursor: pointer;
}
.result-row:active { background: #FAFAFA; }
.result-ic {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--gold-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.result-body { flex: 1; min-width: 0; }
.result-body h3 {
  font-size: .93rem; font-weight: 600; color: var(--text);
  line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.result-body p { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.result-cta { font-size: .82rem; font-weight: 600; color: var(--gold); white-space: nowrap; flex-shrink: 0; }

/* WA promo bloğu */
.wa-promo {
  background: var(--gold-light); border-radius: 14px; padding: 18px;
  margin-top: 20px;
}
.wa-promo h4 { font-size: .92rem; font-weight: 600; margin-bottom: 3px; }
.wa-promo p  { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }

/* ════════════════════════════════
   SERTİFİKA DETAY — BEYAZ SAYFA
════════════════════════════════ */
.detail-page {
  min-height: calc(100vh - 60px);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 40px 28px 60px;
}
.detail-back {
  position: absolute; top: 70px; left: 20px;
  width: 38px; height: 38px; border: none; background: #F3F4F6;
  border-radius: 50%; cursor: pointer; color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
.detail-cert-img {
  width: 100px; height: 100px;
  background: var(--gold-light); border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--gold);
}
.detail-title {
  font-size: 1.55rem; font-weight: 700; color: var(--text);
  line-height: 1.25; margin-bottom: 10px;
}
.detail-sub { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.detail-meta {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px;
}
.detail-meta-chip {
  padding: 6px 14px; background: #F9FAFB; border-radius: 8px;
  font-size: .82rem; color: var(--muted);
}
.detail-meta-chip strong { color: var(--text); display: block; font-size: .88rem; }
.btn-basvur {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: var(--gold); color: #fff;
  border: none; border-radius: 999px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: background .15s; text-decoration: none;
}
.btn-basvur:hover { background: var(--gold-dark); }

/* ════════════════════════════════
   FORM GÖRÜNÜMÜ — ALTIN + ALT SHEET
════════════════════════════════ */
.form-view {
  min-height: 100vh; display: flex; flex-direction: column;
  background: linear-gradient(150deg, #C9A84C 0%, #A07C28 100%);
}
.form-hero {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 50px 24px 0; color: #fff;
}
.form-hero-ic {
  width: 72px; height: 72px; background: rgba(255,255,255,.22); border-radius: 20px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: #fff;
}
.form-hero h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.form-hero p  { font-size: .88rem; opacity: .8; }
.form-sheet {
  background: #fff; border-radius: 24px 24px 0 0;
  padding: 24px 24px 44px; margin-top: 24px;
}
.sheet-drag {
  width: 40px; height: 4px; background: #E5E7EB; border-radius: 999px;
  margin: 0 auto 20px;
}
.sheet-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.sheet-head h3 { font-size: 1.05rem; font-weight: 700; }
.sheet-close {
  width: 32px; height: 32px; border: none; background: #F3F4F6;
  border-radius: 50%; cursor: pointer; color: var(--text);
  display: flex; align-items: center; justify-content: center;
}

/* ════════════════════════════════
   BAŞARI EKRANI
════════════════════════════════ */
.success-page {
  min-height: calc(100vh - 60px);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 40px 24px;
}
.success-icon {
  width: 80px; height: 80px; background: #DCFCE7; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #16a34a;
}
.success-page h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.success-page > p { color: var(--muted); font-size: .93rem; margin-bottom: 28px; max-width: 260px; }
.success-links { display: flex; gap: 6px; margin-top: 20px; color: var(--muted); font-size: .82rem; }
.success-links a { color: var(--muted); text-decoration: none; }
.success-links a:hover { color: var(--text); }

/* ════════════════════════════════
   GENEL BUTON / INPUT
════════════════════════════════ */
.btn-gold-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--gold); color: #fff;
  border: none; border-radius: 999px; font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: background .15s; text-decoration: none; white-space: nowrap;
}
.btn-gold-pill:hover { background: var(--gold-dark); }
.btn-gold-pill.full { width: 100%; justify-content: center; }

.btn-wa-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: #25d366; color: #fff;
  border: none; border-radius: 999px; font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: background .15s; text-decoration: none; white-space: nowrap;
}
.btn-wa-pill:hover { background: #1ebe5d; }
.btn-wa-pill.full { width: 100%; justify-content: center; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.field-wrap { position: relative; }
.field-ic {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #9CA3AF; pointer-events: none;
}
.field input {
  width: 100%; height: 50px; padding: 0 16px 0 44px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .95rem; font-family: inherit; color: var(--text);
  outline: none; transition: border-color .15s;
}
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.12); }
.field input::placeholder { color: #9CA3AF; }
.field input.err { border-color: #ef4444; }
.err-msg { color: #ef4444; font-size: .8rem; margin-top: 4px; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.page-foot {
  padding: 20px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--muted); font-size: .8rem;
}

/* ════════════════════════════════
   YÜKLEME / BOŞ
════════════════════════════════ */
.spinner {
  width: 30px; height: 30px; border: 2px solid var(--border);
  border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center; padding: 48px 24px;
}
.empty-state .eic {
  width: 64px; height: 64px; background: var(--gold-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--gold);
}
.empty-state h3 { font-size: .97rem; font-weight: 600; margin-bottom: 6px; }
.empty-state p  { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }

/* ════════════════════════════════
   ADMİN PANELİ
════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border: none; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background .15s, transform .1s;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary   { background: #1e2561; color: #fff; }
.btn-primary:hover { background: #172053; }
.btn-secondary { background: #fff; color: #374151; border: 1.5px solid var(--border); }
.btn-secondary:hover { background: #F9FAFB; }
.btn-danger    { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.input {
  width: 100%; height: 48px; padding: 0 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .93rem; font-family: inherit; color: var(--text);
  outline: none; transition: border-color .15s;
}
.input:focus { border-color: #1e2561; box-shadow: 0 0 0 3px rgba(30,37,97,.1); }
.input::placeholder { color: #9CA3AF; }
.input-error { border-color: #ef4444; }
textarea.input { height: auto; padding: 12px 16px; resize: vertical; }
label.lbl { display: block; font-size: .87rem; font-weight: 500; color: #374151; margin-bottom: 5px; }
.error-msg { color: #ef4444; font-size: .82rem; margin-top: 4px; }

.admin-wrap { display: flex; min-height: 100vh; }
.sidebar { width: 220px; flex-shrink: 0; background: #1e2561; display: flex; flex-direction: column; }
.sidebar-logo { padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar-logo img { height: 28px; filter: brightness(0) invert(1); }
.sidebar-nav { flex: 1; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 9px; color: rgba(255,255,255,.72); font-size: .88rem; font-weight: 500;
  text-decoration: none; transition: background .15s, color .15s;
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,255,255,.14); color: #fff; }
.sidebar-nav a svg { flex-shrink: 0; }
.sidebar-bottom { padding: 10px 8px; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-bottom a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 9px; color: rgba(255,255,255,.6); font-size: .88rem;
  text-decoration: none; transition: background .15s;
}
.sidebar-bottom a:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { flex: 1; overflow-y: auto; background: #f8fafc; }
.admin-content { max-width: 1000px; margin: 0 auto; padding: 28px 22px; }
.page-title { font-size: 1.4rem; font-weight: 700; color: #0f172a; }
.page-sub   { color: #64748b; font-size: .87rem; margin-top: 2px; }

.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th { text-align: left; padding: 11px 14px; font-weight: 600; color: #64748b; background: #f8fafc; border-bottom: 1.5px solid #e2e8f0; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid #f1f5f9; color: #0f172a; vertical-align: middle; }
.tbl tr:hover td { background: #f8fafc; }
.tbl-wrap { border: 1.5px solid #e2e8f0; border-radius: 13px; overflow: hidden; }

.tabs { display: flex; background: #f1f5f9; padding: 4px; border-radius: 12px; gap: 4px; }
.tab-btn { flex: 1; padding: 9px 14px; border: none; border-radius: 8px; background: none; font-size: .88rem; font-weight: 500; color: #64748b; cursor: pointer; transition: all .15s; }
.tab-btn.active { background: #fff; color: #0f172a; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media(min-width:640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { padding: 18px; background: #fff; border: 1.5px solid #e2e8f0; border-radius: 14px; }
.stat-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.stat-num  { font-size: 1.6rem; font-weight: 700; color: #0f172a; }
.stat-lbl  { font-size: .82rem; color: #64748b; margin-top: 2px; }

.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: .73rem; font-weight: 600; }
.badge-aktif    { background: #ecfdf5; color: #059669; }
.badge-pasif    { background: #f1f5f9; color: #64748b; }
.badge-bekliyor { background: #fffbeb; color: #d97706; }
.badge-onaylandi { background: #ecfdf5; color: #059669; }

.card { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.4); backdrop-filter: blur(4px); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
@media(min-width:640px) { .modal-bg { align-items: center; padding: 16px; } }
.modal-box { background: #fff; width: 100%; max-width: 440px; border-radius: 20px 20px 0 0; padding: 24px 22px 36px; max-height: 92vh; overflow-y: auto; }
@media(min-width:640px) { .modal-box { border-radius: 20px; } }
.modal-title { font-size: 1.15rem; font-weight: 700; color: #0f172a; }

[x-cloak] { display: none !important; }

/* ════════════════════════════════════════════════════════
   ADMİN — MOBİL TOPBAR & OVERLAY SIDEBAR
════════════════════════════════════════════════════════ */
.admin-topbar {
  display: none;                     /* varsayılan: gizli (masaüstü) */
  align-items: center; justify-content: space-between;
  padding: 0 16px; height: 56px;
  background: #1e2561;
  position: sticky; top: 0; z-index: 30;
  flex-shrink: 0; width: 100%;
}
.admin-topbar-logo { height: 22px; filter: brightness(0) invert(1); }
.admin-topbar-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.14); border: none; border-radius: 9px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background .15s;
}
.admin-topbar-btn:hover { background: rgba(255,255,255,.24); }

.sidebar-close-btn {
  display: none;                     /* sadece mobilde göster */
  width: 28px; height: 28px;
  background: rgba(255,255,255,.14); border: none; border-radius: 7px;
  cursor: pointer; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85); transition: background .15s; flex-shrink: 0;
}
.sidebar-close-btn:hover { background: rgba(255,255,255,.24); }

/* sidebar-logo: orijinal padding/border-bottom korunur, flex eklenir */
.sidebar-logo { display: flex; align-items: center; justify-content: space-between; }

.sidebar-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 39;
}
.sidebar-backdrop.is-open { display: block; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE — FRONTEND (ana site)
   KURAL: max-width değerleri DEĞİŞTİRİLMEZ — sadece
   çok küçük ekranlarda padding/font ayarları yapılır.
════════════════════════════════════════════════════════ */

/* Çok küçük ekran (< 380px): padding azalt, font küçült */
@media (max-width: 379px) {
  .header-inner  { padding: 0 12px; }
  .home-hero     { padding: 24px 14px 20px; }
  .home-hero h1  { font-size: 1.5rem; }
  .feat-chip     { font-size: .72rem; padding: 5px 10px; }
  .results-wrap  { padding: 12px 12px 32px; }
  .detail-page   { padding: 24px 14px 48px; }
  .detail-title  { font-size: 1.3rem; }
  .form-sheet    { padding: 20px 14px 36px; }
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — ADMİN PANELİ
════════════════════════════════════════════════════════ */

/* ── Mobil: < 768px ── */
@media (max-width: 767px) {
  /* Topbar & kapatma butonu göster */
  .admin-topbar      { display: flex; }
  .sidebar-close-btn { display: flex; }

  /* Sidebar: sabit overlay olarak açılır */
  .sidebar {
    position: fixed !important; top: 0; left: 0;
    height: 100vh; height: 100dvh; z-index: 40;
    width: 264px !important;
    transform: translateX(-100%);
    transition: transform .25s cubic-bezier(.4,0,.2,1);
  }
  .sidebar.is-open { transform: translateX(0); }

  /* Ana içerik: tam genişlik, dikey sıralama */
  .admin-wrap    { flex-direction: column; }
  .admin-main    { overflow-y: visible; min-width: 0; }
  .admin-content { padding: 16px 14px 40px; }

  /* Tablolar: yatay kaydırma */
  .tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tbl th, .tbl td { padding: 9px 10px; font-size: .8rem; white-space: nowrap; }

  /* İstatistik kartları: 2 sütun */
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-num  { font-size: 1.3rem; }
  .stat-lbl  { font-size: .75rem; }

  /* Modal: alt sayfa stili */
  .modal-box { padding: 18px 14px 36px; max-height: 96vh; }

  /* Sekmeler & butonlar */
  .tabs    { padding: 3px; }
  .tab-btn { font-size: .82rem; padding: 8px 10px; }
  .btn     { min-height: 40px; padding: 0 14px; font-size: .85rem; }
  .input   { height: 44px; font-size: .9rem; }

  /* Sayfa başlığı */
  .page-title { font-size: 1.15rem; }
  .page-sub   { font-size: .82rem; }
}

/* ── Tablet: 768px – 1023px ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .sidebar { width: 200px; }
  .sidebar-nav a { font-size: .85rem; padding: 9px 11px; }
  .admin-content { padding: 22px 18px; }
  .tbl-wrap { overflow-x: auto; }
}

/* ── Geniş masaüstü: 1280px+ ── */
@media (min-width: 1280px) {
  .admin-content { max-width: 1200px; padding: 32px 28px; }
}

/* ── TV / Ultra-geniş: 1920px+ ── */
@media (min-width: 1920px) {
  .sidebar { width: 256px; }
  .sidebar-nav a { font-size: .95rem; padding: 11px 14px; }
  .admin-content { max-width: 1560px; padding: 40px 36px; }
  .page-title { font-size: 1.6rem; }
  .stat-grid  { gap: 20px; }
  .stat-card  { padding: 22px; }
  .stat-num   { font-size: 2rem; }
  .tbl th, .tbl td { padding: 14px 16px; font-size: .95rem; }
  .btn   { min-height: 50px; padding: 0 24px; font-size: .98rem; }
  .input { height: 52px; font-size: .98rem; }
}

/* ════════════════════════════════════════════════════════
   İLETİŞİM SAYFASI — FOOTER
════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px; text-align: center;
}
.footer-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.footer-copy  { font-size: .82rem; color: var(--muted); }

/* İletişim: çok küçük ekranlarda nav */
@media (max-width: 400px) {
  .header-inner { padding: 0 12px; }
  .header-inner nav a { padding: 8px 10px; font-size: .82rem; }
}
