/* Kuzubeyi Rezervasyon — siyah / beyaz tema */
:root {
  --ink: #111;
  --ink-2: #333;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --line-2: #cfcfcf;
  --paper: #fff;
  --soft: #f6f6f5;
  --radius: 10px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 var(--sans); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--ink); }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.main { flex: 1; padding-top: 28px; padding-bottom: 48px; }
.narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.only-mobile { display: none; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--ink); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 50px; width: auto; display: block; }
.brand small { font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.site-footer { border-top: 1px solid var(--line); padding: 18px 0; font-size: 13px; color: var(--muted); }
.site-footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }

/* Typography */
.page-title { font: 600 36px/1.15 var(--serif); margin: 0 0 8px; letter-spacing: .01em; }
.page-title small { font: 500 15px var(--sans); color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.lead { font-size: 16px; color: var(--ink-2); margin: 0 0 20px; }
.hero { margin-bottom: 8px; }
.card-title { font: 600 22px/1.2 var(--serif); margin: 0 0 14px; }
.card-title small { font: 400 13px var(--sans); color: var(--muted); }
h3, h4 { font-family: var(--serif); }
.link-sm { font-size: 13px; margin-left: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 18px;
  background: var(--ink); color: #fff; border: 1.5px solid var(--ink); border-radius: 999px; font: 600 14px var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, transform .05s; }
.btn:hover { background: #000; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.btn-ghost:hover { background: var(--soft); }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: 15px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-ok { background: var(--ink); }

/* Steps */
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 26px; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 3px solid var(--line); color: var(--muted); font-weight: 600; font-size: 14px; }
.steps li span { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.steps li.active { border-color: var(--ink); color: var(--ink); }
.steps li.active span { background: var(--ink); color: #fff; border-color: var(--ink); }
.steps li.done { border-color: var(--ink); color: var(--ink); }
.steps li.done span { background: var(--ink); color: #fff; font-size: 0; }
.steps li.done span::after { content: '✓'; font-size: 14px; }

/* Cards & forms */
.card { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; background: var(--paper); margin-bottom: 18px; }
.form label, label.full { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 14px; }
.form label small, label.full small { font-weight: 400; color: var(--muted); }
input, select, textarea { font: 15px var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 8px;
  padding: 11px 12px; min-height: 46px; width: 100%; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
label.has-err input, label.has-err select { border-color: var(--ink); border-width: 2px; background: #fafafa; }
label em { font-style: normal; font-weight: 500; font-size: 12.5px; color: var(--ink); }
label em::before { content: '! '; font-weight: 700; }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 14px; letter-spacing: 0; cursor: pointer; margin: 4px 0 14px; }
label.check input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 1px; accent-color: #111; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.grid2.top { align-items: start; gap: 18px; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.form-actions.between { justify-content: space-between; }

.alert { padding: 13px 16px; border-radius: 8px; margin-bottom: 16px; font-weight: 500; border: 1.5px solid var(--ink); }
.alert-ok { background: var(--soft); }
.alert-err { background: var(--ink); color: #fff; }
.warn { margin-top: 6px; font-size: 13px; font-weight: 600; }
.req { list-style: none; padding: 0; margin: 0; columns: 2; }
.req li.no { font-weight: 700; text-decoration: underline; }

/* Plan & hotspots */
.legend { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 13px; margin: 0 0 10px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 18px; height: 14px; border-radius: 4px; display: inline-block; border: 2px solid var(--ink); }
.lg-free { background: #fff; border-style: dashed; }
.lg-sel { background: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.lg-busy { background: rgba(0,0,0,.75); }
.plan-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--ink); background: #1b2b2b; }
.plan { position: relative; line-height: 0; user-select: none; -webkit-user-select: none; }
.plan > img { width: 100%; height: auto; display: block; pointer-events: none; }
.hot { position: absolute; padding: 0; margin: 0; background: transparent; border: 2px solid transparent; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; color: #fff; font-family: var(--sans);
  -webkit-tap-highlight-color: transparent; }
.hot.round { border-radius: 50%; }
.hot span { font-weight: 700; font-size: clamp(10px, 1.3vw, 17px); opacity: 0; }
.hot em { font-style: normal; font-size: clamp(8px, .8vw, 11px); font-weight: 700; letter-spacing: .08em; }
button.hot.free { cursor: pointer; }
button.hot.free:hover, button.hot.free:focus-visible { border-color: #fff; border-style: dashed; background: rgba(255,255,255,.12); outline: none; }
.hot.busy { background: rgba(0,0,0,.72); border-color: rgba(255,255,255,.35); cursor: not-allowed; }
.hot.busy span { opacity: 1; }
.plan .hot.busy[style*="cursor: pointer"] { cursor: pointer; }
.hot.selected { background: rgba(255,255,255,.28); border: 3px solid #fff; box-shadow: 0 0 0 3px #000, 0 0 0 6px #fff, 0 8px 22px rgba(0,0,0,.55); z-index: 2; }
.hot.selected::after { content: '✓'; position: absolute; top: -12px; right: -12px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; color: #000; border: 2px solid #000; font: 700 14px/22px var(--sans); text-align: center; }
.hot.small:not(.selected) { border-color: rgba(255,255,255,.25); border-style: dotted; }

/* Editor */
.plan.editing { touch-action: none; }
.hot.edit { background: rgba(255,255,255,.14); border: 2px dashed rgba(255,255,255,.85); cursor: move; touch-action: none; }
.hot.edit span { opacity: 1; background: #000; color: #fff; padding: 2px 6px; border-radius: 4px; font-size: 12px; }
.hot.edit.selected { background: rgba(255,255,255,.35); border-style: solid; }
.hot.edit.selected::after { display: none; }
.hot.edit.inactive { background: repeating-linear-gradient(45deg, rgba(0,0,0,.6) 0 6px, rgba(255,255,255,.2) 6px 12px); }
.hot.edit .rs { position: absolute; right: -7px; bottom: -7px; width: 16px; height: 16px; background: #fff; border: 2px solid #000; border-radius: 3px; cursor: nwse-resize; }
.hot.edit:not(.selected) .rs { display: none; }
.hot.edit:focus { outline: none; }
.editor { display: grid; grid-template-columns: 1fr 290px; gap: 18px; align-items: start; }
.editor-side { position: sticky; top: 96px; }
.side-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 260px; overflow: auto; }
.chip { min-width: 40px; height: 34px; padding: 0 8px; border: 1.5px solid var(--ink); background: #fff; border-radius: 6px; font: 600 13px var(--sans); cursor: pointer; }
.chip.active { background: var(--ink); color: #fff; }
.chip.inactive { text-decoration: line-through; opacity: .55; }
.props label { margin-bottom: 10px; }
.head-actions { display: flex; align-items: center; gap: 14px; }
.dirty { font-size: 13px; font-weight: 600; border-bottom: 2px solid var(--ink); }
.upload-box summary { cursor: pointer; }
.upload-form { display: flex; gap: 10px; margin: 14px 0 6px; flex-wrap: wrap; }
.upload-form input { flex: 1; min-width: 220px; }

/* Selection bar */
.selection-bar { margin-top: 18px; }
.sel-info { font-size: 15px; padding: 12px 14px; background: var(--soft); border-radius: 8px; margin-bottom: 16px; min-height: 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sel-badge, .table-badge { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-weight: 700; border-radius: 6px; padding: 3px 10px; min-width: 36px; }

/* Summary / ticket */
.info-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; }
.info-list > div { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.info-list > div:nth-child(odd) { padding-right: 16px; }
.info-list .wide { grid-column: 1 / -1; }
.info-list dt { width: 118px; flex: none; color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.info-list dd { margin: 0; font-weight: 600; word-break: break-word; }
.edit-links { margin-top: 14px; font-size: 14px; }
.plan-static { pointer-events: none; }
.plan-static .hot span { opacity: 0; }

.success-box { text-align: center; margin: 6px 0 22px; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 32px; line-height: 64px; margin: 0 auto 12px; }
.toolbar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.ticket { max-width: 820px; margin: 0 auto; border: 2px solid var(--ink); border-radius: 14px; padding: 28px 30px; background: #fff; }
.ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); margin-bottom: 6px; flex-wrap: wrap; }
.ticket-logo { height: 58px; width: auto; }
.ticket-no { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ticket-no small { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 600; }
.ticket-no strong { font: 700 26px/1 var(--sans); letter-spacing: .04em; }
.ticket-plan { margin-top: 18px; border: 1px solid var(--ink); border-radius: 8px; overflow: hidden; }
.ticket-foot { margin-top: 16px; font-size: 12.5px; color: var(--ink-2); text-align: center; }
.ticket-foot p { margin: 4px 0; }
.status { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 3px 9px; border-radius: 999px; border: 1.5px solid var(--ink); }
.status-geldi { background: var(--ink); color: #fff; }
.status-iptal { text-decoration: line-through; }
.pdf-mode .ticket { border-width: 2px; }

/* Admin */
body.admin { background: var(--soft); }
.admin-header { background: #0d0d0d; border-bottom: 0; color: #fff; }
.admin-header .brand { color: #fff; }
.admin-header .brand img { height: 42px; }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-nav a { color: #fff; text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; opacity: .75; }
.admin-nav a:hover { opacity: 1; background: rgba(255,255,255,.08); }
.admin-nav a.active { opacity: 1; background: #fff; color: #000; }
.admin-nav a.logout { border: 1px solid rgba(255,255,255,.35); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 22px; border-radius: 8px; width: 46px; height: 42px; cursor: pointer; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head .page-title { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; }
.stat b { font: 700 30px/1 var(--serif); }
.stat span { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.stat-warn { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat-warn span { color: #ccc; }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line-2); padding: 4px; border-radius: 999px; flex-wrap: wrap; }
.tabs a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 13.5px; }
.tabs a.active { background: var(--ink); color: #fff; }
.filter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-form input { width: auto; min-height: 42px; padding: 8px 12px; }
.filter-form input[type=search] { min-width: 210px; }

.res-table { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.res-row { display: grid; grid-template-columns: 96px 150px minmax(170px, 1.2fr) 96px minmax(140px, 1.3fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.res-row:last-child { border-bottom: 0; }
.res-head { background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding-top: 11px; padding-bottom: 11px; }
.res-row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.res-row small { color: var(--muted); font-size: 12px; }
.c-time b { font: 700 22px/1 var(--sans); }
.c-no a { font-weight: 700; font-size: 13px; text-decoration: none; letter-spacing: .02em; }
.c-guest a { text-decoration: none; font-size: 14px; }
.c-table { align-items: flex-start; }
.c-table .table-badge { font-size: 16px; padding: 6px 12px; }
.c-note { font-size: 13.5px; }
.admin-note { border-left: 3px solid var(--ink); padding-left: 8px; margin-top: 4px; color: var(--ink-2) !important; }
.act { flex-direction: row !important; gap: 6px !important; justify-content: flex-end; align-items: center; flex-wrap: nowrap; }
.act form { margin: 0; }
.res-row.late { background: repeating-linear-gradient(135deg, #fff 0 10px, #f3f3f3 10px 20px); }
.tag { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: #fff; padding: 2px 6px; border-radius: 4px; align-self: flex-start; margin-top: 4px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.pager a { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 8px; text-decoration: none; font-weight: 600; background: #fff; }
.pager a.active { background: var(--ink); color: #fff; }
.user-list { list-style: none; padding: 0; margin: 0 0 16px; }
.user-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.user-list li form { margin-left: auto; }
.user-list li small { font-weight: 400; }

.login-page { background: var(--ink); justify-content: center; align-items: center; padding: 20px; }
.login-card { width: 100%; max-width: 400px; margin: 0; padding: 32px; }
.login-logo { display: block; margin: 0 auto 18px; height: 54px; width: auto; }
.login-card .page-title { text-align: center; font-size: 26px; margin-bottom: 20px; }

/* Tablet */
@media (max-width: 1080px) {
  .res-row { grid-template-columns: 84px 1fr 1fr 80px; grid-template-areas: "time guest guest table" "time no note note" "act act act act"; }
  .res-head { display: none; }
  .c-time { grid-area: time; align-self: start; }
  .c-no { grid-area: no; }
  .c-guest { grid-area: guest; }
  .c-table { grid-area: table; align-items: flex-end; }
  .c-note { grid-area: note; }
  .res-row .act { grid-area: act; justify-content: flex-start; padding-top: 4px; }
  .res-row .act .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
  .editor { grid-template-columns: 1fr; }
  .editor-side { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .admin-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #0d0d0d; padding: 10px 20px 16px; flex-direction: column; }
  .nav-open .admin-nav { display: flex; }
  .admin-header .header-inner { position: relative; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .plan-scroll .plan { min-width: 860px; }
  .only-mobile { display: block; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .header-inner { min-height: 64px; }
  .brand img { height: 34px; }
  .header-actions .btn { min-height: 38px; padding: 0 12px; font-size: 12.5px; }
  .page-title { font-size: 28px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .steps li { font-size: 0; gap: 0; justify-content: center; }
  .steps li span { font-size: 13px; }
  .info-list { grid-template-columns: 1fr; }
  .info-list > div:nth-child(odd) { padding-right: 0; }
  .info-list dt { width: 104px; }
  .ticket { padding: 20px 16px; }
  .ticket-no { align-items: flex-start; text-align: left; }
  .form-actions.between { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .res-row { grid-template-columns: 70px 1fr 64px; grid-template-areas: "time guest table" "no no no" "note note note" "act act act"; }
  .res-row .act { flex-wrap: wrap !important; }
  .filter-form, .filter-form input { width: 100%; }
  .req { columns: 1; }
}

/* Print */
@media print {
  @page { size: A4; margin: 12mm; }
  body { display: block; background: #fff; }
  .site-header, .site-footer, .no-print, .toolbar, .alert, .steps { display: none !important; }
  .main { padding: 0; }
  .ticket { border: 2px solid #000; max-width: none; }
  .plan-scroll { border: 0; }
  .plan-scroll .plan { min-width: 0 !important; }
  .plan img, .ticket-plan img { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hot.selected, .hot.selected::after { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===== v2: Lokasyonlar, VIP, çoklu masa, yan menü ===== */
.header-actions { display: flex; gap: 8px; align-items: center; }
.brand-loc { border-left: 1px solid var(--line-2); padding-left: 12px; font: 700 12px/1 var(--sans); letter-spacing: .18em; }
.muted-2 { color: #9a9a9a; }

/* Lokasyon seçim kartları */
.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 900px; margin: 6px auto 0; }
.loc-card { display: block; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; text-decoration: none; background: #0d0d0d; transition: box-shadow .2s, transform .1s; }
.loc-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.loc-card:active { transform: translateY(1px); }
.loc-card > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.loc-fallback { display: flex; aspect-ratio: 1 / 1; align-items: center; justify-content: center; background: #0d0d0d; }
.loc-fallback img { width: 62%; }
.loc-body { display: block; background: #fff; padding: 16px 20px 18px; border-top: 2px solid var(--ink); }
.loc-body b { display: block; font: 600 26px/1.1 var(--serif); letter-spacing: .06em; }
.loc-body small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.loc-cta { display: inline-block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: 13.5px; text-decoration: underline; text-underline-offset: 4px; }
.loc-card.closed { opacity: .55; }

/* VIP */
.hot.vip { border-color: rgba(255,255,255,.75); border-style: double; border-width: 4px; }
.hot.free.vip em { opacity: 1; background: #fff; color: #000; padding: 1px 5px; border-radius: 3px; }
.lg-vip { background: #fff; border-style: double; border-width: 3px; }
.vip-box { border: 2px solid var(--ink); background: var(--soft); border-radius: 8px; padding: 12px 14px; margin: 0 0 14px;
  font-weight: 700; letter-spacing: .06em; text-align: center; }
.ok-note { font-size: 13px; color: var(--muted); margin-top: 6px; width: 100%; }
.sel-info .warn, .sel-info .ok-note { width: 100%; }

/* Yönetim: yan menü */
.admin-shell { display: flex; min-height: 100vh; align-items: stretch; }
.sidebar { width: 238px; flex: none; background: #0d0d0d; color: #fff; padding: 20px 14px; display: flex; flex-direction: column; gap: 22px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 60; }
.sidebar .brand { color: #fff; flex-direction: column; align-items: flex-start; gap: 4px; }
.sidebar .brand img { height: 34px; }
.side-group h6 { margin: 0 0 8px; font: 700 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #8b8b8b; }
.side-link { display: block; color: #fff; text-decoration: none; padding: 10px 12px; border-radius: 8px; font: 600 14px var(--sans); opacity: .78; }
.side-link + .side-link { margin-top: 2px; }
.side-link:hover { opacity: 1; background: rgba(255,255,255,.09); }
.side-link.active { opacity: 1; background: #fff; color: #000; }
.side-link.loc { letter-spacing: .06em; }
.side-link.off em { font-style: normal; color: #9a9a9a; font-weight: 400; }
.side-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.16); padding-top: 12px; font-size: 12px; }
.side-link.logout { border: 1px solid rgba(255,255,255,.3); margin-top: 8px; text-align: center; }
.admin-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { display: flex; align-items: center; gap: 12px; padding: 12px 22px; background: #fff; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; z-index: 40; }
.admin-topbar b { letter-spacing: .1em; font-size: 14px; }
.admin-topbar .muted { font-size: 13px; }
.admin-main { padding: 22px; max-width: 1280px; width: 100%; }
.nav-backdrop { display: none; }
body.admin .nav-toggle { display: none; }

/* Lokasyon yönetim formu */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 18px; }
.inline-checks { display: flex; gap: 22px; flex-wrap: wrap; }
.loc-form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.loc-form-head .card-title { margin-bottom: 6px; }
.loc-form-body { display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: start; }
.loc-banner img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line-2); border-radius: 8px; margin-bottom: 10px; }
.head-actions select { width: auto; min-height: 42px; padding: 8px 12px; }

@media (max-width: 1000px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { display: block; }
  .sidebar { position: fixed; top: 0; bottom: 0; left: -260px; height: 100%; transition: left .22s ease; }
  body.nav-open .sidebar { left: 0; box-shadow: 0 0 40px rgba(0,0,0,.4); }
  body.nav-open .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 55; }
  body.admin .nav-toggle { display: inline-block; background: none; border: 1.5px solid var(--ink); color: var(--ink); font-size: 20px; width: 46px; height: 42px; border-radius: 8px; cursor: pointer; }
  .admin-main { padding: 18px 16px; }
}
@media (max-width: 720px) {
  .loc-grid { grid-template-columns: 1fr; gap: 16px; }
  .grid4 { grid-template-columns: 1fr; }
  .loc-form-body { grid-template-columns: 1fr; }
  .header-actions { flex-direction: column; align-items: stretch; gap: 6px; }
}
.hot.free.vip em { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: .1em; }
.c-table { flex-direction: row !important; flex-wrap: wrap; gap: 4px !important; align-items: flex-start; }
.res-row .c-table .tag { margin-top: 0; }
.status { align-self: flex-start; }

/* ===== v3: onay akışı ve kapasite kilidi ===== */
.hot.over { cursor: not-allowed; border-style: dotted; border-color: rgba(255,255,255,.28);
  background: repeating-linear-gradient(45deg, rgba(0,0,0,.5) 0 5px, rgba(0,0,0,.12) 5px 10px); opacity: .75; }
.hot.over:hover { border-color: rgba(255,255,255,.28); }
.hot.over em { display: none; }
.lg-over { background: repeating-linear-gradient(45deg, #111 0 4px, #fff 4px 8px); }
.status-onay { background: repeating-linear-gradient(135deg, #fff 0 5px, #ededed 5px 10px); }
.res-row.pending { background: repeating-linear-gradient(135deg, #fff 0 12px, #f0f0f0 12px 24px); border-left: 5px solid var(--ink); }
.inline-link { color: inherit; margin-left: 8px; font-weight: 700; }
