@charset "UTF-8";

/* Ankara Gurme - Admin Panel */
:root {
  --adm-bg: #09090b;
  --adm-surface: #18181b;
  --adm-surface2: #27272a;
  --adm-border: #3f3f46;
  --adm-border-light: #52525b;
  --adm-text: #fafafa;
  --adm-muted: #a1a1aa;
  --adm-muted2: #71717a;
  --adm-brand: #08f9e7;
  --adm-brand-dark: #06c4b8;
  --adm-brand-glow: rgba(8, 249, 231, 0.15);
  --adm-brand-fg: #0a0a0a;
  --adm-success: #22c55e;
  --adm-warning: #f59e0b;
  --adm-danger: #ef4444;
  --adm-info: #3b82f6;
  --adm-radius: 0.75rem;
  --adm-radius-lg: 1rem;
  --adm-sidebar-w: 16.5rem;
  --adm-shadow: 0 1px 3px rgba(0,0,0,.35), 0 8px 24px rgba(0,0,0,.25);
  --adm-font: 'Inter', system-ui, sans-serif;
  --adm-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.hidden { display: none !important; }

body {
  margin: 0;
  font-family: var(--adm-font);
  background: var(--adm-bg);
  color: var(--adm-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* Login */
.adm-login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .adm-login-wrap { grid-template-columns: 1fr 1fr; }
}
.adm-login-brand {
  display: none;
  background: linear-gradient(135deg, #1c1917 0%, #292524 40%, #04a89a 100%);
  padding: 3rem;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) {
  .adm-login-brand { display: flex; }
}
.adm-login-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(8,249,231,.2), transparent 50%);
}
.adm-login-brand-inner { position: relative; z-index: 1; max-width: 28rem; }
.adm-login-brand h1 {
  font-family: var(--adm-display);
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 .75rem;
  line-height: 1.2;
}
.adm-login-brand p { color: var(--adm-muted); margin: 0; font-size: .95rem; line-height: 1.6; }
.adm-login-features { margin-top: 2rem; display: flex; flex-direction: column; gap: .85rem; }
.adm-login-feature {
  display: flex; align-items: center; gap: .75rem;
  font-size: .875rem; color: #d4d4d8;
}
.adm-login-feature i { color: var(--adm-brand); width: 1.1rem; height: 1.1rem; }

.adm-login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
.adm-login-box {
  width: 100%;
  max-width: 24rem;
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-lg);
  padding: 2rem;
  box-shadow: var(--adm-shadow);
}
.adm-login-box h2 {
  font-family: var(--adm-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 .25rem;
}
.adm-login-box .adm-sub { color: var(--adm-muted); font-size: .875rem; margin: 0 0 1.951rem; }

/* Layout */
#panel:not(.hidden) { display: block; min-height: 100vh; }
#loginScreen:not(.hidden) { display: grid; min-height: 100vh; }

.adm-sidebar {
  width: var(--adm-sidebar-w);
  background: var(--adm-surface);
  border-right: 1px solid var(--adm-border);
  display: flex;
  flex-direction: column;
  z-index: 30;
}

@media (min-width: 769px) {
  .adm-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
  }
  .adm-main {
    margin-left: var(--adm-sidebar-w);
    min-height: 100vh;
  }
}

.adm-sidebar-brand {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--adm-border);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.adm-sidebar-logo {
  width: 2.25rem; height: 2.25rem;
  border-radius: .65rem;
  background: var(--adm-brand-glow);
  color: var(--adm-brand);
  display: flex; align-items: center; justify-content: center;
}
.adm-sidebar-brand-text { min-width: 0; }
.adm-sidebar-brand-text strong {
  display: block;
  font-family: var(--adm-display);
  font-size: .95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm-sidebar-brand-text span { font-size: .7rem; color: var(--adm-muted2); text-transform: uppercase; letter-spacing: .06em; }

.adm-nav { flex: 1; overflow-y: auto; padding: .5rem .65rem 1rem; }
.adm-nav-list { display: flex; flex-direction: column; gap: 2px; }
.adm-nav-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .75rem;
  border-radius: .55rem;
  color: var(--adm-muted);
  text-decoration: none;
  font-size: .8125rem;
  font-weight: 500;
  transition: background .15s, color .15s;
  margin-bottom: 2px;
}
.adm-nav-link i { width: 1rem; height: 1rem; flex-shrink: 0; opacity: .85; }
.adm-nav-link span { flex: 1; min-width: 0; }
.adm-nav-link:hover { background: rgba(255,255,255,.06); color: var(--adm-text); }
.adm-nav-link.active {
  background: var(--adm-brand-glow);
  color: var(--adm-brand);
  box-shadow: inset 3px 0 0 var(--adm-brand);
}
.adm-nav-link.active i { opacity: 1; }
.adm-nav-badge {
  margin-left: auto;
  font-size: .65rem;
  font-weight: 700;
  padding: .1rem .45rem;
  border-radius: 999px;
  background: var(--adm-warning);
  color: #000;
}

