:root {
  color-scheme: light;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #f3f6fb;
}

.booking-app,
.booking-app * {
  box-sizing: border-box;
}

.booking-app button,
.booking-app input,
.booking-app select,
.booking-app textarea {
  font: inherit;
}

.booking-app button {
  cursor: pointer;
}

.booking-app button:disabled {
  cursor: default;
}

.booking-app {
  --booking-primary: #2563eb;
  --booking-primary-rgb: 37, 99, 235;
  --booking-bg: #f3f6fb;
  --booking-surface: #ffffff;
  --booking-surface-soft: #f7f9fc;
  --booking-surface-blue: #eef5ff;
  --booking-text: #101c31;
  --booking-text-soft: #52637d;
  --booking-text-muted: #8493aa;
  --booking-border: #dbe4f0;
  --booking-border-strong: #c7d5e7;
  --booking-success: #10b981;
  --booking-danger: #dc2626;
  --booking-shadow-sm: 0 8px 24px rgba(30, 48, 78, .075);
  --booking-shadow: 0 24px 70px rgba(30, 48, 78, .12);
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px 18px 48px;
  background:
    radial-gradient(circle at 92% -8%, rgba(var(--booking-primary-rgb), .13), transparent 31%),
    radial-gradient(circle at 2% 102%, rgba(6, 182, 212, .08), transparent 28%),
    var(--booking-bg);
  color: var(--booking-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.booking-app::before,
.booking-app::after {
  position: absolute;
  border: 1px solid rgba(var(--booking-primary-rgb), .085);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.booking-app::before {
  top: -270px;
  right: -190px;
  width: 560px;
  height: 560px;
}

.booking-app::after {
  bottom: -330px;
  left: -250px;
  width: 610px;
  height: 610px;
}

.booking-theme-dark {
  color-scheme: dark;
  --booking-bg: #09111f;
  --booking-surface: #111c2d;
  --booking-surface-soft: #17243a;
  --booking-surface-blue: rgba(59, 130, 246, .13);
  --booking-text: #f6f8fc;
  --booking-text-soft: #c2cde0;
  --booking-text-muted: #8495af;
  --booking-border: #273750;
  --booking-border-strong: #38506f;
  --booking-shadow-sm: 0 8px 24px rgba(0, 0, 0, .18);
  --booking-shadow: 0 26px 75px rgba(0, 0, 0, .34);
}

.booking-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.booking-surface,
.booking-card {
  border: 1px solid rgba(219, 228, 240, .9);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--booking-shadow);
  backdrop-filter: blur(18px);
}

.booking-theme-dark .booking-surface,
.booking-theme-dark .booking-card {
  border-color: rgba(56, 80, 111, .72);
  background: rgba(17, 28, 45, .94);
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  margin-bottom: 16px;
  padding: 18px 22px;
  border-radius: 24px;
  gap: 24px;
}

.booking-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 15px;
}

.booking-brand-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .22), transparent 52%, rgba(0, 0, 0, .12)),
    var(--booking-primary);
  box-shadow: 0 13px 27px rgba(var(--booking-primary-rgb), .27), inset 0 1px 0 rgba(255, 255, 255, .28);
  color: #fff;
}

.booking-brand-mark svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.booking-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--booking-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.booking-brand h1,
.booking-step-title h2,
.booking-success h2 {
  margin: 0;
  color: var(--booking-text);
  font-weight: 780;
  letter-spacing: -.035em;
}

.booking-brand h1 {
  overflow: hidden;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-brand p,
.booking-step-title p {
  margin: 5px 0 0;
  color: var(--booking-text-soft);
}

.booking-admin-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--booking-border);
  border-radius: 13px;
  background: var(--booking-surface-soft);
  color: var(--booking-text-soft);
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  text-decoration: none;
  transition: .18s ease;
}

.booking-admin-link svg {
  width: 16px;
  height: 16px;
}

