/* ==========================================================================
   HizmetGelir — Ticari Pazar Yeri Tasarım Sistemi v2 ("Prestige Craft")
   --------------------------------------------------------------------------
   - Yüksek kontrastlı koyu orman yeşili (#0b2219) mimari alanlar + ferah taş/gümüş
     zemin (#f3f5f4) + katmanlı gölgeli beyaz kartlar (#ffffff).
   - Başlıklar: Plus Jakarta Sans (600/700/800), Gövde: Plus Jakarta Sans / Onest.
   - Gerçek fotoğraf kullanımı, net görsel hiyerarşi, koyu yönetici kenar menüsü.
   - Emoji yok, yapay pazarlama jargonu yok.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --forest-950: #0b2219;
  --forest-900: #103124;
  --forest-800: #164231;

  --brand: #15803d;
  --brand-hover: #166534;
  --brand-bright: #22c55e;
  --brand-soft: #ecfdf3;
  --brand-line: #abefc6;

  --amber: #d97706;
  --amber-soft: #fffbeb;
  --amber-line: #fde68a;

  --ink: #0f172a;
  --ink-soft: #334155;
  --ink-muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --surface: #ffffff;
  --canvas: #f3f5f4;
  --subtle: #e9eceb;

  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --warning: #b45309;
  --warning-soft: #fffbeb;
  --info: #1d4ed8;
  --info-soft: #eff6ff;

  --radius-card: 16px;
  --radius-ctrl: 10px;
  --shadow-card: 0 1px 3px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .08);
  --shadow-lift: 0 18px 36px -12px rgba(15, 23, 42, .15), 0 4px 12px -4px rgba(15, 23, 42, .06);
  --shadow-pop: 0 20px 42px -12px rgba(15, 23, 42, .24), 0 4px 12px rgba(15, 23, 42, .08);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; }
::selection { background: #bbf7d0; color: #052e16; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ---------- Düzen ve Tipografi ---------- */
.container-page { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container-page { padding: 0 32px; } }
.section { padding: 64px 0; }
@media (min-width: 1024px) { .section { padding: 88px 0; } }