.adm-sidebar-foot {
  padding: .75rem;
  border-top: 1px solid var(--adm-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.adm-user-card {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem .75rem;
  margin-bottom: .35rem;
  border-radius: .55rem;
  background: var(--adm-bg);
  border: 1px solid var(--adm-border);
}
.adm-user-avatar {
  width: 2rem; height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--adm-brand), var(--adm-brand-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: var(--adm-brand-fg); flex-shrink: 0;
}
.adm-user-info { min-width: 0; flex: 1; }
.adm-user-info strong { display: block; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-user-info span { font-size: .68rem; color: var(--adm-muted2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

.adm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.adm-topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(9,9,11,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--adm-border);
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.adm-topbar-left h1 {
  font-family: var(--adm-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.adm-topbar-left p { margin: .15rem 0 0; font-size: .78rem; color: var(--adm-muted); }
.adm-topbar-actions { display: flex; align-items: center; gap: .5rem; }
.adm-content { flex: 1; padding: 1.5rem; overflow-y: auto; width: 100%; max-width: none; }

/* Components */
.adm-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.adm-page-title { font-family: var(--adm-display); font-size: 1.1rem; font-weight: 700; margin: 0; }
.adm-page-sub { font-size: .8125rem; color: var(--adm-muted); margin: .2rem 0 0; }
.adm-page-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

.adm-grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.adm-stat {
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  padding: 1.1rem 1.15rem;
  position: relative;
  overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.adm-stat:hover { border-color: var(--adm-border-light); transform: translateY(-1px); }
.adm-stat::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 4rem; height: 4rem;
  border-radius: 999px;
  filter: blur(28px);
  opacity: .35;
  transform: translate(30%, -30%);
}
.adm-stat.accent-brand::after { background: var(--adm-brand); }
.adm-stat.accent-success::after { background: var(--adm-success); }
.adm-stat.accent-warning::after { background: var(--adm-warning); }
.adm-stat.accent-info::after { background: var(--adm-info); }
.adm-stat.accent-purple::after { background: #a855f7; }
.adm-stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .65rem; }
.adm-stat-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: .55rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--adm-border);
}
.adm-stat-icon i { width: 1.1rem; height: 1.1rem; }
.adm-stat.accent-brand .adm-stat-icon { color: var(--adm-brand); border-color: rgba(8,249,231,.25); background: var(--adm-brand-glow); }
.adm-stat.accent-success .adm-stat-icon { color: var(--adm-success); border-color: rgba(34,197,94,.25); background: rgba(34,197,94,.1); }
.adm-stat.accent-warning .adm-stat-icon { color: var(--adm-warning); border-color: rgba(245,158,11,.25); background: rgba(245,158,11,.1); }
.adm-stat.accent-info .adm-stat-icon { color: var(--adm-info); border-color: rgba(59,130,246,.25); background: rgba(59,130,246,.1); }
.adm-stat.accent-purple .adm-stat-icon { color: #a855f7; border-color: rgba(168,85,247,.25); background: rgba(168,85,247,.1); }
.adm-stat-value { font-family: var(--adm-display); font-size: 1.75rem; font-weight: 800; line-height: 1; margin-bottom: .25rem; }
.adm-stat-label { font-size: .75rem; color: var(--adm-muted); font-weight: 500; }

.adm-card {
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  overflow: hidden;
}
.adm-card-head {
  padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--adm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.adm-card-head h3 { margin: 0; font-size: .9rem; font-weight: 600; }
.adm-card-body { padding: 1.15rem; }

.adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: .55rem;
  border: 1px solid transparent;
  font-size: .8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .1s;
  white-space: nowrap;
  line-height: 1.25;
}
.adm-btn:active { transform: scale(.98); }
.adm-btn i { width: .95rem; height: .95rem; }
.adm-btn-primary { background: var(--adm-brand); color: var(--adm-brand-fg); }
.adm-btn-primary:hover { background: var(--adm-brand-dark); color: var(--adm-brand-fg); }
.adm-btn-secondary { background: var(--adm-surface2); color: var(--adm-text); border-color: var(--adm-border); }
.adm-btn-secondary:hover { border-color: var(--adm-border-light); background: #323238; }
.adm-btn-success { background: #15803d; color: #fff; }
.adm-btn-success:hover { background: #166534; }
.adm-btn-danger { background: #b91c1c; color: #fff; }
.adm-btn-danger:hover { background: #991b1b; }
.adm-btn-ghost { background: transparent; color: var(--adm-muted); border-color: var(--adm-border); }
.adm-btn-ghost:hover { color: var(--adm-text); background: rgba(255,255,255,.04); }
.adm-btn-sm { padding: .35rem .7rem; font-size: .75rem; }
.adm-btn-icon { padding: .4rem; width: 2rem; height: 2rem; }

.adm-input, .adm-select, .adm-textarea {
  width: 100%;
  padding: .55rem .75rem;
  border-radius: .55rem;
  border: 1px solid var(--adm-border);
  background-color: var(--adm-bg);
  color: var(--adm-text);
  font-size: .8125rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.adm-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.25rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .65rem center;
  background-size: 1rem;
}
.adm-select:hover {
  background-color: var(--adm-surface2);
  border-color: var(--adm-border-light);
}
.adm-input:focus, .adm-select:focus, .adm-textarea:focus {
  border-color: var(--adm-brand);
  box-shadow: 0 0 0 3px var(--adm-brand-glow);
}
.adm-input-sm { padding: .4rem .65rem; font-size: .78rem; }
.adm-search { max-width: 20rem; min-width: 12rem; flex-shrink: 0; }
.adm-card-head .adm-search { margin-left: auto; }

.adm-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.adm-badge-pending { background: rgba(245,158,11,.15); color: #fbbf24; border: 1px solid rgba(245,158,11,.25); }
.adm-badge-published { background: rgba(34,197,94,.12); color: #4ade80; border: 1px solid rgba(34,197,94,.25); }
.adm-badge-rejected { background: rgba(239,68,68,.12); color: #f87171; border: 1px solid rgba(239,68,68,.25); }
.adm-badge-draft { background: rgba(161,161,170,.12); color: #d4d4d8; border: 1px solid rgba(161,161,170,.2); }

.adm-table-wrap { overflow-x: auto; width: 100%; }
.adm-table { width: 100%; border-collapse: collapse; font-size: .8125rem; table-layout: auto; }
.adm-table-seo {
  width: 100%;
  table-layout: auto;
}
.adm-table-seo .col-grip { width: 2.5rem; }
.adm-table-seo th.col-title,
.adm-table-seo td.name-cell {
  min-width: 14rem;
  width: 36%;
}
.adm-table-seo .col-district { min-width: 6rem; }
.adm-table-seo .col-category { min-width: 8rem; }
.adm-table-seo .col-status { width: 6.5rem; }
.adm-table-seo .col-home { width: 4.5rem; text-align: center; }
.adm-table-seo .col-actions { width: 6.5rem; }
.adm-table-seo .name-cell {
  word-break: break-word;
  white-space: normal;
  line-height: 1.45;
}
.adm-table-seo td.col-district,
.adm-table-seo td.col-category { white-space: nowrap; }
.adm-table-wrap-seo { width: 100%; }

.adm-seo-tabs { margin-top: .5rem; }
.adm-seo-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
@media (min-width: 960px) {
  .adm-seo-grid { grid-template-columns: 1fr 1fr; }
}
.adm-seo-discovery { display: grid; gap: .5rem; }
.adm-seo-link {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .65rem .85rem; border-radius: .55rem; border: 1px solid var(--adm-border);
  background: var(--adm-bg); color: var(--adm-text); text-decoration: none; font-size: .8125rem;
}
.adm-seo-link:hover { border-color: var(--adm-brand); background: var(--adm-brand-glow); }
.adm-seo-link i { width: .95rem; height: .95rem; color: var(--adm-muted); }
.adm-seo-breakdown {
  display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem;
  font-size: .68rem; color: var(--adm-muted);
}
.adm-seo-breakdown span {
  padding: .15rem .45rem; border-radius: .35rem; background: var(--adm-surface2);
}
.adm-seo-checklist { display: grid; gap: .45rem; }
.adm-seo-check {
  display: flex; align-items: flex-start; gap: .55rem; padding: .55rem .65rem;
  border-radius: .55rem; border: 1px solid var(--adm-border); font-size: .8125rem;
}
.adm-seo-check i { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: .1rem; }
.adm-seo-check.ok { border-color: rgba(34,197,94,.25); background: rgba(34,197,94,.06); }
.adm-seo-check.ok i { color: #22c55e; }
.adm-seo-check.warn { border-color: rgba(234,179,8,.25); background: rgba(234,179,8,.06); }
.adm-seo-check.warn i { color: #eab308; }
.adm-seo-check strong { display: block; font-weight: 600; }
.adm-seo-check span { display: block; font-size: .72rem; color: var(--adm-muted); margin-top: .1rem; }
.adm-seo-modules {
  display: grid; gap: .65rem;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}
.adm-seo-module-link {
  display: block; border: 1px solid var(--adm-border); border-radius: .65rem;
  background: var(--adm-bg); padding: .75rem; text-decoration: none; color: inherit;
  cursor: pointer; font: inherit; text-align: left; width: 100%;
}
.adm-seo-module-link:hover { border-color: var(--adm-brand); background: var(--adm-brand-glow); }
.adm-seo-module strong { display: block; font-size: .8125rem; }
.adm-seo-module span { display: block; font-size: 1.35rem; font-weight: 700; margin: .2rem 0; color: var(--adm-brand); }
.adm-seo-module small { display: block; font-size: .68rem; color: var(--adm-muted); }
.adm-seo-audit { display: grid; gap: .45rem; }
.adm-seo-audit-row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .55rem .65rem; border-radius: .55rem; border: 1px solid var(--adm-border);
  font-size: .8125rem;
}
.adm-seo-audit-row span { display: block; font-size: .72rem; color: var(--adm-muted); margin-top: .15rem; }
.adm-seo-tips {
  margin: 0; padding-left: 1.1rem; color: var(--adm-muted); font-size: .8125rem; line-height: 1.55;
}
.adm-seo-tips li + li { margin-top: .45rem; }
.adm-card-full { width: 100%; }
.adm-table th {
  text-align: left;
  padding: .65rem 1rem;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--adm-muted2);
  background: var(--adm-surface2);
  border-bottom: 1px solid var(--adm-border);
  white-space: nowrap;
}
.adm-table thead th { position: sticky; top: 0; z-index: 2; }
.adm-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--adm-border);
  vertical-align: middle;
}
.adm-table tbody tr { transition: background .12s; }
.adm-table tbody tr:hover { background: rgba(255,255,255,.025); }
.adm-table tbody tr:last-child td { border-bottom: none; }
.adm-table .adm-actions { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
.adm-table .name-cell { font-weight: 600; color: var(--adm-text); }

.adm-tax-list { max-height: 22rem; overflow-y: auto; border: 1px solid var(--adm-border); border-radius: .55rem; }
.adm-tax-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .85rem;
  border-bottom: 1px solid var(--adm-border);
}
.adm-tax-item:last-child { border-bottom: none; }
.adm-tax-item:hover { background: rgba(255,255,255,.025); }

.adm-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--adm-muted);
}
.adm-empty i { width: 2.5rem; height: 2.5rem; margin: 0 auto .75rem; opacity: .4; display: block; }
.adm-empty p { margin: 0 0 1rem; font-size: .875rem; }

.adm-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  color: var(--adm-muted);
  gap: .75rem;
}
.adm-spinner {
  width: 2rem; height: 2rem;
  border: 2px solid var(--adm-border);
  border-top-color: var(--adm-brand);
  border-radius: 999px;
  animation: adm-spin .7s linear infinite;
}
@keyframes adm-spin { to { transform: rotate(360deg); } }

.adm-tabs { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.adm-tab {
  padding: .4rem .85rem;
  border-radius: .5rem;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--adm-muted);
  border: 1px solid var(--adm-border);
  background: var(--adm-surface);
  transition: all .12s;
}
.adm-tab:hover { color: var(--adm-text); border-color: var(--adm-border-light); }
.adm-tab.active { background: var(--adm-brand); color: var(--adm-brand-fg); border-color: var(--adm-brand); }

.adm-list-item {
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  padding: 1rem 1.15rem;
  transition: border-color .15s;
}
.adm-list-item:hover { border-color: var(--adm-border-light); }
.adm-list-item + .adm-list-item { margin-top: .65rem; }

.adm-review-photos {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .65rem;
  width: 100%;
  max-width: 100%;
}
.adm-review-photo {
  flex: 1 1 calc(50% - .25rem);
  min-width: 0;
  max-width: 100%;
}
.adm-review-photo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: .5rem;
  border: 1px solid var(--adm-border);
  display: block;
  background: var(--adm-bg);
}

.adm-quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .65rem; }
.adm-quick-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  padding: 1rem;
  border-radius: var(--adm-radius);
  border: 1px solid var(--adm-border);
  background: var(--adm-bg);
  text-decoration: none;
  color: var(--adm-text);
  transition: border-color .15s, background .15s;
}
.adm-quick-link:hover { border-color: var(--adm-brand); background: var(--adm-brand-glow); }
.adm-quick-link i { color: var(--adm-brand); width: 1.25rem; height: 1.25rem; }
.adm-quick-link span { font-size: .78rem; font-weight: 600; }

/* Modal */
.adm-modal-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 1.5rem 1rem;
  overflow-y: auto;
}
.adm-modal {
  width: 100%; max-width: 42rem;
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-lg);
  box-shadow: var(--adm-shadow);
  margin: auto 0;
}
.adm-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--adm-border);
}
.adm-modal-head h3 { margin: 0; font-size: 1rem; font-weight: 700; font-family: var(--adm-display); }
.adm-modal-close {
  width: 2rem; height: 2rem;
  border: none; background: transparent;
  color: var(--adm-muted);
  font-size: 1.35rem; line-height: 1;
  cursor: pointer; border-radius: .4rem;
  display: flex; align-items: center; justify-content: center;
}
.adm-modal-close:hover { background: rgba(255,255,255,.06); color: var(--adm-text); }
.adm-modal-body { padding: 1.25rem; max-height: calc(100vh - 8rem); overflow-y: auto; }
.adm-form-grid { display: grid; gap: .75rem; }

.adm-hours-editor > label { margin-bottom: .5rem; }

.adm-hours-panel {
  border: 1px solid var(--adm-border);
  border-radius: .65rem;
  background: rgba(255,255,255,.02);
  overflow: hidden;
}

.adm-hours-head,
.adm-hours-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7rem) minmax(7.5rem, 9rem) 1fr;
  gap: .5rem .75rem;
  align-items: center;
  padding: .55rem .75rem;
}

.adm-hours-head {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--adm-muted);
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--adm-border);
}

