/* ================================================================
   OFFERTE FORMULIER — Kuiper Touringcars / Eventliner Tours
   Professioneel 2-staps formulier met 3 tabbladen
   ================================================================ */

/* ----------------------------------------------------------------
   OFFERTE CARD WRAPPER
   ---------------------------------------------------------------- */
.offerte-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), 0 4px 16px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}

/* ----------------------------------------------------------------
   CARD HEADER
   ---------------------------------------------------------------- */
.offerte-card__header {
  background: #0e6e6e;
  padding: 14px 20px 12px;
}

.offerte-card__header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.offerte-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.offerte-card__icon svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.offerte-card__header-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
  line-height: 1.2;
}

.offerte-card__header-text p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.offerte-card__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.offerte-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.offerte-card__badge svg {
  width: 12px;
  height: 12px;
  fill: #ffffff;
}

/* ----------------------------------------------------------------
   TABBLADEN
   ---------------------------------------------------------------- */
.offerte-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.offerte-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 6px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  transition: all 0.2s ease;
  line-height: 1.2;
  text-align: center;
}

.offerte-tab svg {
  width: 18px;
  height: 18px;
  fill: #94a3b8;
  transition: fill 0.2s ease;
}

.offerte-tab:hover {
  color: #0e6e6e;
  background: rgba(14,110,110,0.04);
}

.offerte-tab:hover svg {
  fill: #0e6e6e;
}

.offerte-tab.active {
  color: #0e6e6e;
  background: #ffffff;
  border-bottom-color: #0e6e6e;
  font-weight: 700;
}

.offerte-tab.active svg {
  fill: #0e6e6e;
}

/* ----------------------------------------------------------------
   PANELS
   ---------------------------------------------------------------- */
.offerte-panel {
  display: none;
}

.offerte-panel.active {
  display: block;
}

/* ----------------------------------------------------------------
   WIZARD (stap-indicator)
   ---------------------------------------------------------------- */
.form-wizard {
  display: flex;
  align-items: center;
  padding: 10px 20px 0;
  gap: 0;
}

.wizard-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.wizard-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.wizard-step__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.wizard-step.active .wizard-step__num {
  background: #0e6e6e;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(14,110,110,0.15);
}

.wizard-step.active .wizard-step__label {
  color: #0e6e6e;
}

.wizard-step.done .wizard-step__num {
  background: #0e6e6e;
  color: #ffffff;
}

.wizard-step.done .wizard-step__label {
  color: #0e6e6e;
}

.wizard-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 8px;
  border-radius: 2px;
  transition: background 0.25s ease;
  position: relative;
  top: -8px;
}

.wizard-line.done {
  background: #0e6e6e;
}

/* ----------------------------------------------------------------
   FORMULIER STAPPEN
   ---------------------------------------------------------------- */
.form-stap {
  display: none;
}

