:root {
  color-scheme: dark;
  --bg: #07131f;
  --bg-2: #0b1b2a;
  --panel: #102236;
  --panel-2: #132b42;
  --surface: #f7fbff;
  --ink: #edf7ff;
  --ink-dark: #13202c;
  --muted: #9eb4c9;
  --muted-dark: #607487;
  --line: rgba(177, 210, 232, 0.18);
  --blue: #2db7ff;
  --green: #2fd486;
  --lime: #b8f05e;
  --amber: #ffc247;
  --red: #ff6978;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(47, 212, 134, 0.14), transparent 28rem),
    linear-gradient(145deg, #07131f 0%, #0a1d2f 55%, #091621 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.offline-banner {
  display: none;
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 10px 16px;
  background: #ffe8a6;
  color: #3a2800;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
}

body.offline .offline-banner {
  display: block;
}

.app-shell {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  min-height: 100vh;
}

body.public-mode .app-shell {
  grid-template-columns: 1fr;
}

body.public-mode .sidebar,
body.public-mode .topbar,
body.public-mode .watermark {
  display: none;
}

body.public-mode .main-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}

body.public-mode {
  background:
    radial-gradient(circle at 15% 8%, rgba(23, 148, 255, 0.22), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(66, 201, 45, 0.18), transparent 26%),
    linear-gradient(180deg, #020406, #050b13 45%, #020406);
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(430px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 34, 54, 0.92);
  box-shadow: var(--shadow);
}

.login-icon,
.public-icon {
  width: 112px;
  height: auto;
  display: block;
  object-fit: contain;
}

.login-card h1 {
  margin: 4px 0 22px;
  font-size: 1.8rem;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  background: rgba(5, 13, 22, 0.88);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-block {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
}

.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(47, 212, 134, 0.22);
}

.brand-block h1 {
  margin: 0;
  font-size: 1.05rem;
}

.brand-block p,
.sidebar-footer p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.nav-list {
  display: grid;
  gap: 7px;
}

.nav-item,
.logout-button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #dcecff;
  text-align: left;
  padding: 0 12px;
}

.nav-item:hover,
.nav-item.active {
  border-color: rgba(45, 183, 255, 0.34);
  background: rgba(45, 183, 255, 0.12);
  color: #ffffff;
}

