/* Basis layout in modals of pagina */
.gform_wrapper { font-size: 1rem; }

/* Verberg GF top error, we gebruiken inline invalid-feedback */
.gform_wrapper .validation_error { display: none; }

/* Standaard marges per veld */
.gform_wrapper .gfield { margin-bottom: 1rem; }

/* Inputs/selects naar appHoreca look */
.gform_wrapper .form-control,
.gform_wrapper .form-select {
  border-radius: .75rem;
}

/* Focus ring in appHoreca kleur (gebruikt jouw CSS vars) */
.gform_wrapper .form-control:focus,
.gform_wrapper .form-select:focus {
  box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb, 0,22,46), .15);
  border-color: rgb(var(--bs-primary-rgb, 0,22,46));
}

/* Validatie */
.gform_wrapper .is-invalid { border-color: #dc3545; }
.gform_wrapper .invalid-feedback {
  color: #dc3545;
  font-size: .9rem;
  margin-top: .25rem;
}

/* Radios/Checkboxes */
.gform_wrapper .form-check { margin-bottom: .25rem; }
.gform_wrapper .gfield.gfield--type-consent .form-check { margin-top: .25rem; }

/* Submit */
.gform_wrapper .gform_footer { margin-top: .5rem; }
.gform_wrapper .gform_ajax_spinner { margin-left: .5rem; }

/* Floating: label zichtbaar bij prefilled waarden */
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label { opacity: .85; }