.booking-admin-link:hover,
.booking-admin-link:focus-visible {
  border-color: rgba(var(--booking-primary-rgb), .35);
  background: var(--booking-surface-blue);
  color: var(--booking-primary);
  outline: 0;
}

.booking-progress {
  display: flex;
  justify-content: flex-end;
  margin: -9px 0 7px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.booking-progress-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 64%);
  margin: 0 0 0 auto;
}

.booking-progress-item {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--booking-text-muted);
  gap: 10px;
}

.booking-progress-item:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 12px;
  left: 43px;
  height: 2px;
  background: var(--booking-border);
  content: "";
  transform: translateY(-50%);
}

.booking-progress-item.is-complete:not(:last-child)::after {
  background: rgba(var(--booking-primary-rgb), .42);
}

.booking-progress-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--booking-border);
  border-radius: 11px;
  background: var(--booking-surface);
  color: var(--booking-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.booking-progress-number svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

.booking-progress-copy {
  position: relative;
  z-index: 1;
  padding-right: 10px;
  background: var(--booking-surface);
}

.booking-progress-copy strong,
.booking-progress-copy small {
  display: block;
}

.booking-progress-copy strong {
  color: inherit;
  font-size: 13px;
  line-height: 1.2;
}

.booking-progress-copy small {
  margin-top: 2px;
  color: var(--booking-text-muted);
  font-size: 10px;
}

.booking-progress-item.is-active,
.booking-progress-item.is-complete {
  color: var(--booking-primary);
}

.booking-progress-item.is-active .booking-progress-number {
  border-color: rgba(var(--booking-primary-rgb), .3);
  background: var(--booking-surface-blue);
  box-shadow: 0 0 0 4px rgba(var(--booking-primary-rgb), .075);
  color: var(--booking-primary);
}

.booking-progress-item.is-complete .booking-progress-number {
  border-color: var(--booking-primary);
  background: var(--booking-primary);
  color: #fff;
}

.booking-alert {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(220, 38, 38, .18);
  border-radius: 16px;
  background: #fff1f2;
  color: #b91c1c;
  box-shadow: var(--booking-shadow-sm);
  gap: 10px;
}

.booking-theme-dark .booking-alert {
  border-color: rgba(248, 113, 113, .24);
  background: rgba(127, 29, 29, .22);
  color: #fecaca;
}

.booking-alert svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 2px;
}

.booking-card {
  border-radius: 28px;
  padding: clamp(22px, 3vw, 36px);
  animation: booking-card-in .34s ease both;
}

.booking-step-title {
  margin-bottom: 25px;
}

.booking-step-title h2 {
  font-size: clamp(25px, 3.2vw, 36px);
  line-height: 1.15;
}

.booking-step-title p {
  max-width: 680px;
  font-size: 14px;
}

.booking-step-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.booking-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px 0 9px;
  border: 1px solid var(--booking-border);
  border-radius: 12px;
  background: var(--booking-surface-soft);
  color: var(--booking-text-soft);
  font-size: 13px;
  font-weight: 700;
  gap: 5px;
  transition: .18s ease;
}

.booking-back svg {
  width: 17px;
  height: 17px;
}

.booking-back:hover,
.booking-back:focus-visible {
  border-color: rgba(var(--booking-primary-rgb), .28);
  color: var(--booking-primary);
  outline: 0;
}

.booking-selection-pill {
  display: inline-flex;
  align-items: center;
  max-width: 390px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(var(--booking-primary-rgb), .16);
  border-radius: 12px;
  background: var(--booking-surface-blue);
  color: var(--booking-primary);
  font-size: 12px;
  font-weight: 750;
  gap: 7px;
}

.booking-selection-pill svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.booking-selection-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booking-service-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  min-height: 146px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--booking-border);
  border-radius: 20px;
  outline: 0;
  background: var(--booking-surface);
  color: var(--booking-text);
  text-align: left;
  gap: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.booking-service-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--booking-primary);
  content: "";
  opacity: 0;
  transform: scaleY(.45);
  transition: .2s ease;
}