.form-stap.active {
  display: block;
  animation: fadeSlideIn 0.2s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.form-stap__body {
  padding: 12px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ----------------------------------------------------------------
   SECTIE-LABELS
   ---------------------------------------------------------------- */
.form-sectie {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0e6e6e;
  padding: 6px 0 2px;
  border-bottom: 1px solid #e8f5ed;
  margin-top: 4px;
}

/* ----------------------------------------------------------------
   VELD RIJEN
   ---------------------------------------------------------------- */
.veld-rij {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.veld-rij--full {
  grid-template-columns: 1fr;
}

/* ----------------------------------------------------------------
   INDIVIDUELE VELDEN
   ---------------------------------------------------------------- */
.veld {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.veld label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
}

.req {
  color: #e53e3e;
}

.veld input,
.veld select,
.veld textarea {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.veld input:focus,
.veld select:focus,
.veld textarea:focus {
  border-color: #0e6e6e;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(14,110,110,0.12);
}

.veld input.error,
.veld select.error,
.veld textarea.error {
  border-color: #e53e3e;
  background: #fff5f5;
}

.veld textarea {
  resize: vertical;
  min-height: 72px;
}

.veld input[type="number"] {
  max-width: 160px;
}

/* Personen veld — breed */
.veld--personen {
  max-width: 100%;
}

.veld--personen input {
  max-width: 160px;
}

/* Checkbox */
.veld--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
}

.veld--check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  accent-color: #0e6e6e;
  cursor: pointer;
}

.veld--check label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  line-height: 1.4;
}

.veld--check label a {
  color: #0e6e6e;
  text-decoration: underline;
}

/* Foutmelding */
.veld-error {
  font-size: 0.7rem;
  color: #e53e3e;
  margin-top: 2px;
  display: none;
}

.veld-error.zichtbaar {
  display: block;
}

/* ----------------------------------------------------------------
   FOOTER (knoppen)
   ---------------------------------------------------------------- */
.form-stap__footer {
  padding: 10px 20px 16px;
  display: flex;
  justify-content: flex-end;
}

.form-stap__footer--split {
  justify-content: space-between;
  align-items: center;
}

.btn-volgende,
.btn-verzenden {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0e6e6e;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.btn-volgende svg,
.btn-verzenden svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.btn-volgende:hover,
.btn-verzenden:hover {
  background: #0a5555;
  box-shadow: 0 4px 16px rgba(14,110,110,0.35);
  transform: translateY(-1px);
}

.btn-volgende:active,
.btn-verzenden:active {
  transform: translateY(0);
}

.btn-terug {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-terug svg {
  width: 15px;
  height: 15px;
  fill: #94a3b8;
}

.btn-terug:hover {
  border-color: #94a3b8;
  color: #334155;
}

/* ----------------------------------------------------------------
   PRIVACY FOOTER
   ---------------------------------------------------------------- */
.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 20px 12px;
  font-size: 0.7rem;
  color: #94a3b8;
}

.form-privacy svg {
  width: 12px;
  height: 12px;
  fill: #94a3b8;
}

/* ----------------------------------------------------------------
   SUCCES STATE
   ---------------------------------------------------------------- */
.form-succes {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  animation: fadeSlideIn 0.3s ease;
}

.form-succes.zichtbaar {
  display: flex;
}

.form-succes__cirkel {
  width: 64px;
  height: 64px;
  background: #e8f5ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.form-succes__cirkel svg {
  width: 32px;
  height: 32px;
  fill: #0e6e6e;
}

.form-succes h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
}

.form-succes p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  max-width: 260px;
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .offerte-tab {
    font-size: 0.72rem;
    padding: 10px 8px;
  }

  .offerte-tab svg {
    width: 16px;
    height: 16px;
  }

  .offerte-card__header-top {
    gap: 10px;
  }

  .offerte-card__header-text h3 {
    font-size: 1rem;
  }

  .offerte-card__header-text p {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .offerte-card {
    border-radius: 12px;
  }

  .offerte-tab {
    font-size: 0.65rem;
    padding: 10px 4px;
  }

  .offerte-tab svg {
    width: 16px;
    height: 16px;
  }

  .form-stap__body {
    padding: 12px 16px 0;
  }

  .form-stap__footer {
    padding: 12px 16px 16px;
  }

  .form-privacy {
    padding: 0 16px 14px;
  }

  .veld-rij {
    grid-template-columns: 1fr;
  }

  .form-wizard {
    padding: 12px 16px 0;
  }
}

/* ----------------------------------------------------------------
   3-STAPS WIZARD VARIANT
   ---------------------------------------------------------------- */
.form-wizard--3 {
  display: flex;
  align-items: center;
  padding: 10px 16px 0;
  gap: 0;
}

.form-wizard--3 .wizard-step {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-wizard--3 .wizard-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 6px;
  border-radius: 2px;
  position: relative;
  top: -8px;
  transition: background 0.25s ease;
}

.form-wizard--3 .wizard-line.done {
  background: #0e6e6e;
}

.form-wizard--3 .wizard-step__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.form-wizard--3 .wizard-step.active .wizard-step__label {
  color: #0e6e6e;
}

.form-wizard--3 .wizard-step.done .wizard-step__label {
  color: #0e6e6e;
}

/* ----------------------------------------------------------------
   FORM FEEDBACK + LOADING
   ---------------------------------------------------------------- */
.form-feedback {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .85rem;
  line-height: 1.4;
  margin: 8px 16px;
}
.form-feedback--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.form-feedback--success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: oms-spin .6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes oms-spin {
  to { transform: rotate(360deg); }
}
