/* Websitecheck (scamcheck.js). Gebruikt de kleurvariabelen uit stijl.css. */
.adresvak { max-width: 48rem; }
.adres-uitkomst, .vragen-uitkomst { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
.adres-uitkomst:empty, .vragen-uitkomst:empty { display: none; }
.adres-fout { font-weight: 600; color: var(--ink); background: var(--note-bg); border-left: 6px solid var(--note-line); padding: 0.8rem 1.1rem; border-radius: 0 12px 12px 0; }

.adres-kaart { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.5rem; }
.adres-kaart p { margin: 0; }
.adres-hoort { font-weight: 600; color: var(--muted); }
.adres-domein { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.3rem); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; color: var(--ink); }
.adres-volledig { font-size: var(--small); overflow-wrap: anywhere; }
.adres-vol-label { color: var(--muted); }
.adres-host { font-family: ui-monospace, Consolas, "Courier New", monospace; }
.adres-host mark { background: var(--accent); color: var(--on-accent); padding: 0 0.2rem; border-radius: 3px; font-weight: 700; }
.adres-uitleg { font-size: var(--small); color: var(--muted); }

.adres-oordeel { border-radius: var(--radius); padding: 1.2rem 1.4rem; border-left: 8px solid var(--muted); background: var(--card); box-shadow: var(--shadow); }
.adres-oordeel:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.adres-oordeel h3 { margin: 0 0 0.5rem; font-size: var(--h3, 1.4rem); display: flex; align-items: center; gap: 0.6rem; }
.adres-oordeel h3::before { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; font-weight: 700; color: #fff; }
.adres-oordeel p { margin: 0; }
.adres-oordeel ul { margin: 0; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.45rem; }
.sig-info { color: var(--muted); font-size: var(--small); }

.oordeel-rood { border-left-color: #b3261e; background: #fdecea; color: #4a0f0b; }
.oordeel-rood h3::before { content: "!"; background: #b3261e; }
.oordeel-oranje { border-left-color: #a35a00; background: #fff3dc; color: #3d2400; }
.oordeel-oranje h3::before { content: "?"; background: #a35a00; }
.oordeel-goed { border-left-color: var(--good); }
.oordeel-goed h3::before { content: "✓"; background: var(--good); }
.oordeel-neutraal h3::before { content: "i"; background: var(--navy); }
.oordeel-rood .sig-info, .oordeel-oranje .sig-info { color: inherit; opacity: 0.85; }

:root[data-theme="dark"] .oordeel-rood { background: #3a1513; color: #ffd9d4; border-left-color: #ff8a80; }
:root[data-theme="dark"] .oordeel-oranje { background: #35270e; color: #ffe3b3; border-left-color: #f0a640; }
:root[data-theme="dark"] .oordeel-rood h3::before { background: #ff8a80; color: #3a1513; }
:root[data-theme="dark"] .oordeel-oranje h3::before { background: #f0a640; color: #35270e; }
:root[data-theme="dark"] .oordeel-goed h3::before { color: #10241a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .oordeel-rood { background: #3a1513; color: #ffd9d4; border-left-color: #ff8a80; }
  :root:not([data-theme="light"]) .oordeel-oranje { background: #35270e; color: #ffe3b3; border-left-color: #f0a640; }
  :root:not([data-theme="light"]) .oordeel-rood h3::before { background: #ff8a80; color: #3a1513; }
  :root:not([data-theme="light"]) .oordeel-oranje h3::before { background: #f0a640; color: #35270e; }
  :root:not([data-theme="light"]) .oordeel-goed h3::before { color: #10241a; }
}

/* Vragenlijst */
.vragenlijst { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.vragenlijst legend { font-weight: 600; margin-bottom: 0.6rem; padding: 0; }
.vraag-vink { display: flex; gap: 0.9rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1.1rem; cursor: pointer; }
.vraag-vink:hover { border-color: var(--ink); }
.vraag-vink input { flex: none; width: 1.6rem; height: 1.6rem; margin: 0.15rem 0 0; accent-color: var(--navy); cursor: pointer; }
.vraag-vink:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
#vragencheck > .knop { margin-top: 1rem; }

.extern-knoppen { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }
.extern-uitleg { margin: 0; }

:root[data-theme="dark"] .vraag-vink input { accent-color: var(--accent); }
:root[data-theme="dark"] .vraag-vink:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .vraag-vink input { accent-color: var(--accent); }
  :root:not([data-theme="light"]) .vraag-vink:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
}

/* Andere bronnen (api/websitecheck.php) */
.bronnen-kaart { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; }
.bronnen-kaart > h3 { margin: 0; font-size: var(--h3, 1.4rem); }
.bronnen-kaart p { margin: 0; }
.bronnen-laden::before { content: ""; display: inline-block; width: 1.1rem; height: 1.1rem; margin-right: 0.6rem; vertical-align: -0.15rem; border: 3px solid var(--line); border-top-color: var(--navy); border-radius: 50%; animation: bronnen-draai 0.9s linear infinite; }
@keyframes bronnen-draai { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bronnen-laden::before { animation: none; } }
.bronnen-oordeel { box-shadow: none; }
.bronnen-lijst { margin: 0; display: grid; grid-template-columns: minmax(10rem, 15rem) 1fr; gap: 0.75rem 1.25rem; align-items: start; }
.bronnen-lijst dt { font-weight: 600; }
.bronnen-lijst dd { margin: 0; display: flex; gap: 0.6rem; align-items: flex-start; }
.bron-bol { flex: none; width: 1.35rem; height: 1.35rem; border-radius: 50%; margin-top: 0.2rem; display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; color: #fff; background: #6b7a7a; }
.bron-bol::before { content: "–"; }
.bron-goed .bron-bol { background: var(--good); }
.bron-goed .bron-bol::before { content: "✓"; }
.bron-let_op .bron-bol { background: #a35a00; }
.bron-let_op .bron-bol::before { content: "!"; }
.bron-slecht .bron-bol { background: #b3261e; }
.bron-slecht .bron-bol::before { content: "✕"; }
.bron-slecht .bron-tekst { font-weight: 700; }
.bronnen-voet { font-size: var(--small); color: var(--muted); }
@media (max-width: 40rem) {
  .bronnen-lijst { grid-template-columns: 1fr; gap: 0.2rem; }
  .bronnen-lijst dd { margin-bottom: 0.7rem; }
}
:root[data-theme="dark"] .bron-goed .bron-bol { color: #10241a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bron-goed .bron-bol { color: #10241a; } }