.booking-service-card:hover,
.booking-service-card:focus-visible {
  border-color: rgba(var(--booking-primary-rgb), .35);
  box-shadow: 0 16px 34px rgba(30, 64, 175, .12);
  transform: translateY(-2px);
}

.booking-service-card.is-selected {
  border-color: rgba(var(--booking-primary-rgb), .55);
  background: linear-gradient(145deg, var(--booking-surface) 50%, var(--booking-surface-blue) 130%);
  box-shadow: 0 0 0 3px rgba(var(--booking-primary-rgb), .075), 0 17px 38px rgba(30, 64, 175, .14);
}

.booking-service-card.is-selected::before {
  opacity: 1;
  transform: scaleY(1);
}

.booking-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--booking-primary-rgb), .13);
  border-radius: 15px;
  background: var(--booking-surface-blue);
  color: var(--booking-primary);
}

.booking-service-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.9;
}

.booking-service-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}

.booking-service-content h3 {
  margin: 1px 0 6px;
  color: var(--booking-text);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.3;
}

.booking-service-content p {
  margin: 0 0 13px;
  color: var(--booking-text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.booking-service-meta {
  display: flex;
  align-items: center;
  margin-top: auto;
  color: var(--booking-text-muted);
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
}

.booking-service-meta svg {
  width: 15px;
  height: 15px;
}

.booking-service-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--booking-border);
  border-radius: 50%;
  color: var(--booking-text-muted);
  transition: .2s ease;
}

.booking-service-check svg {
  width: 16px;
  height: 16px;
}

.booking-service-card.is-selected .booking-service-check {
  border-color: var(--booking-primary);
  background: var(--booking-primary);
  color: #fff;
}

.booking-line-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--booking-border);
}

.booking-line-section h3,
.booking-time-panel h3,
.booking-notify-title {
  margin: 0;
  color: var(--booking-text);
  font-size: 15px;
  font-weight: 760;
}

.booking-line-section > p {
  margin: 4px 0 13px;
  color: var(--booking-text-soft);
  font-size: 12px;
}

.booking-line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.booking-line-button {
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--booking-border);
  border-radius: 14px;
  background: var(--booking-surface-soft);
  color: var(--booking-text-soft);
  font-size: 13px;
  font-weight: 700;
  transition: .18s ease;
}

.booking-line-button:hover,
.booking-line-button:focus-visible,
.booking-line-button.is-selected {
  border-color: rgba(var(--booking-primary-rgb), .45);
  background: var(--booking-surface-blue);
  color: var(--booking-primary);
  outline: 0;
}

.booking-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.booking-primary-button,
.booking-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 780;
  gap: 9px;
  transition: .18s ease;
}

.booking-primary-button {
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 52%, rgba(0, 0, 0, .14)),
    var(--booking-primary);
  box-shadow: 0 13px 27px rgba(var(--booking-primary-rgb), .25), inset 0 1px 0 rgba(255, 255, 255, .22);
  color: #fff;
}

.booking-primary-button:hover,
.booking-primary-button:focus-visible {
  box-shadow: 0 17px 34px rgba(var(--booking-primary-rgb), .32), inset 0 1px 0 rgba(255, 255, 255, .25);
  outline: 0;
  transform: translateY(-1px);
}

.booking-primary-button svg,
.booking-secondary-button svg {
  width: 18px;
  height: 18px;
}

.booking-secondary-button {
  border: 1px solid var(--booking-border);
  background: var(--booking-surface-soft);
  color: var(--booking-text-soft);
}

.booking-secondary-button:hover,
.booking-secondary-button:focus-visible {
  border-color: rgba(var(--booking-primary-rgb), .3);
  color: var(--booking-primary);
  outline: 0;
}

.booking-datetime-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  gap: 18px;
}

.booking-calendar,
.booking-time-panel,
.booking-summary-card,
.booking-form-panel {
  border: 1px solid var(--booking-border);
  border-radius: 20px;
  background: var(--booking-surface-soft);
}

