/* ---------- Design tokens ---------- */
:root {
  --color-navy: #1c2541;
  --color-pink: #ec4a74;
  --color-pink-dark: #d43862;
  --color-pink-light: #fdeaf0;
  --color-teal: #2fae83;
  --color-teal-dark: #23916d;
  --color-teal-light: #e4f7ef;
  --color-yellow: #f5b942;
  --color-yellow-light: #fef3dc;
  --color-cream: #fdf7ee;
  --color-surface: #ffffff;
  --color-border: #ece3d6;
  --color-text: #2b2620;
  --color-text-muted: #8a8074;
  --color-danger: #c0392b;
  --color-danger-bg: #fdecea;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(60, 40, 20, 0.06), 0 1px 2px rgba(60, 40, 20, 0.05);
  --shadow-md: 0 8px 24px rgba(60, 40, 20, 0.09);
  --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-script: 'Caveat', cursive;
  --max-width: 1160px;
  --sidebar-width: 240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-cream);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
}

a { color: var(--color-pink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 800; color: var(--color-navy); }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.icon { display: inline-block; vertical-align: -3px; flex-shrink: 0; }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--color-pink); }
.brand-text { font-family: var(--font-script); line-height: 1; }
.brand-text .line1 { display: block; font-size: 1.7rem; font-weight: 700; color: var(--color-navy); }
.brand-text .line2 { display: block; font-size: 1.15rem; color: var(--color-pink); margin-top: -6px; }
.brand-tagline { color: var(--color-text-muted); font-size: 0.85rem; margin-top: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-pink); color: #fff; }
.btn-primary:hover { background: var(--color-pink-dark); }
.btn-outline { background: #fff; border-color: var(--color-border); color: var(--color-navy); }
.btn-outline:hover { border-color: var(--color-pink); color: var(--color-pink); }
.btn-teal { background: var(--color-teal); color: #fff; }
.btn-teal:hover { background: var(--color-teal-dark); }
.btn-danger { background: transparent; border-color: var(--color-danger); color: var(--color-danger); }
.btn-danger:hover { background: var(--color-danger-bg); }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Cards ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}
.card + .card { margin-top: 20px; }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.stat-tile {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.stat-tile .value { font-size: 2rem; font-weight: 800; color: var(--color-navy); }
.stat-tile .label { color: var(--color-text-muted); font-size: 0.88rem; margin-top: 4px; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; color: var(--color-navy); }
.hint { color: var(--color-text-muted); font-size: 0.85rem; margin-top: 4px; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"],
input[type="tel"], input[type="time"], input[type="number"], select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-family: inherit;
  background: #fff;
  color: var(--color-text);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-pink);
  box-shadow: 0 0 0 3px var(--color-pink-light);
}
input:read-only, input:disabled { background: #f7f3ec; color: var(--color-text-muted); }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row > .form-group { flex: 1; min-width: 180px; }
.form-inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 3px; }

.input-icon-wrap { position: relative; }
.input-icon-wrap input { padding-left: 42px; }
.input-icon-wrap .icon-prefix {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--color-text-muted); pointer-events: none; display: flex;
}
.input-icon-wrap .icon-suffix-btn {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; padding: 6px; margin: 0; cursor: pointer;
  color: var(--color-text-muted); display: flex; line-height: 0;
}
.input-icon-wrap .icon-suffix-btn:hover { color: var(--color-navy); }
.forgot-link { display: block; text-align: right; margin-top: 8px; font-size: 0.85rem; }
.btn-outline-teal { background: #fff; border-color: var(--color-teal); color: var(--color-teal-dark); }
.btn-outline-teal:hover { background: var(--color-teal-light); border-color: var(--color-teal-dark); color: var(--color-teal-dark); }

/* ---------- Alerts ---------- */
.alert { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 0.92rem; }
.alert-error { background: var(--color-danger-bg); color: var(--color-danger); border: 1px solid #f3c9c4; }
.alert-success { background: var(--color-teal-light); color: var(--color-teal-dark); border: 1px solid #b9e6d3; }
.alert ul { margin: 4px 0 0; padding-left: 18px; }

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--color-border); font-size: 0.9rem; }
th { color: var(--color-text-muted); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; }
tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; }

