.rowing-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/**
 * Rowing With Pete Booking Form — plugin stylesheet
 * Scoped under .rowing-booking-form to avoid theme conflicts.
 */

.rowing-booking-form {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* Brand: site blue + white surfaces (readable on #031BA0) */
  --rw-brand: #031ba0;
  --rw-brand-hover: #05267d;
  --rw-surface: #ffffff;
  --rw-surface-muted: #f1f5f9;
  --rw-text: #0f172a;
  --rw-text-muted: #64748b;
  --rw-border: #cbd5e1;
  --rw-border-strong: #94a3b8;
  --rw-error: #dc2626;
  --rw-error-text: #991b1b;
  --rw-error-bg: #fef2f2;
  --rw-error-border: #fecaca;
  --rw-on-brand: #ffffff;
  --rw-line-on-brand: rgba(255, 255, 255, 0.28);
  --rw-line-active: #ffffff;
}

.rowing-booking-form *,
.rowing-booking-form *::before,
.rowing-booking-form *::after {
  box-sizing: inherit;
}

.rowing-booking-form .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/**
 * Rowing with Pete — multi-step booking form
 * Fluent Forms: pair inputs with .ff-el-form-control; primary actions with .ff-btn-submit
 */

.rowing-booking-form .rw-booking-wrapper {
  width: 100%;
  background: var(--rw-brand);
  box-sizing: border-box;
  padding: 30px 20px;
}

.rowing-booking-form .rw-booking-inner {
  max-width: 700px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ---------- Progress ---------- */
.rowing-booking-form .rw-progress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

.rowing-booking-form .rw-progress-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rowing-booking-form .rw-progress-track {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.rowing-booking-form .rw-progress-line {
  flex: 1 1 auto;
  height: 2px;
  min-width: 0;
  background: var(--rw-line-on-brand);
  border-radius: 0;
  align-self: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.rowing-booking-form .rw-progress-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: var(--rw-line-active);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 400ms ease;
}

.rowing-booking-form .rw-progress-line--active::after {
  transform: scaleX(1);
}

.rowing-booking-form .rw-progress-line--edge {
  flex: 0 0 0;
  width: 0;
  min-width: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.rowing-booking-form .rw-progress-circle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border-radius: 0;
  box-sizing: border-box;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    color 300ms ease;
}

.rowing-booking-form .rw-progress-item--inactive .rw-progress-circle {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.rowing-booking-form .rw-progress-item--active .rw-progress-circle {
  background: var(--rw-surface);
  border-color: var(--rw-surface);
  color: var(--rw-brand);
}

.rowing-booking-form .rw-progress-item--completed .rw-progress-circle {
  background: var(--rw-surface);
  border-color: var(--rw-surface);
  color: var(--rw-brand);
}

.rowing-booking-form .rw-progress-number {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  transition: opacity 150ms ease;
}

.rowing-booking-form .rw-progress-item--completed .rw-progress-number {
  opacity: 0;
}

.rowing-booking-form .rw-progress-check {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 150ms ease;
}

.rowing-booking-form .rw-progress-item--completed .rw-progress-check {
  opacity: 1;
}

.rowing-booking-form .rw-progress-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.25;
  max-width: 100%;
  padding: 0 4px;
  box-sizing: border-box;
  transition: color 300ms ease;
}

.rowing-booking-form .rw-progress-item--active .rw-progress-label {
  color: var(--rw-on-brand);
}

.rowing-booking-form .rw-progress-item--completed .rw-progress-label {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Card ---------- */
.rowing-booking-form .rw-form-card {
  background: var(--rw-surface);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  padding: 32px;
  box-sizing: border-box;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.rowing-booking-form .rw-upcoming-unavailable-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rowing-booking-form .rw-upcoming-unavailable-modal[hidden] {
  display: none !important;
}

.rowing-booking-form .rw-upcoming-unavailable-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}

.rowing-booking-form .rw-upcoming-unavailable-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  padding: 24px;
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #92400e;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.rowing-booking-form .rw-upcoming-unavailable-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.4;
}

.rowing-booking-form .rw-upcoming-unavailable-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.rowing-booking-form .rw-upcoming-unavailable-list {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
}

.rowing-booking-form .rw-upcoming-unavailable-list li + li {
  margin-top: 4px;
}

.rowing-booking-form .rw-upcoming-unavailable-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  color: #92400e;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 28px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
}

.rowing-booking-form .rw-upcoming-unavailable-close:hover {
  background: rgba(245, 158, 11, 0.12);
}

.rowing-booking-form .rw-upcoming-unavailable-dismiss {
  margin-top: 20px;
  border: none;
  background: #031ba0;
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.rowing-booking-form .rw-upcoming-unavailable-dismiss:hover {
  background: #05267d;
}

.rowing-booking-form .rw-step {
  display: block;
  position: relative;
  overflow: hidden;
}

.rowing-booking-form .rw-step--hidden {
  display: none;
}

.rowing-booking-form .rw-step-heading {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: var(--rw-text);
  line-height: 1.3;
}

.rowing-booking-form .rw-lesson-price {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--rw-brand);
  line-height: 1.4;
}

.rowing-booking-form .rw-lesson-price--waiver {
  margin-bottom: 12px;
}

.rowing-booking-form .rw-confirm-lesson-price {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--rw-text);
}

.rowing-booking-form .rw-step-sub {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--rw-text-muted);
  line-height: 1.5;
}