.booking-calendar {
  padding: 18px;
}

.booking-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 12px;
}

.booking-calendar-head h3 {
  margin: 0;
  color: var(--booking-text);
  font-size: 16px;
  font-weight: 780;
  text-transform: capitalize;
}

.booking-month-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--booking-border);
  border-radius: 12px;
  background: var(--booking-surface);
  color: var(--booking-text-soft);
  transition: .18s ease;
}

.booking-month-button:hover,
.booking-month-button:focus-visible {
  border-color: rgba(var(--booking-primary-rgb), .35);
  color: var(--booking-primary);
  outline: 0;
}

.booking-month-button svg {
  width: 18px;
  height: 18px;
}

.booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.booking-weekday {
  padding: 6px 0;
  color: var(--booking-text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.booking-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-height: 41px;
  border: 1px solid var(--booking-border);
  border-radius: 13px;
  background: var(--booking-surface);
  color: var(--booking-text);
  font-size: 13px;
  font-weight: 720;
  transition: .18s ease;
}

.booking-day.is-empty {
  visibility: hidden;
}

.booking-day.is-available:hover,
.booking-day.is-available:focus-visible {
  border-color: rgba(var(--booking-primary-rgb), .45);
  box-shadow: 0 7px 17px rgba(var(--booking-primary-rgb), .1);
  color: var(--booking-primary);
  outline: 0;
  transform: translateY(-1px);
}

.booking-day.is-selected {
  border-color: var(--booking-primary);
  background: var(--booking-primary);
  box-shadow: 0 9px 20px rgba(var(--booking-primary-rgb), .24);
  color: #fff;
}

.booking-time-panel {
  display: flex;
  flex-direction: column;
  padding: 19px;
}

.booking-time-date {
  display: flex;
  align-items: center;
  margin: 7px 0 15px;
  color: var(--booking-text-soft);
  font-size: 12px;
  gap: 6px;
}

.booking-time-date svg {
  width: 15px;
  height: 15px;
  color: var(--booking-primary);
}

.booking-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.booking-time-button {
  min-height: 42px;
  padding: 8px 5px;
  border: 1px solid var(--booking-border);
  border-radius: 12px;
  background: var(--booking-surface);
  color: var(--booking-text);
  font-size: 13px;
  font-weight: 760;
  transition: .18s ease;
}

.booking-time-button:hover,
.booking-time-button:focus-visible {
  border-color: rgba(var(--booking-primary-rgb), .45);
  background: var(--booking-surface-blue);
  color: var(--booking-primary);
  outline: 0;
  transform: translateY(-1px);
}

.booking-empty-state {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: var(--booking-text-muted);
  text-align: center;
}

.booking-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 13px;
  border: 1px solid rgba(var(--booking-primary-rgb), .14);
  border-radius: 18px;
  background: var(--booking-surface-blue);
  color: var(--booking-primary);
}

.booking-empty-icon svg {
  width: 28px;
  height: 28px;
}

.booking-empty-state strong {
  color: var(--booking-text-soft);
  font-size: 14px;
}

.booking-empty-state span,
.booking-no-slots {
  margin-top: 5px;
  color: var(--booking-text-muted);
  font-size: 12px;
}

.booking-form-layout {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.6fr);
  align-items: start;
  gap: 18px;
}

.booking-summary-card {
  position: sticky;
  top: 14px;
  overflow: hidden;
  padding: 20px;
}

.booking-summary-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--booking-primary), #06b6d4);
  content: "";
}

.booking-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 15px;
  background: var(--booking-surface-blue);
  color: var(--booking-primary);
}

.booking-summary-icon svg {
  width: 22px;
  height: 22px;
}

.booking-summary-card > span {
  display: block;
  color: var(--booking-text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.booking-summary-card h3 {
  margin: 6px 0 16px;
  color: var(--booking-text);
  font-size: 17px;
  font-weight: 780;
  line-height: 1.35;
}

.booking-summary-row {
  display: flex;
  align-items: flex-start;
  padding: 11px 0;
  border-top: 1px solid var(--booking-border);
  color: var(--booking-text-soft);
  font-size: 12px;
  gap: 9px;
}

.booking-summary-row svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--booking-primary);
}

