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

/* Koppen */
h1, h3.text-center, h5 {
  font-family: 'Poppins', sans-serif;
  color: #81b6d0;
}
h1 { font-size: 14px; }
h3.text-center {
  font-size: 20px;
  color: #1b1e23;
}
h4.text-center {
  text-align: center;
  font-size: 18px;
  color: #81b6d0;
}

/*Feestdag goud*/
.datepicker .day.feestdag,
.datepicker .day.feestdag.disabled {
    color: #d4af37 !important; /* goudkleurig cijfer */
    font-weight: bold;
    position: relative;
}

/* Klein rondje om het cijfer zonder cel te verstoren */
.datepicker .day.feestdag::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 29px;               /* klein rondje */
    height: 29px;
    border: 1px solid #d4af37; /* gouden rand */
    border-radius: 50%;
    pointer-events: none;
}

/* Gesloten met notitie */
.datepicker .day.disabled-note,
.datepicker .day.disabled-note.disabled {
    color: #cc3366 !important;
    font-weight: bold;
    position: relative;
}

.datepicker .day.disabled-note::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 29px;
    height: 29px;
    border: 1px solid #e2558a;
    border-radius: 50%;
    pointer-events: none;
}

/*aangepast met notitie/ exra dag toevoegen*/
.datepicker .day.blocked-partial.has-note,
.datepicker .day.blocked-partial.has-note.disabled,
.datepicker .day.uitzonderlijk-geopend {
    color: #000 !important;
    font-weight: bold;
    position: relative;
}

.datepicker .day.blocked-partial.has-note::before,
.datepicker .day.uitzonderlijk-geopend::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 29px;
    height: 29px;
    border: 1px solid #87CEFA;
    border-radius: 50%;
    pointer-events: none;
}

/*aangepast met zonder notitie*/
.datepicker .day.blocked-partial.no-note,
.datepicker .day.blocked-partial.no-note.disabled {
    color: #000 !important;
    font-weight: bold;
    position: relative;
}

.datepicker .day.blocked-partial.no-note::before {
    content: none !important;
}

.datepicker table thead tr th.datepicker-switch {
    pointer-events: none !important;
}

/* Alleen tekst roze voor zondag + woensdag */
    .datepicker table tr td.dow,
    .datepicker table tr td.highlighted {
    color: #fce1e5 !important;
    background: transparent !important;
    font-weight: normal !important;
}



#contact {
  background-color: #f9f9f9; /* lichtgrijs */
  border: 1px solid #ccc;    /* subtiel grijs randje */
  border-radius: 6px;
  padding: 20px;
  box-sizing: border-box;
}

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

/* Focus effect inputs/select/textarea */
#contact input:focus, #contact select:focus, #contact textarea:focus {
  background: #fff !important;
  border: 2px solid #a3c9ff !important;
  box-shadow: none !important;
}

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

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

/* Algemene tekstvelden */
#contact input[type=text],
#contact input[type=email],
#contact input[type=tel] {
  background: #f1f1f1;
  cursor: pointer;
  border: 0;
  width: 380px;
  height: 2.4em;
  font-size: 16px;
  color: #000;
  padding: 8px;
  border-radius: 4px;
  text-align: left;
  vertical-align: middle;
}

/* Tekstveld (textarea) */
#contact textarea {
  background: #f1f1f1;
  cursor: pointer;
  border: 0;
  color: #000;
  font-size: 20px !important;
  line-height: 1.5em;
  height: calc(3 * 1.5em + 20px) !important;
  width: 325px !important;
  padding: 8px !important;
  border-radius: 4px;
  box-sizing: border-box !important;
}

/* Select dropdowns */
select.cform-text, #contact select.initial-option,
#hours, #minutes, #hours2, #minutes2, #halenHours, #halenMinutes, #brengenHours, #brengenMinutes {
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  width: 325px;
  height: 3.2em;
  background: #f1f1f1;
  border: 0;
  border-radius: 4px;
  font-size: 20px;
  color:#808080;  /* standaard placeholderkleur */
  padding: 5px 10px;
  box-sizing: border-box;
}

/* Tijd dropdowns smaller */
#hours, #minutes, #hours2, #minutes2, #halenHours, #halenMinutes, #brengenHours, #brengenMinutes {
  width: 120px;
  height: 2.4em;
  padding: 0 10px;
}

/* Opties kleur */
select.cform-text option,
#hours option, #minutes option,
#hours2 option, #minutes2 option,
#halenHours option, #halenMinutes option,
#brengenHours option, #brengenMinutes option {
  background: #fff;
  font-size: 16px;
  color: #000;
}

/* Placeholder opties kleur */
select.cform-text option[value=""],
#hours option[value=""], #minutes option[value=""],
#hours2 option[value=""], #minutes2 option[value=""],
#halenHours option[value=""], #halenMinutes option[value=""],
#brengenHours option[value=""], #brengenMinutes option[value=""] {
  color: #808080;
}

