/* Добриня — бронювання шафок */

:root {
  --bg: #171310;
  --bg-top: #1c1612;
  --panel: #1d1713;
  --panel-raised: #221b15;
  --card: #26201a;
  --ink: #f2e9db;
  --gold: #d4a75f;
  --gold-hover: #e8c481;
  --gold-dark: #241a0e;
  --green: oklch(0.8 0.13 145);
  --queue: oklch(0.78 0.09 250);
  --deposit: oklch(0.78 0.09 145);
}

html, body { margin: 0; padding: 0; background: var(--bg); }
body { font-family: 'Manrope', sans-serif; color: var(--ink); }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }
button { font-family: 'Manrope', sans-serif; }
input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(242, 233, 219, .18);
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
}
input::placeholder { color: rgba(242, 233, 219, .35); }
input:focus { outline: none; border-color: var(--gold); }

.hidden { display: none !important; }

.page { min-height: 100vh; background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 40%); }

/* Шапка */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px;
  border-bottom: 1px solid rgba(212, 167, 95, .18);
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--gold);
}
.brand-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; letter-spacing: .02em; }
.brand-sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 233, 219, .5); }
.header-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.header-info { font-size: 13px; color: rgba(242, 233, 219, .55); }
.view-switch { display: flex; gap: 4px; padding: 4px; border: 1px solid rgba(212, 167, 95, .3); border-radius: 999px; }
.tab {
  border: none;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: rgba(242, 233, 219, .7);
}
.tab.active { background: var(--gold); color: var(--gold-dark); }

/* Заголовки сторінок */
.client-main { max-width: 1240px; margin: 0 auto; padding: 48px 40px 80px; }
.admin-main { max-width: 1360px; margin: 0 auto; padding: 40px; }
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.admin-head { gap: 20px; margin-bottom: 32px; }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.page-title { margin: 0; font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 600; line-height: 1.1; }
.admin-title { font-size: 36px; }
.lede { margin: 14px 0 0; max-width: 520px; font-size: 15px; line-height: 1.6; color: rgba(242, 233, 219, .6); text-wrap: pretty; }
/* Заголовок ліворуч, кнопка дзвінка посередині, лічильник праворуч */
.head-intro { flex: 1 1 380px; min-width: 0; }
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 26px 12px 12px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  background: rgba(212, 167, 95, .1);
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.btn-call:hover {
  background: var(--gold);
  color: var(--gold-dark);
}
.call-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.call-icon svg { width: 21px; height: 21px; }
.call-text { display: flex; flex-direction: column; gap: 3px; }
.call-label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .8;
}
.call-number {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.1;
}

.free-stat { font-size: 15px; color: rgba(242, 233, 219, .75); white-space: nowrap; }
.free-stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  margin: 0 3px;
  line-height: 1;
}
.admin-head-right { display: flex; gap: 24px; align-items: center; }
.admin-head-right .free-stat strong { font-size: 24px; }

.btn-ghost {
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid rgba(242, 233, 219, .25);
  background: transparent;
  color: rgba(242, 233, 219, .7);
  cursor: pointer;
  font-size: 13px;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Налаштування (адмін) */
.settings-bar {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 167, 95, .2);
  border-radius: 12px;
  background: var(--panel);
}
.settings-bar label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(242, 233, 219, .55);
}
.settings-bar input { width: 110px; padding: 9px 12px; font-size: 14px; }
.settings-bar .btn-ghost { padding: 10px 18px; }
.settings-hint { font-size: 12px; color: rgba(242, 233, 219, .38); padding-bottom: 10px; }

/* Легенда */
.legend { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(242, 233, 219, .7); }
.swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.swatch-booked { background: var(--gold); }
.swatch-queue { background: var(--queue); }
.swatch-deposit { background: var(--deposit); }

/* Колонки статусів */
/* stretch (а не start): усі колонки ряду однакової висоти в будь-якому стані */
.columns { display: grid; gap: 20px; align-items: stretch; }