.booking-form-panel {
  padding: 22px;
}

.booking-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.booking-field.is-wide,
.booking-notify,
.booking-form-submit {
  grid-column: 1 / -1;
}

.booking-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--booking-text-soft);
  font-size: 12px;
  font-weight: 750;
}

.booking-required {
  margin-left: 4px;
  color: #ef4444;
}

.booking-control {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--booking-border-strong);
  border-radius: 14px;
  outline: 0;
  background: var(--booking-surface);
  color: var(--booking-text);
  font-size: 14px;
  transition: .18s ease;
}

textarea.booking-control {
  min-height: 105px;
  resize: vertical;
}

.booking-control::placeholder {
  color: var(--booking-text-muted);
}

.booking-control:hover {
  border-color: rgba(var(--booking-primary-rgb), .36);
}

.booking-control:focus {
  border-color: var(--booking-primary);
  box-shadow: 0 0 0 4px rgba(var(--booking-primary-rgb), .1);
}

.booking-notify {
  padding: 16px;
  border: 1px solid var(--booking-border);
  border-radius: 16px;
  background: var(--booking-surface);
}

.booking-notify-options {
  display: flex;
  flex-wrap: wrap;
  margin-top: 11px;
  gap: 9px;
}

.booking-notify-option {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--booking-border);
  border-radius: 12px;
  background: var(--booking-surface-soft);
  color: var(--booking-text-soft);
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  cursor: pointer;
}

.booking-notify-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--booking-primary);
}

.booking-notify-help {
  margin: 10px 0 0;
  color: var(--booking-text-muted);
  font-size: 11px;
}

.booking-form-submit .booking-primary-button {
  width: 100%;
}

.booking-success {
  max-width: 720px;
  margin: 0 auto;
  padding-top: clamp(35px, 7vw, 70px);
  padding-bottom: clamp(35px, 7vw, 70px);
  text-align: center;
}

.booking-success > .booking-progress {
  width: 100%;
  margin-bottom: 30px;
  text-align: left;
}

.booking-success-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  margin-bottom: 22px;
  border: 1px solid rgba(16, 185, 129, .2);
  border-radius: 28px;
  background: rgba(16, 185, 129, .1);
  box-shadow: 0 18px 40px rgba(16, 185, 129, .16);
  color: var(--booking-success);
}

.booking-success-mark::after {
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(16, 185, 129, .12);
  border-radius: 34px;
  content: "";
}

.booking-success-mark svg {
  width: 42px;
  height: 42px;
  stroke-width: 2;
}

.booking-success h2 {
  font-size: clamp(27px, 4vw, 38px);
}

.booking-success > p {
  margin: 8px auto 23px;
  color: var(--booking-text-soft);
  font-size: 14px;
}

.booking-success-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto 24px;
  overflow: hidden;
  border: 1px solid var(--booking-border);
  border-radius: 18px;
  background: var(--booking-surface-soft);
  text-align: left;
}

.booking-success-detail {
  min-width: 0;
  padding: 16px;
}

.booking-success-detail + .booking-success-detail {
  border-left: 1px solid var(--booking-border);
}

.booking-success-detail span,
.booking-success-detail strong {
  display: block;
}

.booking-success-detail span {
  margin-bottom: 5px;
  color: var(--booking-text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.booking-success-detail strong {
  overflow: hidden;
  color: var(--booking-text);
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.booking-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  color: var(--booking-text-soft);
  gap: 15px;
}

.booking-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--booking-border);
  border-top-color: var(--booking-primary);
  border-radius: 50%;
  animation: booking-spin .85s linear infinite;
}

.booking-footer {
  padding: 15px 12px 0;
  color: var(--booking-text-muted);
  font-size: 10px;
  text-align: center;
}

