/* Website Scanner — aanvullingen op interface.css (LEAGL-huisstijl).
   Klassen die form.js en loading.js gebruiken blijven bestaan:
   .lg-field/.has-error, .lg-gdpr, .lg-form-card, .loading-step-light, .step-icon-light, ... */

.lang-switch { margin-top: -8px; }

/* Veldfouten (form.js zet .has-error op .lg-field) */
.lg-field .error-msg { display: none; font-size: 11px; color: var(--danger); margin-top: -2px; }
.lg-field.has-error input { border-color: var(--danger) !important; background: var(--danger-soft); }
.lg-field.has-error .error-msg { display: block; }
.lg-gdpr { border-radius: 4px; }

#scanBtn { width: 100%; justify-content: center; margin-top: 4px; }

/* Foutmelding van de API (form.js voegt .alert.alert-red toe) */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; font-size: 12px; line-height: 1.6; border-left: 3px solid; margin-top: 14px; }
.alert-red { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }
.alert-icon { flex: none; }

/* Laadpagina (loading.js zet .active / .done en vervangt het icoon) */
.loading-steps-light { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 0; }
.loading-step-light { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: .45; transition: opacity .2s; }
.loading-step-light:last-child { border-bottom: 0; }
.loading-step-light.active { opacity: 1; }
.loading-step-light.done { opacity: .75; }
.step-icon-light { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-size: 15px; }
.loading-step-light.active .step-icon-light { background: var(--soft); border-color: var(--lavender); }
.loading-step-light.done .step-icon-light { background: var(--success-soft); border-color: var(--success); }
.step-label { font: 650 15px/1.3 var(--font-heading); }
.step-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.progress-wrap-light { height: 6px; background: var(--soft); border-radius: 3px; overflow: hidden; }
.progress-fill-light { height: 100%; width: 0; background: var(--violet); transition: width .5s ease; }
.progress-pct { font-size: 11px; color: var(--muted); margin-top: 8px; text-align: right; font-variant-numeric: tabular-nums; }
.loading-card-light .notice a { overflow-wrap: anywhere; }

.footer-disclaimer { margin-top: 6px; max-width: 520px; }

@media (prefers-reduced-motion: reduce) { .progress-fill-light, .loading-step-light { transition: none; } }
