.kc-booking-page {
  --kc-blue: #2E75B6;
  --kc-green: #4CAF50;
  --kc-band: #F5F8FA;
  --kc-border: #DDDDDD;
  --kc-text: #1F2933;
  --kc-muted: #66788A;
  color: var(--kc-text);
  padding-bottom: 96px;
}

.kc-booking-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.kc-booking-hero {
  background: linear-gradient(90deg, #eef6fb, #ffffff);
  padding: 46px 0 42px;
}

.kc-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  margin-bottom: 14px;
  color: #596b7a;
}

.kc-breadcrumb a {
  color: var(--kc-blue);
  text-decoration: none;
}

.kc-booking-hero h1,
.kc-confirmation h1 {
  margin: 0 0 10px;
  color: #162B3C;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.kc-booking-hero p {
  margin: 0;
  font-size: 18px;
  color: #4D5F6F;
}

.kc-reassurance {
  background: var(--kc-band);
  padding: 18px 0;
}

.kc-reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  font-weight: 600;
}

.kc-reassurance a {
  color: var(--kc-blue);
}

.kc-booking-app {
  margin-top: 34px;
}

.kc-progress {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: start;
  gap: 12px;
  margin-bottom: 36px;
}

.kc-progress-item {
  appearance: none;
  border: 0;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0;
  color: var(--kc-muted);
  font: inherit;
  text-align: center;
}

button.kc-progress-item {
  cursor: pointer;
}

.kc-progress-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid #CBD5E1;
  background: #fff;
  color: #52616F;
  font-weight: 700;
}

.kc-progress-item.is-current .kc-progress-circle {
  background: var(--kc-blue);
  border-color: var(--kc-blue);
  color: #fff;
}

.kc-progress-item.is-complete .kc-progress-circle {
  background: var(--kc-green);
  border-color: var(--kc-green);
  color: #fff;
}

.kc-progress-item.is-current,
.kc-progress-item.is-complete {
  color: #1F2933;
}

.kc-progress-label {
  font-size: 14px;
  font-weight: 700;
}

.kc-progress-line {
  height: 2px;
  background: #D6DEE6;
  margin-top: 19px;
}

.kc-step h2,
.kc-next h2 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #162B3C;
}

.kc-subheading,
.kc-muted {
  color: var(--kc-muted);
  margin: 0 0 24px;
}

.kc-date-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
  gap: 32px;
}

.kc-calendar,
.kc-slots,
.kc-form,
.kc-review,
.kc-next {
  border: 1px solid #E5EAF0;
  border-radius: 8px;
  background: #fff;
}

.kc-calendar,
.kc-slots {
  padding: 22px;
}

.kc-calendar-top,
.kc-slots-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.kc-calendar-top h3,
.kc-slots h3,
.kc-form h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.kc-icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #CCD6E0;
  background: #fff;
  color: #1F2933;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.kc-weekdays,
.kc-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.kc-weekdays {
  margin-bottom: 10px;
  color: #718096;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.kc-day {
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  min-width: 0;
}

.kc-day.is-muted {
  opacity: .55;
}

.kc-day.is-available {
  cursor: pointer;
}

.kc-day.is-available:hover {
  background: #E3F2FD;
}

.kc-day.is-unavailable {
  color: #BFBFBF;
  cursor: not-allowed;
}

.kc-day.is-selected {
  background: var(--kc-blue);
  border-color: var(--kc-blue);
  color: #fff;
}

.kc-slots-head span {
  color: var(--kc-muted);
  font-size: 13px;
  font-weight: 700;
}

.kc-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kc-slot {
  min-height: 44px;
  border: 1px solid var(--kc-border);
  border-radius: 999px;
  background: #fff;
  color: #1F2933;
  font-weight: 700;
  cursor: pointer;
}

.kc-slot:hover {
  border-color: var(--kc-blue);
}

.kc-slot.is-selected {
  background: var(--kc-blue);
  border-color: var(--kc-blue);
  color: #fff;
}

.kc-empty,
.kc-error,
.kc-warning {
  margin: 0;
  border-radius: 8px;
  padding: 12px 14px;
}

.kc-empty {
  background: #F8FAFC;
  color: var(--kc-muted);
}