/* Полоса вибору дати */
.date-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.date-strip::-webkit-scrollbar { display: none; }
.date-chip {
  flex: 0 0 auto;
  min-width: 104px;
  padding: 9px 14px;
  border: 1px solid rgba(212, 167, 95, .28);
  border-radius: 12px;
  background: transparent;
  color: rgba(242, 233, 219, .75);
  cursor: pointer;
  text-align: left;
  line-height: 1.3;
}
.date-chip:hover { border-color: var(--gold); }
.date-name { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.date-free { display: block; font-size: 11px; color: var(--green); margin-top: 2px; }
.date-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--gold-dark);
}
.date-chip.active .date-free { color: rgba(36, 26, 14, .75); }
.date-chip.full .date-free { color: oklch(0.7 0.14 30); }
.date-chip.past { opacity: .5; }
.date-chip.past .date-free { color: rgba(242, 233, 219, .35); }

/* Фільтр колонок — лише для вузьких екранів */
.col-filter { display: none; }
.filter-tab {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid rgba(212, 167, 95, .3);
  border-radius: 999px;
  background: transparent;
  color: rgba(242, 233, 219, .7);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.filter-tab.active { background: var(--gold); color: var(--gold-dark); border-color: var(--gold); }
.filter-tab.ft-queue.active { background: var(--queue); border-color: var(--queue); }
.filter-tab.ft-deposit.active { background: var(--deposit); border-color: var(--deposit); }
.columns-client { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.columns-admin { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.column {
  border: 1px solid rgba(212, 167, 95, .2);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* тіло займає залишок висоти, щоб рамка колонки виглядала суцільною */
.col-rows, .col-request, .request-list { flex: 1 1 auto; }
.col-booked { --accent: var(--gold); --head-bg: rgba(212, 167, 95, .08); --chip-bg: rgba(212, 167, 95, .14); --chip-border: rgba(212, 167, 95, .45); }
.col-queue { --accent: var(--queue); --head-bg: oklch(0.78 0.09 250 / .08); --chip-bg: oklch(0.78 0.09 250 / .14); --chip-border: oklch(0.78 0.09 250 / .45); }
.col-deposit { --accent: var(--deposit); --head-bg: oklch(0.78 0.09 145 / .08); --chip-bg: oklch(0.78 0.09 145 / .14); --chip-border: oklch(0.78 0.09 145 / .45); }

.col-head {
  height: 124px;
  box-sizing: border-box;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(212, 167, 95, .18);
  background: var(--head-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.col-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Згортання колонок */
.col-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  min-width: 0;
}
.col-toggle .chevron { color: var(--accent); font-size: 12px; opacity: .6; flex-shrink: 0; }
.col-toggle:hover .chevron { opacity: 1; }
.admin-col-head .col-toggle { width: auto; flex: 1; }

/* висота шапки лишається сталою й у згорнутому стані — шапки колонок вирівняні */
.column.collapsed .col-request,
.column.collapsed .request-list,
.column.collapsed .admin-col-actions { display: none; }
.col-more {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: rgba(242, 233, 219, .4);
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 11.5px;
  text-align: center;
}
.col-more:hover { color: var(--accent); }
.col-free { font-size: 12px; font-weight: 600; color: var(--accent); }
.col-book {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
}
.col-book:hover { background: rgba(212, 167, 95, .12); }
.col-onsite { height: 36px; display: flex; align-items: center; font-size: 11.5px; color: rgba(242, 233, 219, .4); }

.col-request { padding: 16px; }
.col-request p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(242, 233, 219, .6);
}
.col-request p:last-child { margin-bottom: 0; }

.col-rows { display: flex; flex-direction: column; }
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(242, 233, 219, .06);
}
.row.alt { background: rgba(242, 233, 219, .015); }
.row-time { width: 46px; flex-shrink: 0; font-size: 13.5px; font-weight: 700; color: rgba(242, 233, 219, .3); }
.row.has-items .row-time { color: var(--ink); }
.row-main { flex: 1; min-width: 0; }
.chip {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--accent);
}
.row-empty { font-size: 12px; color: rgba(242, 233, 219, .25); }
.row-add {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 7px;
  border: 1px solid rgba(242, 233, 219, .16);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.row-add:hover { border-color: var(--gold); background: rgba(212, 167, 95, .12); }

/* Адмін-колонки */
.admin-col-head {
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(212, 167, 95, .18);
  background: var(--head-bg);
}
.cap-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.cap-btn {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(242, 233, 219, .2);
  background: transparent;
  color: rgba(242, 233, 219, .8);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cap-btn:hover { border-color: var(--gold); }
.cap-btn.disabled { color: rgba(242, 233, 219, .25); cursor: not-allowed; }
.cap-count {
  min-width: 26px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.admin-row { align-items: flex-start; }
.admin-row .row-time { padding-top: 8px; }
.admin-row .row-main { display: flex; flex-direction: column; gap: 8px; }
.admin-row .row-empty { font-size: 11.5px; color: rgba(242, 233, 219, .22); padding-top: 9px; }

.customer {
  border: 1px solid rgba(242, 233, 219, .12);
  border-left: 3px solid var(--accent);
  border-radius: 9px;
  background-color: var(--card);
  padding: 10px 13px;
}
.customer-name { font-size: 13.5px; font-weight: 600; margin-bottom: 1px; }
.customer-phone { font-size: 12px; color: rgba(242, 233, 219, .5); margin-bottom: 4px; }
.customer-pay { font-size: 11.5px; margin-bottom: 9px; color: rgba(242, 233, 219, .45); }
.pay-badge.paid { color: var(--green); font-weight: 600; }
.pay-badge.unpaid { color: rgba(242, 233, 219, .38); }
.pay-badge.callback { color: var(--deposit); font-weight: 600; }
.locker-num { font-weight: 400; color: rgba(242, 233, 219, .4); font-size: 12px; }
.admin-col-actions {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(212, 167, 95, .18);
  background: var(--head-bg);
}
.col-add {
  width: 100%;
  height: 34px;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
}
.col-add:hover { background: rgba(212, 167, 95, .1); border-style: solid; }
.admin-row .row-add { align-self: flex-start; margin-top: 6px; }

.request-list { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.request-empty { font-size: 12.5px; color: rgba(242, 233, 219, .3); padding: 6px 0; }
.receipt-link { font-size: 11.5px; }
.booked-note { color: rgba(242, 233, 219, .38); }
.admin-now { margin-top: 8px; font-size: 13.5px; color: rgba(242, 233, 219, .55); }
.customer-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.customer-actions button {
  padding: 6px 9px;
  border-radius: 7px;
  border: 1px solid rgba(242, 233, 219, .2);
  background: transparent;
  color: rgba(242, 233, 219, .75);
  cursor: pointer;
  font-size: 11px;
}
.customer-actions button:hover { border-color: var(--gold); color: var(--gold); }
.customer-actions .btn-arrived {
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}
.customer-actions .btn-arrived:hover { background: rgba(212, 167, 95, .16); color: var(--gold); }
.customer.is-arrived { border-left-color: var(--green); }
.customer-actions .btn-undo { border-color: rgba(242, 233, 219, .22); }

/* Журнал знятих броней */
.cancel-log {
  margin-top: 28px;
  border: 1px solid rgba(212, 167, 95, .18);
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
}
.cancel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.cancel-head:hover .chevron { opacity: 1; }
.cancel-title { color: rgba(242, 233, 219, .8); }
.cancel-list { border-top: 1px solid rgba(242, 233, 219, .07); }
.cancel-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(242, 233, 219, .05);
}
.cancel-row:last-child { border-bottom: none; }
.cancel-when { font-size: 13px; font-weight: 700; color: rgba(242, 233, 219, .55); }
.cancel-name { font-size: 13.5px; font-weight: 600; }
.cancel-meta { font-size: 11.5px; color: rgba(242, 233, 219, .42); margin-top: 2px; }
.cancel-why { text-align: right; }
.cancel-reason { font-size: 11.5px; font-weight: 600; }
.cancel-reason.r-noshow { color: oklch(0.78 0.12 55); }
.cancel-reason.r-manual { color: rgba(242, 233, 219, .5); }
.cancel-empty { padding: 16px 18px; font-size: 12.5px; color: rgba(242, 233, 219, .3); }
@media (max-width: 700px) {
  .cancel-row { grid-template-columns: 52px 1fr; }
  .cancel-why { grid-column: 2; text-align: left; }
}
.arrived-badge { display: block; margin-top: 3px; color: var(--green); font-weight: 600; }
.customer-actions .btn-free { border-color: oklch(0.72 0.13 145 / .5); color: var(--green); }
.customer-actions .btn-free:hover { border-color: oklch(0.72 0.13 145 / .5); color: var(--green); background: oklch(0.72 0.13 145 / .15); }

/* Вхід для адміністратора */
.login-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-card {
  width: 360px;
  border: 1px solid rgba(212, 167, 95, .25);
  border-radius: 16px;
  background: var(--panel-raised);
  padding: 36px;
}
.login-title { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 6px; }
.login-sub { font-size: 13px; color: rgba(242, 233, 219, .5); margin-bottom: 24px; }
.login-form { display: flex; flex-direction: column; gap: 14px; }

.btn-gold {
  padding: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: var(--gold);
  color: var(--gold-dark);
  font-size: 15px;
  font-weight: 700;
}
.btn-gold:hover { background: var(--gold-hover); }

/* Модальне вікно */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(12, 9, 7, .72);
  backdrop-filter: blur(3px);
}
.panel {
  position: fixed;
  z-index: 61;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid rgba(212, 167, 95, .35);
  border-radius: 16px;
  background: var(--panel-raised);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  padding: 28px;
  box-sizing: border-box;
}
.panel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(242, 233, 219, .2);
  background: transparent;
  color: rgba(242, 233, 219, .6);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.panel-close:hover { border-color: var(--gold); color: var(--gold); }
.panel-head { margin-bottom: 20px; }
.panel-title { font-family: 'Playfair Display', serif; font-size: 20px; }
.panel-sub { font-size: 12.5px; color: rgba(242, 233, 219, .55); }
.panel-body { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(242, 233, 219, .55); }
.field .field-label { margin: 0; }
.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-height: 190px;
  overflow-y: auto;
  padding-right: 2px;
  margin-top: 2px;
}
.slot {
  padding: 9px 4px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid rgba(242, 233, 219, .18);
  background: transparent;
  color: rgba(242, 233, 219, .75);
  font-size: 12.5px;
  font-weight: 600;
}
.slot.active { border-color: var(--gold); background: var(--gold); color: var(--gold-dark); }
.slot.past {
  color: rgba(242, 233, 219, .22);
  border-color: rgba(242, 233, 219, .07);
  cursor: not-allowed;
  text-decoration: line-through;
}
.row.past .row-time { color: rgba(242, 233, 219, .18); text-decoration: line-through; }
.row.past .row-empty { color: rgba(242, 233, 219, .18); }
.row.past .chip { opacity: .45; }
.btn-pay { margin-top: 6px; padding: 15px; letter-spacing: .02em; }
.btn-pay.inactive { opacity: .45; }
.pay-note { font-size: 12px; line-height: 1.55; color: rgba(242, 233, 219, .45); }
.pay-note p { margin: 0 0 9px; }
.pay-note p:last-child { margin-bottom: 0; }
.pay-note .note-lead { text-align: center; color: rgba(242, 233, 219, .55); }
.success {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: oklch(0.72 0.13 145 / .12);
  border: 1px solid oklch(0.72 0.13 145 / .5);
  font-size: 13.5px;
  line-height: 1.5;
  color: oklch(0.85 0.1 145);
}
.booking-form + .success { margin-top: 18px; }
.fail {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: oklch(0.6 0.15 25 / .12);
  border: 1px solid oklch(0.6 0.15 25 / .5);
  font-size: 13.5px;
  line-height: 1.5;
  color: oklch(0.82 0.1 25);
}
.pending { padding: 6px 0; }
.pending-note { margin-top: 8px; font-size: 13px; color: rgba(242, 233, 219, .55); }

/* Сповіщення про помилки */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 80;
  max-width: min(420px, calc(100vw - 48px));
  background: #2a1f16;
  border: 1px solid rgba(212, 167, 95, .5);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

/* Підвал */
.site-footer {
  padding: 28px 40px;
  border-top: 1px solid rgba(212, 167, 95, .15);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(242, 233, 219, .4);
}

/* Мобільна версія: одна колонка + фільтр зверху */
@media (max-width: 700px) {
  .col-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .col-filter::-webkit-scrollbar { display: none; }

  .columns-client, .columns-admin { grid-template-columns: 1fr; }

  /* Обраний фільтр лишає видимою одну колонку; «Усі» — показує всі */
  .columns[data-filter="booked"] .column:not(.col-booked),
  .columns[data-filter="queue"] .column:not(.col-queue),
  .columns[data-filter="deposit"] .column:not(.col-deposit) { display: none; }
}

@media (max-width: 640px) {
  .btn-call { justify-content: center; width: 100%; box-sizing: border-box; }
  .site-header { padding: 16px 20px; }
  .client-main { padding: 32px 20px 64px; }
  .admin-main { padding: 24px 20px 64px; }
  .page-title { font-size: 34px; }
  .site-footer { padding: 24px 20px; }
}