.page-title { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; margin: 0; color: inherit; }
@media (min-width: 768px) { .page-title { font-size: 42px; } }
.section-title { font-size: 24px; line-height: 1.22; font-weight: 700; letter-spacing: -0.025em; margin: 0; color: inherit; }
@media (min-width: 768px) { .section-title { font-size: 30px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #86efac; }

.muted { color: var(--ink-muted); }
.text-soft { color: var(--ink-soft); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Mimari Koyu Alanlar (Hero & Bantlar) ---------- */
.hero-dark {
  position: relative;
  background-color: var(--forest-950);
  background-image:
    radial-gradient(900px 480px at 85% 15%, rgba(34, 197, 94, .18), transparent 65%),
    radial-gradient(700px 420px at 10% 95%, rgba(21, 128, 61, .22), transparent 60%),
    linear-gradient(180deg, #0b2219 0%, #0e2b20 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.07;
  background-image: linear-gradient(to right, #ffffff 1px, transparent 1px),
                    linear-gradient(to bottom, #ffffff 1px, transparent 1px);
  background-size: 48px 48px;
}
.search-command-bar {
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 24px 48px -12px rgba(5, 20, 14, .45), 0 0 0 1px rgba(255, 255, 255, .14);
  color: var(--ink);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1;
  border-radius: var(--radius-ctrl); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  user-select: none;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(180deg, #188c44 0%, #15803d 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 2px 6px rgba(21, 128, 61, .28);
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #167a3b 0%, #146934 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 6px 16px rgba(21, 128, 61, .36);
}
.btn-secondary {
  background: var(--surface); color: var(--ink); border-color: var(--line-strong);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.btn-secondary:hover:not(:disabled) { background: #f8fafc; border-color: #94a3b8; }

.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover:not(:disabled) { background: rgba(15, 23, 42, .05); color: var(--ink); }

.btn-outline-light {
  background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22);
}
.btn-outline-light:hover:not(:disabled) { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .4); }

.btn-amber {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 8px rgba(217, 119, 6, .3);
}
.btn-amber:hover:not(:disabled) { background: #b45309; }

.btn-danger { background: var(--surface); color: var(--danger); border-color: #fecaca; }
.btn-danger:hover:not(:disabled) { background: var(--danger-soft); border-color: #fca5a5; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover:not(:disabled) { background: #1e293b; }

.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn-sm.btn-icon { width: 34px; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: hl-spin .7s linear infinite; }
@keyframes hl-spin { to { transform: rotate(360deg); } }

.link { color: var(--brand); text-decoration: none; font-weight: 600; }
.link:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Form Elemanları ---------- */
.label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.label .optional { font-weight: 400; color: var(--ink-muted); }
.input, .select, .textarea {
  display: block; width: 100%;
  height: 44px; padding: 0 14px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-ctrl);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
  transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.textarea { height: auto; min-height: 96px; padding: 11px 14px; resize: vertical; line-height: 1.5; }
.select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.input::placeholder, .textarea::placeholder { color: #94a3b8; }
.input:hover, .select:hover, .textarea:hover { border-color: #94a3b8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21, 128, 61, .15); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.input:disabled, .select:disabled, .textarea:disabled { background: #f1f5f9; color: var(--ink-muted); }
.field-hint { font-size: 13px; color: var(--ink-muted); margin-top: 6px; }
.field-error { font-size: 13px; font-weight: 500; color: var(--danger); margin-top: 6px; }
.field + .field { margin-top: 16px; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }

.option {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--surface); cursor: pointer; font-size: 15px; font-weight: 500;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.option:hover { border-color: var(--line-strong); background: #fafcfb; }
.option input { accent-color: var(--brand); width: 18px; height: 18px; flex-shrink: 0; }
.option:has(input:checked), .option.is-selected {
  border-color: var(--brand); background: var(--brand-soft);
  box-shadow: 0 2px 8px rgba(21, 128, 61, .08);
}

/* ---------- Kartlar ve Görsel Bileşenler ---------- */
.card {
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.card-interactive {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(21, 128, 61, .28);
}
.card-body { padding: 20px; }
@media (min-width: 768px) { .card-body { padding: 24px; } }
.card-header { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
a.card { text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }

/* Kategori Fotoğraf Kartı */
.cat-media {
  position: relative; height: 156px; overflow: hidden;
  border-radius: calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px) 0 0;
  background: #1e293b;
}
.cat-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.card-interactive:hover .cat-media img, a.card:hover .cat-media img { transform: scale(1.06); }
.cat-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.08) 0%, rgba(15,23,42,.68) 100%);
}
.cat-media-top {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.cat-media-bottom {
  position: absolute; bottom: 12px; left: 14px; right: 14px; z-index: 2;
  color: #fff;
}

/* KPI İstatistik Kartı */
.stat { padding: 20px 22px; position: relative; overflow: hidden; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stat-label { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.stat-value { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; margin-top: 6px; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.stat-icon-emerald { background: var(--brand-soft); color: var(--brand); }
.stat-icon-amber { background: var(--amber-soft); color: var(--amber); }
.stat-icon-blue { background: var(--info-soft); color: var(--info); }
.stat-icon-slate { background: #f1f5f9; color: #334155; }

/* ---------- Rozetler ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 9px;
  font-size: 12px; font-weight: 600; line-height: 1;
  border-radius: 999px; white-space: nowrap;
  background: #f1f5f9; color: var(--ink-soft);
  border: 1px solid rgba(15, 23, 42, .06);
}
.badge-success { background: var(--brand-soft); color: var(--brand-hover); border-color: var(--brand-line); }
.badge-warning { background: var(--warning-soft); color: var(--warning); border-color: var(--amber-line); }
.badge-danger { background: var(--danger-soft); color: var(--danger); border-color: #fecaca; }
.badge-info { background: var(--info-soft); color: var(--info); border-color: #bfdbfe; }
.badge-neutral { background: #f1f5f9; color: var(--ink-soft); border-color: #e2e8f0; }
.badge-dark { background: rgba(15, 23, 42, .72); color: #fff; border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }

/* ---------- Tablo ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-weight: 600; color: var(--ink-muted); font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.03em;
  padding: 12px 18px; border-bottom: 1px solid var(--line); background: #f8fafc; white-space: nowrap;
}
.table td { padding: 14px 18px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #f8faf9; }
.num { font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- Sekmeler ve Filtreler ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ink-muted);
  background: none; border: 0; cursor: pointer; white-space: nowrap; font-family: inherit; text-decoration: none;
}
.tab:hover { color: var(--ink); }
.tab-active, .tab[aria-selected="true"] { color: var(--brand); }
.tab-active::after, .tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2.5px;
  background: var(--brand); border-radius: 2px;
}
.tab .count { margin-left: 6px; font-size: 11.5px; font-weight: 700; color: var(--ink-soft); background: #e2e8f0; padding: 1px 7px; border-radius: 999px; }

.segmented { display: inline-flex; padding: 4px; background: #edf1ef; border-radius: 11px; gap: 2px; border: 1px solid #e2e8f0; }
.segmented button { height: 32px; padding: 0 13px; border: 0; background: transparent; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .15s; }
.segmented button.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(15,23,42,.1); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: all .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.chip.is-active { background: var(--forest-950); border-color: var(--forest-950); color: #fff; box-shadow: 0 4px 10px rgba(11, 34, 25, .18); }

/* ---------- Boş / Yükleniyor / Uyarı ---------- */
.empty-state { text-align: center; padding: 52px 24px; color: var(--ink-muted); }
.empty-state h3 { color: var(--ink); font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.empty-state p { margin: 0 auto; max-width: 400px; font-size: 14px; }
.empty-state .btn { margin-top: 18px; }
.skeleton { background: linear-gradient(90deg, #e9eeec 25%, #dde4e1 37%, #e9eeec 63%); background-size: 400% 100%; animation: hl-shimmer 1.4s ease infinite; border-radius: 8px; }
@keyframes hl-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; background: #f8fafc; color: var(--ink-soft); border: 1px solid var(--line); }
.notice-success { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-hover); }
.notice-warning { background: var(--warning-soft); border-color: var(--amber-line); color: var(--warning); }
.notice-danger { background: var(--danger-soft); border-color: #fecaca; color: var(--danger); }

/* ---------- Modal & Toast ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(11, 24, 18, .58); backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; padding: 0; }
@media (min-width: 640px) { .modal-backdrop { align-items: center; padding: 24px; } }
.modal-backdrop.hidden { display: none; }
.modal { background: var(--surface); width: 100%; max-width: 540px; max-height: 92vh; overflow: auto; border-radius: 18px 18px 0 0; box-shadow: var(--shadow-pop); border: 1px solid rgba(15, 23, 42, .08); }
@media (min-width: 640px) { .modal { border-radius: 18px; } }
.modal-lg { max-width: 780px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal-header h2, .modal-header h3 { font-size: 18px; font-weight: 700; margin: 0; }
.modal-body { padding: 22px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 15px 22px; border-top: 1px solid var(--line); background: #f8fafc; position: sticky; bottom: 0; }

#hl-toasts { position: fixed; z-index: 100; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; width: calc(100% - 32px); max-width: 420px; pointer-events: none; }
@media (min-width: 640px) { #hl-toasts { left: auto; right: 24px; transform: none; bottom: 24px; } }
.hl-toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; background: var(--forest-950); color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-pop); animation: hl-toast-in .18s ease-out; }
.hl-toast .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: #4ade80; }
.hl-toast.error .dot { background: #f87171; }
.hl-toast.info .dot { background: #60a5fa; }
.hl-toast button { margin-left: auto; background: none; border: 0; color: rgba(255,255,255,.65); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px; }
@keyframes hl-toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Üst Menü (Header) ---------- */
.hl-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  backdrop-filter: saturate(1.6) blur(10px);
}
.hl-header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.hl-logo {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; flex-shrink: 0;
}
.hl-logo .brand-accent { color: var(--brand); }
.hl-logo svg { display: block; flex-shrink: 0; border-radius: 10px; box-shadow: 0 4px 12px rgba(11, 34, 25, .18); }
.hl-logo-copy { display: flex; flex-direction: column; line-height: 1.06; }
.hl-logo-word { font-size: 20.5px; font-weight: 800; letter-spacing: -0.035em; }
.hl-logo-sub {
  font-size: 10px; font-weight: 700; letter-spacing: 0.045em; text-transform: uppercase;
  color: var(--ink-muted); margin-top: 3px; white-space: nowrap;
}
@media (max-width: 440px) {
  .hl-logo-sub { display: none; }
}

.hl-nav { display: none; align-items: center; gap: 4px; }
.hl-nav a {
  padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600;
  color: var(--ink-soft); text-decoration: none; transition: all .15s;
}
.hl-nav a:hover { color: var(--ink); background: #f1f5f9; }
.hl-nav a.is-current { color: var(--brand); background: var(--brand-soft); }

.hl-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hl-header-actions .hide-sm { display: none; }
@media (min-width: 640px) { .hl-header-actions .hide-sm { display: inline-flex; } }
@media (min-width: 1024px) { .hl-nav { display: flex; } .hl-menu-btn { display: none !important; } }

.hl-user { position: relative; }
.hl-user-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 12px 0 5px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.hl-user-btn:hover { border-color: #94a3b8; background: #f8fafc; }
.hl-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #15803d, #0f3d22); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; flex-shrink: 0;
}
.hl-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 236px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-pop); padding: 6px; display: none;
}
.hl-dropdown.open { display: block; }
.hl-dropdown .meta { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.hl-dropdown .meta strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.hl-dropdown .meta span { font-size: 12.5px; font-weight: 500; color: var(--brand); }
.hl-dropdown a, .hl-dropdown button {
  display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 8px; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left;
}
.hl-dropdown a:hover, .hl-dropdown button:hover { background: #f1f5f9; color: var(--ink); }

.hl-mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--surface); padding: 8px 20px 18px; }
.hl-mobile-menu.open { display: block; }
.hl-mobile-menu a { display: block; padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid #f1f5f9; }
.hl-mobile-menu a:last-child { border-bottom: 0; }
@media (min-width: 1024px) { .hl-mobile-menu { display: none !important; } }

/* ---------- Koyu Mimari Alt Bilgi (Footer) ---------- */
.hl-footer {
  background: var(--forest-950);
  color: rgba(255, 255, 255, .78);
  margin-top: auto;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.hl-footer-trust {
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  padding: 24px 0;
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .hl-footer-trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .hl-footer-trust { grid-template-columns: repeat(4, 1fr); } }
.hl-footer-trust-item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; color: #fff; }
.hl-footer-trust-item i {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(34, 197, 94, .16); color: #4ade80;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hl-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 0 36px; }
@media (min-width: 768px) { .hl-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.hl-footer-grid .about { grid-column: 1 / -1; }
@media (min-width: 768px) { .hl-footer-grid .about { grid-column: auto; } }
.hl-footer h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 14px; color: #fff; }
.hl-footer ul { list-style: none; margin: 0; padding: 0; }
.hl-footer li + li { margin-top: 9px; }
.hl-footer a { color: rgba(255, 255, 255, .68); text-decoration: none; transition: color .15s; }
.hl-footer a:hover { color: #fff; }
.hl-footer a.hl-logo { color: #fff; }
.hl-footer a.hl-logo .brand-accent { color: #4ade80; }
.hl-footer a.hl-logo .hl-logo-sub { color: rgba(167, 243, 208, .82); display: block; }
.hl-footer-slogan {
  margin: 14px 0 8px; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -0.015em;
}
.hl-footer-slogan span { color: #4ade80; }
.hl-footer .muted { color: rgba(255, 255, 255, .62); }
.hl-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: rgba(255, 255, 255, .52); font-size: 13px;
}

/* ---------- Yönetici / Panel Düzeni (Koyu Executive Sidebar) ---------- */
.app-shell { display: grid; grid-template-columns: 1fr; min-height: calc(100vh - var(--header-h)); }
@media (min-width: 1024px) { .app-shell { grid-template-columns: 260px 1fr; } }

.app-sidebar {
  display: none;
  background: linear-gradient(180deg, #0b2219 0%, #0f2c20 100%);
  color: rgba(255, 255, 255, .82);
  padding: 22px 14px;
  border-right: 1px solid rgba(15, 23, 42, .12);
}
@media (min-width: 1024px) {
  .app-sidebar {
    display: block; position: sticky; top: var(--header-h);
    height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
}
.app-sidebar .border-\[var\(--line\)\], .app-sidebar .divider {
  border-color: rgba(255, 255, 255, .1) !important;
  background: rgba(255, 255, 255, .1);
}
.app-sidebar #sidebarUserName { color: #fff; }
.app-sidebar .muted { color: rgba(255, 255, 255, .55) !important; }
.app-sidebar .group-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  color: rgba(255, 255, 255, .42); padding: 14px 12px 6px;
}
.side-link {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 13px;
  border-radius: 10px; font: inherit; font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, .74); text-decoration: none; background: none; border: 0;
  cursor: pointer; text-align: left; transition: all .15s; margin-bottom: 2px;
}
.side-link i { width: 18px; text-align: center; color: rgba(255, 255, 255, .5); font-size: 14px; transition: color .15s; }
.side-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.side-link:hover i { color: #86efac; }
.side-link.is-active {
  background: rgba(34, 197, 94, .18);
  color: #ffffff;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #4ade80;
}
.side-link.is-active i { color: #4ade80; }
.side-link .count {
  margin-left: auto; font-size: 11.5px; font-weight: 700;
  background: rgba(255, 255, 255, .12); color: #fff;
  padding: 2px 7px; border-radius: 999px;
}
.side-link.is-active .count { background: #22c55e; color: #052e16; }

.app-main { min-width: 0; padding: 26px 20px 56px; }
@media (min-width: 768px) { .app-main { padding: 34px 36px 72px; } }
.app-mobile-tabs { position: sticky; top: var(--header-h); z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); padding: 0 12px; }
@media (min-width: 1024px) { .app-mobile-tabs { display: none; } }

/* ---------- Yardımcılar ---------- */
.stars { color: #f59e0b; letter-spacing: 1px; font-size: 13px; }
.price { font-variant-numeric: tabular-nums; font-weight: 700; }
.truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.progress { height: 6px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, #15803d, #22c55e); border-radius: 999px; transition: width .35s ease; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
