/*
Theme Name: Floreda
Theme URI:  https://floreda.nl/
Author:     Klok Media
Author URI: https://www.klokmedia.nl/
Template:   Divi
Version:    1.0
License:    GNU General Public License v2 or later
*/

/* ========== Floréda CF7 Form Styling ========== */
.floreda-form {
  max-width: 100%;
}

/* Reset / basis */
.floreda-form .floreda-field label {
  display: block;
  margin: 0 0 8px;
  font-weight: 600;
}

/* Grid rows */
.floreda-form .floreda-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.floreda-form .floreda-row--1 { grid-template-columns: 1fr; }
.floreda-form .floreda-row--2 { grid-template-columns: repeat(2, 1fr); }
.floreda-form .floreda-row--3 { grid-template-columns: repeat(3, 1fr); }

/* Inputs */
.floreda-form input[type="text"],
.floreda-form input[type="email"],
.floreda-form input[type="tel"],
.floreda-form input[type="url"],
.floreda-form textarea,
.floreda-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px;
  border: 1px solid rgba(10, 59, 81, 0.25);
  border-radius: 10px;
  background: #e2f6f6;
  color: #0A3B51;
  outline: none;
}

/* Focus state */
.floreda-form input:focus,
.floreda-form textarea:focus,
.floreda-form select:focus {
  border-color: #68AAAB;
  box-shadow: 0 0 0 3px rgba(104, 170, 171, 0.25);
}

/* Radio styling spacing */
.floreda-form .wpcf7-list-item {
  margin: 0 14px 10px 0;
}
.floreda-form .wpcf7-list-item-label {
  margin-left: 6px;
}

.floreda-label {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 700;
	color:white;
	font-size: clamp(14px, 0.7vw + 7px, 17px);
}

.floreda-form .floreda-field label{
	margin: 0 0 2px;
}

/* Validation */
.floreda-form .wpcf7-not-valid-tip {
  font-size: 13px;
  margin-top: 6px;
}
.floreda-form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 14px;
  border-radius: 10px;
}

/* Radio buttons onder elkaar */
.floreda-form .wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.floreda-form .wpcf7-list-item {
  margin: 0;
	color:white;
}

/* Submit button */
.floreda-form .floreda-submit,
.floreda-form input[type="submit"] {
  display: inline-block;
  width: auto;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: #F6B294;
  color: #052330;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.floreda-form .floreda-submit:hover,
.floreda-form input[type="submit"]:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 767px) {
  .floreda-form .floreda-row--2,
  .floreda-form .floreda-row--3 {
    grid-template-columns: 1fr;
  }
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  background-color: #46b450;
  color: white;
  border-radius: 10px;
}