/* ---------- Badges ---------- */
.badge { display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 700; }
.badge-confirmed { background: var(--color-teal-light); color: var(--color-teal-dark); }
.badge-cancelled { background: #f0eee9; color: var(--color-text-muted); }
.badge-admin { background: var(--color-pink-light); color: var(--color-pink-dark); }
.badge-client { background: #f0eee9; color: var(--color-text-muted); }

/* ---------- Language switcher ---------- */
.lang-switch { display: flex; gap: 4px; font-size: 0.82rem; font-weight: 700; }
.lang-switch a { padding: 4px 8px; border-radius: var(--radius-sm); color: var(--color-text-muted); }
.lang-switch a.active { background: var(--color-pink-light); color: var(--color-pink-dark); }
.lang-switch a:hover { text-decoration: none; background: var(--color-pink-light); }

/* ---------- Public site nav ---------- */
.public-nav { background: var(--color-cream); padding: 18px 0; }
.public-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.public-nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.public-nav-links a { color: var(--color-navy); font-weight: 700; font-size: 0.95rem; }
.public-nav-links a:hover { color: var(--color-pink); text-decoration: none; }
.public-nav-links a.active { color: var(--color-pink); border-bottom: 2px solid var(--color-pink); padding-bottom: 2px; }
.public-nav-right { display: flex; align-items: center; gap: 16px; }

/* ---------- Decorative accents ---------- */
.decor-blobs { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.accent-underline { position: relative; display: inline-block; }
.accent-underline svg { position: absolute; left: 2px; right: 2px; bottom: -8px; width: calc(100% - 4px); height: 10px; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 70px; position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-title { font-size: 3rem; font-weight: 800; color: var(--color-navy); margin-bottom: 6px; }
.hero-title .accent { color: var(--color-teal); }
.hero-subtitle { font-size: 1.1rem; color: var(--color-text-muted); max-width: 480px; }
.hero-trust { font-weight: 700; color: var(--color-navy); display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.hero-trust .icon { color: var(--color-pink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  background: linear-gradient(135deg, var(--color-teal-light), var(--color-pink-light));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
}
.hero-image-wrap .illustration-family { max-width: 78%; height: auto; }
.hero-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge .icon-wrap {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-pink-light); color: var(--color-pink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-badge .title { font-weight: 800; font-size: 0.92rem; color: var(--color-navy); }
.hero-badge .sub { font-size: 0.8rem; color: var(--color-text-muted); }

.feature-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.feature-card:nth-child(4n+1) .feature-icon { background: var(--color-pink-light); color: var(--color-pink); }
.feature-card:nth-child(4n+2) .feature-icon { background: var(--color-teal-light); color: var(--color-teal); }
.feature-card:nth-child(4n+3) .feature-icon { background: var(--color-yellow-light); color: var(--color-yellow); }
.feature-card:nth-child(4n+4) .feature-icon { background: #e7ecfb; color: #4a63c9; }

.section-title { text-align: center; margin: 8px 0 32px; }
.section { padding: 56px 0; }
.section-muted { background: #fbf3e8; }

.banner {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
}
.banner h2 { color: #fff; }
.banner .accent { color: var(--color-teal); }
.banner-points { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 20px; font-size: 0.9rem; }
.banner-points span { display: flex; align-items: center; gap: 8px; }

.how-steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.how-step { text-align: center; }
.how-step .num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--color-pink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 10px;
}

.faq-item { border-bottom: 1px solid var(--color-border); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { margin-bottom: 6px; }

/* ---------- Public footer ---------- */
.public-footer { background: var(--color-navy); color: #cdd3e0; padding: 32px 0; font-size: 0.88rem; text-align: center; }
.public-footer a { color: #fff; }

/* ---------- Auth shell (split hero layout) ---------- */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--color-cream); }
.auth-split {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  align-items: center;
  gap: 24px;
  padding: 48px clamp(20px, 5vw, 56px);
}
@media (max-width: 1080px) {
  .auth-split { grid-template-columns: 1fr; padding: 32px 20px; text-align: center; }
  .auth-illustration-col { display: none; }
  .auth-branding-inner { max-width: none; margin: 0 auto; }
  .auth-branding-points { justify-content: center; }
}

.auth-branding { position: relative; padding: 20px 12px; min-height: 260px; display: flex; align-items: center; overflow: visible; }
.auth-branding-inner { position: relative; z-index: 1; max-width: 380px; }
.auth-logo-img { max-width: 320px; width: 100%; height: auto; display: block; margin-bottom: 16px; }
@media (max-width: 1080px) { .auth-logo-img { margin-left: auto; margin-right: auto; } }
.auth-branding-tagline { font-size: 1.05rem; color: var(--color-navy); font-weight: 700; margin-bottom: 22px; }
.auth-branding-points { display: flex; gap: 22px; flex-wrap: wrap; }
.auth-branding-point { text-align: center; max-width: 96px; }
.auth-branding-point img { width: 48px; height: 48px; object-fit: contain; display: block; margin: 0 auto 8px; border-radius: 12px; }
.auth-branding-point span { font-size: 0.8rem; font-weight: 700; color: var(--color-navy); display: block; }
.auth-branding-plane { display: block; width: 150px; height: auto; margin: 18px 0 0 -8px; opacity: 0.95; pointer-events: none; }
@media (max-width: 1080px) { .auth-branding-plane { margin-left: auto; margin-right: auto; } }

.auth-card-col { display: flex; flex-direction: column; align-items: stretch; position: relative; z-index: 1; }
.auth-lang { align-self: flex-end; margin-bottom: 12px; }
.auth-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.auth-card .brand { justify-content: center; margin-bottom: 8px; }
.auth-card form { text-align: left; margin-top: 24px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 0.92rem; color: var(--color-text-muted); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--color-text-muted); font-size: 0.85rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }

.auth-illustration-col { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; height: 600px; max-height: 80vh; box-shadow: var(--shadow-md); }
.auth-illustration-col img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

.auth-card-icon { margin-bottom: 4px; }
.auth-card-icon img { width: 56px; height: auto; margin: 0 auto; display: block; }

.auth-bottom-banner {
  background: var(--color-navy);
  color: #fff;
  padding: 22px 40px;
  display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap;
  border-radius: 32px 32px 0 0;
}
.auth-bottom-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 700; }
.auth-bottom-item img { width: 34px; height: 34px; object-fit: contain; border-radius: 9px; display: block; }
.auth-bottom-script { font-family: var(--font-script); color: #ff9db3; font-size: 1.4rem; display: flex; align-items: center; gap: 8px; position: relative; }
.auth-bottom-script .script-text { position: relative; }
.auth-bottom-script .script-underline { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 6px; }
@media (max-width: 700px) { .auth-bottom-banner { padding: 18px 20px; gap: 16px; } }

/* ---------- Authenticated app shell (sidebar layout) ---------- */
.app-shell { min-height: 100vh; display: flex; }
.app-sidebar {
  width: var(--sidebar-width);
  background: #fff;
  border-right: 1px solid var(--color-border);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.app-sidebar .brand { margin-bottom: 4px; }
.app-sidebar .brand-tagline { margin-bottom: 24px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  color: var(--color-navy); font-weight: 700; font-size: 0.93rem;
}
.sidebar-nav a:hover { background: var(--color-pink-light); text-decoration: none; }
.sidebar-nav a.active { background: var(--color-pink-light); color: var(--color-pink-dark); }
.sidebar-nav hr { border: none; border-top: 1px solid var(--color-border); margin: 12px 0; width: 100%; }
.sidebar-nav button.sidebar-logout-btn {
  all: unset;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  color: var(--color-navy); font-weight: 700; font-size: 0.93rem;
  cursor: pointer; width: 100%; font-family: inherit; box-sizing: border-box;
}
.sidebar-nav button.sidebar-logout-btn:hover { background: var(--color-pink-light); }
.sidebar-help {
  background: var(--color-pink-light);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.85rem;
  margin-top: 16px;
}
.sidebar-help .title { font-weight: 800; color: var(--color-navy); display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.sidebar-help a { display: block; color: var(--color-navy); }
.sidebar-illustration { margin-top: auto; padding-top: 20px; text-align: center; }
.sidebar-illustration svg { max-width: 100%; height: auto; }
@media (max-width: 860px) { .sidebar-illustration { display: none; } }

.app-main-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-topbar {
  display: flex; align-items: center; justify-content: flex-end; gap: 18px;
  padding: 18px 32px; border-bottom: 1px solid var(--color-border); background: #fff;
}
.topbar-icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center; color: var(--color-navy); background: #fff;
}
.topbar-user { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--color-navy); font-size: 0.92rem; }
.topbar-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--color-pink-light); color: var(--color-pink-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.82rem;
}
.app-main { flex: 1; padding: 32px; }
@media (max-width: 860px) {
  .app-shell { flex-direction: column; }
  .app-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 14px 18px; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
  .sidebar-help { display: none; }
  .app-main { padding: 20px; }
}

/* ---------- Stepper ---------- */
.stepper { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; }
.step .step-circle {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--color-border);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem;
  color: var(--color-text-muted); background: #fff; flex-shrink: 0;
}
.step.is-active .step-circle { border-color: var(--color-pink); color: var(--color-pink); }
.step.is-done .step-circle { border-color: var(--color-teal); color: #fff; background: var(--color-teal); }
.step .step-label { font-size: 0.85rem; font-weight: 700; color: var(--color-text-muted); }
.step.is-active .step-label { color: var(--color-pink); }
.step.is-done .step-label { color: var(--color-teal-dark); }
.step-connector { flex: 1; min-width: 20px; height: 2px; background: var(--color-border); }
.step-connector.is-done { background: var(--color-teal); }

/* ---------- Weekly booking calendar ---------- */
.week-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.week-nav .week-label { font-weight: 800; color: var(--color-navy); font-size: 1.05rem; }
.week-table-wrap { overflow-x: auto; }
.week-table { width: 100%; border-collapse: separate; border-spacing: 8px; min-width: 720px; }
.week-table th { text-align: center; padding: 4px 0 10px; border: none; }
.week-table th .day-name { display: block; font-size: 0.92rem; color: var(--color-navy); }
.week-table th .day-date { display: block; font-size: 0.78rem; color: var(--color-text-muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.week-table td { border: none; padding: 0; text-align: center; }
.week-table .hour-cell { font-weight: 700; color: var(--color-navy); font-size: 0.85rem; white-space: nowrap; padding-right: 8px; }
.week-table .hour-cell .duration { display: block; font-weight: 500; color: var(--color-text-muted); font-size: 0.72rem; }

.slot-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: default;
}
.slot-cell .slot-main { display: flex; align-items: center; justify-content: center; gap: 6px; }
.slot-cell .icon { flex-shrink: 0; }
.slot-cell.state-available { background: var(--color-teal-light); color: var(--color-teal-dark); cursor: pointer; }
.slot-cell.state-available:hover { border-color: var(--color-teal); text-decoration: none; }
.slot-cell.state-reserved { background: var(--color-danger-bg); color: var(--color-danger); }
.slot-cell.state-reserved-self { background: var(--color-pink-light); color: var(--color-pink-dark); }
.slot-cell.state-blocked { background: #f0eee9; color: var(--color-text-muted); }
.slot-cell.state-past { background: #f7f5f0; color: #cfc8ba; }
.slot-cell .who { display: block; font-weight: 500; font-size: 0.72rem; margin-top: 2px; }

.calendar-legend { display: flex; gap: 20px; margin-top: 14px; flex-wrap: wrap; font-size: 0.85rem; color: var(--color-text-muted); }
.calendar-legend span { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 12px; height: 12px; border-radius: 4px; }
.legend-dot.available { background: var(--color-teal-light); border: 1px solid var(--color-teal); }
.legend-dot.reserved { background: var(--color-danger-bg); border: 1px solid var(--color-danger); }
.legend-dot.selected { background: var(--color-pink-light); border: 1px solid var(--color-pink); }

/* ---------- Booking confirm layout ---------- */
.confirm-layout { display: grid; grid-template-columns: 1fr 1fr 320px; gap: 20px; align-items: start; }
@media (max-width: 980px) { .confirm-layout { grid-template-columns: 1fr; } }
.detail-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.detail-row:last-child { border-bottom: none; }
.detail-row .icon { color: var(--color-pink); margin-top: 2px; }
.detail-row .label { font-size: 0.78rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.detail-row .value { font-weight: 700; color: var(--color-navy); }
.important-box {
  background: var(--color-yellow-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 0.87rem;
  display: flex;
  gap: 10px;
}
.summary-card { background: var(--color-teal-light); border: 1px solid #bfe6d3; }
.summary-card h3 { color: var(--color-teal-dark); }
.summary-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid #bfe6d3; font-weight: 800; }
.notice-box {
  background: var(--color-teal-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 20px;
}
.thanks-card {
  background: var(--color-pink-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.success-wrap { max-width: 520px; margin: 40px auto; text-align: center; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--color-teal-light); color: var(--color-teal);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}

.empty-state { text-align: center; padding: 48px 20px; color: var(--color-text-muted); }
.text-muted { color: var(--color-text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