.adm-hours-grid { display: flex; flex-direction: column; }

.adm-hours-row {
  font-size: .8125rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.adm-hours-row:last-child { border-bottom: 0; }
.adm-hours-row:hover { background: rgba(255,255,255,.02); }

.adm-hours-day {
  font-weight: 600;
  color: var(--adm-text);
  white-space: nowrap;
}

.adm-hours-toggle {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  user-select: none;
  margin: 0;
  position: relative;
  width: fit-content;
  max-width: 100%;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  font-size: .8125rem;
  color: var(--adm-text);
}
.adm-hours-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.adm-hours-toggle-ui {
  position: relative;
  width: 2rem;
  height: 1.125rem;
  border-radius: 999px;
  background: rgba(239,68,68,.25);
  border: 1px solid rgba(239,68,68,.35);
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.adm-hours-toggle-ui::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: #fca5a5;
  transition: transform .2s, background .2s;
}
.adm-hours-row:not(.is-closed) .adm-hours-toggle-ui {
  background: rgba(34,197,94,.2);
  border-color: rgba(34,197,94,.35);
}
.adm-hours-row:not(.is-closed) .adm-hours-toggle-ui::after {
  transform: translateX(.875rem);
  background: #86efac;
}
.adm-hours-toggle-text {
  font-size: .72rem;
  font-weight: 600;
  color: var(--adm-muted);
  min-width: 2.75rem;
}
.adm-hours-row:not(.is-closed) .adm-hours-toggle-text { color: #86efac; }
.adm-hours-row.is-closed .adm-hours-toggle-text { color: #fca5a5; }

.adm-hours-times {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
}
.adm-hours-sep {
  color: var(--adm-muted);
  font-size: .75rem;
  flex-shrink: 0;
}
.adm-hours-time {
  flex: 1;
  min-width: 0;
  max-width: 7rem;
  padding: .4rem .5rem;
  font-size: .8125rem;
  color-scheme: dark;
}
.adm-hours-row.is-closed .adm-hours-times { opacity: .35; pointer-events: none; }

.adm-hours-note { margin-top: .65rem; }

@media (max-width: 520px) {
  .adm-hours-head { display: none; }
  .adm-hours-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "day toggle"
      "times times";
    gap: .45rem .5rem;
    padding: .65rem .75rem;
  }
  .adm-hours-day { grid-area: day; }
  .adm-hours-toggle { grid-area: toggle; justify-self: end; }
  .adm-hours-times { grid-area: times; max-width: none; }
  .adm-hours-time { max-width: none; }
}
@media (min-width: 640px) {
  .adm-form-grid-2 { grid-template-columns: 1fr 1fr; }
}
.adm-field > label { display: block; font-size: .72rem; font-weight: 600; color: var(--adm-muted); margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .04em; }
.adm-field-row { display: flex; gap: .5rem; align-items: stretch; }
.adm-field-row .adm-input { flex: 1; min-width: 0; }
.adm-field-hint { margin: .35rem 0 0; font-size: .72rem; line-height: 1.45; color: var(--adm-muted); }

.adm-inline-alert {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .65rem;
  padding: .65rem .75rem;
  border-radius: .55rem;
  font-size: .75rem;
  line-height: 1.45;
  color: #fde68a;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.25);
}
.adm-inline-alert i { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: .1rem; }
.adm-inline-alert-info {
  color: #bae6fd;
  background: rgba(14,165,233,.1);
  border-color: rgba(14,165,233,.25);
}
.adm-inline-alert code {
  font-size: .7rem;
  padding: .05rem .3rem;
  border-radius: .25rem;
  background: rgba(0,0,0,.25);
}

.adm-gmaps-panel {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .75rem;
  border-radius: .65rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--adm-border);
}
.adm-gmaps-link-row { margin-top: 0; }

.adm-gmaps-search-wrap {
  position: relative;
  z-index: 5;
}

.adm-gmaps-suggest {
  position: fixed;
  z-index: 200;
  max-height: 14rem;
  overflow-y: auto;
  border-radius: .55rem;
  background: var(--adm-surface2);
  border: 1px solid var(--adm-border-light);
  box-shadow: var(--adm-shadow);
}
.adm-gmaps-suggest-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  width: 100%;
  padding: .55rem .75rem;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: transparent;
  color: var(--adm-text);
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.adm-gmaps-suggest-item:last-child { border-bottom: none; }
.adm-gmaps-suggest-item:hover,
.adm-gmaps-suggest-item:focus-visible {
  background: rgba(255,255,255,.06);
  outline: none;
}
.adm-gmaps-suggest-item strong {
  font-size: .8125rem;
  font-weight: 600;
}
.adm-gmaps-suggest-item span {
  font-size: .72rem;
  color: var(--adm-muted);
  line-height: 1.35;
}

.adm-gmaps-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: .15rem;
  padding-top: .65rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.adm-switch {
  display: flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
  user-select: none;
  flex: 1;
  min-width: min(100%, 16rem);
}
.adm-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.adm-switch-ui {
  position: relative;
  width: 2.125rem;
  height: 1.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--adm-border);
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.adm-switch-ui::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: .82rem;
  height: .82rem;
  border-radius: 50%;
  background: var(--adm-muted);
  transition: transform .2s, background .2s;
}
.adm-switch input:checked + .adm-switch-ui {
  background: rgba(34,197,94,.18);
  border-color: rgba(34,197,94,.35);
}
.adm-switch input:checked + .adm-switch-ui::after {
  transform: translateX(.875rem);
  background: #86efac;
}
.adm-switch-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}
.adm-switch-title {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--adm-text);
  line-height: 1.3;
}
.adm-switch-desc {
  font-size: .7rem;
  color: var(--adm-muted);
  line-height: 1.35;
}

