/* ==========================================================================
   VeredAi - Custom Bootstrap-uitbreiding
   Modern, kleurrijk én zakelijk. Veel zachte animaties.
   ========================================================================== */

:root {
    --lex-primary: #3f7e28;
    --lex-primary-rgb: 63, 126, 40;
    --lex-primary-dark: #2e6b1d;
    --lex-accent: #5e9a45;
    --lex-accent-2: #97be8d;
    --lex-success: #10b981;
    --lex-warning: #f59e0b;
    --lex-danger: #ef4444;
    --lex-ink: #0f172a;
    --lex-muted: #5b6b59;
    --lex-bg: #eff4ea;
    --lex-card: #ffffff;
    --lex-border: #dde6d5;
    --lex-sidebar-1: #0f172a;
    --lex-sidebar-2: #1d3a16;
    --lex-radius: 16px;
    --lex-shadow: 0 18px 40px -24px rgba(15, 23, 42, .35);
    --lex-shadow-lg: 0 30px 60px -30px rgba(15, 23, 42, .45);
    --lex-grad: linear-gradient(135deg, var(--lex-primary) 0%, var(--lex-accent) 55%, var(--lex-accent-2) 100%);
    --lex-grad-soft: linear-gradient(135deg, rgba(var(--lex-primary-rgb), .12), rgba(151, 190, 141, .14));
}

/* ----- Bootstrap-merkkleur overschrijven ----------------------------------
   Bootstrap gebruikt standaard een blauwe primary voor links, knoppen,
   focus-ringen, schakelaars en selecties. We koppelen al die variabelen aan
   het VeredAi-merkpalet zodat NERGENS de standaard-Bootstrapkleur verschijnt. */
:root {
    --bs-primary: var(--lex-primary);
    --bs-primary-rgb: var(--lex-primary-rgb);
    --bs-primary-text-emphasis: var(--lex-primary-dark);
    --bs-primary-bg-subtle: rgba(var(--lex-primary-rgb), .10);
    --bs-primary-border-subtle: rgba(var(--lex-primary-rgb), .28);
    --bs-link-color: var(--lex-primary);
    --bs-link-color-rgb: var(--lex-primary-rgb);
    --bs-link-hover-color: var(--lex-primary-dark);
    --bs-link-hover-color-rgb: var(--lex-primary-rgb);
    --bs-border-color: var(--lex-border);
    --bs-focus-ring-color: rgba(var(--lex-primary-rgb), .25);
    --bs-emphasis-color: var(--lex-ink);
    --bs-body-color: var(--lex-ink);
}
.text-primary { color: var(--lex-primary) !important; }
.text-primary-emphasis { color: var(--lex-primary-dark) !important; }
.link-primary { color: var(--lex-primary) !important; }
.link-primary:hover, .link-primary:focus { color: var(--lex-primary-dark) !important; }
.bg-primary { background-color: var(--lex-primary) !important; }
.bg-primary-subtle { background-color: rgba(var(--lex-primary-rgb), .10) !important; }
.text-bg-primary { background-color: var(--lex-primary) !important; color: #fff !important; }
.border-primary { border-color: var(--lex-primary) !important; }
.badge.text-bg-primary, .badge.bg-primary { background: var(--lex-primary) !important; color: #fff !important; }
.btn-outline-primary {
    --bs-btn-color: var(--lex-primary);
    --bs-btn-border-color: var(--lex-primary);
    --bs-btn-hover-bg: var(--lex-primary);
    --bs-btn-hover-border-color: var(--lex-primary);
    --bs-btn-active-bg: var(--lex-primary-dark);
    --bs-btn-active-border-color: var(--lex-primary-dark);
    --bs-btn-disabled-color: var(--lex-primary);
    --bs-btn-disabled-border-color: var(--lex-primary);
}
.alert-primary {
    --bs-alert-color: var(--lex-primary-dark);
    --bs-alert-bg: rgba(var(--lex-primary-rgb), .10);
    --bs-alert-border-color: rgba(var(--lex-primary-rgb), .26);
    --bs-alert-link-color: var(--lex-primary-dark);
}
.form-control:focus, .form-select:focus {
    border-color: rgba(var(--lex-primary-rgb), .55);
    box-shadow: 0 0 0 .2rem rgba(var(--lex-primary-rgb), .18);
}
.form-check-input:focus { border-color: rgba(var(--lex-primary-rgb), .55); box-shadow: 0 0 0 .2rem rgba(var(--lex-primary-rgb), .18); }
.form-check-input:checked { background-color: var(--lex-primary); border-color: var(--lex-primary); }
.form-check-input[type="checkbox"]:indeterminate { background-color: var(--lex-primary); border-color: var(--lex-primary); }
.form-range::-webkit-slider-thumb { background: var(--lex-primary); }
.form-range::-webkit-slider-thumb:active { background: var(--lex-primary-dark); }
.form-range::-moz-range-thumb { background: var(--lex-primary); }
.page-link { color: var(--lex-primary); }
.page-link:hover { color: var(--lex-primary-dark); }
.page-item.active .page-link { background-color: var(--lex-primary); border-color: var(--lex-primary); }
.dropdown-item.active, .dropdown-item:active { background-color: var(--lex-primary); }
.list-group-item.active { background-color: var(--lex-primary); border-color: var(--lex-primary); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--lex-primary); }
.spinner-border.text-primary, .spinner-grow.text-primary { color: var(--lex-primary) !important; }
.progress-bar { background-color: var(--lex-primary); }
.form-select:focus, .form-control:focus { outline: 0; }
::selection { background: rgba(var(--lex-primary-rgb), .22); }

* { scroll-behavior: smooth; }

body {
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--lex-ink);
    background: var(--lex-bg);
}