/* ---------- Step 1 field layout ---------- */
.rowing-booking-form .rw-fields-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.rowing-booking-form .rw-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.rowing-booking-form .rw-field-row--full .rw-field {
  flex: 1 1 100%;
  min-width: 0;
}

.rowing-booking-form .rw-field--half {
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
}

.rowing-booking-form .rw-field--full {
  width: 100%;
}

/* ---------- Fields (Fluent Forms friendly) ---------- */
.rowing-booking-form .rw-field {
  margin-bottom: 0;
}

.rowing-booking-form .rw-field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--rw-text);
  font-weight: 500;
}

.rowing-booking-form .rw-field-error {
  display: none;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--rw-error);
  font-weight: 500;
}

.rowing-booking-form .rw-field--invalid .rw-field-error {
  display: block;
  animation: rwFieldErrorIn 200ms ease forwards;
}

.rowing-booking-form .rw-field-error.rw-field-error--leaving {
  display: block;
  animation: rwFieldErrorOut 200ms ease forwards;
}

.rowing-booking-form .rw-form-error-summary {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid var(--rw-error-border);
  border-radius: 0;
  background: var(--rw-error-bg);
  color: var(--rw-error-text);
  font-size: 13px;
  line-height: 1.45;
  box-sizing: border-box;
}

.rowing-booking-form .rw-submit-error {
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--rw-error-border);
  border-radius: 0;
  background: var(--rw-error-bg);
  color: var(--rw-error-text);
  font-size: 13px;
  line-height: 1.45;
  box-sizing: border-box;
}

.rowing-booking-form .rw-form-error-summary[hidden] {
  display: none !important;
}

/* Native + Fluent: .ff-el-form-control on inputs */
.rowing-booking-form .rw-form-card .ff-el-form-control,
.rowing-booking-form .rw-form-card input[type="text"],
.rowing-booking-form .rw-form-card input[type="email"],
.rowing-booking-form .rw-form-card input[type="tel"],
.rowing-booking-form .rw-form-card input[type="date"],
.rowing-booking-form .rw-form-card input[type="number"],
.rowing-booking-form .rw-form-card select,
.rowing-booking-form .rw-form-card textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--rw-surface);
  color: var(--rw-text);
  border: 1px solid var(--rw-border);
  border-radius: 0;
  padding: 14px 15px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.rowing-booking-form .rw-form-card .ff-el-form-control:focus,
.rowing-booking-form .rw-form-card input:focus,
.rowing-booking-form .rw-form-card select:focus,
.rowing-booking-form .rw-form-card textarea:focus {
  outline: none;
  border-color: var(--rw-brand);
  box-shadow: 0 0 0 1px var(--rw-brand);
}

.rowing-booking-form .rw-form-card .ff-el-form-control::placeholder,
.rowing-booking-form .rw-form-card input::placeholder,
.rowing-booking-form .rw-form-card textarea::placeholder {
  color: var(--rw-text-muted);
}

/* Select: dark styling + custom chevron */
.rowing-booking-form .rw-form-card select.ff-el-form-control,
.rowing-booking-form .rw-form-card select.rw-select,
.rowing-booking-form .rw-form-card select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-color: var(--rw-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2364748b' stroke-width='1.75' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 8px;
}

