/* Kwaliteitskompas — landkiezer bij het telefoonveld (werklijst 171) */
.kk-tel-wrap { position: relative; display: flex; align-items: stretch; gap: 0; }
.kk-tel-wrap input#kk-tel, .kk-tel-wrap input[data-kk-tel] { flex: 1 1 auto; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.kk-tel-land-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-width: 76px;
  padding: 0 10px; font-size: 1rem; line-height: 1; border: 1px solid var(--kk-border, #cbd5e1);
  border-right: none; border-radius: 10px 0 0 10px; background: var(--kk-surface, #fff);
  color: var(--kk-ink, #0f1535); cursor: pointer;
}
.kk-tel-land-btn:hover { background: var(--kk-bg-alt, #eef0f8); }
.kk-tel-land-btn:focus-visible { outline: 2px solid var(--kk-green, #30ea96); outline-offset: 1px; }
.kk-tel-land-zoek {
  position: absolute; top: 100%; left: 0; z-index: 30; width: 220px; margin-top: 4px;
  padding: 8px 10px; font-size: .95rem; border: 1px solid var(--kk-border, #cbd5e1);
  border-radius: 8px; background: var(--kk-surface, #fff); color: var(--kk-ink, #0f1535);
}
.kk-tel-land-lijst {
  position: absolute; top: calc(100% + 38px); left: 0; z-index: 30; width: 260px; max-height: 260px;
  overflow-y: auto; margin: 0; padding: 4px; list-style: none; border: 1px solid var(--kk-border, #cbd5e1);
  border-radius: 8px; background: var(--kk-surface, #fff); box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.kk-tel-land-optie { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: .95rem; color: var(--kk-ink, #0f1535); }
.kk-tel-land-optie:hover,
.kk-tel-land-optie--actief { background: var(--kk-bg-alt, #eef0f8); }
.kk-vlag { flex: 0 0 auto; display: inline-block; width: 20px; height: 14px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(15,21,53,.18); }
.kk-vlag svg { display: block; width: 100%; height: 100%; }

@media (max-width: 480px) {
  .kk-tel-land-zoek, .kk-tel-land-lijst { width: calc(100vw - 40px); max-width: 300px; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .kk-tel-land-btn,
  :root:not([data-theme="light"]) .kk-tel-land-zoek,
  :root:not([data-theme="light"]) .kk-tel-land-lijst {
    background: var(--kk-surface, #141a3d); color: var(--kk-ink, #eef1ff); border-color: var(--kk-border, #2b3466);
  }
  :root:not([data-theme="light"]) .kk-tel-land-optie:hover,
  :root:not([data-theme="light"]) .kk-tel-land-optie--actief { background: var(--kk-bg-alt, #111736); }
}
:root[data-theme="dark"] .kk-tel-land-btn,
:root[data-theme="dark"] .kk-tel-land-zoek,
:root[data-theme="dark"] .kk-tel-land-lijst {
  background: var(--kk-surface, #141a3d); color: var(--kk-ink, #eef1ff); border-color: var(--kk-border, #2b3466);
}
:root[data-theme="dark"] .kk-tel-land-optie:hover,
:root[data-theme="dark"] .kk-tel-land-optie--actief { background: var(--kk-bg-alt, #111736); }

/* Velden die per keuze verdwijnen (contact-form.js, data-toon-als): het hidden-attribuut moet winnen van
   .kk-form__veld { display: grid } in de pagina, anders blijven ze zichtbaar (operator 13 nov). */
.kk-form [hidden] { display: none !important; }

/* Foutmeldingen zonder paginawissel (form-submit.js) */
.kk-form__fouten {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid #ef4444;
  background: color-mix(in srgb, #ef4444 10%, transparent); color: var(--kk-ink, #0f1535); font-size: .95rem;
}
.kk-form__fouten ul { margin: 0; padding-left: 1.1em; }