.adm-check { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--adm-muted); cursor: pointer; }
.adm-check input { accent-color: var(--adm-accent); }

/* Toast */
.adm-toast {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 60;
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem;
  border-radius: .65rem;
  font-size: .8125rem; font-weight: 500;
  box-shadow: var(--adm-shadow);
  animation: adm-toast-in .25s ease;
  max-width: 22rem;
}
.adm-toast.ok { background: #14532d; color: #bbf7d0; border: 1px solid #166534; }
.adm-toast.err { background: #7f1d1d; color: #fecaca; border: 1px solid #991b1b; }
@keyframes adm-toast-in { from { opacity: 0; transform: translateY(.5rem); } }

/* Legacy tailwind overrides inside panel */
#panel .bg-white, #modal .bg-white, .adm-modal .bg-white { background: var(--adm-surface) !important; }
#panel .border-stone-200, #panel .border-stone-100, #panel .border-stone-300 { border-color: var(--adm-border) !important; }
#panel .text-stone-500, #panel .text-stone-400 { color: var(--adm-muted) !important; }
#panel .text-stone-700 { color: #d4d4d8 !important; }
#panel select, #panel input, #panel textarea, #modal select, #modal input, #modal textarea,
.adm-modal select, .adm-modal input, .adm-modal textarea {
  background-color: var(--adm-bg) !important;
  border-color: var(--adm-border) !important;
  color: var(--adm-text) !important;
  border-radius: .55rem;
}
#panel select.adm-select, #modal select.adm-select, .adm-modal select.adm-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right .65rem center !important;
  background-size: 1rem !important;
}
#panel select.adm-select:hover, #modal select.adm-select:hover, .adm-modal select.adm-select:hover {
  background-color: var(--adm-surface2) !important;
}
#panel .bg-stone-50 { background: rgba(0,0,0,.25) !important; }