/* ----- Typografie & knoppen ------------------------------------------------ */
.fw-800 { font-weight: 800; }
.text-gradient {
    background: var(--lex-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

a { color: var(--lex-primary); text-decoration: none; }
a:hover { color: var(--lex-primary-dark); }

.btn { border-radius: 12px; font-weight: 600; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.btn:active { transform: translateY(1px); }

.btn-primary {
    --bs-btn-bg: var(--lex-primary);
    --bs-btn-border-color: var(--lex-primary);
    --bs-btn-hover-bg: var(--lex-primary-dark);
    --bs-btn-hover-border-color: var(--lex-primary-dark);
    --bs-btn-active-bg: var(--lex-primary-dark);
}
.btn-gradient {
    background: var(--lex-grad);
    color: #fff;
    border: none;
    background-size: 180% 180%;
    animation: gradShift 8s ease infinite;
}
.btn-gradient:hover { color: #fff; box-shadow: 0 12px 28px -10px rgba(var(--lex-primary-rgb), .7); transform: translateY(-2px); }
.btn-lg { padding: .8rem 1.6rem; }

@keyframes gradShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.badge-soft { background: var(--lex-grad-soft); color: var(--lex-primary-dark); font-weight: 600; border-radius: 999px; padding: .35em .8em; }

/* ----- App-shell (ingelogd) ----------------------------------------------- */
.app-body { background: var(--lex-bg); }
.app-shell { display: flex; min-height: 100vh; }

.app-sidebar {
    width: 256px;
    background: linear-gradient(185deg, var(--lex-sidebar-1), var(--lex-sidebar-2));
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    padding: 22px 16px;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    box-shadow: 4px 0 30px -20px rgba(0,0,0,.6);
}

.app-sidebar__brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 24px; }
.app-sidebar__name { font-weight: 800; color: #fff; font-size: 1.15rem; letter-spacing: .2px; }
.app-sidebar__tag { font-size: .68rem; color: #94a3b8; letter-spacing: .5px; text-transform: uppercase; }

.app-sidebar__mark, .auth-brand__mark, .brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 13px;
    background: var(--lex-grad); color: #fff; font-weight: 800; font-size: 1.1rem;
    box-shadow: 0 10px 24px -10px rgba(var(--lex-primary-rgb), .8);
}
.brand-logo { display: inline-block; flex: none; width: 44px; height: 44px; object-fit: contain; }
.brand-wordmark { display: block; flex: none; width: auto; height: 40px; }
.brand-wordmark--nav { height: 34px; }
.brand-wordmark--sidebar { height: 34px; }
.brand-logo--sm { width: 26px; height: 26px; border-radius: 8px; vertical-align: -7px; }
.brand-logo--lg { width: 48px; height: 48px; border-radius: 14px; }

.app-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; overscroll-behavior: contain; }
.app-nav::-webkit-scrollbar { width: 6px; }
.app-nav::-webkit-scrollbar-track { background: transparent; }
.app-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 999px; }
.app-nav::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.28); }
.app-nav__section { font-size: .68rem; text-transform: uppercase; letter-spacing: .8px; color: #64748b; padding: 16px 12px 6px; font-weight: 700; }
.app-nav__link {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 13px; border-radius: 11px;
    color: #aeb9d0; font-weight: 600; font-size: .94rem;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.app-nav__link i { width: 20px; text-align: center; font-size: 1rem; opacity: .9; }
.app-nav__link:hover { background: rgba(255,255,255,.07); color: #fff; transform: translateX(2px); }
.app-nav__link.is-active { background: var(--lex-grad); color: #fff; box-shadow: 0 10px 24px -14px rgba(var(--lex-primary-rgb), .9); }
.app-nav__link.is-locked { color: #6b7689; }
.app-nav__link.is-locked:hover { color: #aeb9d0; }
.app-nav__link__locked-hint, .app-nav__lock { margin-left: auto; font-size: .72rem; opacity: .75; }
.app-sidebar__footer { margin-top: auto; font-size: .72rem; color: #64748b; padding: 14px 12px 4px; }

.app-main { flex: 1; margin-left: 256px; display: flex; flex-direction: column; min-width: 0; }

.app-topbar {
    display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--lex-border);
    padding: 12px 28px; position: sticky; top: 0; z-index: 1030;
}
.app-content { padding: 30px; max-width: 1180px; width: 100%; }

/* ----- Pagina-kop --------------------------------------------------------- */
.page-header { margin-bottom: 26px; }
.page-title { font-size: 1.7rem; font-weight: 800; margin: 0; letter-spacing: -.3px; }
.page-subtitle { margin: 6px 0 0; color: var(--lex-muted); }

/* ----- Kaarten ------------------------------------------------------------ */
.card { border: 1px solid var(--lex-border); border-radius: var(--lex-radius); background: var(--lex-card); box-shadow: var(--lex-shadow); }
.card-header { background: #fff; border-bottom: 1px solid var(--lex-border); padding: 16px 20px; font-weight: 700; border-radius: var(--lex-radius) var(--lex-radius) 0 0; }

.stat-card {
    position: relative; overflow: hidden;
    background: var(--lex-card); border: 1px solid var(--lex-border);
    border-radius: var(--lex-radius); padding: 22px; box-shadow: var(--lex-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--lex-shadow-lg); }
.stat-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; background: var(--lex-grad-soft); border-radius: 50%; }
.stat-card__icon { width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; background: var(--lex-grad); margin-bottom: 14px; }
.stat-card__label { color: var(--lex-muted); font-size: .85rem; font-weight: 600; }
.stat-card__value { font-size: 2rem; font-weight: 800; line-height: 1.1; }

/* ----- Tool-tegels -------------------------------------------------------- */
.tool-card {
    display: flex; flex-direction: column; gap: 10px; height: 100%;
    padding: 24px; border-radius: var(--lex-radius); background: var(--lex-card);
    border: 1px solid var(--lex-border); box-shadow: var(--lex-shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position: relative; overflow: hidden;
}
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--lex-shadow-lg); border-color: rgba(var(--lex-primary-rgb), .4); }
.tool-card__icon { width: 54px; height: 54px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; background: var(--lex-grad); box-shadow: 0 12px 26px -12px rgba(var(--lex-primary-rgb), .7); }
.tool-card__title { font-weight: 800; font-size: 1.12rem; margin: 0; }
.tool-card__text { color: var(--lex-muted); font-size: .92rem; margin: 0; flex: 1; }
.tool-card__cta { font-weight: 700; color: var(--lex-primary); display: inline-flex; align-items: center; gap: 7px; }
.tool-card:hover .tool-card__cta i { transform: translateX(4px); }
.tool-card__cta i { transition: transform .2s ease; }
.tool-card.is-locked { opacity: .92; }
.tool-card.is-locked .tool-card__icon { background: #94a3b8; box-shadow: none; filter: grayscale(.15); }
.tool-card__lock { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: rgba(15,23,42,.06); color: #64748b; font-size: .82rem; }
.tool-card__badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .82rem; color: var(--lex-primary); background: var(--lex-grad-soft); padding: 4px 10px; border-radius: 999px; align-self: flex-start; }

/* ----- Status & badges ---------------------------------------------------- */
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.status-dot.on { background: var(--lex-success); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 2s infinite; }
.status-dot.off { background: var(--lex-muted); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

.conf-badge { font-weight: 700; border-radius: 999px; padding: .3em .8em; font-size: .78rem; }
.conf-hoog { background: rgba(16,185,129,.14); color: #047857; }
.conf-gemiddeld { background: rgba(245,158,11,.16); color: #b45309; }
.conf-laag { background: rgba(239,68,68,.14); color: #b91c1c; }
.conf-onbekend { background: #eef1f6; color: var(--lex-muted); }

/* ----- AI-uitvoerblok ----------------------------------------------------- */
.ai-output {
    word-wrap: break-word;
    background: #fbfcff; border: 1px solid var(--lex-border);
    border-radius: 14px; padding: 26px 28px; line-height: 1.72; font-size: .97rem; color: #1f2937;
}
.ai-output.ai-rich p { margin: 0 0 .85rem; }
.ai-rich { line-height: 1.72; }
.ai-rich h4.ai-h { font-size: 1.04rem; font-weight: 800; margin: 1.3rem 0 .55rem; color: #0f172a; }
.ai-rich h4.ai-article { padding-bottom: .35rem; border-bottom: 2px solid rgba(var(--lex-primary-rgb), .18); color: var(--lex-primary-dark); letter-spacing: .2px; }
.ai-rich h5.ai-sub { font-size: .92rem; font-weight: 700; margin: 1rem 0 .4rem; color: #334155; }
.ai-rich ol, .ai-rich ul { margin: 0 0 .9rem; padding-left: 1.4rem; }
.ai-rich ol { list-style: decimal; }
.ai-rich li { margin-bottom: .35rem; padding-left: .15rem; }
.ai-rich strong { font-weight: 700; color: #0f172a; }
.ai-rich > *:first-child { margin-top: 0; }
.ai-rich > *:last-child { margin-bottom: 0; }
.verify-card { border-left: 4px solid var(--lex-success); }
.verify-card.is-sim { border-left-color: var(--lex-warning); }

/* Versleuteld/geverifieerd lint */
.ribbon { display: inline-flex; align-items: center; gap: 8px; background: var(--lex-grad-soft); color: var(--lex-primary-dark); font-weight: 700; padding: 8px 14px; border-radius: 12px; font-size: .86rem; }

/* ----- Disclaimer --------------------------------------------------------- */
.disclaimer {
    display: flex; gap: 12px; align-items: flex-start;
    background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(239,68,68,.08));
    border: 1px solid rgba(245,158,11,.35); border-radius: 14px;
    padding: 14px 16px; color: #7c2d12; font-size: .9rem;
}
.disclaimer i { color: var(--lex-warning); font-size: 1.15rem; margin-top: 2px; }
.disclaimer-bar { font-size: .82rem; color: var(--lex-muted); text-align: center; padding: 16px; border-top: 1px solid var(--lex-border); }
.app-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 30px; font-size: .78rem; color: var(--lex-muted); border-top: 1px solid var(--lex-border); }
.app-footer__links { display: inline-flex; gap: 14px; }
.app-footer__links a { color: var(--lex-muted); text-decoration: none; }
.app-footer__links a:hover { color: var(--lex-primary); }

/* ----- Cookie-consent ----------------------------------------------------- */
.cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000; display: flex; justify-content: center; pointer-events: none; }
.cookie-consent__inner { pointer-events: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; max-width: 760px; width: 100%; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border: 1px solid var(--lex-border); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(15,23,42,.45); padding: 18px 22px; transform: translateY(140%); opacity: 0; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s ease; }
.cookie-consent.is-visible .cookie-consent__inner { transform: translateY(0); opacity: 1; }
.cookie-consent__icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; background: var(--lex-grad); }
.cookie-consent__body { flex: 1 1 320px; min-width: 0; }
.cookie-consent__title { font-weight: 800; font-size: .98rem; margin-bottom: 2px; }
.cookie-consent__text { font-size: .82rem; color: var(--lex-muted); margin: 0; line-height: 1.45; }
.cookie-consent__text a { color: var(--lex-primary); font-weight: 600; }
.cookie-consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 520px) { .cookie-consent__actions { width: 100%; } .cookie-consent__actions .btn { flex: 1; } }

/* ----- Landing: brongedreven trust-band & contact ------------------------- */
.trust-band { background: var(--lex-grad-soft); border: 1px solid rgba(var(--lex-primary-rgb), .18); border-radius: 22px; padding: 32px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.trust-band__head h2 { font-size: 1.5rem; }
.trust-band__sources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.trust-source { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--lex-border); border-radius: 14px; padding: 14px 16px; box-shadow: var(--lex-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.trust-source:hover { transform: translateY(-4px); box-shadow: var(--lex-shadow-lg); }
.trust-source__ico { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--lex-grad); font-size: 1.05rem; }
.contact-band { background: #fff; border: 1px solid var(--lex-border); border-radius: 22px; box-shadow: var(--lex-shadow); padding: 32px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: center; }
.contact-band__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--lex-ink); background: var(--lex-bg); border: 1px solid var(--lex-border); border-radius: 14px; padding: 14px 16px; transition: transform .2s ease, border-color .2s ease; }
.contact-item:hover { transform: translateY(-3px); border-color: rgba(var(--lex-primary-rgb), .4); color: var(--lex-ink); }
.contact-item__ico { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--lex-grad); font-size: 1.05rem; }
@media (max-width: 860px) { .trust-band, .contact-band { grid-template-columns: 1fr; } .trust-band__sources { grid-template-columns: 1fr 1fr; } }

.contact-hero { padding-top: 56px; padding-bottom: 40px; }
.contact-trust { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--lex-border); border-radius: 16px; padding: 16px 18px; height: 100%; box-shadow: var(--lex-shadow); }
.contact-trust__ico { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--lex-grad); font-size: 1rem; }
.contact-line { display: flex; align-items: flex-start; gap: 12px; }
.contact-response { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--lex-grad-soft); }
.contact-response > i { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--lex-grad); }

/* ----- Forms -------------------------------------------------------------- */
.form-label { font-weight: 600; font-size: .9rem; }
.form-control, .form-select { border-radius: 11px; border-color: var(--lex-border); padding: .6rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--lex-primary); box-shadow: 0 0 0 .2rem rgba(var(--lex-primary-rgb), .15); }
.input-help { font-size: .82rem; color: var(--lex-muted); }

/* ----- Auth --------------------------------------------------------------- */
.auth-body { background: radial-gradient(1200px 600px at 10% -10%, rgba(var(--lex-primary-rgb), .18), transparent), radial-gradient(900px 500px at 110% 10%, rgba(151,190,141,.20), transparent), var(--lex-bg); min-height: 100vh; }
.auth-shell { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.auth-card { width: 100%; max-width: 460px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border: 1px solid var(--lex-border); border-radius: 22px; padding: 36px; box-shadow: var(--lex-shadow-lg); }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.auth-brand__name { font-weight: 800; font-size: 1.2rem; }
.auth-title { font-size: 1.55rem; font-weight: 800; margin-bottom: 6px; }
.auth-subtitle { margin-bottom: 26px; color: var(--lex-muted); }
.auth-footer { margin-top: 22px; }

/* ----- Marketing / landing ------------------------------------------------ */
.mkt-nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px); background: rgba(255,255,255,.8); border-bottom: 1px solid var(--lex-border); }
.mkt-hero { position: relative; overflow: hidden; padding: 90px 0 70px; }
.mkt-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 15% -10%, rgba(var(--lex-primary-rgb), .22), transparent), radial-gradient(800px 500px at 100% 0%, rgba(94,154,69,.18), transparent); z-index: 0; }
.mkt-hero > .container { position: relative; z-index: 1; }
.mkt-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -1px; line-height: 1.05; }
.mkt-hero p.lead { color: var(--lex-muted); font-size: 1.18rem; max-width: 620px; }
.hero-slogan-badge { font-weight: 800; letter-spacing: .2px; padding: .5em 1em; font-size: .9rem; }
.hero-slogan-badge i { color: var(--lex-primary); }
.brand-story { background: var(--lex-card); border: 1px solid var(--lex-border); border-radius: 22px; padding: 32px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; box-shadow: var(--lex-shadow); }
.brand-story__values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brand-value { display: flex; gap: 12px; align-items: flex-start; }
.brand-value__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--lex-grad-soft); color: var(--lex-primary-dark); font-size: 1.05rem; }
@media (max-width: 860px) { .brand-story { grid-template-columns: 1fr; padding: 24px; } }
@media (max-width: 540px) { .brand-story__values { grid-template-columns: 1fr; } }
.mkt-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; animation: float 9s ease-in-out infinite; }
.mkt-blob.b1 { width: 320px; height: 320px; background: rgba(var(--lex-primary-rgb), .4); top: -60px; right: 4%; }
.mkt-blob.b2 { width: 260px; height: 260px; background: rgba(94,154,69,.35); bottom: -80px; left: 6%; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

.feature-card { padding: 26px; border-radius: var(--lex-radius); background: #fff; border: 1px solid var(--lex-border); height: 100%; box-shadow: var(--lex-shadow); transition: transform .2s ease; }
.feature-card:hover { transform: translateY(-5px); }
.feature-ico { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; color: #fff; background: var(--lex-grad); margin-bottom: 14px; }
.mkt-section { padding: 70px 0; }
.glass-cta { background: var(--lex-grad); border-radius: 26px; padding: 54px; color: #fff; box-shadow: var(--lex-shadow-lg); }

/* ----- Reveal-animaties --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ----- AI laad-overlay ---------------------------------------------------- */
.ai-overlay { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(15,23,42,.55); backdrop-filter: blur(6px); }
.ai-overlay.show { display: flex; }
.ai-overlay__box { background: #fff; border-radius: 20px; padding: 34px 40px; text-align: center; max-width: 420px; box-shadow: var(--lex-shadow-lg); }
.ai-spinner { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: conic-gradient(from 0deg, var(--lex-primary), var(--lex-accent-2), var(--lex-accent), var(--lex-primary)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 0); mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 0); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-steps { list-style: none; padding: 0; margin: 16px 0 0; text-align: left; font-size: .9rem; }
.ai-steps li { padding: 6px 0; color: var(--lex-muted); display: flex; align-items: center; gap: 10px; }
.ai-steps li.active { color: var(--lex-ink); font-weight: 600; }
.ai-steps li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lex-border); }
.ai-steps li.active .dot { background: var(--lex-primary); }

/* ----- Diversen ----------------------------------------------------------- */
.flash-stack { margin-bottom: 18px; }
.alert { border-radius: 12px; border: none; }
.table { --bs-table-bg: transparent; }
.copy-btn { cursor: pointer; }
.list-tight a { color: inherit; }

.avatar-chip { width: 28px; height: 28px; border-radius: 9px; background: var(--lex-grad); color: #fff; font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.app-topbar__page { color: var(--lex-muted); }

/* admin charts */
.bar-track { height: 9px; border-radius: 999px; background: var(--lex-bg); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--lex-grad); transition: width .6s ease; }
.day-chart { display: flex; align-items: flex-end; gap: 6px; height: 150px; }
.day-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.day-bar { width: 100%; max-width: 26px; border-radius: 6px 6px 0 0; background: var(--lex-grad); transition: height .5s ease; }
.day-label { font-size: .68rem; color: var(--lex-muted); }

/* document download/email bar */
.doc-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* sidebar credits widget */
.sidebar-credits { display: block; margin: 14px 4px 0; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.06); color: #cbd5e1; border: 1px solid rgba(255,255,255,.08); transition: background .2s ease; }
.sidebar-credits:hover { background: rgba(255,255,255,.1); color: #fff; }
.sidebar-credits .bar-track { background: rgba(255,255,255,.12); height: 7px; }
.sidebar-credits__plan { font-size: .72rem; color: #94a3b8; margin-top: 8px; }
.sidebar-credits__low { font-size: .72rem; color: #fca5a5; margin-top: 8px; font-weight: 700; }

.credit-pill { align-items: center; gap: 7px; background: var(--lex-grad-soft); color: var(--lex-primary-dark); font-weight: 800; padding: 7px 13px; border-radius: 999px; text-decoration: none; font-size: .9rem; }
.credit-pill:hover { color: var(--lex-primary-dark); filter: brightness(.97); }
.credit-pill--low { background: rgba(239,68,68,.14); color: #b91c1c; }
.credit-pill--low:hover { color: #b91c1c; }

.pw-meter { height: 7px; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; background: #e5e7eb; border-radius: 999px; transition: width .25s ease, background .25s ease; }

.score-ring { position: relative; width: 104px; height: 104px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin: 0 auto; }
.score-ring.score-green { background: conic-gradient(#10b981 90%, #e5e7eb 0); }
.score-ring.score-orange { background: conic-gradient(#f59e0b 70%, #e5e7eb 0); }
.score-ring.score-red { background: conic-gradient(#ef4444 45%, #e5e7eb 0); }
.score-ring::before { content: ""; position: absolute; width: 80px; height: 80px; border-radius: 50%; background: #fff; }
.score-ring__value { position: relative; z-index: 1; font-size: 1.6rem; font-weight: 800; color: #1f2937; }
.traffic { display: inline-flex; gap: 8px; }
.traffic__dot { width: 16px; height: 16px; border-radius: 50%; opacity: .4; }
.traffic__dot.is-on { opacity: 1; box-shadow: 0 0 0 3px rgba(0,0,0,.05); }
.traffic__red { background: #fecaca; } .traffic__red.is-on { background: #ef4444; }
.traffic__orange { background: #fde68a; } .traffic__orange.is-on { background: #f59e0b; }
.traffic__green { background: #bbf7d0; } .traffic__green.is-on { background: #10b981; }

.profile-menu { min-width: 290px; border: 1px solid var(--lex-border); border-radius: 14px; box-shadow: var(--lex-shadow-lg); padding-bottom: 6px; }
.min-w-0 { min-width: 0; }

/* count-up + entrance */
.pop-in { animation: popIn .4s cubic-bezier(.2,.8,.3,1.2) both; }
@keyframes popIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.greet-wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.2s ease-in-out 1; }
@keyframes wave { 0%,60%,100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }

/* pricing */
.price-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px; border-radius: 18px; background: #fff; border: 1.5px solid var(--lex-border); box-shadow: var(--lex-shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--lex-shadow-lg); }
.price-card.is-featured { border-color: var(--lex-primary); box-shadow: 0 24px 60px -28px rgba(var(--lex-primary-rgb), .6); }
.price-card.is-current { border-color: var(--lex-success); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--lex-grad); color: #fff; font-weight: 700; font-size: .72rem; padding: 5px 14px; border-radius: 999px; }
.price-amount { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.price-period { color: var(--lex-muted); font-size: .9rem; }
.price-features { list-style: none; padding: 0; margin: 18px 0; flex: 1; }
.price-features li { display: flex; gap: 9px; align-items: flex-start; padding: 5px 0; font-size: .92rem; }
.price-features li i { color: var(--lex-success); margin-top: 3px; }
.price-was { text-decoration: line-through; color: var(--lex-muted); font-size: 1rem; font-weight: 600; }
.price-was--light { color: rgba(255,255,255,.6); }
.price-discount-tag { display: inline-flex; align-items: center; font-weight: 700; font-size: .78rem; color: #166534; background: #dcfce7; padding: 3px 10px; border-radius: 999px; margin: 6px 0 2px; }
.price-inherits { font-weight: 700; font-size: .9rem; color: var(--lex-primary-dark); margin: 10px 0 2px; }
.upsell-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; padding: 22px 24px; border-radius: 16px; background: var(--lex-grad-soft); border: 1px solid rgba(var(--lex-primary-rgb), .25); }

/* ----- Zakelijke B2B-card ------------------------------------------------- */
.business-card { border-radius: 22px; background: linear-gradient(135deg, #122a22 0%, #0f172a 55%, #1f7e47 100%); color: #e2e8f0; box-shadow: var(--lex-shadow-lg); overflow: hidden; }
.business-card__body { display: flex; flex-wrap: wrap; gap: 28px; padding: 32px 34px; align-items: center; }
.business-card__intro { flex: 1 1 420px; min-width: 0; }
.business-card__tag { display: inline-flex; align-items: center; font-weight: 700; font-size: .82rem; letter-spacing: .3px; color: #c5ead3; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 14px; border-radius: 999px; }
.business-card__title { font-size: 1.7rem; font-weight: 800; margin: 14px 0 6px; color: #fff; }
.business-card__lead { color: #94a3b8; margin: 0 0 16px; max-width: 620px; }
.business-card__features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 20px; }
.business-card__features li { display: flex; gap: 9px; align-items: flex-start; font-size: .92rem; }
.business-card__features li i { color: #97be8d; margin-top: 4px; }
.business-card__action { flex: 1 1 260px; max-width: 320px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 22px; }
.business-card__price { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.business-card__period { font-size: .9rem; font-weight: 600; color: #94a3b8; }
.business-card__note { color: #94a3b8; font-size: .84rem; margin: 8px 0 16px; }
.business-card .btn-outline-light { border-color: rgba(255,255,255,.4); color: #e2e8f0; }
.business-card .btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }

.meter { height: 12px; border-radius: 999px; background: var(--lex-bg); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: var(--lex-grad); transition: width .6s ease; }

/* generic uploader */
.uploader { display: block; border: 1.5px dashed var(--lex-border); border-radius: 14px; padding: 18px; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.uploader:hover, .uploader.is-drop { border-color: var(--lex-primary); background: var(--lex-grad-soft); }
.uploader__inner { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--lex-muted); }
.uploader__inner i { font-size: 1.5rem; color: var(--lex-primary); }
.uploader__link { color: var(--lex-primary); font-weight: 700; }
.att-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ===== Chat ============================================================== */
.chat-wrap { display: flex; flex-direction: column; height: calc(100vh - 64px - 58px); margin: -30px -30px 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lex-border); position: relative; z-index: 30; }
.chat-head .dropdown-menu { z-index: 1060; }
.chat-head__title { display: flex; align-items: center; gap: 10px; min-width: 0; }

.chat-scroll { flex: 1; overflow-y: auto; padding: 26px 28px 10px; scroll-behavior: smooth; }
.chat-disclaimer { display: flex; gap: 10px; align-items: flex-start; background: var(--lex-grad-soft); color: var(--lex-primary-dark); border-radius: 12px; padding: 10px 14px; font-size: .82rem; margin: 0 auto 22px; max-width: 820px; }
.chat-disclaimer i { margin-top: 2px; }

.chat-empty { text-align: center; max-width: 560px; margin: 8vh auto; }
.chat-empty__icon { width: 76px; height: 76px; border-radius: 22px; background: var(--lex-grad); color: #fff; font-size: 2rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: var(--lex-shadow-lg); animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.msg { display: flex; gap: 12px; max-width: 820px; margin: 0 auto 18px; animation: msgIn .35s ease both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.msg--user { flex-direction: row-reverse; }
.msg-avatar { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--lex-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -10px rgba(var(--lex-primary-rgb), .8); }
.msg-bubble { max-width: 76%; border-radius: 16px; padding: 14px 16px; box-shadow: var(--lex-shadow); }
.msg--ai .msg-bubble { background: #fff; border: 1px solid var(--lex-border); border-top-left-radius: 4px; }
.msg--user .msg-bubble { background: var(--lex-grad); color: #fff; border-top-right-radius: 4px; }
.msg-text { line-height: 1.65; word-wrap: break-word; }
.ai-rich p { margin: 0 0 .6rem; }
.ai-rich p:last-child { margin-bottom: 0; }
.ai-rich ul { margin: 0 0 .6rem; padding-left: 1.2rem; }
.ai-rich li { margin-bottom: .25rem; }
.ai-rich .ai-h { font-size: 1rem; font-weight: 800; margin: .4rem 0 .4rem; }
.msg-meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: .74rem; }
.copy-mini { border: none; background: transparent; color: var(--lex-muted); cursor: pointer; padding: 0; }
.copy-mini:hover { color: var(--lex-primary); }

.msg-atts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.msg-att-img img { max-width: 160px; max-height: 160px; border-radius: 10px; display: block; }
.msg-att-doc { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: inherit; padding: 8px 12px; border-radius: 10px; font-size: .82rem; max-width: 220px; }
.msg--ai .msg-att-doc { background: var(--lex-bg); border-color: var(--lex-border); color: var(--lex-ink); }
.msg-att-doc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* typing indicator */
.typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--lex-primary); opacity: .5; animation: blink 1.3s infinite both; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-5px); opacity: 1; } }

/* composer */
.chat-composer { padding: 12px 28px 14px; border-top: 1px solid var(--lex-border); background: #fff; }
.composer-row { display: flex; align-items: flex-end; gap: 8px; max-width: 820px; margin: 0 auto; background: var(--lex-bg); border: 1.5px solid var(--lex-border); border-radius: 16px; padding: 6px 6px 6px 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.composer-row.is-focus { border-color: var(--lex-primary); box-shadow: 0 0 0 .2rem rgba(var(--lex-primary-rgb), .12); }
.composer-row.is-drop { border-style: dashed; border-color: var(--lex-primary); background: var(--lex-grad-soft); }
.composer-input { flex: 1; border: none; background: transparent; resize: none; outline: none; padding: 8px 4px; max-height: 180px; font-size: .98rem; line-height: 1.5; }
.composer-attach, .composer-send { flex: none; width: 42px; height: 42px; border-radius: 12px; border: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.composer-attach { background: transparent; color: var(--lex-muted); }
.composer-attach:hover { color: var(--lex-primary); }
.composer-send { background: var(--lex-grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(var(--lex-primary-rgb), .8); }
.composer-send:hover { transform: translateY(-2px); }
.composer-send:disabled { opacity: .5; cursor: not-allowed; }
.composer-hint { max-width: 820px; margin: 8px auto 0; font-size: .76rem; color: var(--lex-muted); text-align: center; }
.composer-atts { display: flex; flex-wrap: wrap; gap: 8px; max-width: 820px; margin: 0 auto 8px; }
.att-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--lex-grad-soft); color: var(--lex-primary-dark); border-radius: 10px; padding: 6px 10px; font-size: .8rem; max-width: 220px; }
.att-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-chip button { border: none; background: transparent; color: inherit; cursor: pointer; padding: 0; }

.start-card .start-input { border-radius: 14px; font-size: 1.02rem; }
.starter-chip { border: 1px solid var(--lex-border); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: .82rem; font-weight: 600; color: var(--lex-ink); cursor: pointer; transition: all .15s ease; }
.starter-chip:hover { border-color: var(--lex-primary); color: var(--lex-primary); transform: translateY(-1px); }

.case-card { padding: 20px; border-radius: var(--lex-radius); background: #fff; border: 1px solid var(--lex-border); box-shadow: var(--lex-shadow); height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--lex-shadow-lg); border-color: rgba(var(--lex-primary-rgb), .4); }
.case-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.case-card__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--lex-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.case-card__title { font-weight: 800; font-size: 1.02rem; color: var(--lex-ink); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-card__meta { display: flex; justify-content: space-between; font-size: .78rem; color: var(--lex-muted); }

/* ----- Gecentreerde startzone (nieuwe chat) ------------------------------- */
.chat-start { display: flex; justify-content: center; min-height: calc(100vh - 64px - 58px - 60px); padding: 12px 0 8px; }
.chat-start__inner { width: 100%; max-width: 860px; display: flex; flex-direction: column; align-items: center; margin: auto; }
.chat-start__hero { text-align: center; margin-bottom: 26px; }
.chat-start__mark { width: 72px; height: 72px; border-radius: 22px; background: var(--lex-grad); color: #fff; font-size: 1.9rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--lex-shadow-lg); margin-bottom: 18px; animation: floaty 4s ease-in-out infinite; }
.chat-start__title { font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 10px; letter-spacing: -.5px; }
.chat-start__sub { color: var(--lex-muted); font-size: 1.02rem; line-height: 1.6; max-width: 640px; margin: 0 auto; }
.chat-start__alert { width: 100%; border-radius: 14px; }

.chat-start__card { width: 100%; }
.chat-start__field { background: #fff; border: 1.5px solid var(--lex-border); border-radius: 20px; padding: 14px 16px 12px; box-shadow: var(--lex-shadow); transition: border-color .15s ease, box-shadow .15s ease; }
.chat-start__card:focus-within .chat-start__field { border-color: var(--lex-primary); box-shadow: 0 0 0 .25rem rgba(var(--lex-primary-rgb), .12); }
.chat-start__card.is-drop .chat-start__field { border-style: dashed; border-color: var(--lex-primary); background: var(--lex-grad-soft); }
.chat-start__input { width: 100%; border: none; outline: none; resize: none; background: transparent; font-size: 1.06rem; line-height: 1.55; min-height: 64px; max-height: 240px; color: var(--lex-ink); }
.chat-start__input::placeholder { color: #9aa6bd; }
.chat-start__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.chat-start__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.chat-start__bar-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.chat-start__attach { flex: none; width: 42px; height: 42px; border-radius: 12px; border: none; background: var(--lex-bg); color: var(--lex-muted); cursor: pointer; transition: color .15s ease, background .15s ease; }
.chat-start__attach:hover { color: var(--lex-primary); background: var(--lex-grad-soft); }
.chat-start__select { border: 1px solid var(--lex-border); border-radius: 12px; padding: 9px 12px; font-size: .88rem; font-weight: 600; color: var(--lex-ink); background: var(--lex-bg); max-width: 220px; }
.chat-start__select:focus { outline: none; border-color: var(--lex-primary); }
.chat-start__send { flex: none; display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 14px; background: var(--lex-grad); color: #fff; font-weight: 700; padding: 11px 18px; min-height: 44px; cursor: pointer; box-shadow: 0 10px 22px -10px rgba(var(--lex-primary-rgb), .8); transition: transform .15s ease, box-shadow .15s ease; }
.chat-start__send:hover { transform: translateY(-2px); color: #fff; }
.chat-start__hint { text-align: center; font-size: .78rem; color: var(--lex-muted); margin-top: 12px; }

.chat-start__starters { width: 100%; margin-top: 34px; }
.chat-start__starters-head { font-weight: 800; font-size: .92rem; color: var(--lex-ink); margin-bottom: 14px; text-align: center; }
.starter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.starter-group { background: #fff; border: 1px solid var(--lex-border); border-radius: 16px; padding: 14px; box-shadow: var(--lex-shadow); }
.starter-group__head { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: .9rem; margin-bottom: 10px; }
.starter-group__icon { width: 32px; height: 32px; border-radius: 10px; background: var(--lex-grad-soft); color: var(--lex-primary-dark); display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.starter-group__list { display: flex; flex-direction: column; gap: 7px; }
.starter-q { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; border: 1px solid var(--lex-border); background: var(--lex-bg); border-radius: 11px; padding: 9px 12px; font-size: .82rem; font-weight: 500; color: var(--lex-ink); cursor: pointer; transition: all .15s ease; }
.starter-q i { color: var(--lex-primary); opacity: 0; transform: translateX(-4px); transition: all .15s ease; flex: none; }
.starter-q:hover { border-color: var(--lex-primary); background: var(--lex-grad-soft); color: var(--lex-primary-dark); }
.starter-q:hover i { opacity: 1; transform: translateX(0); }

.chat-start__cases { margin-top: 44px; }
.chat-start__more { text-align: center; margin-top: 30px; }

/* ----- Chat met bronnen-zijbalk ------------------------------------------- */
.chat-layout { display: flex; height: calc(100vh - 64px - 58px); margin: -30px -30px 0; }
.chat-layout .chat-wrap { margin: 0; height: 100%; flex: 1 1 auto; min-width: 0; }
.chat-aside { flex: none; width: 326px; background: #fff; border-left: 1px solid var(--lex-border); display: flex; flex-direction: column; overflow-y: auto; padding: 18px 18px 24px; }
.chat-aside__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.chat-aside__intro { font-size: .8rem; color: var(--lex-muted); line-height: 1.5; margin-bottom: 14px; }
.chat-aside__sources { display: flex; flex-direction: column; gap: 10px; }
.src-item { display: block; border: 1px solid var(--lex-border); border-radius: 13px; padding: 11px 13px; background: var(--lex-bg); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.src-item:hover { border-color: rgba(var(--lex-primary-rgb), .45); transform: translateY(-2px); box-shadow: var(--lex-shadow); }
.src-item__badge { display: inline-block; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--lex-primary-dark); background: var(--lex-grad-soft); border-radius: 999px; padding: 3px 9px; margin-bottom: 7px; }
.src-item__title { display: block; font-weight: 700; font-size: .86rem; color: var(--lex-ink); line-height: 1.35; }
.src-item__snippet { display: block; font-size: .77rem; color: var(--lex-muted); line-height: 1.45; margin-top: 5px; }
.src-item__link { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; color: var(--lex-primary); margin-top: 8px; }
.chat-aside__empty { text-align: center; color: var(--lex-muted); font-size: .82rem; line-height: 1.5; padding: 24px 8px; }
.chat-aside__empty i { font-size: 1.6rem; }
.chat-aside__memory { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--lex-border); }
.chat-aside__summary { font-size: .8rem; color: var(--lex-muted); line-height: 1.55; }
.chat-aside__facts { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.chat-aside__facts li { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; }
.chat-aside__facts li span { color: var(--lex-muted); }
.chat-aside__facts li strong { text-align: right; font-weight: 700; }
.src-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: var(--lex-primary); color: #fff; font-size: .68rem; font-weight: 700; }
.chat-aside__backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 1045; }

@media (max-width: 1199.98px) {
    .chat-aside { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 86vw); z-index: 1050; transform: translateX(100%); transition: transform .22s ease; box-shadow: -20px 0 50px -30px rgba(15,23,42,.5); }
    .chat-aside.is-open { transform: translateX(0); }
    .starter-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
    .app-sidebar { transform: translateX(-100%); transition: transform .2s ease; }
    .app-sidebar.is-open { transform: translateX(0); }
    .app-main { margin-left: 0; }
    .app-content { padding: 20px; }
    .chat-layout { margin: -20px -20px 0; height: calc(100vh - 56px - 52px); }
    .chat-head, .chat-scroll, .chat-composer { padding-left: 16px; padding-right: 16px; }
    .msg-bubble { max-width: 86%; }
    .starter-grid { grid-template-columns: 1fr; }
    .chat-start { min-height: 0; }
}

/* ==========================================================================
   Fase 07 - Design-systeem polish: zijmenu-scroll, opmaak, feedback
   ========================================================================== */

/* Zijmenu: merk vast bovenaan, account/credits vast onderaan, nav scrollt subtiel. */
.app-sidebar { overflow: hidden; }
.app-sidebar__brand,
.app-sidebar > .btn-gradient,
.sidebar-credits,
.app-sidebar__footer { flex: none; }
.app-nav { scrollbar-gutter: stable; }
.app-nav::-webkit-scrollbar { width: 7px; }
.app-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 999px; }
.app-nav::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.3); }

/* AI-uitvoer: nettere scheiding tussen secties en citaten. */
.ai-rich hr { border: none; border-top: 1px solid var(--lex-border); margin: 1.3rem 0; }
.ai-rich blockquote { margin: 0 0 .9rem; padding: .55rem .95rem; border-left: 3px solid rgba(var(--lex-primary-rgb), .3); background: var(--lex-grad-soft); border-radius: 0 10px 10px 0; color: #475569; }
.ai-rich h4.ai-h:first-child { margin-top: 0; }
.msg--ai .msg-bubble .ai-rich { font-size: .95rem; }

/* Skeleton-laadtoestanden */
.skeleton { position: relative; overflow: hidden; background: #eef1f6; border-radius: 10px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: shimmer 1.4s infinite; }
.skeleton--line { height: 12px; margin-bottom: 10px; }
.skeleton--title { height: 20px; width: 45%; margin-bottom: 16px; }
.skeleton--block { height: 120px; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* Knoppen met laadstatus */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; color: #fff; animation: spin .6s linear infinite; }
.btn-light.is-loading::after, .btn-outline-primary.is-loading::after { color: var(--lex-primary); }

/* Betrouwbaarheids- & slagingskansmeter */
.assess { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--lex-border); border-radius: 12px; background: var(--lex-bg); }
.assess__row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.assess__row:last-of-type { margin-bottom: 0; }
.assess__label { flex: 0 0 168px; font-size: .78rem; font-weight: 600; color: var(--lex-muted); }
.assess__label i { width: 16px; text-align: center; margin-right: 2px; }
.assess__bar { flex: 1 1 auto; height: 8px; border-radius: 999px; background: #e6e8f0; overflow: hidden; min-width: 60px; }
.assess__bar > span { display: block; height: 100%; border-radius: 999px; transition: width .7s cubic-bezier(.2,.8,.3,1); }
.assess__bar > span.is-high { background: var(--lex-success); }
.assess__bar > span.is-mid { background: var(--lex-warning); }
.assess__bar > span.is-low { background: var(--lex-danger); }
.assess__val { flex: 0 0 44px; text-align: right; font-weight: 800; font-size: .82rem; }
.assess__note { font-size: .78rem; color: var(--lex-muted); margin-top: 10px; line-height: 1.45; }
@media (max-width: 520px) { .assess__label { flex-basis: 120px; font-size: .74rem; } }

.research-steps { margin-top: 12px; }
.research-steps__toggle { display: flex; align-items: center; width: 100%; gap: 6px; padding: 9px 13px; border: 1px solid var(--lex-border); border-radius: 12px; background: var(--lex-bg); color: var(--lex-muted); font-size: .8rem; font-weight: 600; text-align: left; transition: background .15s ease, color .15s ease; }
.research-steps__toggle:hover { background: #eef1f8; color: var(--lex-ink, #1f2430); }
.research-steps__toggle .fa-chevron-down { transition: transform .2s ease; font-size: .72rem; }
.research-steps__toggle:not(.collapsed) .fa-chevron-down { transform: rotate(180deg); }
.research-steps__list { margin: 10px 0 2px; padding-left: 20px; font-size: .82rem; color: var(--lex-muted); }
.research-steps__list li { margin-bottom: 6px; line-height: 1.45; }
.research-steps__list li:last-child { margin-bottom: 0; }

.tool-manage { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--lex-border); border-radius: 12px; background: var(--lex-bg); flex-wrap: wrap; }
.tool-manage__main { display: flex; align-items: flex-start; gap: 12px; min-width: 0; flex: 1 1 320px; }
.tool-manage__ico { flex: none; width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--lex-grad); }
.tool-manage__switches { display: flex; align-items: center; gap: 18px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.tool-manage__switches .form-check { display: flex; align-items: center; gap: 8px; padding-left: 2.6em; }
.tool-manage__switches .form-check-label { white-space: nowrap; color: var(--lex-muted); }
.tool-manage__label { width: auto; min-width: 132px; }
@media (max-width: 640px) { .tool-manage__switches { gap: 12px; } .tool-manage__label { min-width: 120px; } }

/* Bronnen zoeken-indicator in de zijbalk */
.src-loading { font-size: .82rem; color: var(--lex-primary-dark); font-weight: 600; padding: 12px 13px; border: 1px dashed rgba(var(--lex-primary-rgb), .35); border-radius: 13px; background: var(--lex-grad-soft); }

/* Upsell-balk (pakket-promotie) */
.upsell-bar { display: flex; align-items: center; gap: 14px; background: var(--lex-grad); background-size: 180% 180%; animation: gradShift 8s ease infinite; color: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 22px; box-shadow: var(--lex-shadow); }
.upsell-bar__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.upsell-bar__text { flex: 1; font-size: .9rem; font-weight: 600; line-height: 1.4; min-width: 0; }
.upsell-bar__cta { flex: none; white-space: nowrap; font-weight: 700; }
.upsell-bar__close { flex: none; background: transparent; border: none; color: rgba(255,255,255,.85); cursor: pointer; font-size: 1rem; padding: 4px; line-height: 1; }
.upsell-bar__close:hover { color: #fff; }
@media (max-width: 575.98px) {
    .upsell-bar { flex-wrap: wrap; }
    .upsell-bar__text { flex: 1 1 100%; order: 3; }
}

/* Nette lege staat (herbruikbaar) */
.empty-state { text-align: center; color: var(--lex-muted); padding: 40px 20px; }
.empty-state__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--lex-grad-soft); color: var(--lex-primary-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 14px; }

/* Subtiele entree voor nieuwe chatberichten */
.msg { animation: msgIn .32s ease both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Consistente focus-zichtbaarheid (toegankelijkheid) */
.btn:focus-visible, .form-control:focus-visible, .form-select:focus-visible, .app-nav__link:focus-visible, .starter-q:focus-visible, .src-item:focus-visible { outline: 2px solid var(--lex-primary); outline-offset: 2px; }

/* Respecteer prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Fase 10 - Juridische pagina's & disclaimer-links
   ========================================================================== */
.legal-doc { line-height: 1.75; color: var(--lex-ink); counter-reset: legal-h; background: var(--lex-card); border: 1px solid var(--lex-border); border-radius: 18px; box-shadow: var(--lex-shadow); padding: 30px 34px; margin-top: 18px; }
.legal-doc > p:first-of-type { font-size: 1.05rem; color: var(--lex-ink); border-left: 3px solid var(--lex-primary); padding-left: 16px; background: var(--lex-grad-soft); border-radius: 0 10px 10px 0; padding: 14px 16px; }
.legal-doc h2 { counter-increment: legal-h; font-size: 1.12rem; font-weight: 800; margin: 2rem 0 .7rem; padding-bottom: .35rem; border-bottom: 1px solid var(--lex-border); display: flex; align-items: baseline; gap: 10px; }
.legal-doc h2::before { content: counter(legal-h); flex: none; min-width: 28px; height: 28px; padding: 0 7px; border-radius: 8px; background: var(--lex-grad-soft); color: var(--lex-primary-dark); font-size: .82rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.legal-doc p, .legal-doc ul { margin-bottom: 1rem; }
.legal-doc ul { padding-left: 1.3rem; }
.legal-doc li { margin-bottom: .4rem; }
.legal-doc a { color: var(--lex-primary); font-weight: 600; }
@media (max-width: 575.98px) { .legal-doc { padding: 22px 18px; } }
.disclaimer-bar__links { display: inline-flex; gap: 14px; margin-left: 10px; }
.disclaimer-bar__links a { color: var(--lex-muted); text-decoration: none; }
.disclaimer-bar__links a:hover { color: var(--lex-primary); }
@media (max-width: 575.98px) { .disclaimer-bar__links { display: flex; justify-content: center; margin: 8px 0 0; } }
.case-card__assess { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.case-pill { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; color: var(--lex-primary-dark); background: var(--lex-grad-soft); border-radius: 999px; padding: 3px 9px; }

/* ==========================================================================
   Fase 11 - Betrouwbaarheids-/slagingsmeters (cirkels) & vouchers
   ========================================================================== */
.gauges { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.gauge-item { text-align: center; }
.gauge { width: 104px; height: 104px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; position: relative; }
.gauge::before { content: ""; position: absolute; width: 78px; height: 78px; border-radius: 50%; background: #fff; box-shadow: inset 0 1px 3px rgba(15,23,42,.06); }
.gauge__val { position: relative; z-index: 1; font-weight: 800; font-size: 1.45rem; color: var(--lex-ink); }
.gauge__label { margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--lex-muted); }
.gauges--inline { gap: 18px; justify-content: flex-start; }
.gauge--sm { width: 66px; height: 66px; }
.gauge--sm::before { width: 48px; height: 48px; }
.gauge--sm .gauge__val { font-size: .92rem; }
.gauges--inline .gauge__label { margin-top: 5px; font-size: .72rem; }
.gauge--xs { width: 40px; height: 40px; }
.gauge--xs::before { width: 28px; height: 28px; }
.gauge--xs .gauge__val { font-size: .66rem; }

/* ==========================================================================
   Fase 16 - Zakelijke UI-polish: symmetrie, sticky nav, footer, cookies
   ========================================================================== */

/* Symmetrische tegels: alleen de tegel-componenten in een grid-rij vullen de
   volledige kolomhoogte (daar oogt gelijke hoogte strak). Gewone .card's worden
   bewust NIET geforceerd, zodat formulier-/inhoudskaarten hun natuurlijke hoogte
   houden waar dat beter staat. */
.row > [class*="col"] > .feature-card,
.row > [class*="col"] > .price-card,
.row > [class*="col"] > .tool-card,
.row > [class*="col"] > .stat-card,
.row > [class*="col"] > .case-card { height: 100%; }
.feature-card { display: flex; flex-direction: column; }
.feature-card > p:last-child { margin-top: auto; }

/* Verfijnde kaart-hiërarchie en rust. Let op: .page-header blijft een blok
   (titel boven subtitel, links uitgelijnd). Schermen die een actieknop naast de
   titel willen, voegen zelf .d-flex toe op de page-header. */
.card-body { padding: 20px 22px; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .78rem; letter-spacing: .4px; text-transform: uppercase; color: var(--lex-primary-dark); }

/* ----- Publieke sticky navigatie ------------------------------------------ */
.mkt-nav { transition: box-shadow .25s ease, background .25s ease; }
.mkt-nav.is-stuck { box-shadow: 0 12px 30px -22px rgba(15,23,42,.5); background: rgba(255,255,255,.92); }
.mkt-nav__links { display: flex; align-items: center; gap: 4px; }
.mkt-nav__link { padding: 8px 14px; border-radius: 11px; font-weight: 600; font-size: .94rem; color: var(--lex-ink); transition: background .15s ease, color .15s ease; }
.mkt-nav__link:hover { background: var(--lex-grad-soft); color: var(--lex-primary-dark); }
.mkt-nav__toggle { border: 1px solid var(--lex-border); background: #fff; border-radius: 11px; width: 42px; height: 42px; color: var(--lex-ink); }
.mkt-nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 8px 0 14px; border-top: 1px solid var(--lex-border); }
.mkt-nav__mobile.is-open { display: flex; }
.mkt-nav__mobile a { padding: 11px 12px; border-radius: 11px; font-weight: 600; color: var(--lex-ink); }
.mkt-nav__mobile a:hover { background: var(--lex-grad-soft); }
@media (max-width: 767.98px) { .mkt-nav__links { display: none; } }

/* ----- Rijke publieke footer ---------------------------------------------- */
.mkt-footer { background: linear-gradient(185deg, #fbfcff, #f4f6fb); border-top: 1px solid var(--lex-border); padding: 56px 0 26px; margin-top: 70px; }
.mkt-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mkt-footer__name { font-weight: 800; font-size: 1.15rem; color: var(--lex-ink); }
.mkt-footer__about { color: var(--lex-muted); font-size: .9rem; line-height: 1.6; max-width: 340px; }
.mkt-footer__col-title { font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .6px; color: var(--lex-ink); margin-bottom: 14px; }
.mkt-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.mkt-footer__links a { color: var(--lex-muted); font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.mkt-footer__links a:hover { color: var(--lex-primary); }
.mkt-footer__links a i { width: 16px; text-align: center; opacity: .7; }
.mkt-footer__bottom { border-top: 1px solid var(--lex-border); margin-top: 36px; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.mkt-footer__copy { font-size: .82rem; color: var(--lex-muted); }
.mkt-footer__disclaimer { font-size: .78rem; color: var(--lex-muted); margin: 14px 0 0; line-height: 1.55; }
.mkt-footer__social { display: inline-flex; gap: 8px; }
.mkt-footer__social a { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--lex-border); color: var(--lex-muted); transition: transform .15s ease, color .15s ease, border-color .15s ease; }
.mkt-footer__social a:hover { transform: translateY(-2px); color: var(--lex-primary); border-color: rgba(var(--lex-primary-rgb), .4); }

/* ----- Uitgebreide cookie-consent (categorieën) --------------------------- */
.cookie-consent__inner { max-width: 880px; align-items: flex-start; }
.cookie-consent__head { display: flex; align-items: center; gap: 14px; width: 100%; }
.cookie-consent__cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; width: 100%; margin: 4px 0 2px; }
.cookie-cat { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--lex-border); border-radius: 13px; background: var(--lex-bg); }
.cookie-cat__body { min-width: 0; }
.cookie-cat__title { font-weight: 700; font-size: .85rem; display: flex; align-items: center; gap: 7px; }
.cookie-cat__title i { color: var(--lex-primary); }
.cookie-cat__text { font-size: .74rem; color: var(--lex-muted); margin: 2px 0 0; line-height: 1.4; }
.cookie-cat .form-check-input { margin-top: .15rem; }
.cookie-cat .form-check-input:checked { background-color: var(--lex-primary); border-color: var(--lex-primary); }
.cookie-consent__cats.is-hidden { display: none; }
.cookie-consent__more { background: none; border: none; color: var(--lex-primary); font-weight: 600; font-size: .8rem; padding: 0; cursor: pointer; }
.cookie-consent__more:hover { color: var(--lex-primary-dark); }
@media (max-width: 575.98px) { .cookie-consent__actions { width: 100%; } .cookie-consent__actions .btn { flex: 1 1 auto; } }

/* ----- Registratie: pakketkeuze + upsell ---------------------------------- */
.reg-shell { max-width: 920px; }
.plan-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.plan-opt { position: relative; display: block; cursor: pointer; }
.plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.plan-opt__box { height: 100%; border: 1.5px solid var(--lex-border); border-radius: 14px; padding: 14px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; background: #fff; }
.plan-opt:hover .plan-opt__box { transform: translateY(-2px); box-shadow: var(--lex-shadow); }
.plan-opt input:checked + .plan-opt__box { border-color: var(--lex-primary); box-shadow: 0 0 0 .2rem rgba(var(--lex-primary-rgb), .14); }
.plan-opt input:focus-visible + .plan-opt__box { outline: 2px solid var(--lex-primary); outline-offset: 2px; }
.plan-opt__name { font-weight: 800; font-size: .95rem; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.plan-opt__price { font-weight: 800; color: var(--lex-primary-dark); font-size: 1.05rem; margin-top: 2px; }
.plan-opt__price small { font-weight: 600; color: var(--lex-muted); font-size: .72rem; }
.plan-opt__meta { font-size: .76rem; color: var(--lex-muted); margin-top: 4px; line-height: 1.4; }
.plan-opt__tag { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: #fff; background: var(--lex-grad); padding: 2px 8px; border-radius: 999px; }
.reg-free-divider { display: flex; align-items: center; text-align: center; gap: 12px; color: var(--lex-muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin: 4px 0 12px; }
.reg-free-divider::before, .reg-free-divider::after { content: ""; flex: 1; height: 1px; background: var(--lex-border); }
.plan-opt--free .plan-opt__box { background: var(--lex-bg); border-style: dashed; }
.plan-opt--free input:checked + .plan-opt__box { background: #fff; border-style: solid; }
.reg-aside { background: linear-gradient(160deg, var(--lex-sidebar-1), var(--lex-sidebar-2)); color: #cbd5e1; border-radius: 22px; padding: 30px; height: 100%; }
.reg-aside__list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.reg-aside__list li { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; }
.reg-aside__list li i { color: #97be8d; margin-top: 3px; }
.auth-card--wide { max-width: 940px; }
.reg-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 28px; align-items: stretch; }
@media (max-width: 767.98px) { .reg-grid { grid-template-columns: 1fr; } .reg-aside { display: none; } }

/* ==========================================================================
   Fase 17 - Uitbreiding: leesbaar zijmenu, taalwissel, wizard, filters, 2FA QR
   ========================================================================== */

/* Zijmenu-voettekst leesbaar op donkere achtergrond (was te donker). */
.app-sidebar__footer { color: #9aa6c4; }
.app-sidebar__footer .text-muted { color: #8794b3 !important; }

/* Taalwisselaar (publiek + app). */
.lang-switch .dropdown-toggle { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.lang-switch .dropdown-toggle::after { margin-left: 2px; }
.lang-menu { min-width: 180px; border: 1px solid var(--lex-border); border-radius: 14px; box-shadow: var(--lex-shadow-lg); padding: 6px; }
.lang-menu .dropdown-item { border-radius: 9px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; font-weight: 600; }
.lang-menu .dropdown-item.active, .lang-menu .dropdown-item:active { background: var(--lex-grad-soft); color: var(--lex-primary-dark); }
.lang-flag { font-size: 1.05rem; line-height: 1; }

/* Registratie-wizard (meerstaps). */
.wizard { --wz-gap: 14px; }
.wizard__steps { display: flex; align-items: center; gap: 6px; margin-bottom: 24px; }
.wizard__step { display: flex; align-items: center; gap: 9px; flex: 1 1 0; min-width: 0; }
.wizard__bullet { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; background: var(--lex-bg); color: var(--lex-muted); border: 1.5px solid var(--lex-border); transition: all .2s ease; }
.wizard__label { font-size: .82rem; font-weight: 700; color: var(--lex-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wizard__line { flex: 1 1 auto; height: 2px; background: var(--lex-border); border-radius: 2px; min-width: 10px; }
.wizard__step.is-active .wizard__bullet { background: var(--lex-grad); color: #fff; border-color: transparent; box-shadow: 0 0 0 4px rgba(var(--lex-primary-rgb), .14), 0 10px 22px -12px rgba(var(--lex-primary-rgb), .8); }
.wizard__step.is-active .wizard__label { color: var(--lex-ink); }
.wizard__step.is-done .wizard__bullet { background: var(--lex-primary); color: #fff; border-color: transparent; font-size: 0; }
.wizard__step.is-done .wizard__bullet::after { content: "\2713"; font-size: .95rem; line-height: 1; }
.wizard__step.is-done .wizard__label { color: var(--lex-ink); }
.wizard__pane { display: none; animation: wizFade .25s ease both; }
.wizard__pane.is-active { display: block; }
@keyframes wizFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wizard__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; }
@media (max-width: 575.98px) { .wizard__label { display: none; } .wizard__step { flex: none; } .wizard__line { min-width: 18px; } }

/* Filter-/zoekbalk voor overzichten (documenten, dossiers). */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.filter-bar .filter-search { flex: 1 1 260px; min-width: 180px; }
.filter-bar .form-select { width: auto; min-width: 150px; }
.filter-bar__count { font-size: .82rem; color: var(--lex-muted); font-weight: 600; margin-left: auto; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; }

/* 2FA QR-code. */
.totp-qr { display: inline-flex; align-items: center; justify-content: center; padding: 12px; background: #fff; border: 1px solid var(--lex-border); border-radius: 16px; box-shadow: var(--lex-shadow); }
.totp-qr canvas, .totp-qr img { display: block; width: 184px; height: 184px; border-radius: 6px; }
.totp-qr--loading { width: 208px; height: 208px; }
.totp-steps { counter-reset: totp; list-style: none; padding: 0; margin: 0; }
.totp-steps li { position: relative; padding: 0 0 14px 38px; }
.totp-steps li::before { counter-increment: totp; content: counter(totp); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--lex-grad-soft); color: var(--lex-primary-dark); font-weight: 800; font-size: .82rem; display: inline-flex; align-items: center; justify-content: center; }
.totp-steps li:last-child { padding-bottom: 0; }

/* Aanbevolen/populair lint op tegels. */
.tool-card__pill { position: absolute; top: 14px; right: 14px; font-size: .68rem; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: #fff; background: var(--lex-grad); padding: 3px 9px; border-radius: 999px; }
.tool-card__pill--star { background: linear-gradient(135deg, #f59e0b, #f97316); }
.tool-card.is-featured { border-color: rgba(245, 158, 11, .5); box-shadow: 0 16px 34px -22px rgba(245, 158, 11, .8); }
.tool-card.is-new .tool-card__icon { box-shadow: 0 12px 26px -12px rgba(var(--lex-primary-rgb), .9); }

/* ==========================================================================
   Fase 18 - Release hardening: dropdown-stapeling, registratie-polish, responsive
   ========================================================================== */

/* Dropdownmenu's mogen nooit achter kaarten, sticky balken of zijpanelen vallen. */
.dropdown-menu { z-index: 1085; }
.app-topbar .dropdown-menu, .mkt-nav .dropdown-menu, .lang-menu, .profile-menu { z-index: 1085; }
.app-topbar, .mkt-nav { overflow: visible; }

/* Registratie-aside leesbaar op de donkere achtergrond. */
.reg-aside .badge-soft { background: rgba(255,255,255,.14); color: #ffffff; }
.reg-aside .text-white { color: #ffffff !important; }

/* Registratie-pakketkeuze: strakker, professioneler, gelijke hoogte. */
.plan-pick { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.plan-opt__box { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 15px 16px; border-radius: 15px; }
.plan-opt input:checked + .plan-opt__box { background: var(--lex-grad-soft); }
.plan-opt input:checked + .plan-opt__box::after { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 12px; right: 13px; color: var(--lex-primary); font-size: .95rem; }
.plan-opt__name { font-size: .98rem; }
.plan-opt__tag { position: absolute; top: -9px; left: 14px; }
.plan-opt { padding-top: 4px; }

/* ----- Responsiviteit: vloeiend op elk schermformaat --------------------- */
img, svg, canvas, video { max-width: 100%; height: auto; }
.table-responsive { -webkit-overflow-scrolling: touch; }
.app-content { width: 100%; }

@media (max-width: 991.98px) {
    .auth-card { padding: 28px 22px; }
    .business-card__body { padding: 24px; }
    .trust-band, .contact-band { padding: 24px; }
    .glass-cta { padding: 36px 26px; }
}

@media (max-width: 767.98px) {
    .page-title { font-size: 1.45rem; }
    .app-content { padding: 18px 16px; }
    .reg-grid { gap: 18px; }
    .auth-card { padding: 24px 18px; }
    .filter-bar { gap: 8px; }
    .filter-bar .form-select, .filter-bar .filter-search { flex: 1 1 100%; width: 100%; min-width: 0; }
    .filter-bar__count { margin-left: 0; }
    .mkt-hero { padding: 64px 0 48px; }
    .business-card__body { gap: 18px; }
    .business-card__action { flex: 1 1 100%; max-width: none; }
    .totp-qr, .totp-qr canvas, .totp-qr img { width: 100%; max-width: 200px; height: auto; }
    .dropdown-menu-end { --bs-position: end; }
}

@media (max-width: 575.98px) {
    .page-title { font-size: 1.3rem; }
    .auth-shell { padding: 16px; }
    .auth-card { padding: 20px 16px; border-radius: 18px; }
    .plan-pick { grid-template-columns: 1fr 1fr; }
    .price-card, .feature-card, .tool-card { padding: 20px; }
    .glass-cta { padding: 28px 20px; }
    .stat-card__value { font-size: 1.6rem; }
    .btn-lg { padding: .7rem 1.2rem; }
    .wizard__steps { gap: 4px; }
}

@media (max-width: 360px) {
    .plan-pick { grid-template-columns: 1fr; }
}

/* ----- Fase 21 - Hub, categorieen, markeringen & vaste opslaanbalk --------- */
.hub-search { position: relative; }
.hub-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--lex-muted); pointer-events: none; }
.hub-search .form-control { padding-left: 42px; height: 48px; border-radius: 14px; border: 1px solid var(--lex-border); box-shadow: var(--lex-shadow-sm); }
.hub-search .form-control:focus { border-color: rgba(var(--lex-primary-rgb), .5); box-shadow: 0 0 0 .2rem rgba(var(--lex-primary-rgb), .12); }
.hub-cat { margin-top: 26px; }
.hub-cat:first-child { margin-top: 8px; }
.hub-cat__title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; margin: 0 0 14px; color: var(--lex-ink); }
.hub-cat__ico { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; color: var(--lex-primary); background: var(--lex-grad-soft); }
.tool-card.is-featured { border-color: rgba(245, 158, 11, .45); }
.tool-card__pill--new { background: linear-gradient(135deg, #10b981, #059669); }
.tool-card__pill--popular { background: linear-gradient(135deg, #5e9a45, #3f7e28); }
.tool-card__pill--recommended { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }
.tool-card__pill--featured { background: linear-gradient(135deg, #f59e0b, #f97316); }

.save-bar { position: sticky; bottom: 0; z-index: 1020; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 12px 16px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border: 1px solid var(--lex-border); border-radius: 14px; box-shadow: 0 -10px 26px -18px rgba(15, 23, 42, .5); }
.save-bar__hint { color: var(--lex-muted); font-size: .88rem; font-weight: 600; margin: 0; }
.save-bar .btn { white-space: nowrap; }

.rec-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--lex-border); border-radius: 12px; background: var(--lex-bg); text-decoration: none; height: 100%; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.rec-link:hover { border-color: rgba(var(--lex-primary-rgb), .4); transform: translateY(-3px); box-shadow: var(--lex-shadow-sm); }
.rec-link__ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--lex-grad); }
.rec-link__title { display: block; font-weight: 700; color: var(--lex-ink); line-height: 1.25; }
.rec-link__meta { display: block; font-size: .78rem; color: var(--lex-muted); margin-top: 2px; }
.rec-link.is-locked .rec-link__ico { background: #94a3b8; }

/* ----- Fase 22 - Accounttype-schakelaar (registratie) --------------------- */
.acct-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acct-switch__opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--lex-border); border-radius: 14px; background: var(--lex-surface, #fff); text-decoration: none; color: var(--lex-ink); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.acct-switch__opt:hover { transform: translateY(-2px); border-color: rgba(var(--lex-primary-rgb), .4); }
.acct-switch__opt.is-active { border-color: var(--lex-primary); background: var(--lex-grad-soft); box-shadow: var(--lex-shadow-sm); }
.acct-switch__opt > i { flex: none; width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--lex-grad); font-size: 1rem; }
.acct-switch__name { display: block; font-weight: 800; line-height: 1.15; }
.acct-switch__desc { display: block; font-size: .78rem; color: var(--lex-muted); margin-top: 2px; }
@media (max-width: 575.98px) { .acct-switch { grid-template-columns: 1fr; } }

/* ----- Fase 22 - Uitstraling-configurator (white-label) ------------------- */
.color-field { display: flex; align-items: center; gap: 8px; }
.color-field__swatch { width: 46px; height: 38px; padding: 2px; border: 1px solid var(--lex-border); border-radius: 10px; background: #fff; cursor: pointer; }
.color-field__hex { font-size: .8rem; color: var(--lex-muted); font-family: ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; }

.brand-preview { border: 1px solid var(--lex-border); border-radius: var(--lex-radius); overflow: hidden; background: var(--lex-bg); color: var(--lex-ink); }
.brand-preview__hero { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--lex-grad); color: #fff; }
.brand-preview__mark { flex: none; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.18); font-size: 1.1rem; }
.brand-preview__name { font-weight: 800; line-height: 1.1; }
.brand-preview__tag { font-size: .8rem; opacity: .85; }
.brand-preview__card { margin: 16px; padding: 16px; background: var(--lex-card); border: 1px solid var(--lex-border); border-radius: var(--lex-radius); box-shadow: var(--lex-shadow); }
.brand-preview__card-title { font-weight: 800; color: var(--lex-ink); }
.brand-preview__card-text { color: var(--lex-muted); font-size: .9rem; margin: 6px 0 12px; }
.brand-preview__badge { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--lex-primary); background: var(--lex-grad-soft); padding: 3px 10px; border-radius: 999px; }
.brand-preview__actions { display: flex; gap: 8px; margin-top: 12px; }
.brand-preview__btn { font-weight: 700; font-size: .85rem; color: #fff; background: var(--lex-grad); padding: 8px 14px; border-radius: calc(var(--lex-radius) * .6); }
.brand-preview__btn--soft { color: var(--lex-primary); background: var(--lex-grad-soft); }
.brand-preview__chips { display: flex; gap: 8px; margin-top: 12px; }
.brand-preview__chip { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; }
.brand-preview__chip--success { background: var(--lex-success); }
.brand-preview__chip--warning { background: var(--lex-warning); }
.brand-preview__chip--danger { background: var(--lex-danger); }

.app-shell--admin .app-sidebar__mark { background: rgba(255,255,255,.14); }

/* ----- Fase 23 - Prominente beheerknop in het zijmenu -------------------- */
.app-nav__admin { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 2px 0 4px; border-radius: 12px; color: var(--app-sidebar-text, #e2e8f0); text-decoration: none; font-weight: 700; background: rgba(var(--lex-primary-rgb), .18); border: 1px solid rgba(var(--lex-primary-rgb), .35); transition: background .18s ease, transform .18s ease; }
.app-nav__admin:hover { background: rgba(var(--lex-primary-rgb), .28); transform: translateY(-1px); color: #fff; }
.app-nav__admin-ico { flex: none; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--lex-grad); color: #fff; }

/* ==========================================================================
   Fase 23 - Responsiviteit, merk-consistentie & Mijn account
   Volledig additief: vult gaten zonder bestaande regels te overschrijven.
   ========================================================================== */

/* ----- 1. Responsiviteit: vangnetten tegen horizontaal scrollen ----------- */
/* Voorkom dat brede inhoud de viewport laat schuiven (320px en breder).
   'clip' (i.p.v. 'hidden') voorkomt horizontaal schuiven zonder een
   scroll-container te maken, zodat position: sticky correct blijft werken. */
html, body { overflow-x: clip; }
img, table, pre { max-width: 100%; }
pre { overflow-x: auto; white-space: pre-wrap; word-wrap: break-word; }

/* Brede tabellen die (per ongeluk) niet in .table-responsive staan, schuiven
   op smalle schermen mee i.p.v. de layout op te rekken. */
@media (max-width: 767.98px) {
    .app-content .table-responsive { overflow-x: auto; }
    .app-content > table,
    .app-content .card-body > table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Lange woorden / URL's in kaarten en lijsten breken netjes af. */
.card-body, .list-group-item { overflow-wrap: anywhere; }

/* Touch-vriendelijke tap-doelen (>= 40px) op aanraakschermen. */
@media (hover: none) and (pointer: coarse) {
    .btn, .form-control, .form-select, .nav-link, .dropdown-item, .input-group > .btn {
        min-height: 40px;
    }
    .btn-sm { min-height: 36px; }
}

/* ----- 2. Modals: passend, scrollbaar en op merk -------------------------- */
.modal-content {
    border: 1px solid var(--lex-border);
    border-radius: var(--lex-radius);
    box-shadow: var(--lex-shadow-lg);
    overflow: hidden;
}
.modal-header, .modal-footer { border-color: var(--lex-border); }
.modal-header { background: var(--lex-grad-soft); }
.modal-title { font-weight: 800; color: var(--lex-ink); }
.modal-body { max-height: 70vh; overflow-y: auto; }
@media (max-width: 575.98px) {
    .modal-dialog { margin: 12px; max-width: calc(100% - 24px); }
    .modal-body { max-height: 76vh; }
}

/* ----- 3. Merk-consistentie: minder "stock Bootstrap" --------------------- */
/* Tabelkoppen krijgen een rustige, branded uitstraling. */
.table > thead th {
    border-bottom: 1px solid var(--lex-border);
    color: var(--lex-muted);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    white-space: nowrap;
}
.table > tbody td { border-color: var(--lex-border); vertical-align: middle; }
.table-hover > tbody > tr:hover > * { background: var(--lex-grad-soft); }

/* Branded focusring voor inputs/selects (versterkt bestaande :focus-regel). */
.form-control:focus, .form-select:focus, .form-check-input:focus {
    border-color: rgba(var(--lex-primary-rgb), .55);
    box-shadow: 0 0 0 .2rem rgba(var(--lex-primary-rgb), .15);
}
.form-check-input:checked { background-color: var(--lex-primary); border-color: var(--lex-primary); }

/* Dropdownmenu's op merk (z-index blijft elders geregeld). */
.dropdown-menu {
    border: 1px solid var(--lex-border);
    border-radius: 14px;
    box-shadow: var(--lex-shadow);
    padding: 6px;
}
.dropdown-item { border-radius: 9px; padding: 8px 12px; font-weight: 600; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--lex-grad-soft); color: var(--lex-primary-dark); }
.dropdown-item.active, .dropdown-item:active { background: var(--lex-primary); color: #fff; }

/* Badges en input-groups consistent afgerond. */
.badge { border-radius: 999px; font-weight: 700; }
.input-group > .form-control, .input-group > .form-select { border-color: var(--lex-border); }
.input-group > .btn-outline-secondary {
    border-color: var(--lex-border);
    color: var(--lex-muted);
}
.input-group > .btn-outline-secondary:hover {
    background: var(--lex-grad-soft);
    color: var(--lex-primary-dark);
    border-color: rgba(var(--lex-primary-rgb), .35);
}

/* ----- 4. Mijn account: tabs, kaarten en 2FA op merk ---------------------- */
/* Branded pill-tabs voor de accountpagina. */
.nav-pills .nav-link {
    color: var(--lex-muted);
    font-weight: 700;
    border-radius: 999px;
    padding: 9px 18px;
    border: 1px solid transparent;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.nav-pills .nav-link:hover { color: var(--lex-primary-dark); background: var(--lex-grad-soft); }
.nav-pills .nav-link.active {
    background: var(--lex-grad);
    color: #fff;
    box-shadow: 0 10px 24px -14px rgba(var(--lex-primary-rgb), .9);
}

/* Accountkaarten sluiten aan bij de rest van de app. */
.tab-content .card { border: 1px solid var(--lex-border); border-radius: var(--lex-radius); box-shadow: var(--lex-shadow); }
.tab-content .card-header { background: var(--lex-grad-soft); border-bottom: 1px solid var(--lex-border); color: var(--lex-ink); }

/* Stappenlijst bij de 2FA-instelling. */
.totp-steps { padding-left: 1.1rem; color: var(--lex-muted); }
.totp-steps li { margin-bottom: 4px; }
.totp-steps li::marker { color: var(--lex-primary); font-weight: 700; }

/* QR-afbeelding blijft responsief (back-up naast de media-query hierboven). */
.totp-qr img, .totp-qr canvas { max-width: 200px; height: auto; }

/* Accountpagina prettig op mobiel. */
@media (max-width: 575.98px) {
    .nav-pills { flex-wrap: wrap; }
    .nav-pills .nav-link { padding: 8px 14px; font-size: .9rem; }
    .tab-content .card-body { padding: 18px 16px; }
}