/* Select na selectie (JS .selected) */
select.cform-text.selected,
#hours.selected, #minutes.selected,
#hours2.selected, #minutes2.selected,
#halenHours.selected, #halenMinutes.selected,
#brengenHours.selected, #brengenMinutes.selected {
  color: #000 !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;
}

/* Kleinere velden lettergrootte en hoogte */
#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact select.cform-text,
#datepicker input.form-control.datepicker-input,
#halenPicker input.form-control.datepicker-input,
#brengenPicker input.form-control.datepicker-input,
#hours, #minutes,
#hours2, #minutes2,
#halenHours, #halenMinutes,
#brengenHours, #brengenMinutes {
font-size: 20px !important;
  height: 3.2em !important;
  padding: 4px 6px !important;
  box-sizing: border-box !important;
}

/* Verberg specifieke invoervelden */
input#klantnummer.hform-text,
input#security_id.hform-text {
  display: none;
}

/* invoerveld kalender  */
.datepicker-input {
  width: 260px !important;
}

/* ============================= */
/* 🎛️ RADIO BUTTONS CLEAN & SMOOTH */
/* ============================= */

.radio-group-modern {
  display: flex;
  justify-content: center;
  gap: 14px;

  width: 100%;
  min-width: 325px;
  margin: 12px auto;
}

/* radio input verbergen */
.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

/* knop */
.custom-label {
  flex: 1;
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px 18px;
  font-size: 20px;

  background: #ccc;
  color: #333;

  border-radius: 50px;
  cursor: pointer;
  text-align: center;

  box-shadow: 0 2px 6px rgba(0,0,0,0.12);

  transition: transform 0.2s ease, background-color 0.25s ease, box-shadow 0.25s ease;

  -webkit-tap-highlight-color: transparent;
  user-select: none;
  will-change: transform;
}