.adm-show-mobile { display: none; }

@media (max-width: 768px) {
  .adm-show-mobile { display: inline-flex; }
  .adm-main { margin-left: 0 !important; }
  .adm-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: var(--adm-shadow);
  }
  .adm-sidebar.open { transform: translateX(0); }
  .adm-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(0,0,0,.5);
  }
  .adm-sidebar-overlay.open { display: block; }
  .adm-content { padding: 1rem; }
}

/* Scrollbar (admin geneli) */
#panel,
#panel *,
#modal,
.adm-modal {
  scrollbar-width: thin;
  scrollbar-color: var(--adm-border-light) transparent;
}
#panel ::-webkit-scrollbar,
#modal ::-webkit-scrollbar,
.adm-modal ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
#panel ::-webkit-scrollbar-track,
#modal ::-webkit-scrollbar-track,
.adm-modal ::-webkit-scrollbar-track {
  background: transparent;
}
#panel ::-webkit-scrollbar-thumb,
#modal ::-webkit-scrollbar-thumb,
.adm-modal ::-webkit-scrollbar-thumb {
  background: var(--adm-border-light);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
#panel ::-webkit-scrollbar-thumb:hover,
#modal ::-webkit-scrollbar-thumb:hover,
.adm-modal ::-webkit-scrollbar-thumb:hover {
  background: var(--adm-muted2);
  background-clip: padding-box;
}
.adm-scroll {
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--adm-border-light) transparent;
}

