/* Wrapper voor het hele formulier (optioneel, voor scoping) */
.cf7-floating-form {
  width: 100%;
}

/* Groep per veld */
.cf7-floating-group {
  position: relative;
  margin-bottom: 16px;
}

/* Inputs en textarea basis-styling */
.cf7-floating-input,
.cf7-floating-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--light-color) !important;
  border: 1px solid var(--light-color) !important;
  border-radius: 4px;
  padding: 20px 16px 12px !important; /* hier hou ik rekening mee in het label */
  font: inherit;
  color: inherit;
  outline: none;
  line-height:1 !important;
}

.cf7-floating-input.wpcf7-not-valid,
.cf7-floating-textarea.wpcf7-not-valid {
  border:1px solid #dc3232 !important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border:1px solid var(--secondary-color);
  border-radius: 4px;
  padding:12px 16px;  
  background-color: var(--light-color);
  color: #dc3232;
}

.wpcf7 form.sent .wpcf7-response-output {
  border:1px solid var(--secondary-color);
  border-radius: 4px;
  padding:12px 16px;  
  color: var(--text-color)
  background-color: var(--light-color);
}

/* Textarea iets hoger maken */
.cf7-floating-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Focus-styling (optioneel) */
.cf7-floating-input:focus,
.cf7-floating-textarea:focus {
  border-color: var(--primary-color);
}

/* Floating label zelf (basispositie: midden van het veld) */
.cf7-floating-label {
  position: absolute;
  left: 16px;               /* zelfde horizontale padding als het veld */
  top: 20px;                /* midden van de hoogte van het veld */
  /*transform: translateY(-50%);*/  
  color: var(--text-color);
  line-height: 1;
  pointer-events: none;
  transition: all 0.15s ease;
  background: transparent;
}

/* Actieve / gevulde state: label omhoog en kleiner */
.cf7-floating-group.is-focused .cf7-floating-label,
.cf7-floating-group.has-value .cf7-floating-label {
  top: 6px;
  transform: translateY(0);
  font-size: 12px;
  color: var(--text-color);
  background-color: transparent; /* optioneel: klein “labelplaatje” bovenin */  
}

/* Submit wrapper (optioneel) */
.cf7-submit-wrapper {
  margin-top: 16px;
}

.wpcf7-not-valid-tip {
text-align:left;	
}


