/* ── Solex Booking Form ── */
:root { --oranje: #d65828; --donker: #373438; --licht: #f5f0ee; }

#solex-wrap { max-width: 680px; margin: 0 auto; font-family: inherit; }

/* Blokken */
.solex-blok { margin-bottom: 28px; }
.solex-blok-titel {
  font-size: 1rem; font-weight: 800; color: var(--donker);
  margin: 0 0 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--oranje);
}

/* Rijen & velden */
.solex-rij { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.solex-veld { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 5px; }
.solex-veld label { font-weight: 700; font-size: .88rem; color: var(--donker); }
.solex-veld input,
.solex-veld select,
.solex-veld textarea {
  border: 2px solid #ddd; border-radius: 6px;
  font-size: 1rem; font-family: inherit; box-sizing: border-box; width: 100%;
  transition: border-color .15s;
}
/* Los van input/textarea: de 10px/12px padding hierboven zorgde bij <select> voor afgekapte
   tekst (native select-rendering verschilt per browser). Select houdt daarom zijn standaard
   padding aan; input/textarea behouden de bewust ingestelde padding. */
.solex-veld input,
.solex-veld textarea {
  padding: 10px 12px;
}
.solex-veld input:focus,
.solex-veld select:focus,
.solex-veld textarea:focus { outline: none; border-color: var(--oranje); }
.solex-veld-full { flex: 1 1 100%; }

/* Aantal */
.solex-rij--qty { align-items: center; }
.solex-qty-veld  { flex: 0 0 auto; min-width: auto; }
.solex-qty { display: flex; align-items: center; gap: 14px; }
.solex-qty-knop {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--oranje); background: #fff; color: var(--oranje);
  font-size: 1.4rem; font-weight: 700; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
  /* browsers geven <button> standaard eigen padding + content-box; zonder deze twee regels
     telt die padding op bij de 36x36px en wordt de knop een ovaal i.p.v. een cirkel */
  box-sizing: border-box; padding: 0;
}
.solex-qty-knop:hover { background: var(--oranje); color: #fff; }
#s-qty-num { font-size: 1.5rem; font-weight: 800; color: var(--donker); min-width: 24px; text-align: center; }
.solex-prijs-box { margin-left: auto; text-align: right; }
.solex-prijs-label { display: block; font-size: .8rem; color: #777; }
.solex-prijs-bedrag { font-size: 2rem; font-weight: 800; color: var(--oranje); line-height: 1.1; }

/* Tijdslots */
.solex-slots-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.solex-slot {
  background: #fff; border: 2px solid var(--oranje); border-radius: 8px;
  padding: 10px 16px; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; gap: 3px; transition: all .12s;
}
.solex-slot:hover:not([disabled]) { background: var(--oranje); color: #fff; }
.solex-slot-gekozen { background: var(--oranje) !important; color: #fff !important; }
.solex-slot-vol { opacity: .38; border-color: #bbb; cursor: not-allowed; }
.solex-slot-tijd { font-weight: 700; font-size: .92rem; }
.solex-slot-info { font-size: .75rem; opacity: .8; }
.solex-hint { color: #888; font-style: italic; margin: 0; }
.solex-laden { opacity: .6; }
.solex-fout-inline { color: #c00; }

/* Overzicht */
.solex-overzicht {
  background: var(--licht); border: 2px solid var(--oranje);
  border-radius: 8px; padding: 18px 22px; margin-bottom: 24px;
}
.solex-ovr-rij {
  display: flex; justify-content: space-between;
  padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,.08);
}
.solex-ovr-rij:last-child { border-bottom: none; }
.solex-ovr-prijs { padding-top: 10px; }
.solex-ovr-prijs strong { font-size: 1.25rem; color: var(--oranje); }

/* Footer */
.solex-footer { margin-top: 8px; }
.solex-fout {
  background: #fee; border: 2px solid #c00; border-radius: 6px;
  padding: 12px 16px; color: #c00; margin-bottom: 16px;
}
.solex-submit-knop {
  display: block; width: 100%; padding: 15px;
  background: var(--oranje); color: #fff; border: none; border-radius: 6px;
  font-size: 1.05rem; font-weight: 800; cursor: pointer; letter-spacing: .4px;
  transition: background .15s;
}
.solex-submit-knop:hover { background: #b84a20; }
.solex-submit-knop:disabled { opacity: .45; cursor: not-allowed; }
.solex-betaal-info { text-align: center; color: #777; font-size: .83rem; margin-top: 10px; }

/* Loader */
.solex-loader { text-align: center; padding: 48px 0; color: #555; }
.solex-spinner {
  display: inline-block; width: 44px; height: 44px; margin-bottom: 14px;
  border: 4px solid #f0e0d8; border-top-color: var(--oranje);
  border-radius: 50%; animation: solexSpin .75s linear infinite;
}
@keyframes solexSpin { to { transform: rotate(360deg); } }

/* Bevestiging */
.solex-bevestiging { max-width: 580px; margin: 0 auto; text-align: center; padding: 32px 16px; }
.solex-bev-icon {
  width: 72px; height: 72px; background: var(--oranje); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #fff; margin: 0 auto 20px;
}
.solex-bevestiging h2 { color: var(--donker); margin-bottom: 10px; }
.solex-bev-details {
  background: var(--licht); border-radius: 8px; padding: 18px 22px;
  margin: 22px 0; text-align: left;
}
.solex-bev-rij {
  display: flex; justify-content: space-between;
  padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,.08);
}
.solex-bev-rij:last-child { border-bottom: none; }
.solex-bev-info { color: #555; font-size: .88rem; line-height: 1.6; }
.solex-bev-link {
  display: inline-block; margin-top: 16px; color: var(--oranje);
  font-weight: 700; text-decoration: none; font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 600px) {
  .solex-rij { flex-direction: column; }
  .solex-prijs-box { margin-left: 0; text-align: left; }
  .solex-rij--qty { gap: 10px; }
  .solex-slots-grid { gap: 8px; }
  .solex-slot { padding: 9px 12px; }
}