.rowing-booking-form .rw-form-card select.ff-el-form-control:disabled,
.rowing-booking-form .rw-form-card select:disabled {
  color: var(--rw-text-muted);
  cursor: default;
}

.rowing-booking-form .rw-form-card textarea.ff-el-form-control,
.rowing-booking-form .rw-form-card textarea {
  min-height: 130px;
  resize: vertical;
}

.rowing-booking-form .rw-form-card .rw-field--invalid .ff-el-form-control {
  border-color: var(--rw-error);
  box-shadow: none;
}

.rowing-booking-form .rw-form-card .rw-field--invalid .ff-el-form-control:focus {
  border-color: var(--rw-error);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.35);
}

/*
 * Force light fields when theme / Fluent Forms sets dark backgrounds (!important).
 * Longer selector chain wins typical theme rules for .ff-el-form-control.
 */
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card input.ff-el-form-control,
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card textarea.ff-el-form-control,
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card input[type="text"],
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card input[type="email"],
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card input[type="tel"],
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card input[type="date"],
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card input[type="number"],
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card textarea {
  background-color: #ffffff !important;
  background-image: none !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

#rowing-booking-form-root .rw-booking-wrapper .rw-form-card select.ff-el-form-control,
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card select.rw-select,
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2364748b' stroke-width='1.75' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 8px !important;
}

#rowing-booking-form-root .rw-booking-wrapper .rw-form-card input:-webkit-autofill,
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card input:-webkit-autofill:hover,
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card input:-webkit-autofill:focus,
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card textarea:-webkit-autofill,
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card textarea:-webkit-autofill:hover,
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #0f172a !important;
  caret-color: #0f172a;
}

#rowing-booking-form-root .rw-booking-wrapper .rw-form-card input[readonly].ff-el-form-control,
#rowing-booking-form-root .rw-booking-wrapper .rw-form-card input[readonly] {
  cursor: default;
  background-color: #f1f5f9 !important;
  background-image: none !important;
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

/* ---------- Step 2: waiver ---------- */
.rowing-booking-form .rw-waiver-step .rw-fields-stack {
  margin-top: 0;
}

.rowing-booking-form .rw-section-label {
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rw-border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rw-text-muted);
  line-height: 1.35;
}

.rowing-booking-form .rw-waiver-divider {
  border-top: 1px solid var(--rw-border);
  margin: 28px 0;
}

.rowing-booking-form .rw-waiver-scroll {
  max-height: 160px;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid var(--rw-border);
  border-radius: 0;
  background: var(--rw-surface-muted);
  font-size: 13px;
  line-height: 1.8;
  color: var(--rw-text);
  box-sizing: border-box;
}

.rowing-booking-form .rw-waiver-scroll p {
  margin: 0 0 12px;
}

.rowing-booking-form .rw-waiver-scroll p:last-child {
  margin-bottom: 0;
}

.rowing-booking-form .rw-field--checkbox-agree {
  margin-top: 16px;
}

.rowing-booking-form .rw-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-sizing: border-box;
  border-radius: 0;
}

.rowing-booking-form .rw-field--checkbox-agree input[type="checkbox"] {
  width: auto;
  max-width: none;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--rw-brand);
  cursor: pointer;
}

.rowing-booking-form .rw-waiver-agree-label {
  font-size: 14px;
  color: var(--rw-text);
  line-height: 1.45;
  cursor: pointer;
  font-weight: 500;
}

.rowing-booking-form .rw-field--checkbox-agree.rw-field--invalid .rw-checkbox-row {
  padding: 8px;
  margin: -8px;
  border: 1px solid var(--rw-error);
  border-radius: 0;
  background: var(--rw-error-bg);
  transition: border-color 200ms ease;
}

.rowing-booking-form .rw-field-helper {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--rw-text-muted);
}

.rowing-booking-form .rw-form-card textarea.rw-textarea--medical,
.rowing-booking-form .rw-form-card textarea#rw-waiver-medical {
  min-height: 100px;
}

.rowing-booking-form .rw-field--signature {
  margin-top: 20px;
}

.rowing-booking-form .rw-signature-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  height: 80px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px dashed var(--rw-border-strong);
  border-radius: 0;
  background: var(--rw-surface-muted);
  cursor: pointer;
  transition:
    border-color 200ms ease,
    background-color 200ms ease;
}

.rowing-booking-form .rw-signature-placeholder {
  font-size: 13px;
  color: var(--rw-text-muted);
  pointer-events: none;
  user-select: none;
}

