/* ─── Booking layout ─── */
.wpr-booking-main {
  padding-top: 72px; /* header offset */
  min-height: 80vh;
  background: var(--wpr-black);
}
.wpr-booking-wrap {
  padding-top: 48px;
  padding-bottom: 80px;
  max-width: 800px;
}

/* ─── Progress bar ─── */
.wpr-booking-progress {
  margin-bottom: 48px;
}
.wpr-progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
}
.wpr-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}
.wpr-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wpr-card);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.2s, border-color 0.2s;
}
.wpr-step-label {
  font-size: 11px;
  color: var(--wpr-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.wpr-progress-step.active .wpr-step-num {
  background: var(--wpr-red);
  border-color: var(--wpr-red);
}
.wpr-progress-step.done .wpr-step-num {
  background: rgba(190,32,46,0.3);
  border-color: var(--wpr-red);
}
.wpr-progress-connector {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 18px;
}

/* ─── Step title ─── */
.wpr-booking-step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--fs-section);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 32px;
}

/* ─── Booking sections ─── */
.wpr-booking-section {
  margin-bottom: 32px;
}
.wpr-booking-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wpr-muted);
  margin: 0 0 12px;
  font-weight: 600;
}

/* ─── Session type buttons ─── */
/* Grid, not flex-wrap. With flex each card sized to its own label, so the five
   session types rendered at four different widths with staggered left edges and
   a single orphan on the last row. Equal columns make them read as one set. */
.wpr-session-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  align-items: stretch;
}
/* The coaching notice is appended into this same wrapper by booking.js, so as a
   grid child it would otherwise be squeezed into one column beside the last
   card. It is a full-width row. */
.wpr-session-types .wpr-coaching-notice { grid-column: 1 / -1; }
.wpr-session-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* <button> defaults to text-align:center, and align-items only positions the
     box, not the text inside it. Single-line labels hide this; a label that
     wraps (Special Wednesday) centres its lines against a left-aligned price. */
  text-align: left;
  padding: 14px 24px;
  background: var(--wpr-card);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--wpr-radius-input);
  color: #fff;
  cursor: pointer;
  font-family: Inter, sans-serif;
  transition: border-color 0.15s, background 0.15s;
  min-width: 140px;
}
.wpr-session-label {
  font-size: 15px;
  font-weight: 700;
}
.wpr-session-meta {
  font-size: 13px;
  color: var(--wpr-muted);
  margin-top: 2px;
}
.wpr-session-btn.active,
.wpr-session-btn:hover {
  border-color: var(--wpr-red);
  background: rgba(190,32,46,0.15);
}
.wpr-session-btn.active .wpr-session-meta {
  color: rgba(255,255,255,0.7);
}
.wpr-session-none {
  color: var(--wpr-muted);
  font-size: 14px;
}

/* ─── Duration buttons (kept for backward compat) ─── */
.wpr-duration-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.wpr-duration-btn {
  padding: 14px 24px;
  background: var(--wpr-card);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  transition: border-color 0.15s, background 0.15s;
}
.wpr-duration-btn.active,
.wpr-duration-btn:hover {
  border-color: var(--wpr-red);
  background: rgba(190,32,46,0.15);
}

