/* Branded appointment page — visually derived from the admin dashboard */
.booking-page,
.booking-page * {
  box-sizing: border-box;
}

.booking-page {
  --booking-black: #111111;
  --booking-paper: #f3f0ea;
  --booking-white: #fffdf9;
  --booking-orange: #ea2e00;
  margin: 0;
  overflow-x: hidden;
}

.booking-page .admin-main {
  min-height: 100vh;
}

.booking-sidebar .admin-context {
  margin-top: 38px;
}

.booking-nav a {
  cursor: default;
}

.booking-step-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 9px;
  color: #837b74;
  background: #eee8e1;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.booking-nav a.active .booking-step-number {
  color: white;
  background: var(--booking-orange);
}

.booking-content {
  padding-top: clamp(54px, 6vw, 88px);
}

.booking-hero .overview-head {
  align-items: center;
}

.booking-hero .overview-head h1 {
  max-width: 930px;
}

.booking-hero .overview-head__copy {
  max-width: 660px;
}

.booking-hero .overview-callout {
  background: rgba(255, 240, 235, .84);
}

.booking-metrics {
  margin-bottom: 0;
}

.booking-metrics .metric-card strong {
  font-size: clamp(31px, 2.5vw, 43px);
}

.booking-section {
  margin-top: clamp(74px, 8vw, 122px);
}

.booking-section .section-heading h2 {
  max-width: 760px;
}

.schedule-shell {
  overflow: hidden;
  border: 1px solid rgba(104, 94, 86, .14);
  border-radius: 28px;
  background: var(--booking-white);
  box-shadow: 0 22px 55px rgba(43, 31, 23, .1);
}

.schedule-shell__bar {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  color: #756e67;
  border-bottom: 1px solid #e8e2db;
  background: #fcfaf6;
  font-size: 12px;
}

.schedule-shell__bar > div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.schedule-shell__bar strong {
  color: var(--booking-black);
  font-size: 13px;
}

.schedule-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f9e63;
  box-shadow: 0 0 0 5px rgba(47, 158, 99, .12);
}

.schedule-frame {
  display: block;
  width: 100%;
  min-height: 880px;
  border: 0;
  background: white;
}

.schedule-fallback {
  padding: 24px;
  color: #6f6760;
}

.schedule-fallback a {
  color: var(--booking-orange);
}

.booking-footnote {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  margin-top: 22px;
  padding: 0 8px;
  color: #7d756e;
  font-size: 12px;
  line-height: 1.6;
}

.booking-footnote p {
  max-width: 700px;
}

.booking-footnote strong {
  color: var(--booking-black);
}

.booking-footnote a {
  flex: 0 0 auto;
  color: var(--booking-orange);
  font-weight: 700;
  text-decoration: none;
}

.booking-footnote a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .booking-page .admin-actions .admin-action:first-child {
    display: none;
  }

  .schedule-frame {
    min-height: 960px;
    height: 960px;
  }
}

@media (max-width: 780px) {
  .booking-sidebar .admin-brand {
    justify-content: flex-start;
  }

  .booking-sidebar .admin-nav {
    margin-top: 6px;
  }

  .booking-sidebar .admin-nav a:not(.active) {
    display: none;
  }

  .booking-page .admin-actions .admin-action:first-child {
    display: inline-flex;
  }

  .schedule-shell {
    margin-inline: -8px;
    border-radius: 22px;
  }

  .schedule-shell__bar {
    padding-inline: 18px;
  }

  .schedule-shell__bar > span {
    display: none;
  }

  .schedule-frame {
    min-height: 1020px;
    height: 1020px;
  }

  .booking-footnote {
    display: grid;
  }
}

@media (max-width: 520px) {
  .booking-page .admin-topbar {
    display: none;
  }

  .booking-content {
    padding-top: 38px;
  }

  .booking-hero .overview-head h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

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

  .booking-metrics .metric-card {
    min-height: 158px;
  }

  .booking-metrics .metric-card strong {
    font-size: 28px;
  }

  .schedule-frame {
    min-height: 1120px;
    height: 1120px;
  }
}
