/* assets/dp-kleuradvies.css — pop-up KiesKleurig Advies aanvragen (snippets/dp-kleuradvies.rain). Prefix .dka-* */
.dka { width: min(720px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 48px); margin: auto; padding: 0; border: 0; border-radius: 16px; background: #FFFFFF; color: #666666; font-family: inherit; font-size: 15px; line-height: 1.5; box-shadow: 0 24px 60px rgba(41, 56, 75, .3); overflow: hidden; }
.dka[open] { display: flex; }
.dka, .dka *, .dka *::before, .dka *::after { box-sizing: border-box; }
.dka::backdrop { background: rgba(41, 56, 75, .55); }
.dka__form { display: flex; flex-direction: column; width: 100%; max-height: calc(100vh - 48px); margin: 0; }
.dka__kop { position: relative; flex: 0 0 auto; display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid #ECECEC; }
.dka__koptekst { flex: 1 1 auto; min-width: 0; }
.dka .dka__titel { margin: 0; color: #29384B; font-size: 22px; font-weight: 800; line-height: 1.2; }
.dka__stapinfo { margin: 4px 0 0; font-size: 13px; color: #6B7178; }
.dka__sluit { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -6px -8px 0 0; padding: 0; border: 0; border-radius: 50%; background: #FAFAFA; color: #29384B; cursor: pointer; }
.dka__sluit:hover { background: #ECECEC; }
.dka__balk { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: #ECECEC; }
.dka__balk span { display: block; height: 100%; width: 20%; background: #70C067; transition: width .25s; }
.dka__body { flex: 1 1 auto; overflow-y: auto; padding: 22px 24px 8px; overscroll-behavior: contain; }
.dka [hidden] { display: none !important; }
.dka .dka-stap__kop { margin: 0 0 4px; color: #29384B; font-size: 20px; font-weight: 800; line-height: 1.25; }
.dka-stap__sub { margin: 0 0 16px; font-size: 14px; }
.dka-vraag { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.dka-vraag legend { display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; color: #29384B; font-size: 15px; font-weight: 700; }
.dka-opt { display: inline-block; margin-left: 6px; color: #898D93; font-size: 13px; font-weight: 400; }
.dka-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dka-chip { position: relative; margin: 0; cursor: pointer; }
.dka-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dka-chip > span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 1px solid #DFE3E8; border-radius: 22px; background: #FFFFFF; color: #29384B; font-size: 14px; font-weight: 600; line-height: 1.2; transition: border-color .15s, background .15s; user-select: none; }
.dka-chip__vink { display: none; flex: 0 0 auto; color: #2F6B29; }
.dka-chip input:checked + span { background: #E3F2E1; border-color: #70C067; }
.dka-chip input:checked + span .dka-chip__vink { display: block; }
.dka-chip input:focus-visible + span { outline: 2px solid #29384B; outline-offset: 2px; }
.dka-chip--niet input:checked + span { background: #FDECEC; border-color: #E0A3A3; }
.dka-chip--niet input:checked + span .dka-chip__vink { color: #9B2C2C; }
.dka-chip--tint input:checked + span .dka-chip__vink { display: none; }
.dka-chip--niet input:checked + span .dka-bol { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); background-image: linear-gradient(135deg, transparent 45%, #9B2C2C 45%, #9B2C2C 55%, transparent 55%) !important; }
.dka-bol { flex: 0 0 auto; display: block; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.dka-chip--tint input:checked:not([name="tinten_niet"]) + span .dka-bol { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px #FFFFFF, 0 0 0 4px #70C067; }
.dka-veld { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; min-width: 0; }
.dka-veld label, .dka-label { margin: 0; color: #29384B; font-size: 15px; font-weight: 700; }
.dka-veld input[type="text"], .dka-veld input[type="email"], .dka-veld input[type="tel"], .dka-veld textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #C9D1DA; border-radius: 10px; background: #FFFFFF; color: #29384B; font-family: inherit; font-size: 16px; box-sizing: border-box; }
.dka-veld textarea { min-height: 110px; resize: vertical; }
.dka-veld input:focus, .dka-veld textarea:focus { outline: none; border-color: #29384B; box-shadow: 0 0 0 3px rgba(112, 192, 103, .35); }
.dka-veld.is-fout input { border-color: #C0392B; }
.dka-velden { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.dka-velden .dka-veld--breed { grid-column: 1 / -1; }
.dka-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px; border: 2px dashed #C9D1DA; border-radius: 12px; background: #FAFAFA; color: #29384B; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dka-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dka-drop svg { color: #2F6B29; }
.dka-drop strong { font-size: 15px; }
.dka-drop span { color: #6B7178; font-size: 13px; font-weight: 400; }
.dka-drop.is-vol { opacity: .5; pointer-events: none; }
.dka-drop:focus-within { outline: 2px solid #29384B; outline-offset: 2px; }
.dka-bestanden { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.dka-bestanden:empty { display: none; }
.dka-bestand { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 8px; border: 1px solid #ECECEC; border-radius: 10px; font-size: 14px; color: #29384B; }
.dka-bestand img, .dka-bestand__ext { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: #FAFAFA; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #6B7178; }
.dka-bestand__naam { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dka-bestand__maat { flex: 0 0 auto; color: #898D93; font-size: 13px; }
.dka-bestand__x { flex: 0 0 auto; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #FAFAFA; color: #29384B; font-size: 20px; line-height: 1; cursor: pointer; }
.dka-bestand__x:hover { background: #ECECEC; }
.dka-fout { margin: 6px 0 0; color: #B03A2E; font-size: 13px; font-weight: 600; }
.dka-fout:empty { display: none; }
.dka-fout--blok { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: #FDECEC; }
.dka-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.dka-overzicht { margin-top: 20px; padding: 16px 18px; border-radius: 12px; background: #FAFAFA; border: 1px solid #ECECEC; font-size: 14px; }
.dka-overzicht:empty { display: none; }
.dka-overzicht p { margin: 0 0 8px; color: #29384B; font-weight: 800; }
.dka-overzicht dl { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 14px; align-items: baseline; margin: 0; }
.dka-overzicht dt { color: #6B7178; font-weight: 400; }
.dka-overzicht dd { margin: 0; color: #29384B; }
.dka-overzicht .dka-overzicht__wijzig { text-align: right; }
.dka-overzicht button { float: none; display: inline; width: auto; min-height: 0; margin: 0; padding: 0; border: 0; background: none; color: #0099E5; font-family: inherit; font-size: 13px; font-weight: 700; line-height: inherit; cursor: pointer; }
.dka-overzicht button:hover { text-decoration: underline; }
.dka-privacy { margin: 14px 0 0; font-size: 13px; color: #6B7178; }
.dka__voet { flex: 0 0 auto; display: flex; gap: 10px; justify-content: flex-end; padding: 14px 24px; border-top: 1px solid #ECECEC; background: #FFFFFF; }
.dka-knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid #29384B; border-radius: 10px; background: #29384B; color: #FFFFFF; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.dka-knop--terug { margin-right: auto; background: #FFFFFF; color: #29384B; border-color: #C9D1DA; }
.dka-knop--groen { background: #70C067; border-color: #70C067; color: #FFFFFF; }
.dka-knop[disabled] { opacity: .65; cursor: wait; }
.dka-klaar { padding: 24px 0 20px; text-align: center; }
.dka-klaar:focus { outline: none; }
.dka-klaar__ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #E3F2E1; color: #2F6B29; }
.dka .dka-klaar h3 { margin: 14px 0 6px; color: #29384B; font-size: 22px; font-weight: 800; }
.dka-klaar p { max-width: 460px; margin: 0 auto 16px; }
.dka-klaar .dka-knop { display: flex; margin: 0 auto; }
.dka-klaar__let { padding: 10px 14px; border-radius: 10px; background: #FFF6E5; color: #4D5560; font-size: 14px; }
html.dka-open { overflow: hidden; }
.dka-drop.is-over { border-color: #70C067; background: #EEF7ED; }
@media (hover: hover) {
  .dka-chip:hover > span { border-color: #70C067; }
  .dka-drop:hover { border-color: #70C067; background: #EEF7ED; }
  .dka-knop:hover { background: #FFFFFF; color: #29384B; }
  .dka-knop--terug:hover { border-color: #29384B; }
  .dka-knop--groen:hover { background: #FFFFFF; color: #2F6B29; }
}
@media (max-width: 767px) {
  .dka { width: 100%; max-height: 100%; height: 100%; margin: 0; border-radius: 0; }
  .dka__form { max-height: 100vh; max-height: 100dvh; height: 100%; }
  .dka__kop { padding: 16px 16px 14px; }
  .dka .dka__titel { font-size: 19px; }
  .dka__body { padding: 18px 16px 8px; }
  .dka .dka-stap__kop { font-size: 18px; }
  .dka-velden { grid-template-columns: minmax(0, 1fr); }
  .dka__voet { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .dka-knop { flex: 1 1 auto; padding: 0 14px; }
  .dka-knop--terug { flex: 0 0 auto; }
  .dka-chip > span { min-height: 40px; padding: 7px 12px; }
}