/* =====================================================================
   ISSOS HOTEL — Yönetim Paneli Stili
   ===================================================================== */
:root {
  --primary: #0f3d4c;
  --primary-dark: #0a2a36;
  --primary-light: #1f7a8c;
  --accent: #c9a961;
  --accent-dark: #a98745;
  --bg: #f3f4f6;
  --surface: #ffffff;
  --ink: #16232a;
  --text: #3c4852;
  --muted: #7a8690;
  --line: #e4e7eb;
  --line-strong: #cfd5db;
  --success: #2e9e6b;
  --danger: #d9534f;
  --warning: #e0a53a;
  --info: #3b82c4;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 8px 30px -14px rgba(16, 38, 48, .25);
  --shadow-lg: 0 24px 60px -24px rgba(16, 38, 48, .4);
  --font: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sidebar-w: 264px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.admin { margin: 0; font-family: var(--font); font-size: 14.5px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.25; }
p { margin: 0 0 .8em; } p:last-child { margin-bottom: 0; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--bg); padding: 2px 6px; border-radius: 5px; }
.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; vertical-align: -.2em; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .02em; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.link { color: var(--primary-light); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; }
.req { color: var(--danger); font-weight: 700; }
.hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.eyebrow-admin { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; }

/* ------------------------------------------------------------ Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 40px; height: 40px; color: var(--accent); flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__word { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.logo__sub { font-size: 9.5px; letter-spacing: .45em; text-transform: uppercase; margin-top: 3px; font-weight: 500; }
.logo--dark .logo__word { color: var(--primary-dark); } .logo--dark .logo__sub { color: var(--accent-dark); }
.logo--light .logo__word { color: #fff; } .logo--light .logo__sub { color: var(--accent); }
.logo--img img { height: 44px; width: auto; }
.logo--badge { line-height: 0; gap: 0; }
.logo--badge .logo__svg { height: 48px; width: auto; display: block; }
.sidebar__brand .logo--badge .logo__svg { height: 44px; }
.login-card__brand .logo--badge .logo__svg { height: 64px; }

/* ------------------------------------------------------------ Yerleşim */
.admin-shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-w); flex: 0 0 var(--sidebar-w); background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%); color: rgba(255,255,255,.78); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; z-index: 50; }
.sidebar__brand { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 16px; }
.sidebar__brand .logo__mark { width: 38px; height: 38px; } .sidebar__brand .logo__word { font-size: 24px; } .sidebar__brand .logo__sub { font-size: 9px; }
.sidebar__brand .logo--img img { height: 42px; }
.sidebar__close { display: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); place-items: center; }
.sidebar__nav { flex: 1; padding: 6px 14px 20px; }
.sidebar__group { margin-bottom: 14px; }
.sidebar__group-title { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); padding: 10px 12px 6px; font-weight: 600; }
.sidebar__link { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; transition: all .25s; position: relative; }
.sidebar__link .icon { width: 19px; height: 19px; opacity: .85; }
.sidebar__link span { flex: 1; }
.sidebar__link:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar__link.is-active { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.sidebar__link.is-active .icon { color: var(--accent); opacity: 1; }
.sidebar__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; }
.sidebar__foot { padding: 16px 22px 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.sidebar__foot a { display: inline-flex; align-items: center; gap: 8px; color: #fff; } .sidebar__foot a:hover { color: var(--accent); }
.sidebar__foot small { color: rgba(255,255,255,.4); font-size: 11.5px; }
.sidebar__backdrop { display: none; position: fixed; inset: 0; background: rgba(5,20,28,.5); z-index: 45; }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar-admin { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 12px 28px; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); min-height: 64px; }
.topbar-admin__menu { display: none; width: 40px; height: 40px; border-radius: 10px; place-items: center; background: var(--bg); }
.topbar-admin__title { flex: 1; min-width: 0; } .topbar-admin__title h1 { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-admin__actions { display: flex; align-items: center; gap: 8px; }
.topbar-admin__btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--text); border: 1px solid var(--line); background: #fff; transition: all .25s; }
.topbar-admin__btn:hover { border-color: var(--primary); color: var(--primary); }
.user-menu { position: relative; }
.user-menu__btn { display: inline-flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; border-radius: 30px; border: 1px solid var(--line); background: #fff; }
.user-menu__avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: #fff; display: inline-grid; place-items: center; font-weight: 600; font-size: 14px; }
.user-menu__name { font-weight: 500; font-size: 13.5px; }
.user-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s; z-index: 60; }
.user-menu.is-open .user-menu__panel { opacity: 1; visibility: visible; transform: none; }
.user-menu__panel a { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; font-size: 13.5px; } .user-menu__panel a:hover { background: var(--bg); }
.user-menu__panel a.danger { color: var(--danger); }
.user-menu__panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.admin-content { padding: 26px 28px 110px; max-width: 1480px; width: 100%; }

/* ------------------------------------------------------------ Başlıklar & kartlar */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head h2 { font-size: 24px; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-head h2 .icon { color: var(--accent-dark); }
.page-head p { font-size: 13.5px; margin-top: 4px; max-width: 760px; }
.page-head__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.count { font-size: 12px; padding: 3px 9px; border-radius: 20px; background: var(--bg); color: var(--muted); font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); margin-bottom: 6px; } .back-link:hover { color: var(--primary); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.card--flush { padding: 0; overflow: hidden; }
.card--info { background: linear-gradient(160deg, #fdfbf5, #fff); border-color: #ece3cf; }
.card__title { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.card__title .icon { color: var(--accent-dark); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; } .card__head .card__title { margin: 0; }
.card__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.card__toolbar-right { display: flex; align-items: center; gap: 12px; }
.sub-title { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 0 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.grid-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; align-items: start; }
.stack > .card:last-child { margin-bottom: 0; }
.tips { padding-left: 18px; list-style: disc; font-size: 13.5px; color: var(--text); } .tips li { margin-bottom: 6px; } .tips li::marker { color: var(--accent); }
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state > .icon { width: 48px; height: 48px; color: var(--line-strong); margin-bottom: 10px; }
.empty-state h3, .empty-state h2 { font-size: 18px; margin-bottom: 6px; color: var(--ink); }
.empty-state .btn { margin-top: 14px; }

/* ------------------------------------------------------------ Butonlar & rozetler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 16px; border-radius: 10px; font-weight: 500; font-size: 14px; line-height: 1; border: 1px solid transparent; transition: all .22s; white-space: nowrap; }
.btn .icon { width: 16px; height: 16px; }
.btn--primary { background: var(--primary); color: #fff; } .btn--primary:hover { background: var(--primary-dark); }
.btn--accent { background: var(--accent); color: #fff; } .btn--accent:hover { background: var(--accent-dark); }
.btn--light { background: #fff; border-color: var(--line-strong); color: var(--text); } .btn--light:hover { border-color: var(--primary); color: var(--primary); }
.btn--danger { background: var(--danger); color: #fff; } .btn--danger:hover { background: #b9403c; }
.btn--danger-light { background: #fdf1f0; color: var(--danger); border-color: #f5d4d2; } .btn--danger-light:hover { background: var(--danger); color: #fff; }
.btn--sm { padding: 7px 12px; font-size: 13px; } .btn--lg { padding: 13px 22px; font-size: 15px; } .btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; background: var(--bg); color: var(--muted); white-space: nowrap; }
.badge--lg { font-size: 13px; padding: 6px 12px; }
.badge--success { background: #e6f6ee; color: #1f7a50; } .badge--danger { background: #fdecec; color: #b03a37; } .badge--warning { background: #fdf3e1; color: #9a6a12; } .badge--accent { background: #f7efdc; color: var(--accent-dark); } .badge--muted { background: var(--bg); color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: 4px; } .dot--warning { background: var(--warning); } .dot--success { background: var(--success); }

/* ------------------------------------------------------------ Sekmeler */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: all .2s; }
.tabs a span { font-size: 11.5px; padding: 1px 7px; border-radius: 10px; background: var(--bg); }
.tabs a:hover { color: var(--ink); } .tabs a.is-active { color: var(--primary); border-color: var(--primary); } .tabs a.is-active span { background: var(--primary); color: #fff; }

/* ------------------------------------------------------------ Tablo */
.table-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:hover { background: #fafbfc; } .table tbody tr:last-child td { border-bottom: 0; }
.table tr.is-highlight { background: #fffbf2; }
.table--compact th, .table--compact td { padding: 8px 10px; }
.table .thumb { width: 64px; height: 46px; object-fit: cover; border-radius: 7px; border: 1px solid var(--line); }
.row-title { font-weight: 600; color: var(--ink); } .row-title:hover { color: var(--primary-light); }
.row-actions { display: flex; align-items: center; gap: 2px; justify-content: flex-end; }
.row-actions a, .row-actions button { width: 32px; height: 32px; border-radius: 8px; display: inline-grid; place-items: center; color: var(--muted); transition: all .2s; }
.row-actions a:hover, .row-actions button:hover { background: var(--bg); color: var(--primary); }
.row-actions .danger:hover { background: #fdecec; color: var(--danger); } .row-actions .success:hover { background: #e6f6ee; color: var(--success); }
.row-actions .icon { width: 16px; height: 16px; }
.w-check { width: 36px; } .w-grip { width: 30px; } .w-actions { width: 1%; text-align: right; }
.grip { cursor: grab; color: var(--line-strong); display: inline-flex; } .grip:hover { color: var(--muted); } .grip .icon { width: 18px; height: 18px; }
tr.is-dragging, .media-card.is-dragging, .gallery-item.is-dragging, .menu-item.is-dragging { opacity: .4; }
tr.drag-over td { border-top: 2px solid var(--accent); }
.icon-cell { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--bg); color: var(--primary); } .icon-cell .icon { width: 18px; height: 18px; }
.table input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.inline { display: inline; }
.pagination-admin { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.pagination-admin div { display: flex; gap: 4px; align-items: center; }
.pagination-admin a { min-width: 34px; height: 34px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); font-size: 13px; }
.pagination-admin a.is-active, .pagination-admin a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 240px; max-width: 520px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; flex-wrap: wrap; }
.search > .icon { color: var(--muted); }
.search input[type=search] { flex: 1; min-width: 120px; border: 0; outline: none; padding: 10px 0; background: transparent; }
.search select { border: 0; border-left: 1px solid var(--line); padding: 8px 10px; background: transparent; outline: none; color: var(--text); font-size: 13.5px; }
.filters { align-items: center; } .filters select, .filters input[type=date] { padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; font-size: 13.5px; }
.filters__date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.filters__sum { margin-left: auto; font-size: 13.5px; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form input, .inline-form select { padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 9px; font-size: 13.5px; background: #fff; }
.inline-upload { display: inline-flex; gap: 6px; align-items: center; } .inline-upload select { padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 9px; font-size: 13.5px; background: #fff; }

/* ------------------------------------------------------------ Form */
.form { display: flex; flex-direction: column; gap: 14px; }
.fields { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; grid-column: span 12; min-width: 0; }
.fields .field--half { grid-column: span 6; } .fields .field--third { grid-column: span 4; } .fields .field--quarter { grid-column: span 3; }
.fields__heading { grid-column: 1 / -1; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; padding-top: 10px; margin-top: 6px; border-top: 1px dashed var(--line); }
.fields__heading:first-child { border: 0; padding-top: 0; margin-top: 0; }
.card > .fields__heading { margin-bottom: 14px; border: 0; padding: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input:not([type=checkbox]):not([type=color]), .field select, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(31,122,140,.15); }
.field textarea { resize: vertical; min-height: 80px; }
.field textarea.code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: #fafbfc; }
.field select { appearance: none; 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='%237a8690' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 34px; }
.field .help { font-size: 12.5px; color: var(--muted); }
.field .error { font-size: 12.5px; color: var(--danger); font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field--toggle { justify-content: center; }
.input-group { display: flex; align-items: stretch; }
.input-group input { border-radius: 9px 0 0 9px !important; flex: 1; }
.input-group__addon { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line-strong); border-left: 0; border-radius: 0 9px 9px 0; background: var(--bg); color: var(--muted); font-size: 13.5px; }
.input-group__btn { cursor: pointer; } .input-group__btn:hover { color: var(--primary); }
.input-group .input-group__addon:first-child { border-left: 1px solid var(--line-strong); border-right: 0; border-radius: 9px 0 0 9px; }
.input-group .input-group__addon:first-child + input { border-radius: 0 9px 9px 0 !important; }
.input-group--color input[type=color] { width: 46px; height: 42px; padding: 3px; border: 1px solid var(--line-strong); border-right: 0; border-radius: 9px 0 0 9px; background: #fff; cursor: pointer; }
.input-group--color input[type=text] { border-radius: 0 9px 9px 0 !important; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track { width: 42px; height: 24px; border-radius: 12px; background: var(--line-strong); position: relative; transition: background .25s; flex: 0 0 auto; }
.switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s; }
.switch input:checked + .switch__track { background: var(--success); } .switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch--sm .switch__track { width: 34px; height: 20px; } .switch--sm .switch__track::after { width: 14px; height: 14px; } .switch--sm input:checked + .switch__track::after { transform: translateX(14px); }
.switch__label { font-size: 14px; font-weight: 500; color: var(--ink); }
.check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; cursor: pointer; } .check input { width: 17px; height: 17px; accent-color: var(--primary); }
.checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.checklist__item { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font-size: 13.5px; transition: all .2s; }
.checklist__item:hover { border-color: var(--primary-light); } .checklist__item:has(input:checked) { background: #eef6f8; border-color: var(--primary-light); }
.checklist__item input { width: 16px; height: 16px; accent-color: var(--primary); }
.checklist__item span { display: inline-flex; align-items: center; gap: 7px; } .checklist__item .icon { color: var(--primary); width: 16px; height: 16px; }
.image-field { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 10px; background: #fafbfc; transition: border-color .2s; }
.image-field.is-dragover { border-color: var(--primary-light); background: #eef6f8; }
.image-field__preview { width: 120px; height: 84px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; color: var(--line-strong); overflow: hidden; flex: 0 0 auto; border: 1px solid var(--line); }
.image-field__preview img { width: 100%; height: 100%; object-fit: cover; } .image-field__preview .icon { width: 28px; height: 28px; }
.image-field__actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.image-field__name { width: 100%; font-size: 12px; color: var(--muted); word-break: break-all; }
.icon-field { display: flex; align-items: center; gap: 8px; }
.icon-field__preview { width: 42px; height: 42px; border-radius: 9px; background: var(--bg); display: inline-grid; place-items: center; color: var(--primary); border: 1px solid var(--line); flex: 0 0 auto; } .icon-field__preview .icon { width: 20px; height: 20px; }
.icon-field input { flex: 1; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.form-layout--single { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.form-layout__side { position: sticky; top: 84px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; } .form-actions > div { display: flex; gap: 8px; }
.form-actions.sticky { position: fixed; left: var(--sidebar-w); right: 0; bottom: 0; padding: 12px 28px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); z-index: 30; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px; }
.alert .icon { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; } .alert a { text-decoration: underline; font-weight: 600; }
.alert--warning { background: #fdf3e1; color: #7a540e; } .alert--error { background: #fdecec; color: #8f2f2c; } .alert--success { background: #e6f6ee; color: #1f6a47; } .alert--info { background: #e8f1fa; color: #27527a; }

/* Zengin metin editörü */
.rte { border: 1px solid var(--line-strong); border-radius: 9px; overflow: hidden; background: #fff; }
.rte:focus-within { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(31,122,140,.15); }
.rte__toolbar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.rte__toolbar button { width: 32px; height: 32px; border-radius: 7px; display: inline-grid; place-items: center; color: var(--text); } .rte__toolbar button:hover, .rte__toolbar button.is-active { background: #e8eef1; color: var(--primary); }
.rte__toolbar .icon { width: 16px; height: 16px; } .rte__sep { width: 1px; background: var(--line); margin: 4px 4px; }
.rte__editor { min-height: 260px; max-height: 70vh; overflow-y: auto; padding: 14px 16px; outline: none; font-size: 15px; line-height: 1.65; }
.rte__editor h2 { font-size: 24px; margin: .8em 0 .4em; } .rte__editor h3 { font-size: 19px; margin: .8em 0 .4em; } .rte__editor p { margin: 0 0 .8em; }
.rte__editor ul, .rte__editor ol { padding-left: 1.4em; margin: 0 0 .8em; } .rte__editor ul { list-style: disc; } .rte__editor ol { list-style: decimal; }
.rte__editor blockquote { border-left: 3px solid var(--accent); margin: .8em 0; padding: .4em 1em; background: #fbf8f1; }
.rte__editor img { max-width: 100%; border-radius: 8px; } .rte__editor a { color: var(--primary-light); text-decoration: underline; }
.rte__source { width: 100%; min-height: 260px; padding: 14px; border: 0; font-family: ui-monospace, Consolas, monospace; font-size: 13px; outline: none; resize: vertical; }
.rte.is-source .rte__editor { display: none; } .rte.is-source .rte__source { display: block !important; }

/* Alt galeri yöneticisi */
.gallery-manager__drop { border: 2px dashed var(--line-strong); border-radius: 12px; padding: 22px; text-align: center; background: #fafbfc; transition: all .2s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gallery-manager__drop.is-dragover { border-color: var(--primary-light); background: #eef6f8; }
.gallery-manager__drop > .icon { width: 34px; height: 34px; color: var(--line-strong); } .gallery-manager__drop p { margin: 0; font-size: 13.5px; }
.gallery-manager__btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.gallery-manager__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.gallery-item { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; cursor: grab; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item input { width: 100%; border: 0; border-top: 1px solid var(--line); padding: 7px 9px; font-size: 12.5px; outline: none; }
.gallery-item__del { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(217,83,79,.92); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .2s; } .gallery-item__del .icon { width: 14px; height: 14px; }
.gallery-item:hover .gallery-item__del { opacity: 1; }
.gallery-item__grip { position: absolute; top: 6px; left: 6px; width: 26px; height: 26px; border-radius: 6px; background: rgba(255,255,255,.85); color: var(--muted); display: grid; place-items: center; opacity: 0; transition: opacity .2s; } .gallery-item:hover .gallery-item__grip { opacity: 1; }
.gallery-item.is-uploading { opacity: .5; }
.gallery-manager .hint { margin-top: 10px; }

/* ------------------------------------------------------------ Medya ızgarası */
.media-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.media-card { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: all .2s; }
.media-card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.media-card__check { position: absolute; top: 8px; left: 8px; z-index: 2; } .media-card__check input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.media-card__img { display: block; aspect-ratio: 4 / 3; background: var(--bg); } .media-card__img img { width: 100%; height: 100%; object-fit: cover; }
.media-card__body { padding: 10px 12px 6px; display: flex; flex-direction: column; } .media-card__body strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .media-card__body small { font-size: 11.5px; color: var(--muted); }
.media-card__actions { display: flex; align-items: center; gap: 2px; padding: 4px 8px 8px; }
.media-card__actions a, .media-card__actions button { width: 30px; height: 30px; border-radius: 7px; display: inline-grid; place-items: center; color: var(--muted); } .media-card__actions a:hover, .media-card__actions button:hover { background: var(--bg); color: var(--primary); } .media-card__actions .danger:hover { background: #fdecec; color: var(--danger); }
.media-card__actions .icon { width: 15px; height: 15px; } .media-card__actions .switch { margin-right: auto; }
.media-card.is-selected { outline: 3px solid var(--primary-light); outline-offset: -3px; }

/* Medya seçici ızgarası (modal) */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); grid-auto-rows: 140px; gap: 10px; align-content: start; }
.media-grid button { position: relative; border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; background: var(--bg); height: 140px; width: 100%; }
.media-grid button img { width: 100%; height: 100%; object-fit: cover; }
.media-grid button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font-size: 10.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.media-grid button.is-selected { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(31,122,140,.25); }

/* ------------------------------------------------------------ Modal */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; opacity: 0; transition: all .25s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,20,28,.55); backdrop-filter: blur(3px); }
.modal__panel { position: relative; width: min(760px, 100%); max-height: 90vh; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateY(16px) scale(.98); transition: transform .3s var(--ease); }
.modal.is-open .modal__panel { transform: none; }
.modal__panel--lg { width: min(1100px, 100%); } .modal__panel--sm { width: min(420px, 100%); }
.modal__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.modal__head h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-right: auto; } .modal__head h3 .icon { color: var(--accent-dark); }
.modal__head input[type=search], .modal__tools input, .modal__tools select { padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 13.5px; }
.modal__tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.modal__close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); } .modal__close:hover { background: var(--bg); color: var(--ink); }
.modal__body { padding: 18px 20px; overflow-y: auto; flex: 1; }
.modal__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.icon-grid button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px; border-radius: 9px; border: 1px solid var(--line); color: var(--text); transition: all .15s; }
.icon-grid button .icon { width: 20px; height: 20px; color: var(--primary); } .icon-grid button small { font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.icon-grid button:hover { border-color: var(--primary-light); background: #eef6f8; }
.confirm { text-align: center; padding: 10px; }
.confirm__icon { width: 60px; height: 60px; border-radius: 50%; background: #fdecec; color: var(--danger); display: inline-grid; place-items: center; margin-bottom: 12px; } .confirm__icon .icon { width: 28px; height: 28px; }
.confirm h3 { font-size: 19px; margin-bottom: 6px; } .confirm p { color: var(--muted); margin-bottom: 18px; }
.confirm__actions { display: flex; gap: 8px; justify-content: center; }

/* ------------------------------------------------------------ Toast */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 8px; max-width: min(400px, calc(100vw - 40px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--info); font-size: 13.5px; animation: toastIn .4s var(--ease) both; }
.toast--success { border-color: var(--success); } .toast--success > .icon { color: var(--success); }
.toast--error { border-color: var(--danger); } .toast--error > .icon { color: var(--danger); }
.toast--info { border-color: var(--info); } .toast--info > .icon { color: var(--info); }
.toast > .icon { width: 18px; height: 18px; margin-top: 2px; } .toast span { flex: 1; }
.toast button { opacity: .5; display: inline-flex; } .toast button:hover { opacity: 1; }
.toast.is-leaving { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px); } }

/* ------------------------------------------------------------ Kontrol paneli */
.welcome { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.welcome h2 { font-size: 26px; font-weight: 600; } .welcome__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-card { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .25s; }
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #eef6f8; color: var(--primary); flex: 0 0 auto; } .stat-card__icon .icon { width: 22px; height: 22px; }
.stat-card strong { display: block; font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.1; } .stat-card span { font-size: 12px; color: var(--muted); }
.stat-card--warning .stat-card__icon { background: #fdf3e1; color: #b07a16; } .stat-card--success .stat-card__icon { background: #e6f6ee; color: var(--success); } .stat-card--accent .stat-card__icon { background: #f7efdc; color: var(--accent-dark); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding-top: 10px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.bar span { width: 100%; border-radius: 4px 4px 0 0; background: #cfe3ea; transition: height .6s var(--ease); min-height: 3px; } .bar span.is-mid { background: var(--primary-light); } .bar span.is-high { background: var(--accent); }
.bar small { font-size: 9.5px; color: var(--muted); } .bar:nth-child(even) small { visibility: hidden; }
.bars__legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 10px; } .bars__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #cfe3ea; margin-right: 4px; } .bars__legend i.is-mid { background: var(--primary-light); } .bars__legend i.is-high { background: var(--accent); }
.ranking li { margin-bottom: 12px; } .ranking__row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; margin-bottom: 4px; } .ranking__row span { color: var(--muted); font-size: 12.5px; }
.ranking__bar { height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; } .ranking__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary-light), var(--primary)); border-radius: 4px; }
.timeline li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); } .timeline li:last-child { border: 0; } .timeline li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.timeline__date { width: 44px; height: 48px; border-radius: 10px; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex: 0 0 auto; } .timeline__date b { font-size: 17px; color: var(--primary); } .timeline__date small { font-size: 10px; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.msg-list li { border-bottom: 1px dashed var(--line); } .msg-list li:last-child { border: 0; } .msg-list a { display: block; padding: 10px 0; } .msg-list li.is-unread strong::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--warning); margin-right: 6px; vertical-align: middle; }
.msg-list p { font-size: 13px; color: var(--text); margin: 3px 0; }
.activity li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; } .activity li:last-child { border: 0; } .activity li > div { display: flex; flex-direction: column; } .activity__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex: 0 0 auto; }

/* ------------------------------------------------------------ Rezervasyon detay */
.res-room { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; }
.res-room img { width: 96px; height: 68px; object-fit: cover; border-radius: 8px; } .res-room > div { flex: 1; display: flex; flex-direction: column; gap: 2px; } .res-room strong { font-size: 16px; }
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin: 0; } .dl-grid--1 { grid-template-columns: 1fr; }
.dl-grid dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; } .dl-grid dd { margin: 2px 0 0; font-weight: 500; color: var(--ink); display: flex; flex-direction: column; } .dl-grid dd small { font-size: 12px; color: var(--muted); font-weight: 400; }
.dl-grid dd.price-lg { font-size: 22px; color: var(--primary); font-family: var(--serif); font-weight: 700; }
.note-box { display: flex; gap: 10px; padding: 12px 14px; background: #fbf8f1; border: 1px solid #ece3cf; border-radius: 10px; margin-top: 14px; font-size: 13.5px; } .note-box .icon { color: var(--accent-dark); margin-top: 3px; } .note-box p { margin: 2px 0 0; }
.status-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.status-btn { padding: 10px; border-radius: 9px; border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; transition: all .2s; }
.status-btn--success { color: var(--success); } .status-btn--success:hover { background: var(--success); color: #fff; border-color: var(--success); }
.status-btn--warning { color: #9a6a12; } .status-btn--warning:hover { background: var(--warning); color: #fff; border-color: var(--warning); }
.status-btn--danger { color: var(--danger); } .status-btn--danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.status-btn--muted { color: var(--muted); } .status-btn--muted:hover { background: var(--muted); color: #fff; border-color: var(--muted); }
.status-btn.is-current { background: var(--bg); opacity: .6; cursor: default; }
.breakdown li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; } .breakdown__total { display: flex; justify-content: space-between; padding-top: 10px; font-weight: 600; }
.simple-list li { padding: 6px 0; font-size: 13.5px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.message-body { font-size: 15px; line-height: 1.7; white-space: pre-wrap; }

/* ------------------------------------------------------------ Takvim */
.cal-wrap { overflow-x: auto; }
.cal { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 900px; font-size: 13px; }
.cal th, .cal td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.cal thead th { padding: 8px 4px; text-align: center; background: #fafbfc; font-weight: 500; position: sticky; top: 0; z-index: 2; }
.cal thead th small { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; } .cal thead th b { display: block; font-size: 15px; color: var(--ink); }
.cal thead th.is-weekend { background: #f4f1ea; } .cal thead th.is-today { background: #eef6f8; } .cal thead th.is-today b { color: var(--primary-light); }
.cal__room { text-align: left; padding: 10px 14px !important; min-width: 200px; position: sticky; left: 0; background: #fff; z-index: 1; } .cal__room small { display: block; font-size: 11.5px; } thead .cal__room { z-index: 3; background: #fafbfc; }
.cal__cell { position: relative; padding: 0; text-align: center; height: 52px; }
.cal__btn { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; gap: 2px; } .cal__btn b { font-size: 15px; } .cal__btn small { font-size: 10px; opacity: .7; }
.cal__cell--free { background: #eef8f2; color: #1f7a50; } .cal__cell--mid { background: #fff6e3; color: #8a5f10; } .cal__cell--high { background: #fde7d6; color: #a04b17; } .cal__cell--full { background: #fbe0df; color: #9e2f2b; }
.cal__cell.is-today { outline: 2px solid var(--primary-light); outline-offset: -2px; }
.cal__blocked { position: absolute; top: 3px; right: 3px; color: var(--muted); } .cal__blocked .icon { width: 11px; height: 11px; }
.cal__popover { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 20; width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 12px 14px; text-align: left; color: var(--text); }
.cal__popover.is-open { display: block; } .cal__popover strong { display: block; } .cal__popover > .muted { display: block; font-size: 12px; margin-bottom: 8px; }
.cal__popover ul { margin-bottom: 10px; } .cal__popover li a { display: flex; align-items: center; gap: 4px; padding: 5px 0; font-size: 13px; border-bottom: 1px dashed var(--line); } .cal__popover li a:hover { color: var(--primary); }
.cal__legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 12px 16px; font-size: 12.5px; color: var(--muted); } .cal__legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -3px; margin-right: 5px; border: 1px solid rgba(0,0,0,.05); }

/* ------------------------------------------------------------ Menü ağacı */
.menu-tree, .menu-tree__children { min-height: 6px; }
.menu-tree__children { margin-left: 34px; padding-left: 10px; border-left: 2px dashed var(--line); }
.menu-item { margin-bottom: 6px; }
.menu-item__row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: all .2s; }
.menu-item__row:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.menu-item__text { flex: 1; display: flex; flex-direction: column; min-width: 0; } .menu-item__text small { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-tree .drop-indicator { height: 3px; background: var(--accent); border-radius: 2px; margin: 2px 0; }
.menu-item.drag-over-child > .menu-item__row { background: #eef6f8; border-color: var(--primary-light); }

/* ------------------------------------------------------------ Ayarlar */
.settings-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; }
.settings-nav { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; position: sticky; top: 84px; }
.settings-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 9px; font-weight: 500; font-size: 14px; transition: all .2s; } .settings-nav a .icon { color: var(--muted); width: 18px; height: 18px; } .settings-nav a span { flex: 1; } .settings-nav__arrow { opacity: .3; width: 14px !important; height: 14px !important; }
.settings-nav a:hover { background: var(--bg); } .settings-nav a.is-active { background: var(--primary); color: #fff; } .settings-nav a.is-active .icon { color: var(--accent); }

/* ------------------------------------------------------------ Giriş sayfası */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; position: relative; }
.login-bg { position: fixed; inset: 0; background-size: cover; background-position: center; z-index: -2; } .login-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,42,54,.88), rgba(15,61,76,.7)); }
.login-card { width: min(420px, 100%); background: #fff; border-radius: 20px; padding: 36px 34px 28px; box-shadow: var(--shadow-lg); animation: toastIn .6s var(--ease) both; }
.login-card__brand { display: flex; justify-content: center; margin-bottom: 20px; } .login-card h1 { font-size: 22px; text-align: center; font-weight: 600; } .login-card > .muted { text-align: center; margin-bottom: 20px; }
.login-card .form { gap: 14px; } .login-card__back { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); margin-top: 18px; } .login-card__back:hover { color: var(--primary); }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1200px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } .form-layout { grid-template-columns: 1fr; } .form-layout__side { position: static; } .grid-3-1, .grid-3-2 { grid-template-columns: 1fr; } }
@media (max-width: 980px) {
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .35s var(--ease); }
  body.sidebar-open .sidebar { transform: none; } body.sidebar-open .sidebar__backdrop { display: block; }
  .sidebar__close { display: grid; } .topbar-admin__menu { display: grid; }
  .topbar-admin { padding: 10px 16px; } .topbar-admin__btn span, .user-menu__name { display: none; }
  .admin-content { padding: 18px 16px 110px; } .form-actions.sticky { left: 0; padding: 10px 16px; }
  .grid-2 { grid-template-columns: 1fr; } .settings-layout { grid-template-columns: 1fr; } .settings-nav { position: static; flex-direction: row; flex-wrap: wrap; } .settings-nav__arrow { display: none; }
  .fields .field--half, .fields .field--third { grid-column: span 6; } .fields .field--quarter { grid-column: span 6; }
  .table-wrap { margin: 0 -16px; padding: 0 16px; } .card { padding: 16px; }
}
@media (max-width: 640px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .fields .field--half, .fields .field--third, .fields .field--quarter { grid-column: span 12; } .gallery-manager__grid { grid-template-columns: repeat(2, 1fr); } .page-head__actions .btn { padding: 9px 12px; font-size: 13px; } .dl-grid { grid-template-columns: 1fr; } .status-buttons { grid-template-columns: 1fr; } }
@media print { .sidebar, .topbar-admin, .form-actions, .page-head__actions, .toasts { display: none !important; } .admin-content { padding: 0; } .card { break-inside: avoid; } }
