/* ============================================================
   Keuze-opties op de boekingspagina (huurperiode, acties,
   box-alarm, verzekering, voorwaarden).

   Eén opzet voor alle checkout-templates (v1 t/m v6). De
   controls zijn volledig zelf getekend: native radio's en
   checkboxen renderen per browser anders en vervormen zodra
   een thema er een border of afmeting op zet.
   ============================================================ */

.bp-choice {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  width: 100%;
  margin: 0 0 .5rem;
  padding: .85rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: .65rem;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.bp-choice:hover {
  border-color: #cbd5e1;
  background: #f9fafb;
}

.bp-choice--selected {
  border-color: var(--accent-color, #1e85ff);
  box-shadow: inset 0 0 0 1px var(--accent-color, #1e85ff);
  background: #fff;
}

.bp-choice--disabled {
  cursor: not-allowed;
  opacity: .55;
}

.bp-choice--disabled:hover {
  border-color: #e5e7eb;
  background: #fff;
}

.bp-choice__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.bp-choice__label {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
}

.bp-choice__price {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.45;
  margin-top: .1rem;
}

.bp-choice__note {
  font-size: .9375rem;
  color: #6b7280;
  line-height: 1.45;
  margin-top: .2rem;
}

.bp-choice__promo {
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  margin-top: .45rem;
  padding: .25rem .65rem;
  border-radius: .5rem;
  background: rgba(25, 135, 84, .1);
  color: #15803d;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.bp-choice__strike {
  color: #9ca3af;
}

.bp-choice__deal {
  color: #15803d;
  font-weight: 700;
  margin-left: .45rem;
}

/* De control zelf: rond voor radio, vierkant voor checkbox */
.bp-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin: 2px 0 0;
  padding: 0;
  border: 2px solid #c4cbd6;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.bp-control[type="checkbox"] {
  border-radius: .35rem;
}

.bp-control:hover:not(:disabled) {
  border-color: #94a3b8;
}

.bp-control:checked {
  border-color: var(--accent-color, #1e85ff);
  background: var(--accent-color, #1e85ff);
}

.bp-control[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
}

.bp-control[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.bp-control:focus-visible {
  outline: 2px solid var(--accent-color, #1e85ff);
  outline-offset: 2px;
}

.bp-control:disabled {
  background: #eef1f4;
  border-color: #dde2e8;
  cursor: not-allowed;
}

.bp-control:disabled:checked {
  background: #aeb6c2;
  border-color: #aeb6c2;
}