@media (max-width: 820px) {
  .booking-app {
    padding: 18px 12px 34px;
  }

  .booking-header {
    border-radius: 20px;
  }

  .booking-progress-copy small {
    display: none;
  }

  .booking-progress-list {
    width: min(620px, 82%);
  }

  .booking-datetime-grid,
  .booking-form-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary-card {
    position: static;
  }

  .booking-summary-card h3 {
    margin-bottom: 10px;
  }

  .booking-summary-icon {
    display: none;
  }

  .booking-summary-row {
    display: inline-flex;
    margin-right: 14px;
    border-top: 0;
  }
}

@media (max-width: 640px) {
  .booking-app {
    padding: 10px 8px 26px;
  }

  .booking-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 18px;
    gap: 13px;
  }

  .booking-brand {
    width: 100%;
  }

  .booking-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .booking-brand-mark svg {
    width: 23px;
    height: 23px;
  }

  .booking-brand p {
    font-size: 12px;
  }

  .booking-brand h1 {
    overflow: visible;
    font-size: 20px;
    text-overflow: clip;
    white-space: normal;
  }

  .booking-admin-link {
    width: 100%;
    justify-content: center;
  }

  .booking-progress {
    margin: -3px 0 15px;
    padding: 0;
  }

  .booking-progress-list {
    width: 100%;
  }

  .booking-progress-item {
    justify-content: center;
    gap: 6px;
  }

  .booking-progress-item:not(:last-child)::after {
    right: -12px;
    left: calc(50% + 16px);
  }

  .booking-progress-number {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .booking-progress-copy {
    display: none;
  }

  .booking-card {
    padding: 19px 14px 22px;
    border-radius: 20px;
  }

  .booking-step-title {
    margin-bottom: 18px;
  }

  .booking-step-title h2 {
    font-size: 25px;
  }

  .booking-step-title p {
    font-size: 12px;
  }

  .booking-step-topline {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 18px;
    gap: 9px;
  }

  .booking-back {
    align-self: flex-start;
  }

  .booking-selection-pill {
    max-width: none;
  }

  .booking-service-grid,
  .booking-line-grid,
  .booking-fields-grid {
    grid-template-columns: 1fr;
  }

  .booking-service-grid {
    gap: 10px;
  }

  .booking-service-card {
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    min-height: 118px;
    padding: 15px 13px;
    border-radius: 17px;
    gap: 11px;
  }

  .booking-service-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .booking-service-content h3 {
    font-size: 14px;
  }

  .booking-service-content p {
    font-size: 12px;
  }

  .booking-service-check {
    width: 27px;
    height: 27px;
  }

  .booking-actions,
  .booking-primary-button,
  .booking-secondary-button {
    width: 100%;
  }

  .booking-calendar,
  .booking-time-panel,
  .booking-form-panel,
  .booking-summary-card {
    padding: 14px;
    border-radius: 17px;
  }

  .booking-calendar-grid {
    gap: 4px;
  }

  .booking-day {
    min-height: 38px;
    border-radius: 11px;
  }

  .booking-time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .booking-time-button {
    min-height: 43px;
  }

  .booking-summary-row {
    display: flex;
    margin-right: 0;
    padding: 8px 0 0;
  }

  .booking-field,
  .booking-field.is-wide,
  .booking-notify,
  .booking-form-submit {
    grid-column: auto;
  }

  .booking-control {
    min-height: 50px;
    font-size: 16px;
  }

  .booking-notify-options {
    flex-direction: column;
  }

  .booking-success {
    padding-top: 32px;
    padding-bottom: 34px;
  }

  .booking-success-mark {
    width: 74px;
    height: 74px;
    border-radius: 24px;
  }

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

  .booking-success-detail + .booking-success-detail {
    border-top: 1px solid var(--booking-border);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-app,
  .booking-app *,
  .booking-app *::before,
  .booking-app *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@keyframes booking-card-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes booking-spin {
  to { transform: rotate(360deg); }
}
