@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* ============================= */
/* 📄 ALGEMENE STIJLEN */
/* ============================= */

body {
  font-family: 'Poppins', sans-serif;
}

h1 {
  color: #81b6d0;
  font-size: 14px;
}

h3, h4 {
  font-size: 26px;
}

h3.text-center {
  color: #1b1e23;
}

h5 {
  color: #81b6d0;
  font-size: 16px;
}

/* Formulierelementen */
#contact input,
#contact select,
#contact textarea {
  font-family: 'Poppins', sans-serif;
}

#contact input:focus,
#contact select:focus,
#contact textarea:focus {
  background: #ffffff !important;
  border: 2px solid #a3c9ff !important;
  box-shadow: none !important;
}

input:invalid,
select:invalid,
textarea:invalid {
  border-color: #ccc !important;
  color: #808080 !important;
}

/* Submit-knop */
input[type=submit],
input[type=submit]:hover {
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  width: 380px;
  height: 1.4em;
  font-size: 22px;
  padding: 0.5em;
  letter-spacing: 0.05em;
  border: 0;
  text-transform: none;
  background: #0056b3 !important;
  border-radius: 3px;
  box-shadow: none;
  cursor: pointer;
}

#contact input[type="submit"]:focus {
  background-color: #007bff !important;
  border: 2px solid black !important;
}

/* Placeholder kleur */
#contact input::placeholder,
#contact textarea::placeholder {
  color: #808080;
}

/* ============================= */
/* 📅 DATEPICKER STYLING */
/* ============================= */

.datepicker {
  width: 380px;
  font-size: 18px;
  margin: 0 auto;
  max-width: 95vw;
}

.datepicker-dropdown {
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
  position: absolute !important;
  z-index: 1050 !important;
}

.datepicker table {
  width: 100% !important;
  table-layout: fixed;
  border-collapse: separate !important;
  border-spacing: 5px !important;
}

.datepicker table tr td {
  padding: 8px;
  font-size: 18px;
  color: #000;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.datepicker table tr th {
  padding: 4px;
  font-size: 18px;
  color: #003366;
  background-color: #e0e0e0;
  border-radius: 5px;
  text-align: center;
}

.datepicker .datepicker-switch,
.datepicker .prev,
.datepicker .next {
  font-size: 20px;
  padding: 8px;
  background-color: #003366;
  color: #f2f2f2;
  border-radius: 6px;
  user-select: none;
}

.datepicker .datepicker-switch {
  background-color: #007BFF;
  color: #FFFFFF;
  font-weight: bold;
}

.datepicker .datepicker-switch:hover,
.datepicker .prev:hover,
.datepicker .next:hover {
  background-color: #003366;
  color: #c8c8c8;
  cursor: pointer;
}

.datepicker table tr td.day:not(.disabled):hover {
  background-color: #fce7e7;
}

.datepicker table tr td.day:not(.disabled) {
  font-weight: bold;
  cursor: pointer;
}

.datepicker table tr td.day.disabled,
.datepicker table tr td.gesloten,
.gesloten.rood,
.lichtgrijs {
  color: #f4aaaa !important;
  background-color: transparent !important;
  font-weight: normal !important;
  cursor: default !important;
}

.datepicker table tr td.new {
  color: #6e6e6e !important;
  cursor: pointer;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.selected,
.datepicker table tr td.selected:hover,
.datepicker table tr td.today.active,
.datepicker table tr td.today.active:hover {
  background: none !important;
  box-shadow: none !important;
  color: #28a745 !important;
  font-weight: bold !important;
  border-radius: 0 !important;
  outline: none !important;
}

/* Standaardkleur voor pijlknoppen */
.datepicker .prev,
.datepicker .next {
  opacity: 1;
  pointer-events: auto;
  background-color: #003366;
  color: #fff;
}

/* Uitgeschakelde pijlknoppen (aan begin/einde bereik) */
.datepicker .prev.disabled,
.datepicker .next.disabled {
  opacity: 0.4;
  pointer-events: none;
  background-color: #cccccc !important;
  color: #666666 !important;
}

/* Input veld voor datum */
#datepicker .form-control.datepicker-input {
    background: #f1f1f1;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    border: 0;
    width: 257px;
    height: 2.2em;
    font-size: 20px;
    text-align: left;
    vertical-align: middle;
    color: #000000;
    padding: 8px;
    border-radius: 4px;
}
/* ============================= */
/* 🎛️ RADIO BUTTON STYLING */
/* ============================= */

.radio-group-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.radio-option input[type="radio"] {
  display: none;
}

.custom-label {
  display: inline-block;
  padding: 14px 14px;
  background-color: #ccc;
  border-radius: 50px;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  transition: 0.3s;
  min-width: 100px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.radio-option input[type="radio"]:checked + .custom-label {
  background-color: #0056b3;
  color: white;
  transform: scale(1.05);
}

/* ============================= */
/* 📦 VERSCHILLENDE FORMVELDEN */
/* ============================= */

#contact input[type=text],
#contact input[type=email],
#contact input[type=tel],
#contact textarea {
  background: #f1f1f1;
  cursor: pointer;
  width: 380px;
  height: 2.2em;
  font-size: 20px;
  padding: 8px;
  border-radius: 4px;
  border: 0;
  color: #000;
}

#contact textarea {
  height: 140px;
  width: 325px;
  font-size: 20px;
}

/* Select dropdowns */
select.cform-text,
#contact select.initial-option {
  cursor: pointer;
  width: 325px;
  height: 2.6em;
  font-size: 20px;
  background: #f1f1f1;
  border: 0;
  color: #000;
}

select.cform-text option,
#hours option,
#minutes option {
  background-color: #ffffff;
  color: #000000;
  font-size: 18px;
}

select.cform-text option:first-child,
#hours option:first-child,
#minutes option:first-child {
  background-color: #808080;
  color: #ffffff;
}

#hours,
#minutes {
  border-radius: 4px;
  background: #f1f1f1;
  font-size: 20px;
  height: 2.6em;
  width: 116px;
  border: 0;
  color: #333;
}

/* ============================= */
/* 🧾 FORM CONTAINER + VERBORGEN */
/* ============================= */

/* Algemene breedte formulier op de telefoon */
section#contact {
  color: #888;
  background: #fafafa;
  width: 420px;
  padding: 12px;
  border: solid 2px #f1f1f1;
}

input#klantnummer.hform-text,
input#security_id.hform-text {
  display: none;
}

#customAlert {
  display: none;
  color: black;
  font-weight: bold;
  margin-top: 20px;
  padding: 5px;
  background-color: white;
  border: 3px solid orange;
  border-radius: 12px;
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
}

.help-text {
  background-color: #f1f1f1;
  color: #333;
  font-size: 18px;
  line-height: 1.5;
  padding: 12px;
  border-left: 5px solid #007BFF;
  margin-top: 8px;
  border-radius: 5px;
  display: none;
}