.radio-option label {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* zachte klik */
.radio-option input[type="radio"]:checked + .custom-label {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* echte “druk” feel */
.custom-label:active {
  transform: scale(0.97);
}

.radio-option input[type="radio"]:checked + .custom-label {
  background-color: #0056b3;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 86, 179, 0.25);
  transform: scale(1.03);
}

/* ==== spamcode en uitkomst uitlijning ==== */
.captcha-wrapper {
  display: flex;
  justify-content: center;  /* Horizontaal centreren */
  margin-top: 10px;
}

.captcha-group {
  display: flex;
  align-items: center;      /* Verticaal centreren */
  gap: 12px;                /* Afstand tussen img en input */
}

.captcha-input {
  width: 115px !important;
  font-size: 12px;
  text-align: center;
  padding: 4px;
  border-radius: 4px;
  border: none;
  background: #f1f1f1;
  font-family: 'Poppins', sans-serif;
}

/* Flat modern schuifknop met donkerblauw bolletje en lichtere achtergrond */
.switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: relative;
  width: 44px;
  height: 20px;
  background-color: #ddd;          /* standaard grijs */
  border-radius: 10px;
  transition: background-color 0.3s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 1px;
  top: 1px;
  background-color: #0056b3;       /* donkerblauw bolletje */
  border-radius: 50%;
  transition: transform 0.3s;
}

input:checked + .slider {
  background-color: #99ccff;       /* lichtere blauwe achtergrond bij actief */
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* Label naast toggle */
.retour-toggle-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.retour-toggle-group span {
  font-weight: bold;
  color: #ff6f00;                 /* opvallend label */
  font-size: 14px;
}

/* ============================= */
/* 📅 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 {
  font-size: 19px;
  color: #003366;
  background-color: #e0e0e0;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.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;
  font-size: 22px !important;
  font-weight: 700;
  padding: 10px 10px;
  letter-spacing: 0.5px;
}

.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;
}

/* 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;
}

/* Alert melding  2e formulier */
.custom-alert {
  display: inline-flex;             /* zet de inhoud naast elkaar */
  align-items: center;              /* centreert tekst en icoon verticaal */
  background-color: #fff;           /* witte achtergrond */
  color: #000;                      /* zwarte tekstkleur */
  border-radius: 4px;               /* iets ronder dan eerst */
  padding: 10px 10px;               /* meer ruimte rondom de inhoud */
  margin-top: 10px;                 /* iets meer ruimte boven de alert */
  font-size: 22px;                  /* grotere letters */
  gap: 12px;                        /* meer ruimte tussen icoon en tekst */
  box-shadow: 0 2px 5px rgba(0,0,0,0.15); /* iets sterkere schaduw */
  max-width: 300px;                 /* maximaal 350px breed → tekst breekt af */
}

.custom-alert::before {
  content: "!";                     /* uitroepteken */
  background-color: #ff6f00;        /* oranje blokje */
  color: #fff;                      /* wit uitroepteken */
  font-weight: 900;                 /* extra dik */
  font-size: 30px;                  /* groter uitroepteken */
  width: 35px;                      /* breder blokje */
  height: 35px;                     /* hoger blokje */
  display: flex;                    /* flexbox om te centreren */
  align-items: center;              /* verticaal centreren */
  justify-content: center;          /* horizontaal centreren */
  border-radius: 4px;               /* wat rondere hoeken */
}

/* Style  2e formulie button*/
.extra-btn {
  background: #dddddd;
  color:#000;
  border: none;
  padding: 15px 18px;
  font-size: 20px;
  border-radius: 6px;
  cursor: pointer;
  width: 70%;
  display: none; /* standaard verborgen */
  transition: background 0.3s ease;
}

.extra-btn:hover {
  background: #b0b0b0;
}

/* notities styling */
.vrije-notitie {
    color: #444444;
    font-style: italic;
}

.vrije-notitie-zwart {
    color: #141313;
}

.vrije-notitie-letop {
    color: #CC0000;
    font-weight: bold;
} /* rood voor LET OP */

.closed-note {
    color: #CC0000;
    font-weight: bold;
}

.blocked-note {
    color: #0B5ED7;   /* donker blauw */
    font-weight: bold;
}

.blocked-partial {
    color: #0B5ED7;   /* donker blauw */
    font-weight: bold;
}

.tijd-melding {
    padding: 8px;
    margin-top: 6px;
    font-weight: bold;
    border-radius: 4px;
    background: #fff8e6;
    border-left: 4px solid #f0c400;
    color: #8B6B00;
}

.datum-notitie {
    margin-top: 6px;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: #f5f5f5;
    border-left: 4px solid #1565c0;
    border-radius: 4px;
    line-height: 1.4;
}

/* =========================================
   📅 PERFECTE KALENDER POSITIONERING
   zonder layout wijzigingen
========================================= */

/* kalender popup desktop */
.datepicker-dropdown {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    z-index: 99999 !important;
    margin-top: 6px !important;
}

/* mobiel: kalender netjes gecentreerd */
@media (max-width: 768px) {

    .datepicker-dropdown {
        position: fixed !important;

        top: 50% !important;
        left: 50% !important;

        transform: translate(-50%, -50%) !important;

        width: 92vw !important;
        max-width: 420px !important;

        z-index: 99999 !important;

        padding: 10px;
        border-radius: 12px;

        box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    }

    .datepicker {
        width: 100% !important;
        max-width: 420px !important;
        margin: 0 auto !important;
    }
}

/* verberg tijdvelden standaard */
#time-selection,
#time-selection-2,
.tijd-selectie {
    display: none;
}

.datepicker .prev,
.datepicker .next {
    background-color: #0056b3 !important;  /* duidelijk blauw */
    color: #fff !important;               /* witte pijlen */
    font-size: 22px;
    width: 42px;
    height: 42px;
    line-height: 42px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
}

/* hover (desktop) */
.datepicker .prev:hover,
.datepicker .next:hover {
    background-color: #003f88 !important;
    transform: scale(1.05);
}

/* active / indrukken */
.datepicker .prev:active,
.datepicker .next:active {
    background-color: #002b5c !important;
    transform: scale(0.95);
}

/* disabled state (einde bereik maand) */
.datepicker .prev.disabled,
.datepicker .next.disabled {
    background-color: #c7c7c7 !important;
    color: #888 !important;
    opacity: 1 !important;
    pointer-events: none;
}

/* =========================================
   📅 TOUCH-FRIENDLY DAGEN (1–31)
========================================= */

@media (max-width: 900px) {

    .kalender-legenda {
        font-size:16px;
    }

    #preview-tekst-blok {
        font-size:16px;
        min-height:200px;
    }
}

/* KLEUREN DATUMS IN DATEPICKER */

/* 🟢 Uitzonderlijk geopend */
.datepicker table tr td.datum-open {
    background-color: #b7e4c7 !important;
    color: #155724 !important;
    font-weight: bold;
}

/* 🟠 Aangepaste tijden */
.datepicker table tr td.datum-aangepast {
    background-color: #f6c27a !important;
    color: #7a4300 !important;
    font-weight: bold;
}

/* 🔴 Gesloten met notitie */
.datepicker table tr td.datum-gesloten-notitie {
    background-color: #f4a6a6 !important;
    color: #8b0000 !important;
    font-weight: bold;
}

/* 🟡 Feestdag */
.datepicker table tr td.datum-feestdag {
    background-color: #f1c40f !important;
    color: #000 !important;
    font-weight: bold;
}

/* 🌸 Normaal gesloten: woensdag en zondag */
.datepicker table tr td.datum-normaal-gesloten {
    background-color: #f8c8d8 !important;
    color: #000 !important;
    font-weight: bold;
}


