.bkbm-wrap {
  --bkbm-font-size: 18px;
  --bkbm-primary: #0a3b78;
  --bkbm-primary-dark: #062b59;
  --bkbm-border: #d9e1eb;
  --bkbm-muted: #657285;
  --bkbm-bg: #f7f9fc;
  --bkbm-danger: #b42318;
  --bkbm-success: #157347;
  max-width: 980px;
  margin: 32px auto;
  font-size: var(--bkbm-font-size);
  line-height: 1.5;
}

.bkbm-wrap *,
.bkbm-wrap *::before,
.bkbm-wrap *::after { box-sizing: border-box; }

.bkbm-booking-form,
.bkbm-lookup-card,
.bkbm-success {
  background: #fff;
  border: 1px solid var(--bkbm-border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(18, 38, 63, .08);
}

.bkbm-lookup-card,
.bkbm-success { padding: 26px; margin-bottom: 24px; }
.bkbm-booking-form { padding: 28px; }

.bkbm-wrap h2,
.bkbm-wrap h3 { margin-top: 0; color: #142033; }
.bkbm-wrap h2 { font-size: 1.45em; }
.bkbm-wrap h3 { font-size: 1.2em; }

.bkbm-section { padding: 24px 0; border-bottom: 1px solid #e7ebf1; }
.bkbm-section:first-of-type { padding-top: 0; }
.bkbm-section:last-of-type { border-bottom: 0; }

.bkbm-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.bkbm-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border-radius: 8px;
  background: #eef2f7;
  color: var(--bkbm-muted);
  font-size: .88em;
  font-weight: 700;
}
.bkbm-steps li span {
  display: inline-flex;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #cbd5e1;
}
.bkbm-steps li.is-active { background: #e8f1ff; color: var(--bkbm-primary); }
.bkbm-steps li.is-active span { border-color: var(--bkbm-primary); }
.bkbm-steps li.is-complete { background: #ecfdf3; color: var(--bkbm-success); }
.bkbm-steps li.is-complete span { border-color: var(--bkbm-success); }
.bkbm-step-panel[hidden] { display: none !important; }
[data-service-exclude][hidden] { display: none !important; }
.bkbm-step-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 24px; }
.bkbm-step-actions-end { justify-content: flex-end; }

.bkbm-grid { display: grid; gap: 18px; }
.bkbm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bkbm-span-2 { grid-column: 1 / -1; }
.bkbm-inline-row { display: flex; gap: 14px; align-items: end; }
.bkbm-grow { flex: 1; }

.bkbm-wrap label { display: block; font-weight: 600; color: #26364c; }
.bkbm-field-help { display: block; margin-top: 5px; color: var(--bkbm-muted); font-size: .84em; font-weight: 400; }
.bkbm-wrap input,
.bkbm-wrap select,
.bkbm-wrap textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #f8fafc;
  color: #172033;
  font: inherit;
  font-weight: 400;
  min-height: 48px;
}
.bkbm-wrap textarea { min-height: 110px; resize: vertical; }
.bkbm-conditional-question {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--bkbm-border);
  border-radius: 9px;
  background: var(--bkbm-bg);
}
.bkbm-conditional-question legend { padding: 0 6px; color: #26364c; font-weight: 700; }
.bkbm-radio-options { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 4px; }
.bkbm-radio-options label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.bkbm-radio-options input[type="radio"] { width: auto; min-height: 0; margin: 0; padding: 0; }
.bkbm-conditional-details { margin-top: 16px; }
.bkbm-conditional-details[hidden] { display: none !important; }
.bkbm-wrap input:focus,
.bkbm-wrap select:focus,
.bkbm-wrap textarea:focus {
  outline: 3px solid rgba(10, 59, 120, .14);
  border-color: var(--bkbm-primary);
  background: #fff;
}

.bkbm-required { color: #d92d20; }
.bkbm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border: 0;
  border-radius: 7px;
  background: var(--bkbm-primary);
  color: #fff !important;
  text-decoration: none !important;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.bkbm-button:hover { background: var(--bkbm-primary-dark); transform: translateY(-1px); }
.bkbm-button:disabled { opacity: .6; cursor: wait; transform: none; }
.bkbm-secondary { background: #31445f; }
.bkbm-submit { margin-top: 22px; }

.bkbm-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  border-left: 5px solid #667085;
  background: #f2f4f7;
}
.bkbm-notice-success { border-color: var(--bkbm-success); background: #ecfdf3; color: #05603a; }
.bkbm-notice-error { border-color: var(--bkbm-danger); background: #fef3f2; color: #912018; }
.bkbm-notice-info { border-color: var(--bkbm-primary); background: #eff6ff; color: #123c69; }

.bkbm-otp-area { margin-top: 16px; }
.bkbm-pet-selector { margin-bottom: 22px; padding: 18px; background: var(--bkbm-bg); border: 1px solid var(--bkbm-border); border-radius: 9px; }
.bkbm-pet-selector-title { margin: 0 0 12px; font-weight: 700; color: #26364c; }
.bkbm-pet-selector-help { margin: 10px 0 0; color: var(--bkbm-muted); font-size: .88em; }
.bkbm-consent { margin-top: 24px; padding: 16px; background: var(--bkbm-bg); border-radius: 8px; }
.bkbm-consent label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.bkbm-consent input { width: auto; min-height: 0; margin-top: 5px; }
.bkbm-success { text-align: center; padding: 42px 26px; }
.bkbm-email-status { color: var(--bkbm-muted); }

@media (max-width: 720px) {
  .bkbm-wrap { margin: 18px auto; }
  .bkbm-booking-form { padding: 20px; }
  .bkbm-grid-2 { grid-template-columns: 1fr; }
  .bkbm-span-2 { grid-column: auto; }
  .bkbm-inline-row { display: grid; align-items: stretch; }
  .bkbm-button { width: 100%; }
  .bkbm-steps { gap: 6px; }
  .bkbm-steps li { display: grid; justify-items: center; padding: 9px 5px; text-align: center; font-size: .72em; }
  .bkbm-step-actions { display: grid; }
}