/* ─── Calendar ─── */
.wpr-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.wpr-cal-month-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}
.wpr-cal-nav {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wpr-cal-nav:hover { border-color: var(--wpr-red); }
.wpr-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.wpr-cal-day-head {
  text-align: center;
  font-size: 12px;
  color: var(--wpr-muted);
  padding: 4px 0;
  font-weight: 600;
  text-transform: uppercase;
}
.wpr-cal-day {
  aspect-ratio: 1;
  background: var(--wpr-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* Tooltip */
.wpr-cal-day[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #BE202E;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(190,32,46,0.4);
}
.wpr-cal-day[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #BE202E;
  pointer-events: none;
  z-index: 10;
}
.wpr-cal-empty { background: transparent; border-color: transparent; }
.wpr-cal-past { color: rgba(255,255,255,0.2); cursor: not-allowed; background: rgba(255,255,255,0.03); }
.wpr-cal-closed { color: rgba(255,255,255,0.2); cursor: not-allowed; background: rgba(255,255,255,0.03); text-decoration: line-through; }
.wpr-cal-blackout { color: rgba(255,193,7,0.4); cursor: not-allowed; background: rgba(255,193,7,0.05); text-decoration: line-through; }
.wpr-cal-day:not(.wpr-cal-past):not(.wpr-cal-closed):not(.wpr-cal-blackout):not(.wpr-cal-empty):hover { background: rgba(190,32,46,0.2); border-color: var(--wpr-red); }
.wpr-cal-selected { background: var(--wpr-red) !important; border-color: var(--wpr-red) !important; }

/* ─── Time slots ─── */
.wpr-timeslots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wpr-time-slot {
  padding: 10px 16px;
  background: var(--wpr-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s;
}
.wpr-time-slot:hover { border-color: var(--wpr-red); }
.wpr-time-slot.active { background: var(--wpr-red); border-color: var(--wpr-red); }

/* ─── Track search + filter ─── */
.wpr-track-search {
  margin-bottom: 12px;
}
.wpr-track-search__input {
  width: 100%;
  padding: 12px 16px;
  background: var(--wpr-card, #13131A);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.wpr-track-search__input::placeholder { color: rgba(255,255,255,0.3); }
.wpr-track-search__input:focus { border-color: var(--wpr-red, #BE202E); }

.wpr-track-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.wpr-track-tab {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 600;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s;
}
.wpr-track-tab:hover { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.8); }
.wpr-track-tab.active { background: var(--wpr-red, #BE202E); border-color: var(--wpr-red, #BE202E); color: #fff; }

.wpr-track-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--wpr-muted, #8A8A9A);
  padding: 2rem 0;
  font-size: 14px;
}

/* ─── Track grid ─── */
.wpr-track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}
.wpr-track-grid::-webkit-scrollbar { width: 6px; }
.wpr-track-grid::-webkit-scrollbar-track { background: transparent; }
.wpr-track-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
.wpr-track-grid::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }
.wpr-track-btn {
  padding: 16px 16px 14px;
  background: var(--wpr-card);
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.wpr-track-btn:hover {
  border-color: rgba(24,99,220,0.4);
  transform: translateY(-2px);
}
.wpr-track-btn.active {
  border-color: var(--wpr-red);
  background: rgba(190,32,46,0.08);
}
/* Track SVG outline */
.wpr-track-svg-wrap {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.wpr-track-svg {
  width: 100%;
  height: 100%;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.wpr-track-btn:hover .wpr-track-svg { color: rgba(255,255,255,0.6); }
.wpr-track-btn.active .wpr-track-svg { color: var(--wpr-red); }
.wpr-track-svg--placeholder {
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.15);
}

.wpr-track-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.wpr-track-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.wpr-track-country {
  font-size: 12px;
  color: var(--wpr-muted);
}
.wpr-track-diff {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 3px;
}
.wpr-track-diff--beginner     { background: rgba(34,197,94,0.15); color: #22c55e; }
.wpr-track-diff--intermediate { background: rgba(234,179,8,0.15);  color: #eab308; }
.wpr-track-diff--advanced     { background: rgba(239,68,68,0.15);  color: #ef4444; }

/* Responsive: tablet 2-col */
@media (max-width: 900px) {
  .wpr-track-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile: horizontal cards */
@media (max-width: 600px) {
  .wpr-track-grid { grid-template-columns: 1fr; gap: 10px; max-height: 400px; }
  .wpr-track-tabs { gap: 6px; }
  .wpr-track-tab { padding: 5px 10px; font-size: 11px; }
  .wpr-track-btn {
    flex-direction: row;
    text-align: left;
    align-items: center;
    padding: 12px;
    gap: 12px;
  }
  .wpr-track-svg-wrap {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .wpr-track-name { font-size: 15px; }
  .wpr-track-meta { justify-content: flex-start; }
}

/* Light mode */
[data-theme="light"] .wpr-track-btn { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .wpr-track-btn:hover { border-color: rgba(24,99,220,0.3); }
[data-theme="light"] .wpr-track-btn.active { border-color: var(--wpr-red); background: rgba(190,32,46,0.06); }
[data-theme="light"] .wpr-track-svg { color: rgba(0,0,0,0.25); }
[data-theme="light"] .wpr-track-btn:hover .wpr-track-svg { color: rgba(0,0,0,0.45); }
[data-theme="light"] .wpr-track-btn.active .wpr-track-svg { color: var(--wpr-red); }
[data-theme="light"] .wpr-track-search__input { background: #fff; border-color: rgba(0,0,0,0.1); color: #111; }
[data-theme="light"] .wpr-track-search__input::placeholder { color: rgba(0,0,0,0.35); }
[data-theme="light"] .wpr-track-tab { border-color: rgba(0,0,0,0.12); color: rgba(0,0,0,0.5); }
[data-theme="light"] .wpr-track-tab:hover { border-color: rgba(0,0,0,0.25); color: rgba(0,0,0,0.8); }

/* ─── Car grid ─── */
.wpr-car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.wpr-car-btn {
  padding: 14px;
  background: var(--wpr-card);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.wpr-car-btn:hover { border-color: var(--wpr-blue); }
.wpr-car-btn.active { border-color: var(--wpr-red); background: rgba(190,32,46,0.1); }
.wpr-car-name { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; }

/* ─── Review ─── */
.wpr-review-card {
  margin-bottom: 32px;
}
.wpr-review-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 8px;
}
.wpr-review-label {
  font-size: 13px;
  color: var(--wpr-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 100px;
}
.wpr-review-value { flex: 1; font-size: 15px; }
.wpr-review-edit {
  font-size: 13px;
  color: var(--wpr-blue-light);
  text-decoration: none;
  margin-left: auto;
}
.wpr-review-edit:hover { text-decoration: underline; }
.wpr-review-price .wpr-review-label { font-weight: 700; color: #fff; }
.wpr-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--wpr-red);
}

/* ─── Details form ─── */
.wpr-details-form {
  max-width: 480px;
}
.wpr-form-field {
  margin-bottom: 20px;
}
.wpr-form-field label {
  display: block;
  font-size: 13px;
  color: var(--wpr-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.wpr-form-field input {
  width: 100%;
  padding: 14px 16px;
  background: var(--wpr-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--wpr-radius-input);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 16px;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.wpr-form-field input:focus {
  outline: none;
  border-color: var(--wpr-blue);
}
.wpr-input-error { border-color: var(--wpr-red) !important; }
.wpr-field-error {
  display: block;
  color: var(--wpr-red);
  font-size: 13px;
  margin-top: 6px;
  min-height: 18px;
}
.wpr-field-hint {
  display: block;
  color: var(--wpr-muted);
  font-size: 12px;
  margin-top: 6px;
}
/* Both children must be allowed to shrink or this row overflows its container.
   Flex items default to min-width:auto, so the tel input refused to go below its
   intrinsic ~20-character width, and the prefix select had flex-shrink:0 while
   its option text ("+356 Malta") pushed it to 252px against a declared 170px.
   Measured at 390px: 252 + 8 + 214 = 474 in a 358px row, putting the input's
   right edge 100px past the viewport where the customer could not see what they
   were typing. The page has overflow-x:hidden, so it clipped silently. */
.wpr-phone-row {
  display: flex;
  gap: 8px;
  min-width: 0;
}
.wpr-phone-prefix {
  width: 170px;
  max-width: 45%;
  flex: 0 1 auto;
  min-width: 0;
  text-overflow: ellipsis;
  padding: 12px;
  background: var(--wpr-card, rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--wpr-radius-input, 8px);
  color: var(--wpr-text, #fff);
  font-size: 14px;
}
[data-theme="light"] .wpr-phone-prefix {
  background: #fff;
  border-color: #d1d5db;
  color: #1a1a2e;
}
.wpr-phone-prefix:focus {
  outline: none;
  border-color: var(--wpr-blue, #1863DC);
}
.wpr-phone-number {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}
.wpr-phone-row input,
.wpr-phone-row select {
  width: auto;
}
.wpr-field-warn {
  display: block;
  color: #f59e0b;
  font-size: 12px;
  margin-top: 6px;
}
[data-theme="light"] .wpr-field-warn {
  color: #d97706;
}

/* ─── Demo OTP banner ─── */
#wpr-demo-otp {
  background: rgba(24,99,220,0.13);
  border: 1px solid #1863DC;
  color: #7EB8FF;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  margin-bottom: 16px;
}

/* ─── OTP ─── */
.wpr-otp-info {
  color: var(--wpr-muted);
  margin: 0 0 24px;
}
.wpr-otp-wrap {
  margin-bottom: 16px;
}
.wpr-otp-input {
  width: 200px;
  padding: 16px 20px;
  background: var(--wpr-card);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.2em;
  transition: border-color 0.15s;
}
.wpr-otp-input:focus { outline: none; border-color: var(--wpr-blue); }
.wpr-otp-resend { margin-bottom: 16px; }

.wpr-otp-email-fallback {
  background: rgba(190, 32, 46, 0.08);
  border: 1px solid rgba(190, 32, 46, 0.25);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  text-align: center;
}
.wpr-otp-email-fallback p {
  color: var(--wpr-muted);
  font-size: 13px;
  margin: 0 0 8px;
}
.wpr-btn-link {
  background: none;
  border: none;
  color: var(--wpr-blue-light);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wpr-btn-link:hover { color: #fff; }
.wpr-btn-link:disabled { opacity: 0.5; cursor: wait; text-decoration: none; }
[data-theme="light"] .wpr-otp-email-fallback {
  background: rgba(190, 32, 46, 0.05);
  border-color: rgba(190, 32, 46, 0.15);
}
[data-theme="light"] .wpr-otp-email-fallback p { color: #666; }
[data-theme="light"] .wpr-btn-link { color: var(--wpr-blue); }
[data-theme="light"] .wpr-btn-link:hover { color: #000; }
.wpr-resend-btn {
  background: none;
  border: none;
  color: var(--wpr-blue-light);
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  text-decoration: underline;
}
.wpr-resend-btn:disabled { color: var(--wpr-muted); text-decoration: none; cursor: default; }

/* ─── Participants stepper ─── */
.wpr-participants-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
}
.wpr-participants-btn {
  width: 44px;
  height: 44px;
  background: var(--wpr-card);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  line-height: 1;
}
.wpr-participants-btn:first-child {
  border-radius: var(--wpr-radius-input) 0 0 var(--wpr-radius-input);
}
.wpr-participants-btn:last-child {
  border-radius: 0 var(--wpr-radius-input) var(--wpr-radius-input) 0;
}
.wpr-participants-btn:hover { background: rgba(190,32,46,0.2); border-color: var(--wpr-red); }
.wpr-participants-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.wpr-participants-num {
  width: 56px;
  height: 44px;
  background: var(--wpr-card);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
}

/* ─── Nav buttons ─── */
.wpr-booking-nav {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ─── Confirmation ─── */
.wpr-confirmation {
  text-align: center;
  padding: 48px 0;
  max-width: 560px;
  margin: 0 auto;
}
.wpr-confirmation__check {
  width: 72px;
  height: 72px;
  background: rgba(76,175,80,0.15);
  border: 3px solid #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #4CAF50;
  margin: 0 auto 24px;
}
.wpr-confirmation__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.wpr-confirmation__ref-wrap {
  margin-bottom: 24px;
}
.wpr-confirmation__ref-label {
  font-size: 13px;
  color: var(--wpr-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.wpr-confirmation__ref {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--wpr-red);
  margin: 4px 0 0;
  letter-spacing: 0.05em;
}
.wpr-confirmation__details {
  margin-bottom: 16px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.7;
}
.wpr-confirmation__details p { margin: 0; }
.wpr-confirmation__note {
  text-align: left;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
}
.wpr-confirmation__note p { margin: 0; }
.wpr-confirmation__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ─── Cancel booking ─── */
.wpr-cancel-wrap {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}
.wpr-cancel-wrap p {
  color: var(--wpr-muted, #8A8A9A);
  line-height: 1.6;
}
.wpr-cancel-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.wpr-btn-danger {
  background: #dc2626;
  border-color: #dc2626;
}
.wpr-btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}
[data-theme="light"] .wpr-btn-danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}
.wpr-cancel-status {
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  font-size: 15px;
}
.wpr-cancel-status.success {
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid #4CAF50;
  color: #4CAF50;
}
.wpr-cancel-status.error {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid #dc2626;
  color: #f87171;
}
[data-theme="light"] .wpr-cancel-status.error {
  color: #dc2626;
}

/* ─── Coaching Notice ─── */
.wpr-coaching-notice {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 12px; padding: 16px 20px; margin-top: 16px;
}
.wpr-coaching-notice__icon {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  stroke: #ffc107; fill: none;
}
.wpr-coaching-notice p { margin: 0; font-size: 0.9rem; color: var(--wpr-text-muted, #b0b0b0); line-height: 1.5; }
.wpr-coaching-notice a { color: #ffd700; text-decoration: underline; }
.wpr-coaching-notice a:hover { color: #fff; }
.wpr-coaching-notice strong { color: #e0e0e0; }

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .wpr-track-grid { grid-template-columns: 1fr; }
  .wpr-car-grid { grid-template-columns: repeat(2, 1fr); }
  .wpr-progress-steps { overflow-x: auto; padding-bottom: 8px; }

  /* Two even columns, and the odd last card spans the full width so the set
     finishes cleanly instead of leaving a stranded half-width card. */
  .wpr-session-types { grid-template-columns: repeat(2, 1fr); }
  .wpr-session-btn { min-width: 0; padding: 14px 16px; }
  /* :last-of-type, not :last-child - the coaching notice div shares this
     container, so the final card is never the last child. */
  .wpr-session-btn:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }

  /* Six labels will not fit across a phone, but hiding all of them left six
     anonymous circles and no way to know what the steps were or where you are.
     Label the step you are actually on; the rest stay numbers. */
  .wpr-step-label { display: none; }
  .wpr-progress-step.active .wpr-step-label {
    display: block;
    color: #fff;
    font-weight: 600;
  }
}