/* Sürükle-bırak sıralama */
.adm-sort-list { display: flex; flex-direction: column; gap: .4rem; }
.adm-sort-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .65rem;
  background: var(--adm-bg);
  border: 1px solid var(--adm-border);
  border-radius: .55rem;
  transition: border-color .15s, box-shadow .15s, opacity .15s;
}
.adm-sort-item.adm-sort-dragging { opacity: .55; border-style: dashed; }
.adm-sort-item.adm-sort-over { border-color: var(--adm-brand); box-shadow: 0 0 0 1px var(--adm-brand-glow); }
.adm-sort-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  color: var(--adm-muted2);
  cursor: grab;
  flex-shrink: 0;
}
.adm-sort-handle:active { cursor: grabbing; }
.adm-sort-handle i { width: 1rem; height: 1rem; }
.adm-sort-body { flex: 1; min-width: 0; line-height: 1.35; }
.adm-sort-body strong { font-size: .875rem; font-weight: 600; display: block; }
.adm-sort-meta { display: block; font-size: .72rem; color: var(--adm-muted2); margin-top: .1rem; }
.adm-sort-actions { display: flex; gap: .35rem; flex-shrink: 0; }
.adm-col-item { align-items: flex-start; }
.adm-col-item .adm-sort-body { padding-top: .1rem; }
.adm-table .adm-sort-handle { width: auto; padding: 0 .25rem; }
/* Tablo satırında flex kullanma - display:flex tablo yapısını bozar */
.adm-table tr.adm-sort-item {
  display: table-row;
  padding: 0;
  margin: 0;
  gap: 0;
  align-items: unset;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: default;
}
.adm-table tr.adm-sort-item > td {
  display: table-cell;
}
.adm-table tr.adm-sort-item.adm-sort-dragging {
  opacity: .6;
  border-style: none;
  box-shadow: none;
}
.adm-table tr.adm-sort-dragging { opacity: .6; }
.adm-table tr.adm-sort-over td { background: rgba(8,249,231,.08); }
.adm-tax-item.adm-sort-item { margin: 0; }

