/* Contact- en offerteformulieren van chargetech.be (vervangen de oude Ninja Forms). */
.ct-form {
  --ct-blauw: #0044ee;
  --ct-blauw-licht: #327aff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin-top: 8px;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  text-align: left;
}
.ct-veld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ct-veld.vol { grid-column: 1 / -1; }
.ct-veld label {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  padding: 0;
}
.ct-veld label .ct-ster { color: var(--ct-blauw-licht); margin-left: 2px; }
.ct-form input,
.ct-form select,
.ct-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 14px;
  margin: 0;
  transition: border-color .15s ease, background-color .15s ease;
}
.ct-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.ct-form select option { color: #111; background: #fff; }
.ct-form textarea { min-height: 140px; resize: vertical; }
.ct-form input::placeholder,
.ct-form textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.ct-form input:hover,
.ct-form select:hover,
.ct-form textarea:hover { border-color: rgba(255, 255, 255, 0.35); }
.ct-form input:focus-visible,
.ct-form select:focus-visible,
.ct-form textarea:focus-visible,
.ct-form button:focus-visible {
  outline: 2px solid var(--ct-blauw-licht);
  outline-offset: 2px;
  border-color: var(--ct-blauw-licht);
}
.ct-onderaan { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.ct-form button[type="submit"] {
  background: var(--ct-blauw);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 34px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.ct-form button[type="submit"]:hover { background: #1a57ff; }
.ct-form button[disabled] { opacity: .7; cursor: progress; }
.ct-privacy { color: rgba(255, 255, 255, 0.6); font-size: 13px; line-height: 1.5; margin: 0; padding: 0; flex: 1 1 260px; }
.ct-privacy a { color: var(--ct-blauw-licht); }
.ct-honing { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ct-melding {
  grid-column: 1 / -1;
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
}
.ct-melding-ok { background: rgba(50, 122, 255, 0.16); border: 1px solid rgba(50, 122, 255, 0.55); }
.ct-melding-fout { background: rgba(255, 80, 80, 0.12); border: 1px solid rgba(255, 110, 110, 0.55); }
@media (max-width: 640px) {
  .ct-form { grid-template-columns: 1fr; }
  .ct-form button[type="submit"] { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-form * { transition: none !important; }
}

/* De offertevensters waren op gsm en tablet te smal voor een formulier. */
@media (max-width: 980px) {
  #particulier.popup, #bedrijf.popup, #wooncomplex.popup {
    width: 92vw !important;
    max-width: 92vw !important;
  }
  #particulier.popup .et_pb_row, #bedrijf.popup .et_pb_row, #wooncomplex.popup .et_pb_row {
    width: 90% !important;
    max-width: 90% !important;
  }
}