.rowing-booking-form .rw-signature-box--editing .rw-signature-placeholder {
  display: none;
}

.rowing-booking-form .rw-signature-input {
  display: none;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--rw-text);
  font-size: 16px;
  font-style: italic;
  font-family: inherit;
  text-align: center;
  outline: none;
}

.rowing-booking-form .rw-signature-input::placeholder {
  color: var(--rw-text-muted);
  font-style: italic;
}

.rowing-booking-form .rw-signature-box--editing .rw-signature-input {
  display: block;
}

.rowing-booking-form .rw-signature-value {
  display: none;
  width: 100%;
  padding: 8px 10px;
  box-sizing: border-box;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  color: var(--rw-text);
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
}

.rowing-booking-form .rw-signature-box--signed .rw-signature-value {
  display: block;
}

.rowing-booking-form .rw-signature-box--signed {
  border: 1px solid var(--rw-brand);
  border-style: solid;
  background: rgba(3, 27, 160, 0.06);
  cursor: pointer;
}

.rowing-booking-form .rw-signature-box--signed .rw-signature-placeholder,
.rowing-booking-form .rw-signature-box--signed .rw-signature-input {
  display: none;
}

.rowing-booking-form .rw-signature-box--editing:not(.rw-signature-box--signed) {
  border-style: dashed;
  border-color: var(--rw-border-strong);
  background: var(--rw-surface-muted);
}

.rowing-booking-form .rw-signature-confirm {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--rw-brand);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.rowing-booking-form .rw-field--signature.rw-field--invalid .rw-signature-box:not(.rw-signature-box--signed) {
  border-color: var(--rw-error);
  border-style: dashed;
  background: var(--rw-error-bg);
}

.rowing-booking-form .rw-field--date-signed {
  margin-top: 16px;
}

.rowing-booking-form .rw-form-card input[readonly].ff-el-form-control,
.rowing-booking-form .rw-form-card input[readonly] {
  cursor: default;
}

/* ---------- Step 1: session (day type, slots, date) ---------- */
.rowing-booking-form .rw-session-section {
  margin-top: 0;
}

.rowing-booking-form .rw-session-divider {
  border-top: 1px solid var(--rw-border);
  margin: 24px 0;
}

.rowing-booking-form .rw-session-heading {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--rw-text);
  line-height: 1.3;
}

.rowing-booking-form .rw-day-toggle {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.rowing-booking-form .rw-day-toggle-btn {
  flex: 1 1 50%;
  width: 50%;
  max-width: 50%;
  box-sizing: border-box;
  margin: 0;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: inherit;
  line-height: 1.3;
  border-radius: 0;
  border: 1px solid var(--rw-border);
  background: var(--rw-surface);
  color: var(--rw-text-muted);
  cursor: pointer;
}

.rowing-booking-form .rw-day-toggle-btn + .rw-day-toggle-btn {
  margin-left: -1px;
}

.rowing-booking-form .rw-day-toggle-btn:hover:not([aria-pressed="true"]) {
  border-color: var(--rw-border-strong);
  color: var(--rw-text);
  position: relative;
  z-index: 1;
}

.rowing-booking-form .rw-day-toggle-btn[aria-pressed="true"] {
  background: var(--rw-brand);
  border-color: var(--rw-brand);
  color: var(--rw-on-brand);
  z-index: 2;
}

.rowing-booking-form .rw-field--session-day.rw-field--invalid .rw-day-toggle-btn:not([aria-pressed="true"]) {
  border-color: var(--rw-error);
}

.rowing-booking-form .rw-field--slots {
  margin-top: 16px;
}

.rowing-booking-form .rw-slot-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.rowing-booking-form .rw-slot-cards--single .rw-slot-card {
  flex: 1 1 100%;
}

.rowing-booking-form .rw-slot-cards--pair .rw-slot-card {
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
}

.rowing-booking-form .rw-slot-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px;
  text-align: left;
  font-family: inherit;
  border-radius: 0;
  border: 1px solid var(--rw-border);
  background: var(--rw-surface-muted);
  color: inherit;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    border-color 200ms ease,
    background-color 200ms ease;
}

.rowing-booking-form .rw-slot-card-inner {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}

.rowing-booking-form .rw-slot-card-col {
  flex: 1 1 0;
  min-width: 0;
}

