/*
Theme Name: mcdbase
Author: Mprins Creative Design
Version: 1.0
*/

/* ----------------------------- */
/* Form fields */
/* ----------------------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  background: #fff;
  color: #111;
  font-size: 1rem;
  outline: none;
  line-height: 1.4;
  border: 0;
  border-bottom: 3px solid #2221;
  margin-bottom: 10px;
  box-sizing: border-box;
}

/* ----------------------------- */
/* Contact Form 7 validation */
/* ----------------------------- */

.wpcf7 form:not(.invalid) .wpcf7-not-valid-tip {
  display: none;
}

.wpcf7 form.invalid .wpcf7-not-valid-tip {
  display: inline-flex;
}

.wpcf7-not-valid-tip {
  font-size: 15px;
  background: rgb(251 77 0 / 20%);
  color: #350e03;
  display: inline-flex;
  padding: 10px;
  margin-bottom: 20px;
}

/* ----------------------------- */
/* Radio buttons / checkboxes als knoppen */
/* ----------------------------- */

.wpcf7-list-item {
  margin: 20px 15px 0 0;
  display: inline-block;
}

/* Belangrijk: label is de klikbare knop */
.wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  background: #fff;
  color: #111;
  border-bottom: 3px solid #2221;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Input visueel verbergen, maar technisch actief houden */
.wpcf7-list-item input[type="radio"],
.wpcf7-list-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Tekst in de knop */
.wpcf7-list-item .wpcf7-list-item-label {
  display: inline-block;
  padding: 15px !important;
  line-height: 1.2;
}

/* Hover */
.wpcf7-list-item label:hover {
  background: #fb4d00;
  color: #fff;
}

/* Geselecteerde optie */
.wpcf7-list-item label:has(input:checked) {
  background: #fb4d00;
  color: #fff;
}

/* Fallback voor browsers zonder :has() */
.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label,
.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label {
  background: #fb4d00;
  color: #fff;
}

/* ----------------------------- */
/* Submit button */
/* ----------------------------- */

input[type="submit"] {
  text-transform: uppercase !important;
  font-size: 20px;
  padding: 10px 45px;
  margin-top: 20px;
  border-radius: 200px;
  line-height: 1;
  cursor: pointer;
  font-weight: 500;
  color: #350e03;
  background: transparent;
  border: 3px solid #350e03;
}

input[type="submit"]:hover {
  background: #350e03;
  color: #fff;
  mix-blend-mode: multiply;
}

/* ----------------------------- */
/* CF7 response output */
/* ----------------------------- */

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  margin: 30px 0 0 0;
  border: 0;
  background: rgb(251 77 0 / 20%);
  padding: 15px;
  font-size: 15px;
  color: #350e03;
  text-align: center;
}