.public-link {
  margin-top: 8px;
  background: rgba(47, 212, 134, 0.12);
  color: #baf8d8;
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-footer strong {
  display: block;
  margin: 8px 0;
  font-size: 1.65rem;
}

.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.logout-button {
  width: 100%;
  margin-top: 14px;
  border-color: var(--line);
  text-align: center;
}

.main-panel {
  position: relative;
  min-width: 0;
  padding: 26px;
  overflow: hidden;
}

.watermark {
  position: fixed;
  right: 4vw;
  bottom: 3vh;
  z-index: 0;
  opacity: 0.045;
  pointer-events: none;
}

.watermark img {
  width: min(460px, 45vw);
}

.topbar,
.view {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.topbar h2 {
  margin: 0;
  font-size: 1.85rem;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar-actions,
.panel-header,
.toolbar,
.form-row,
.record-actions,
.button-row,
.toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button,
.icon-button,
.icon-only,
.link-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  text-decoration: none;
}

.primary-button {
  border-color: transparent;
  background: linear-gradient(135deg, #27c776, #1da4ff);
  color: #04101b;
  font-weight: 900;
}

.primary-button:hover {
  filter: brightness(1.08);
}

.ghost-button:hover,
.icon-button:hover,
.icon-only:hover {
  border-color: rgba(45, 183, 255, 0.45);
}

.icon-only {
  width: 38px;
  min-width: 38px;
  padding: 0;
}

.full-width {
  width: 100%;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.kpi-grid.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kpi-card,
.panel,
.record-card,
.booking-form,
.qr-preview-card,
.settings-grid,
.calendar-column,
.login-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 34, 54, 0.82);
  box-shadow: var(--shadow);
}

.kpi-card {
  padding: 18px;
}

.kpi-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.kpi-card strong {
  display: block;
  font-size: 1.85rem;
}

.kpi-card span {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.panel,
.settings-grid {
  padding: 18px;
}

.panel-header,
.toolbar {
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-header h3,
.toolbar h3,
.public-hero h3,
dialog h3 {
  margin: 0;
  font-size: 1.12rem;
}

.panel-header p,
.toolbar p,
.public-hero p,
.form-help {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.stack-list,
.records-grid {
  display: grid;
  gap: 12px;
}

.records-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.filters-grid,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.filters-grid.two {
  grid-template-columns: 1fr 260px;
}

.settings-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}

.wide {
  grid-column: 1 / -1;
}

.list-item,
.record-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.list-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.list-item strong,
.record-card strong {
  display: block;
}

.list-item p,
.record-card p,
.mini-table p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-new,
.status-confirmed,
.status-scheduled {
  background: rgba(45, 183, 255, 0.15);
  color: #9fe2ff;
}

.status-in-progress,
.status-pending,
.status-unpaid {
  background: rgba(255, 194, 71, 0.16);
  color: #ffe0a1;
}

.status-completed,
.status-paid,
.tag-green {
  background: rgba(47, 212, 134, 0.16);
  color: #b7f7d5;
}

.status-cancelled,
.status-failed,
.status-refunded {
  background: rgba(255, 105, 120, 0.16);
  color: #ffc5cc;
}

.tag-blue {
  background: rgba(45, 183, 255, 0.15);
  color: #b9e8ff;
}

.record-actions {
  flex-wrap: wrap;
}

.record-actions button,
.record-actions select {
  min-height: 34px;
  border-radius: 8px;
}

.calendar-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.calendar-column {
  min-height: 430px;
  padding: 13px;
}

.calendar-column h4 {
  margin: 0 0 12px;
}

.appointment {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  padding: 12px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.appointment time {
  color: var(--muted);
  font-size: 0.85rem;
}

label {
  display: grid;
  gap: 7px;
  width: 100%;
  color: #d8e9f5;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  padding: 10px 11px;
  outline: none;
}

select option {
  color: var(--ink-dark);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 212, 134, 0.16);
}

code {
  color: #b9e8ff;
}

.stack-form,
.booking-form {
  display: grid;
  gap: 14px;
}

.public-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.public-hero,
.booking-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 34, 54, 0.86);
  box-shadow: var(--shadow);
}

.public-hero {
  position: sticky;
  top: 26px;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(8, 22, 35, 0.12), rgba(5, 14, 24, 0.92)),
    radial-gradient(circle at 30% 20%, rgba(45, 183, 255, 0.24), transparent 20rem),
    linear-gradient(145deg, #0f2a42, #07131f);
}

.public-hero h3 {
  margin: 4px 0 10px;
  font-size: clamp(2rem, 7vw, 4.4rem);
  line-height: 0.98;
}

.booking-page {
  --booking-bg: #020406;
  --booking-card: #07111f;
  --booking-card-2: #0b1728;
  --booking-text: #ffffff;
  --booking-muted: #b8c5d6;
  --booking-blue: #1794ff;
  --booking-green: #42c92d;
  --booking-green-2: #7bff65;
  --booking-line: rgba(255, 255, 255, 0.13);
  --booking-field: rgba(0, 0, 0, 0.55);
  --booking-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  color: var(--booking-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.booking-wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.booking-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--booking-line);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.booking-topbar,
.booking-brand,
.booking-contact-head div,
.booking-info-line {
  display: flex;
  align-items: center;
}

.booking-topbar {
  justify-content: space-between;
  gap: 18px;
}

.booking-brand {
  gap: 14px;
}

.booking-brand-logo {
  width: 118px;
  height: 118px;
  object-fit: contain;
  border-radius: 22px;
  background: #000000;
  box-shadow: 0 10px 28px rgba(23, 148, 255, 0.16);
}

.booking-brand-text h1 {
  margin: 0;
  font-size: clamp(26px, 4.4vw, 44px);
  letter-spacing: 0.5px;
  line-height: 1;
}

.booking-brand-text h1 span {
  color: var(--booking-blue);
}

.booking-tagline {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.booking-tagline .green {
  color: var(--booking-green-2);
}

.booking-tagline .white {
  color: #ffffff;
}

.booking-contact-head {
  text-align: right;
  color: var(--booking-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.booking-contact-head div {
  justify-content: flex-end;
  gap: 6px;
}

.booking-contact-head a,
.booking-contact-card a {
  color: #ffffff;
  text-decoration: none;
}

.social-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--booking-line);
  border-radius: 9px;
  padding: 3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tiktok-icon {
  background: linear-gradient(135deg, rgba(37, 244, 238, 0.22), rgba(254, 44, 85, 0.18)), rgba(255, 255, 255, 0.08);
}

.booking-site-main {
  display: block;
}

.booking-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
  padding: 44px 0 30px;
}

.booking-hero-copy {
  padding-top: 22px;
}

.booking-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  border: 1px solid rgba(66, 201, 45, 0.35);
  border-radius: 999px;
  background: rgba(66, 201, 45, 0.10);
  color: var(--booking-green-2);
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.booking-hero-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: -2px;
}

.booking-hero-copy h2 span {
  color: var(--booking-blue);
}

.booking-hero-copy p {
  max-width: 610px;
  margin: 0 0 22px;
  color: var(--booking-muted);
  font-size: 18px;
}

.booking-quick-info {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.booking-info-line {
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
}

.booking-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--booking-green), var(--booking-blue));
}

.booking-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.booking-plan {
  border: 1px solid var(--booking-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  text-align: center;
}

.booking-plan strong {
  display: block;
  margin-bottom: 3px;
  color: var(--booking-green-2);
  font-size: 18px;
}

.booking-plan span {
  color: var(--booking-muted);
  font-size: 13px;
  font-weight: 800;
}

.booking-card-v3 {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--booking-line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    var(--booking-card);
  box-shadow: var(--booking-shadow);
  padding: 26px;
}

.booking-card-v3::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 0;
  width: 118px;
  height: 118px;
  background-image: url("/icons/clean-binz-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.18;
  transform: translateX(-50%);
  pointer-events: none;
}

.booking-card-v3::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.35), rgba(7, 17, 31, 0.92) 36%, rgba(7, 17, 31, 0.96));
  pointer-events: none;
}

