.bd-booking,
.bd-booking * {
  box-sizing: border-box;
}

.bd-booking [hidden] {
  display: none !important;
}

.bd-booking {
  --bd-primary: #46c67c;
  --bd-primary-dark: #24975a;
  --bd-dark: #1e293b;
  --bd-text: #334155;
  --bd-muted: #64748b;
  --bd-border: #dfe7ee;
  --bd-soft: #f8fafc;
  --bd-white: #ffffff;
  --bd-warning: #a16207;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 36px);
  overflow: hidden;
  color: var(--bd-text);
  background: var(--bd-white);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.bd-booking button,
.bd-booking input,
.bd-booking select,
.bd-booking textarea {
  font: inherit;
}

.bd-booking button {
  text-transform: none;
  letter-spacing: normal;
}

.bd-booking__header {
  margin-bottom: 22px;
  text-align: center;
}

.bd-booking__header h2,
.bd-step__heading h3,
.bd-success h3 {
  color: var(--bd-dark);
  font-family: inherit;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.bd-booking__header h2 {
  margin: 12px 0 6px;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.15;
}

.bd-step__heading p {
  margin: 0;
  color: var(--bd-muted);
}

.bd-booking__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 9px;
  margin: 0;
  color: var(--bd-primary-dark);
  font-size: 14px;
  line-height: 1.45;
}

.bd-booking__meta strong {
  font-weight: 750;
}

.bd-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.bd-progress li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #94a3b8;
  text-align: center;
}

.bd-progress li::before {
  position: absolute;
  z-index: 0;
  top: 15px;
  right: 50%;
  width: 100%;
  height: 2px;
  content: "";
  background: #e2e8f0;
  transform: translateX(-15px);
}

.bd-progress li:first-child::before {
  display: none;
}

.bd-progress span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  background: #eef2f6;
  border: 2px solid #eef2f6;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.bd-progress small {
  font-size: 11px;
  font-weight: 650;
}

.bd-progress li.is-active,
.bd-progress li.is-complete {
  color: var(--bd-dark);
}

.bd-progress li.is-active span {
  color: #fff;
  background: var(--bd-primary);
  border-color: var(--bd-primary);
  box-shadow: 0 0 0 5px rgba(70, 198, 124, 0.14);
}

.bd-progress li.is-complete span {
  color: #176b42;
  background: #e2f8eb;
  border-color: #b9eacb;
}

.bd-progress li.is-complete::before,
.bd-progress li.is-active::before {
  background: #b9eacb;
}

.bd-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
}

.bd-alert--error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.bd-step {
  animation: bd-fade-up 0.24s ease-out both;
}

.bd-step__heading {
  margin-bottom: 20px;
}

.bd-step__heading .bd-kicker {
  margin-bottom: 4px;
  color: var(--bd-primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bd-step__heading h3 {
  margin: 0 0 6px;
  outline: 0;
  font-size: clamp(22px, 3.5vw, 29px);
  line-height: 1.2;
}

.bd-label,
.bd-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--bd-dark);
  font-size: 13px;
  font-weight: 750;
}

.bd-field small {
  color: var(--bd-muted);
  font-weight: 500;
}

.bd-booking .bd-field input,
.bd-booking .bd-field select,
.bd-booking .bd-field textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px !important;
  color: var(--bd-dark) !important;
  background-color: var(--bd-white) !important;
  border: 1px solid var(--bd-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bd-field textarea {
  min-height: 92px;
  resize: vertical;
}

.bd-field input:focus,
.bd-field select:focus,
.bd-field textarea:focus,
.bd-plate-wrap:focus-within {
  border-color: var(--bd-primary);
  box-shadow: 0 0 0 4px rgba(70, 198, 124, 0.14);
}

.bd-field input.is-invalid,
.bd-field select.is-invalid,
.bd-field textarea.is-invalid {
  border-color: #ef4444;
}

.bd-grid {
  display: grid;
  gap: 15px;
}

.bd-grid--2,
.bd-grid--address {
  grid-template-columns: 1fr;
}

.bd-field--wide {
  grid-column: 1 / -1;
}

.bd-plate-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 7px;
}

.bd-plate-wrap {
  display: flex;
  min-width: 0;
  overflow: hidden;
  background: #f9c80e;
  border: 2px solid var(--bd-dark);
  border-radius: 12px;
  box-shadow: 0 3px 0 rgba(15, 23, 42, 0.18);
}