.kc-warning {
  background: #FFF7E6;
  color: #7A4B00;
}

.kc-error {
  background: #FDECEC;
  color: #9B1C1C;
}

.kc-form-step {
  max-width: 980px;
  margin: 0 auto;
}

.kc-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.kc-form-section {
  display: grid;
  gap: 16px;
  border: 1px solid #E7EDF3;
  border-radius: 8px;
  padding: 18px;
  background: #FBFDFF;
}

.kc-form-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.kc-form-pair .kc-form-section {
  align-content: start;
}

.kc-form h3 {
  color: #162B3C;
  border-bottom: 1px solid #E7EDF3;
  padding-bottom: 10px;
}

.kc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  align-items: start;
}

.kc-form-grid .kc-choice-field {
  align-self: end;
}

.kc-reason-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: start;
}

.kc-confirm-panel {
  position: sticky;
  top: 24px;
}

.kc-field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.kc-field span,
.kc-choice-field legend {
  color: #243B53;
  font-weight: 700;
}

.kc-details-form .kc-field:not(.kc-choice-field) > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.kc-field input,
.kc-field select {
  width: 100%;
  height: 44px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
  color: #1F2933;
  background: #fff;
}

.kc-field textarea {
  width: 100%;
  min-height: 108px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.kc-field.has-error input,
.kc-field.has-error select,
.kc-field.has-error textarea {
  border-color: #C2410C;
}

.kc-field small {
  color: #A33A1A;
  min-height: 18px;
}

.kc-choice-field {
  border: 0;
  padding: 0;
}

.kc-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.kc-choice-row label,
.kc-consents label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-weight: 500;
}

.kc-choice-row input,
.kc-consents input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
}

.kc-choice-row span,
.kc-consents span {
  line-height: 1.35;
}

.kc-review {
  position: relative;
  background: var(--kc-band);
  padding: 18px;
}

.kc-review dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.kc-review dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
}

.kc-review dt {
  font-weight: 700;
  color: #52616F;
}

.kc-review dd {
  margin: 0;
  color: #162B3C;
}

.kc-edit-link {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--kc-blue);
  font-weight: 800;
  cursor: pointer;
}

.kc-consents {
  display: grid;
  gap: 10px;
}

.kc-sticky-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-top: 1px solid #E5EAF0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, .08);
  padding: 14px 0;
}

.kc-footer-inner,
.kc-confirm-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.kc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid var(--kc-blue);
  background: var(--kc-blue);
  color: #fff;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.kc-button-secondary {
  background: #fff;
  color: var(--kc-blue);
}

.kc-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.kc-confirmation {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.kc-confirmation p {
  color: #4D5F6F;
}

.kc-checkmark {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  background: var(--kc-green);
  color: #fff;
  font-size: 58px;
  font-weight: 900;
}

.kc-confirmation .kc-review {
  margin: 24px 0 16px;
  text-align: left;
}

.kc-reference {
  font-weight: 900;
  color: #162B3C;
}

.kc-next {
  text-align: left;
  padding: 20px 24px;
  margin: 24px 0;
}

.kc-next ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.kc-next li {
  margin: 8px 0;
}

.kc-confirm-actions {
  justify-content: center;
  flex-wrap: wrap;
}

.kc-footer-note {
  margin-top: 18px;
  font-size: 14px;
}

.kc-loading {
  padding: 40px 0;
}

@media (max-width: 760px) {
  .kc-reassurance-grid,
  .kc-date-grid {
    grid-template-columns: 1fr;
  }

  .kc-progress {
    gap: 6px;
  }

  .kc-progress-label {
    font-size: 12px;
  }

  .kc-date-grid {
    gap: 18px;
  }

  .kc-calendar,
  .kc-slots,
  .kc-form {
    padding: 16px;
  }

  .kc-form-step {
    max-width: 100%;
  }

  .kc-form-section {
    padding: 16px;
  }

  .kc-form-pair,
  .kc-form-grid,
  .kc-reason-layout {
    grid-template-columns: 1fr;
  }

  .kc-confirm-panel {
    position: static;
  }

  .kc-slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kc-review dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .kc-footer-inner {
    width: min(100% - 20px, 1120px);
  }

  .kc-button {
    flex: 1 1 0;
    padding: 0 12px;
  }
}