/* Görsel yükleme (dropzone) */
.adm-dropzone {
  position: relative;
  border: 1.5px dashed var(--adm-border);
  border-radius: var(--adm-radius);
  background: rgba(0,0,0,.2);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  overflow: hidden;
}
.adm-dropzone:hover,
.adm-dropzone.adm-dropzone-hover { border-color: var(--adm-brand); background: var(--adm-brand-glow); }
.adm-dropzone.adm-dropzone-busy { opacity: .65; pointer-events: none; }
.adm-dropzone-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 1.25rem 1rem;
  text-align: center;
  color: var(--adm-muted);
}
.adm-dropzone-placeholder i { width: 1.75rem; height: 1.75rem; color: var(--adm-brand); }
.adm-dropzone-placeholder p { margin: 0; font-size: .8125rem; font-weight: 500; }
.adm-dropzone-hint { font-size: .68rem; color: var(--adm-muted2); }
.adm-image-dropzone.has-image .adm-dropzone-placeholder { display: none; }
.adm-dropzone-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
  padding: .5rem;
}
.adm-dropzone-preview[hidden] { display: none !important; }
.adm-dropzone-img {
  max-width: 100%;
  max-height: 12rem;
  border-radius: .45rem;
  object-fit: contain;
}
.adm-img-remove {
  position: absolute;
  top: .5rem;
  right: .5rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: .45rem;
  background: rgba(127,29,29,.85);
  color: #fecaca;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adm-img-remove i { width: 1rem; height: 1rem; }
.adm-gallery-dropzone { margin-top: .65rem; }
.adm-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: .5rem;
  max-height: 16rem;
  padding: .15rem;
}
.adm-gallery-item {
  position: relative;
  flex-direction: column;
  padding: .35rem;
  gap: .25rem;
}
.adm-gallery-item .adm-sort-handle {
  position: absolute;
  top: .25rem;
  left: .25rem;
  z-index: 2;
  width: 1.35rem;
  height: 1.35rem;
  background: rgba(0,0,0,.55);
  border-radius: .3rem;
  color: #fff;
}
.adm-gallery-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .35rem;
}
.adm-gallery-del {
  position: absolute;
  top: .25rem;
  right: .25rem;
  z-index: 2;
  width: 1.35rem;
  height: 1.35rem;
  border: none;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.adm-gallery-del i { width: .75rem; height: .75rem; }
.adm-gallery-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: .75rem;
  text-align: center;
  font-size: .8125rem;
  color: var(--adm-muted);
}
.adm-sort-list-compact .adm-sort-item { padding: .45rem .55rem; }

/* Profil görseli kırpma */
.adm-crop-modal {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.adm-crop-modal.hidden { display: none; }
.adm-crop-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.adm-crop-box {
  position: relative; z-index: 1; width: min(100%, 32rem);
  background: var(--adm-surface); border: 1px solid var(--adm-border);
  border-radius: .85rem; padding: 1.1rem; box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.adm-crop-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .25rem; }
.adm-crop-head h3 { margin: 0; font-size: 1rem; font-weight: 700; }
.adm-crop-hint { margin: 0 0 .75rem; font-size: .8125rem; color: var(--adm-muted); }
.adm-crop-stage {
  max-height: min(58vh, 22rem); background: #000; border-radius: .65rem; overflow: hidden; margin-bottom: 1rem;
}
.adm-crop-stage img { display: block; max-width: 100%; max-height: min(58vh, 22rem); }
.adm-crop-actions { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; }