.booking-card-content {
  position: relative;
  z-index: 1;
}

.booking-form-title {
  margin-bottom: 18px;
  padding-top: 88px;
  text-align: center;
}

.booking-form-title h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.4px;
}

.booking-form-title p {
  max-width: 420px;
  margin: 7px auto 0;
  color: var(--booking-muted);
  font-size: 14px;
}

.booking-form-v3,
.booking-grid2 {
  display: grid;
  gap: 14px;
}

.booking-grid2 {
  grid-template-columns: 1fr 1fr;
}

.booking-form-v3 label {
  display: block;
  margin-bottom: 0;
  color: #dce8f8;
  font-size: 13px;
  font-weight: 900;
}

.required {
  color: var(--booking-green-2);
}

.booking-form-v3 input,
.booking-form-v3 select,
.booking-form-v3 textarea {
  margin-top: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: var(--booking-field);
  color: #ffffff;
  padding: 14px;
  font-size: 15px;
}

.booking-form-v3 textarea {
  min-height: 94px;
}

.booking-form-v3 select option {
  background: #08111d;
  color: #ffffff;
}

.booking-form-v3 input:focus,
.booking-form-v3 select:focus,
.booking-form-v3 textarea:focus {
  border-color: var(--booking-blue);
  box-shadow: 0 0 0 3px rgba(23, 148, 255, 0.16);
}

.booking-primary-btn {
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--booking-green), var(--booking-blue));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 148, 255, 0.18);
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 950;
  text-align: center;
}

.booking-small-note {
  margin: 8px 0 0;
  color: var(--booking-muted);
  font-size: 12px;
  text-align: center;
}

.booking-section {
  padding: 28px 0 10px;
}

.booking-section-head {
  margin-bottom: 22px;
  text-align: center;
}

.booking-section-head h3 {
  margin: 0 0 6px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -1px;
}

.booking-section-head p {
  margin: 0;
  color: var(--booking-muted);
  font-size: 18px;
  font-weight: 800;
}

.booking-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.booking-service {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--booking-line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    var(--booking-card-2);
  padding: 22px;
}

.booking-service::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(23, 148, 255, 0.20), transparent 70%);
}

.mini-logo {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(23, 148, 255, 0.24), rgba(66, 201, 45, 0.20));
}

.booking-service h4 {
  margin: 0 0 8px;
  font-size: 21px;
}

.booking-service p {
  margin: 0;
  color: #e7f1ff;
  font-weight: 800;
  line-height: 1.6;
}

