/* Gedeelde stijllaag (portal-ui).
   Additief; wordt na de bestaande stylesheet(s) ingeladen en wijzigt die niet.
   Voegt gedeelde tokens, een lichte topbalk met gouden haarlijn, de merk-mark
   en een leesbaarheidslaag (regelhoogte >= 1.3) toe. Bestaande canonieke tokens
   (--green/--gold/--cream) blijven leidend; de --fvtc-* namen zijn aanvullend. */

:root {
    /* Gedeelde tokens (aanvullend op bestaande --green/--gold/--cream). */
    --fvtc-card: #FFFDF8;       /* kaart   */
    --fvtc-line: #E2DCD0;       /* lijn    */
    --fvtc-cream-soft: #F1EEE9; /* gedeelde crème */
    /* Goudrand-verloop: F7E29D -> B78A38 -> E3C278 -> 8A6227 */
    --fvtc-gold-edge: linear-gradient(90deg, #F7E29D 0%, #B78A38 40%, #E3C278 60%, #8A6227 100%);
    /* Accent-fallback (overschreven per portaal hieronder). */
    --fvtc-accent: #1B4D3E;
    --fvtc-accent-a: #2A6B58;
    --fvtc-accent-b: #123528;
}

/* Per-portaal accentkleur + de twee verloopstops. */
.portal-fqp { --fvtc-accent: #7E5620; --fvtc-accent-a: #946B26; --fvtc-accent-b: #5E3F13; }
.portal-op  { --fvtc-accent: #0B1B2E; --fvtc-accent-a: #173250; --fvtc-accent-b: #060F1B; }
.portal-cpc { --fvtc-accent: #17535F; --fvtc-accent-a: #1E6875; --fvtc-accent-b: #0D3949; }

/* ---------- Topbalk: licht, met gouden haarlijn eronder ---------- */
.fvtc-topbar, .cpc-topbar, .topbar {
    background: var(--fvtc-card) !important;
    color: var(--green) !important;
    border-bottom: 1px solid var(--fvtc-line);
}
/* Gouden haarlijn onder de balk. */
.fvtc-topbar::after {
    height: 2px !important;
    background: var(--fvtc-gold-edge) !important;
    animation: none !important;
}
.cpc-gold-line, .gold-bar {
    height: 2px !important;
    background: var(--fvtc-gold-edge) !important;
}

/* ---------- Merk-mark: kale bol (30px) + woordmerk ---------- */
.fvtc-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}
.fvtc-brand, .cpc-brand {
    color: var(--green) !important;
    gap: 0.6rem !important;
    line-height: 1.35 !important;
}
.fvtc-brand .fvtc-bol {
    height: 30px;
    width: 30px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}
.fvtc-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.34em;
    line-height: 1.35;
}
.fvtc-wm-fixed  { font-weight: 700; color: var(--green); }
.fvtc-wm-portal { font-weight: 500; color: var(--fvtc-accent); }

/* Nav/labels op de lichte balk: donkere tekst, portaal-accent bij actief. */
.fvtc-nav a, .topbar-right a { color: #46433C !important; }
.fvtc-nav a:hover, .topbar-right a:hover {
    color: var(--fvtc-accent) !important;
    background: rgba(0, 0, 0, 0.03) !important;
}
.fvtc-nav a.active, .topbar-right a.active {
    color: var(--fvtc-accent) !important;
    background: transparent !important;
}
.fvtc-user, .fvtc-user .fvtc-user-name,
.cpc-user, .cpc-user-name,
.topbar-right, .topbar-right span { color: var(--green) !important; }

/* Taalwissel. */
.fvtc-lang a, .cpc-lang-btn { color: #46433C !important; }
.fvtc-lang a.active, .cpc-lang-btn.active {
    color: #fff !important;
    background: var(--fvtc-accent) !important;
    border-color: var(--fvtc-accent) !important;
}

/* Uitloggen: leesbaar op de lichte balk. Dezelfde handeling in alle portalen
   krijgt overal dezelfde kleur (teal #17535F), niet het per-portaal accent. */
.fvtc-logout, .cpc-logout, .topbar-right a.fvtc-logout {
    color: #17535F !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
    opacity: 1 !important;
}
.fvtc-logout:hover, .cpc-logout:hover, .topbar-right a.fvtc-logout:hover {
    background: #17535F !important;
    color: #fff !important;
}

/* ---------- Leesbaarheid: regelhoogte >= 1.3 overal ---------- */
html, body { line-height: 1.5; }
h1, h2, h3, h4, h5, h6,
.fvtc-title, .section-title, .fvtc-wordmark,
.fvtc-nav a, .fvtc-admin-link, .topbar-right a, .cpc-tabs a,
.btn, .fvtc-btn, button,
.chip, .badge, .pill, .tag {
    line-height: 1.35 !important;
}