.bd-plate-nl {
  display: flex;
  width: 48px;
  flex: 0 0 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #164d9c;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.05;
}

.bd-plate-nl small {
  color: #ffdf43;
  font-size: 10px;
}

.bd-booking .bd-plate-wrap input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  height: 58px !important;
  padding: 8px 12px !important;
  color: #172033 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0;
  font-size: clamp(21px, 5vw, 28px);
  font-weight: 850;
  letter-spacing: 0.075em;
  text-align: center;
  text-transform: uppercase;
}

.bd-plate-wrap input::placeholder {
  color: rgba(23, 32, 51, 0.48);
}

.bd-booking button.bd-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px !important;
  cursor: pointer;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: normal !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: none !important;
  background-image: none !important;
  filter: none !important;
  text-shadow: none !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

#bd-boeking.bd-booking button.bd-button::before,
#bd-boeking.bd-booking button.bd-button::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

.bd-booking button.bd-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.bd-button:focus-visible,
.bd-text-button:focus-visible,
.bd-date-button:focus-visible,
.bd-time-button:focus-visible {
  outline: 3px solid rgba(70, 198, 124, 0.35);
  outline-offset: 2px;
}

.bd-booking button.bd-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

#bd-boeking.bd-booking button.bd-button--primary {
  color: #fff !important;
  background: var(--bd-primary) !important;
  background-color: var(--bd-primary) !important;
  background-image: none !important;
  border-color: var(--bd-primary) !important;
  box-shadow: 0 8px 18px rgba(36, 151, 90, 0.2) !important;
}

#bd-boeking.bd-booking button.bd-button--primary:hover:not(:disabled) {
  color: #fff !important;
  background: var(--bd-primary-dark) !important;
  background-color: var(--bd-primary-dark) !important;
  background-image: none !important;
  border-color: var(--bd-primary-dark) !important;
}

.bd-booking button.bd-button--secondary {
  color: var(--bd-dark) !important;
  background-color: #fff !important;
  border-color: var(--bd-border) !important;
  box-shadow: none !important;
}

#bd-boeking.bd-booking button.bd-button--outline {
  color: var(--bd-primary-dark) !important;
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  border-color: var(--bd-primary) !important;
  box-shadow: none !important;
}

#bd-boeking.bd-booking button.bd-button--outline:hover:not(:disabled) {
  color: #176b42 !important;
  background: #effcf4 !important;
  background-color: #effcf4 !important;
  background-image: none !important;
  border-color: var(--bd-primary-dark) !important;
}

.bd-manual-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  color: var(--bd-muted);
  font-size: 14px;
}

.bd-manual-choice .bd-button {
  min-height: 44px;
  padding: 9px 16px !important;
}

.bd-help {
  margin: 12px 0 0;
  color: var(--bd-muted);
  font-size: 13px;
}

.bd-booking button.bd-text-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline;
  min-height: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  color: var(--bd-primary-dark) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 750;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bd-loading {
  margin-top: 16px;
  color: var(--bd-muted);
  font-size: 14px;
}

.bd-loading span {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 7px;
  vertical-align: -3px;
  border: 2px solid #dbe4eb;
  border-top-color: var(--bd-primary);
  border-radius: 50%;
  animation: bd-spin 0.7s linear infinite;
}

.bd-manual,
.bd-vehicle-result,
.bd-price-card,
.bd-summary {
  margin-top: 18px;
  padding: 16px;
  background: var(--bd-soft);
  border: 1px solid var(--bd-border);
  border-radius: 16px;
}

.bd-manual__title {
  margin: 0 0 15px;
  color: var(--bd-dark);
}

.bd-manual__title span {
  color: var(--bd-muted);
  font-size: 13px;
}

.bd-vehicle-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bd-vehicle-result strong {
  color: var(--bd-dark);
}

.bd-vehicle-result span,
.bd-vehicle-result small {
  color: var(--bd-muted);
}

.bd-vehicle-result--success {
  background: #effcf4;
  border-color: #b9eacb;
}

.bd-vehicle-result--warning {
  color: var(--bd-warning);
  background: #fffbeb;
  border-color: #fde68a;
}

.bd-price-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}

.bd-price-card div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bd-price-card span {
  color: var(--bd-muted);
  font-size: 13px;
}

.bd-price-card b {
  color: var(--bd-dark);
  font-size: 17px;
}

