/* ============================================================
   TEMPLATE: REGISTRATIE
   Evenement/registratie stijl, twee-kolom layout (afbeelding links)
   Gebaseerd op: Event Registration design (PDF p3)
   ============================================================ */

.ff-template-registratie .ff-body,
.ff-body.ff-template-registratie {
  background: #faf5ef;
  padding: 40px 20px;
}

/* === TWEE-KOLOM LAYOUT op desktop === */
.ff-template-registratie .ff-form-wrapper {
  background: #fff;
  border-radius: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  max-width: 960px;
  display: flex;
  flex-direction: row;
}

/* Afbeelding als zijpaneel (links) */
.ff-template-registratie .ff-header-image-wrapper {
  flex: 0 0 38%;
  max-height: none;
  min-height: 100%;
  position: relative;
}

.ff-template-registratie .ff-header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Lichte overlay aan de rechterkant voor zachte overgang */
.ff-template-registratie .ff-header-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to left, rgba(255,255,255,0.6), transparent);
}

/* Content rechts */
.ff-template-registratie .ff-content {
  flex: 1;
  min-width: 0;
}

/* Header tekst */
.ff-template-registratie .ff-header {
  padding: 32px 36px 0;
}

.ff-template-registratie .ff-title {
  color: #78350f;
  font-size: 28px;
  font-weight: 700;
}

.ff-template-registratie .ff-description {
  color: #92400e;
  font-size: 15px;
  font-style: italic;
}

/* Velden */
.ff-template-registratie .ff-label {
  color: #78350f;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 12px;
}

.ff-template-registratie .ff-input,
.ff-template-registratie .ff-textarea,
.ff-template-registratie .ff-select {
  border: 1px solid #e8d5b7;
  border-radius: 2px;
  background: #fffdf9;
  padding: 12px 14px;
}

.ff-template-registratie .ff-input:focus,
.ff-template-registratie .ff-textarea:focus,
.ff-template-registratie .ff-select:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217,119,6,0.1);
  background: #fff;
}

/* Opties */
.ff-template-registratie .ff-option {
  border: 1px solid #e8d5b7;
  border-radius: 2px;
  background: #fffdf9;
}

.ff-template-registratie .ff-option:hover {
  background: #fef3c7;
  border-color: #d97706;
}

.ff-template-registratie .ff-option input {
  accent-color: #d97706;
}

/* Veld scheiding */
.ff-template-registratie .ff-field {
  padding-bottom: 20px;
  border-bottom: 1px solid #f3e8d5;
  margin-bottom: 20px;
}

.ff-template-registratie .ff-field:last-child {
  border-bottom: none;
}

/* Submit knop */
.ff-template-registratie .ff-submit {
  background: #d97706;
  border-radius: 2px;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 24px;
}

.ff-template-registratie .ff-submit:hover {
  background: #b45309;
}

/* Bedankt pagina */
.ff-template-registratie .ff-checkmark {
  color: #d97706;
}

/* === RESPONSIVE: gestapeld op mobiel === */
@media (max-width: 768px) {
  .ff-template-registratie .ff-form-wrapper {
    flex-direction: column;
    max-width: 640px;
  }

  .ff-template-registratie .ff-header-image-wrapper {
    flex: none;
    min-height: auto;
    max-height: 220px;
    position: relative;
  }

  .ff-template-registratie .ff-header-image {
    position: static;
    height: auto;
    max-height: 220px;
  }

  .ff-template-registratie .ff-header-image-wrapper::after {
    width: auto;
    height: 40px;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(255,255,255,0.8));
  }

  .ff-template-registratie .ff-title {
    font-size: 24px;
  }
}

/* Zonder afbeelding: gewoon single column */
.ff-template-registratie .ff-form-wrapper:not(:has(.ff-header-image-wrapper)) {
  max-width: 640px;
  display: block;
}