.rowing-booking-form .rw-slot-time {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--rw-text);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rowing-booking-form .rw-slot-location {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--rw-text-muted);
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rowing-booking-form .rw-slot-note {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--rw-text-muted);
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rowing-booking-form .rw-slot-card-check {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  opacity: 0;
  pointer-events: none;
}

.rowing-booking-form .rw-slot-card--selected {
  border: 1px solid var(--rw-brand);
  background: rgba(3, 27, 160, 0.08);
}

.rowing-booking-form .rw-slot-card--selected .rw-slot-time {
  color: var(--rw-brand);
}

.rowing-booking-form .rw-slot-card--selected .rw-slot-location {
  color: var(--rw-text-muted);
}

.rowing-booking-form .rw-slot-card--selected .rw-slot-card-check {
  opacity: 1;
}

.rowing-booking-form .rw-slot-card--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: #cbd5e1;
  background: #f8fafc;
}

.rowing-booking-form .rw-slot-card--disabled .rw-slot-time,
.rowing-booking-form .rw-slot-card--disabled .rw-slot-location,
.rowing-booking-form .rw-slot-card--disabled .rw-slot-note {
  color: #64748b;
}

.rowing-booking-form .rw-slot-card--disabled .rw-slot-card-check {
  opacity: 0;
}

.rowing-booking-form .rw-slot-disabled-reason {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #b45309;
}

.rowing-booking-form .rw-field--slots.rw-field--invalid .rw-slot-card:not(.rw-slot-card--selected) {
  border-color: var(--rw-error);
}

.rowing-booking-form .rw-session-followup {
  margin-top: 16px;
}

.rowing-booking-form .rw-field--session-location {
  margin-bottom: 16px;
}

.rowing-booking-form .rw-field--session-date {
  margin-bottom: 0;
}

.rowing-booking-form .rw-date-hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--rw-text-muted);
}

.rowing-booking-form .rw-date-unavailable-hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--rw-error);
  font-weight: 600;
}

.rowing-booking-form .rw-date-unavailable-summary {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #92400e;
  font-weight: 600;
}

.rowing-booking-form .rw-form-card input[type="date"].ff-el-form-control,
.rowing-booking-form .rw-form-card input[type="date"] {
  color-scheme: light;
}

/* ---------- Step 3: confirmation ---------- */
.rowing-booking-form .rw-confirm-step .rw-confirm-inner {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.rowing-booking-form .rw-confirm-success {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(3, 27, 160, 0.08);
  border: 2px solid var(--rw-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.rowing-booking-form .rw-confirm-check {
  display: block;
}

.rowing-booking-form .rw-confirm-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  color: var(--rw-text);
  line-height: 1.25;
  text-align: center;
}

.rowing-booking-form .rw-confirm-sub {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--rw-text-muted);
  line-height: 1.5;
  text-align: center;
}

.rowing-booking-form .rw-confirm-summary-card {
  margin: 0 0 20px;
  padding: 20px;
  background: var(--rw-surface-muted);
  border: 1px solid var(--rw-border);
  border-radius: 0;
  box-sizing: border-box;
  text-align: left;
}

.rowing-booking-form .rw-confirm-summary-heading.rw-section-label {
  margin: 0 0 16px;
}

.rowing-booking-form .rw-confirm-summary-rows {
  margin: 0;
  padding: 0;
}

.rowing-booking-form .rw-summary-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rw-border);
}

.rowing-booking-form .rw-summary-row--last {
  border-bottom: none;
}

.rowing-booking-form .rw-summary-label {
  flex: 0 1 auto;
  font-size: 13px;
  color: var(--rw-text-muted);
  line-height: 1.4;
}

.rowing-booking-form .rw-summary-value {
  flex: 0 1 auto;
  max-width: 58%;
  font-size: 13px;
  color: var(--rw-text);
  line-height: 1.4;
  text-align: right;
  word-break: break-word;
}

.rowing-booking-form .rw-summary-value--accent {
  color: var(--rw-brand);
  font-weight: 600;
}

.rowing-booking-form .rw-confirm-divider {
  border-top: 1px solid var(--rw-border);
  margin: 24px 0;
}

.rowing-booking-form .rw-confirm-payment {
  margin: 0;
}

.rowing-booking-form .rw-confirm-payment-heading.rw-section-label {
  margin: 0 0 16px;
}

.rowing-booking-form .rw-confirm-payment-intro {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--rw-text-muted);
  text-align: center;
}

