.booking-hero { background: linear-gradient(115deg, #14213d, #1e3151); }
.booking-hero .info-wrap { padding-block: clamp(28px, 4vw, 46px) clamp(36px, 5vw, 62px); }
.booking-hero .info-crumb { margin-bottom: 24px; }
.booking-hero .info-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #f3d49e;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.booking-hero .info-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}
.course-content > .booking-hero .booking-intro { max-width: 66ch; }

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 3vw, 36px);
}
.booking-form, .booking-sections, .booking-sidebar {
  min-inline-size: 0;
  display: grid;
  align-items: start;
  gap: 18px;
}
.booking-sidebar { position: sticky; inset-block-start: 110px; }
.booking-panel {
  min-inline-size: 0;
  padding: clamp(19px, 3.2vw, 36px);
  border: 1px solid #d9e1ee;
  border-radius: 14px;
  background: #fff;
}
.booking-panel h2 { margin: 0 0 20px; font-size: clamp(23px, 2.8vw, 32px); }
.booking-panel p:last-child, .booking-panel li:last-child { margin-bottom: 0; }
.booking-sidebar .booking-panel { padding: 24px; }
.booking-sidebar .booking-panel h2 { margin-bottom: 12px; font-size: 18px; }
.booking-sidebar ol { margin: 0; padding-inline-start: 1.25em; }
.booking-sidebar li + li { margin-top: 9px; }
.booking-sidebar a, .booking-actions a { color: #1d426d; }

.booking-fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 18px 20px;
}
.booking-field {
  --booking-span: 12;
  grid-column: span var(--booking-span);
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.booking-field[data-span="half"] { --booking-span: 6; }
.booking-field[data-span="quarter"] { --booking-span: 3; }
.booking-field[data-new-row] { grid-column: 1 / span var(--booking-span); }
.booking-page [hidden] { display: none; }
.booking-label {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  color: #14213d;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.4;
}
.booking-required { color: #a12822; }
.booking-fields :is(input, select, textarea):not([type="radio"], [type="checkbox"], [hidden]),
.booking-fields .booking-course-trigger {
  display: block;
  width: 100%;
  min-height: 45px;
  padding: 9px 11px;
  border: 1px solid #a8b5c8;
  border-radius: 8px;
  background-color: #fafbfd;
  color: #14213d;
  font: inherit;
  line-height: 1.45;
}
.booking-fields select[multiple] { padding: 5px; }
.booking-fields select[multiple]:disabled { min-height: 64px; background-color: #f3f5f8; }
.booking-fields select[multiple] optgroup { color: #58441e; font-weight: 700; }
.booking-fields select[multiple] option { padding: 4px 7px; }
.booking-fields select[multiple] optgroup option { color: #14213d; font-weight: 400; }

.booking-fields .booking-course-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: start;
  cursor: pointer;
}
.booking-course-trigger::after {
  content: "";
  flex: none;
  inline-size: 8px;
  block-size: 8px;
  margin-inline-end: 3px;
  border-block-end: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.booking-course-trigger[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.booking-fields .booking-course-trigger:disabled { background-color: #f3f5f8; color: #4b5870; cursor: default; }
.booking-course-trigger:focus-visible { outline: 2px solid #b78a38; outline-offset: 2px; }
.booking-course-options {
  max-block-size: 22rem;
  max-block-size: min(46vh, 22rem);
  margin-block-start: 6px;
  overflow-y: auto;
  border: 1px solid #a8b5c8;
  border-radius: 8px;
  background-color: #fff;
}
.booking-course-group {
  min-inline-size: 0;
  margin: 0;
  padding: 0 10px 6px;
  border: 0;
}
.booking-course-group legend {
  inline-size: 100%;
  padding: 11px 8px 4px;
  color: #58441e;
  font-size: .84rem;
  font-weight: 700;
}
.booking-course-group + .booking-course-group { border-block-start: 1px solid #e7edf5; }
.booking-course-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-block-size: 44px;
  padding: 5px 8px;
  color: #14213d;
  line-height: 1.4;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.booking-course-option:focus-within { background-color: #f3f5f8; }
.booking-course-option input {
  flex: none;
  inline-size: 17px;
  block-size: 17px;
  margin: 0;
  accent-color: #16365f;
}

.booking-date { position: relative; }
.booking-fields .booking-date-native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.booking-fields .booking-date-display { padding-inline-end: 40px; }
.booking-date-display::placeholder { color: #53637a; opacity: 1; }
.booking-date-button {
  display: grid;
  place-items: center;
  position: absolute;
  inset-block: 1px;
  inset-inline-end: 1px;
  width: 38px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: #14213d;
  cursor: pointer;
}
.booking-calendar-icon {
  width: 16px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-block-start-width: 4px;
  border-radius: 3px;
}
.booking-fields textarea { min-block-size: 7rem; resize: vertical; }
.booking-fields textarea[readonly] { min-block-size: 15rem; background-color: #f3f5f8; }
.booking-choices { display: grid; gap: 7px; font-size: .94rem; }
.booking-choices label { display: flex; align-items: start; gap: 9px; }
.booking-choices input { flex: none; margin: .31em 0 0; accent-color: #16365f; }
.booking-field-hint { margin: 5px 0 0; color: #4b5870; font-size: .84rem; }

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.booking-actions .info-action { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.booking-actions .info-action:disabled { opacity: .65; cursor: wait; }
.booking-actions p { margin: 0; }
.booking-actions .booking-data-notice { flex-basis: 100%; color: #4b5870; font-size: .9rem; }
.booking-actions [role="status"]:empty { display: none; }
.booking-loading { padding: 20px; }
.booking-verification {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 960px) {
  .booking-field[data-span="quarter"] { --booking-span: 6; }
}
@media (max-width: 790px) {
  .booking-layout { grid-template-columns: minmax(0, 1fr); }
  .booking-sidebar { position: static; }
}
@media (max-width: 540px) {
  .booking-fields { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .booking-field[data-span], .booking-field[data-new-row] { grid-column: 1; }
}