.bd-price-card--inside {
  background: #effcf4;
  border-color: #b9eacb;
}

.bd-price-card--outside {
  background: #fffbeb;
  border-color: #fde68a;
}

.bd-date-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-height: 280px;
  padding: 3px;
  overflow-y: auto;
}

.bd-booking button.bd-date-button,
.bd-booking button.bd-time-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  min-height: 58px;
  padding: 10px 12px !important;
  cursor: pointer;
  color: var(--bd-dark) !important;
  background: #fff !important;
  border: 1px solid var(--bd-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  font-family: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  font-weight: 750;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.bd-date-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.bd-date-button small {
  color: var(--bd-muted);
  font-size: 11px;
  font-weight: 550;
}

.bd-booking button.bd-date-button:hover,
.bd-booking button.bd-time-button:hover,
.bd-booking button.bd-date-button.is-selected,
.bd-booking button.bd-time-button.is-selected {
  background: #effcf4 !important;
  border-color: var(--bd-primary) !important;
}

.bd-booking button.bd-date-button.is-selected,
.bd-booking button.bd-time-button.is-selected {
  box-shadow: 0 0 0 3px rgba(70, 198, 124, 0.12) !important;
}

.bd-time-section {
  margin-top: 22px;
}

.bd-time-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 7px;
}

.bd-booking button.bd-show-more-times {
  display: block;
  margin: 13px auto 0;
  padding: 4px 2px !important;
  cursor: pointer;
  color: var(--bd-primary-dark) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bd-booking button.bd-show-more-times:hover,
.bd-booking button.bd-show-more-times:focus {
  color: #176b42 !important;
  background: transparent !important;
}

.bd-empty {
  grid-column: 1 / -1;
  padding: 18px;
  color: var(--bd-muted);
  background: var(--bd-soft);
  border-radius: 12px;
  text-align: center;
}

.bd-summary {
  margin-top: 0;
  margin-bottom: 20px;
}

.bd-summary h4 {
  margin: 0 0 9px;
  color: var(--bd-dark);
  font-size: 16px;
}

.bd-summary > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
}

.bd-summary span {
  color: var(--bd-muted);
}

.bd-summary strong {
  color: var(--bd-dark);
  font-weight: 650;
}

.bd-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  margin-top: 18px;
  color: var(--bd-text);
  font-size: 13px;
  cursor: pointer;
}

.bd-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--bd-primary);
}

.bd-check a {
  color: var(--bd-primary-dark);
}

.bd-secure-note {
  margin: 16px 0 0;
  color: var(--bd-muted);
  font-size: 12px;
  text-align: center;
}

.bd-step__actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  margin-top: 24px;
}

.bd-step__actions--end {
  justify-content: flex-end;
}

.bd-success {
  padding: 20px 0 8px;
  text-align: center;
  animation: bd-fade-up 0.28s ease-out both;
}

.bd-success__icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  place-items: center;
  color: #fff;
  background: var(--bd-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(70, 198, 124, 0.12);
  font-size: 31px;
  font-weight: 800;
}

.bd-success h3 {
  margin: 0 0 8px;
  outline: 0;
  font-size: 27px;
}

.bd-success p {
  margin: 7px auto;
  max-width: 560px;
}

.bd-success__reference {
  color: var(--bd-muted);
  font-size: 14px;
}

.bd-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

@media (min-width: 640px) {
  .bd-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bd-grid--address {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 0.45fr);
  }

  .bd-plate-row {
    grid-template-columns: minmax(0, 1.25fr) minmax(190px, 0.75fr);
  }

  .bd-date-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bd-price-card {
    flex-direction: row;
    align-items: center;
  }

  .bd-step__actions {
    flex-direction: row;
    justify-content: space-between;
  }

  .bd-step__actions .bd-button {
    min-width: 185px;
  }
}

@media (max-width: 420px) {
  .bd-booking {
    padding: 19px 16px;
    border-radius: 18px;
  }

  .bd-booking__meta {
    gap: 2px 7px;
    font-size: 12px;
  }

  .bd-progress small {
    display: none;
  }

  .bd-progress li::before {
    top: 15px;
  }

  .bd-time-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .bd-booking *,
  .bd-booking *::before,
  .bd-booking *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes bd-spin {
  to { transform: rotate(360deg); }
}

@keyframes bd-fade-up {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