.rowing-booking-form .rw-venmo-qr-box {
  width: 200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: 0;
}

.rowing-booking-form .rw-venmo-qr-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
}

.rowing-booking-form .rw-venmo-handle {
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  line-height: 1.2;
}

.rowing-booking-form .rw-venmo-brand {
  font-size: 13px;
  color: var(--rw-text-muted);
  text-align: center;
  line-height: 1.2;
}

.rowing-booking-form .rw-confirm-note {
  margin-top: 20px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  background: rgba(3, 27, 160, 0.06);
  border: 1px solid rgba(3, 27, 160, 0.25);
  border-radius: 0;
  box-sizing: border-box;
}

.rowing-booking-form .rw-confirm-note-icon {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--rw-brand);
}

.rowing-booking-form .rw-confirm-note-text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.7;
  color: var(--rw-text);
}

.rowing-booking-form .rw-confirm-contact {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--rw-text-muted);
  text-align: center;
}

.rowing-booking-form .rw-confirm-email {
  color: var(--rw-brand);
  text-decoration: none;
  font-weight: 600;
}

.rowing-booking-form .rw-confirm-email:hover {
  text-decoration: underline;
}

.rowing-booking-form .rw-btn-done {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  background: var(--rw-brand);
  color: var(--rw-on-brand);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
}

.rowing-booking-form .rw-btn-done:hover {
  background: var(--rw-brand-hover);
}

/* ---------- Actions ---------- */
.rowing-booking-form .rw-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 8px;
}

.rowing-booking-form .rw-step-actions--hidden {
  display: none !important;
}

.rowing-booking-form .rw-btn-back {
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  color: var(--rw-text);
  padding: 14px 32px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    background-color 250ms ease,
    border-color 250ms ease,
    color 250ms ease,
    transform 100ms ease;
}

.rowing-booking-form .rw-btn-back:hover {
  border-color: var(--rw-brand);
  color: var(--rw-brand);
  background-color: rgba(3, 27, 160, 0.04);
}

.rowing-booking-form .rw-btn-back--hidden {
  visibility: hidden;
  pointer-events: none;
}

.rowing-booking-form .rw-btn-next,
.rowing-booking-form .rw-form-card .ff-btn-submit.rw-btn-next {
  background: var(--rw-brand);
  color: var(--rw-on-brand);
  padding: 14px 32px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
  margin-left: auto;
  transition:
    background-color 250ms ease,
    opacity 250ms ease,
    transform 100ms ease;
}