.booking-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.booking-contact-card {
  border: 1px solid var(--booking-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
  text-align: center;
  font-weight: 900;
}

.booking-qr-section {
  margin-top: 24px;
  border: 1px solid var(--booking-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(23, 148, 255, 0.18), transparent 38%),
    radial-gradient(circle at bottom right, rgba(66, 201, 45, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.05);
  padding: 22px;
  text-align: center;
}

.booking-qr-section h4 {
  margin: 0 0 8px;
  font-size: 24px;
}

.booking-qr-box {
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  margin: 16px auto;
  border-radius: 22px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.30);
}

.booking-qr-box img {
  width: 100%;
  height: 100%;
}

.booking-qr-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 3px dashed #111111;
  border-radius: 12px;
  color: #111111;
  padding: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.booking-qr-section p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--booking-muted);
  font-size: 14px;
}

.booking-codex-note {
  margin-top: 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.booking-footer {
  margin-top: 34px;
  border-top: 1px solid var(--booking-line);
  padding: 32px 0 42px;
  color: var(--booking-muted);
  text-align: center;
  font-weight: 800;
}

.booking-footer strong {
  color: #ffffff;
  font-size: 20px;
}

.public-contact,
.service-copy,
.payment-choice,
.history-list,
.mini-table {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.public-contact span,
.service-copy strong,
.payment-choice strong,
.payment-choice span,
.history-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #dff5ff;
  font-size: 0.82rem;
}

.booking-form {
  padding: 20px;
}

.payment-choice span {
  color: var(--muted);
}

.qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 18px;
  align-items: start;
}

.qr-preview-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 24px;
  background: #ffffff;
}

.qr-preview {
  width: min(100%, 350px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.qr-preview svg,
.qr-preview img {
  width: 100%;
  height: 100%;
}

.qr-center-icon {
  position: absolute;
  width: 76px;
  height: 76px;
  padding: 6px;
  border-radius: 8px;
  background: #ffffff;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.check-label {
  display: inline-flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
}

.check-label input {
  width: auto;
}

.confirmation-box {
  display: grid;
  gap: 14px;
  padding: 22px;
  text-align: center;
}

dialog {
  width: min(680px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.muted {
  color: var(--muted);
}

.empty-state {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

#toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: min(420px, calc(100vw - 36px));
  padding: 13px 15px;
  border-radius: 8px;
  background: #eafff3;
  color: #062317;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  opacity: 0;
  transition: 180ms ease;
  font-weight: 850;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .nav-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sidebar-footer {
    display: none;
  }

  .kpi-grid,
  .kpi-grid.compact,
  .records-grid,
  .split-layout,
  .public-shell,
  .qr-layout,
  .settings-grid,
  .filters-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wide {
    grid-column: 1 / -1;
  }

  .public-hero {
    position: static;
    min-height: 340px;
  }

  .booking-hero-grid {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }

  .booking-hero-copy {
    padding-top: 0;
  }

  .booking-topbar {
    align-items: flex-start;
  }

  .booking-contact-head {
    display: none;
  }

  .booking-brand-logo {
    width: 92px;
    height: 92px;
  }

  .booking-card-v3::before {
    width: 92px;
    height: 92px;
  }

  .booking-form-title {
    padding-top: 70px;
  }
}

@media (max-width: 720px) {
  .main-panel,
  .sidebar {
    padding: 16px;
  }

  .topbar,
  .toolbar,
  .panel-header,
  .form-row,
  .toggle-row {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions,
  .button-row {
    justify-content: stretch;
  }

  .topbar-actions > *,
  .button-row > * {
    width: 100%;
  }

  .nav-list,
  .kpi-grid,
  .kpi-grid.compact,
  .records-grid,
  .split-layout,
  .public-shell,
  .qr-layout,
  .settings-grid,
  .filters-grid,
  .filters-grid.two {
    grid-template-columns: 1fr;
  }

  .public-hero h3 {
    font-size: 2.45rem;
  }

  .booking-site-header {
    position: static;
  }

  .booking-grid2,
  .booking-plans,
  .booking-services,
  .booking-contact-strip {
    grid-template-columns: 1fr;
  }

  .booking-brand-text h1 {
    font-size: 28px;
  }

  .booking-tagline {
    font-size: 11px;
  }

  .booking-card-v3 {
    padding: 20px;
  }

  .booking-hero-copy h2 {
    letter-spacing: 0;
  }

  .watermark {
    display: none;
  }
}