.rowing-booking-form .rw-btn-next:hover,
.rowing-booking-form .rw-form-card .ff-btn-submit.rw-btn-next:hover {
  background: var(--rw-brand-hover);
}

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
  .rowing-booking-form .rw-booking-wrapper {
    padding: 24px 14px;
  }

  .rowing-booking-form .rw-form-card {
    padding: 22px 16px;
  }

  .rowing-booking-form .rw-progress-circle {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .rowing-booking-form .rw-progress-label {
    font-size: 10px;
  }

  .rowing-booking-form .rw-progress-line {
    margin: 0 4px;
    min-width: 4px;
  }

  .rowing-booking-form .rw-step-heading {
    font-size: 18px;
  }

  .rowing-booking-form .rw-step-sub {
    font-size: 13px;
  }

  .rowing-booking-form .rw-field--half {
    flex: 1 1 100%;
  }

  .rowing-booking-form .rw-field-row {
    flex-direction: column;
  }

  .rowing-booking-form .rw-slot-cards--pair .rw-slot-card {
    flex: 1 1 100%;
  }

  .rowing-booking-form .rw-slot-card-inner {
    flex-direction: column;
  }

  .rowing-booking-form .rw-day-toggle {
    flex-direction: column;
  }

  .rowing-booking-form .rw-day-toggle-btn {
    width: 100%;
    max-width: none;
  }

  .rowing-booking-form .rw-day-toggle-btn + .rw-day-toggle-btn {
    margin-left: 0;
    margin-top: -1px;
  }

  .rowing-booking-form .rw-btn-next,
  .rowing-booking-form .rw-btn-back,
  .rowing-booking-form .rw-form-card .ff-btn-submit.rw-btn-next {
    padding: 12px 20px;
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .rowing-booking-form .rw-step-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .rowing-booking-form .rw-btn-next,
  .rowing-booking-form .rw-form-card .ff-btn-submit.rw-btn-next {
    margin-left: 0;
    width: 100%;
  }

  .rowing-booking-form .rw-btn-back {
    width: 100%;
  }

  .rowing-booking-form .rw-btn-back--hidden {
    display: none;
  }

  .rowing-booking-form .rw-summary-row {
    flex-direction: column;
    align-items: stretch;
  }

  .rowing-booking-form .rw-summary-value {
    max-width: none;
    text-align: left;
  }

  .rowing-booking-form .rw-confirm-title {
    font-size: 20px;
  }

  .rowing-booking-form .rw-venmo-qr-box {
    width: 100%;
    max-width: 240px;
  }
}

@media (max-width: 900px) {
  .rowing-booking-form .rw-slot-cards--pair .rw-slot-card {
    flex: 1 1 100%;
  }

  .rowing-booking-form .rw-slot-card-inner {
    flex-direction: column;
  }
}

/* ---------- Motion & transitions (additive) ---------- */
.rowing-booking-form .step-content {
  position: relative;
}

@keyframes slideInRight {
  from {
    transform: translateX(60px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-60px);
    opacity: 0;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-60px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(60px);
    opacity: 0;
  }
}

.rowing-booking-form .slide-in-right {
  animation: slideInRight 350ms ease-in-out forwards;
  will-change: transform, opacity;
}

.rowing-booking-form .slide-out-left {
  animation: slideOutLeft 350ms ease-in-out forwards;
  will-change: transform, opacity;
}

.rowing-booking-form .slide-in-left {
  animation: slideInLeft 350ms ease-in-out forwards;
  will-change: transform, opacity;
}

.rowing-booking-form .slide-out-right {
  animation: slideOutRight 350ms ease-in-out forwards;
  will-change: transform, opacity;
}

@keyframes rwFieldErrorIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rwFieldErrorOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes rwSlotCardEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rowing-booking-form .rw-slots-wrap--enter .rw-slot-card {
  animation: rwSlotCardEnter 250ms ease forwards;
  will-change: transform, opacity;
}

.rowing-booking-form .rw-slots-wrap--enter .rw-slot-card:nth-child(2) {
  animation-delay: 100ms;
}

@keyframes rwConfirmCircle {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes rwConfirmCheckFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rwConfirmFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rwConfirmFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.rowing-booking-form .rw-confirm-inner--enter .rw-confirm-success {
  animation: rwConfirmCircle 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  will-change: transform, opacity;
}

.rowing-booking-form .rw-confirm-inner--enter .rw-confirm-check {
  opacity: 0;
  animation: rwConfirmCheckFade 300ms ease 200ms forwards;
  will-change: opacity;
}

.rowing-booking-form .rw-confirm-inner--enter .rw-confirm-title {
  opacity: 0;
  animation: rwConfirmFadeIn 300ms ease 300ms forwards;
  will-change: opacity;
}

.rowing-booking-form .rw-confirm-inner--enter .rw-confirm-sub {
  opacity: 0;
  animation: rwConfirmFadeIn 300ms ease 340ms forwards;
  will-change: opacity;
}

.rowing-booking-form .rw-confirm-inner--enter .rw-confirm-summary-card {
  opacity: 0;
  animation: rwConfirmFadeUp 350ms ease 400ms forwards;
  will-change: transform, opacity;
}

.rowing-booking-form .rw-confirm-inner--enter .rw-confirm-payment {
  opacity: 0;
  animation: rwConfirmFadeUp 350ms ease 550ms forwards;
  will-change: transform, opacity;
}

.rowing-booking-form .rw-confirm-inner--enter .rw-confirm-note {
  opacity: 0;
  animation: rwConfirmFadeUp 350ms ease 650ms forwards;
  will-change: transform, opacity;
}

.rowing-booking-form .rw-btn-next:active:not(:disabled),
.rowing-booking-form .rw-btn-back:active:not(:disabled),
.rowing-booking-form .rw-form-card .ff-btn-submit.rw-btn-next:active:not(:disabled) {
  transform: scale(0.97);
}

.rowing-booking-form .rw-btn-next.rw-btn-next--checking,
.rowing-booking-form .rw-form-card .ff-btn-submit.rw-btn-next.rw-btn-next--checking {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .rowing-booking-form .rw-booking-wrapper,
  .rowing-booking-form .rw-booking-wrapper * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
