/*
 * UH Online – Blesta-klantsjabloon "uhonline".
 * Zelfde huisstijl als uh-online.com: zwarte topbalk, witte kop met logo en
 * menu, oranje accenten, zwarte footer. Lettertype: Source Sans 3 (SIL Open
 * Font License, zie fonts/LICENSE-SourceSans3.md), van deze server geladen.
 */

@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url("fonts/SourceSans3VF-Upright.ttf.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: italic;
    font-weight: 200 900;
    font-display: swap;
    src: url("fonts/SourceSans3VF-Italic.ttf.woff2") format("woff2");
}

/* Zwarte topbalk (zelfde als de website)
   ========================================================================== */
.uho-topbar {
    background: #000;
    color: #fff;
    font-size: 13px;
}
.uho-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
}
.uho-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    text-decoration: none;
    opacity: .9;
}
.uho-topbar a:hover,
.uho-topbar a:focus {
    color: var(--uho-p, #ff7d05) !important;
    opacity: 1;
    text-decoration: none;
}
.uho-topbar .uho-icon {
    width: 15px;
    height: 15px;
}
.uho-topbar__contact,
.uho-topbar__meta {
    display: flex;
    align-items: center;
    gap: 20px;
}
.uho-topbar__login {
    font-weight: 600;
}
@media (max-width: 767.98px) {
    .uho-topbar__contact a span,
    .uho-topbar__meta a:not(.uho-topbar__login) span {
        display: none;
    }
}

/* Taalkeuze in de topbalk */
.uho-topbar {
    position: relative;
    z-index: 1040;
}
.uho-topbar__lang {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
.uho-topbar__lang ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.uho-topbar__lang > ul > li {
    position: relative;
    display: inline-block;
}
.uho-topbar .uho-topbar__lang .dropdown a.dropdown-toggle,
.uho-topbar .uho-topbar__lang .dropdown a.dropdown-toggle:focus {
    color: #fff !important;
    opacity: .9;
    background: transparent !important;
    padding: 0 !important;
}
.uho-topbar .uho-topbar__lang .dropdown a.dropdown-toggle:hover {
    color: var(--uho-p, #ff7d05) !important;
    opacity: 1;
}
.uho-topbar__lang .dropdown-toggle .caret {
    display: none;
}
.uho-topbar__lang .dropdown-menu {
    min-width: 160px;
    margin-top: 8px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #e3e8eb;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
.uho-topbar__lang .dropdown-menu a {
    display: block;
    padding: 6px 16px;
    color: #324b58 !important;
    opacity: 1;
}
.uho-topbar__lang .dropdown-menu a:hover,
.uho-topbar__lang .dropdown-menu a:focus {
    background: #f4f6f7;
    color: var(--uho-p, #ff7d05) !important;
}

/* Zwarte footer (zelfde als de website)
   ========================================================================== */
.uho-footer {
    margin-top: 56px;
    background: #000;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
}
.uho-footer a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}
.uho-footer a:hover,
.uho-footer a:focus {
    color: var(--uho-p, #ff7d05);
    text-decoration: none;
}
.uho-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 56px;
    padding-bottom: 40px;
}
@media (min-width: 768px) {
    .uho-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 48px;
    }
}
@media (min-width: 992px) {
    /* Logo en tekst breder, dan de menukolommen en contact (zoals op de website) */
    .uho-footer__grid {
        grid-template-columns: minmax(0, 1.5fr);
        grid-auto-columns: minmax(0, 1fr);
        grid-auto-flow: column;
        gap: 40px;
    }
}
.uho-footer__menu {
    margin: 0;
    padding: 0;
    list-style: none;
}
.uho-footer__menu li {
    margin-bottom: 10px;
}
.uho-footer__logo img {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}
.uho-footer__about p {
    margin: 0;
    line-height: 1.6;
}
.uho-footer__title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.uho-footer address {
    margin: 0;
    font-style: normal;
}
.uho-footer__line {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}
.uho-footer__line .uho-icon {
    flex: none;
    margin-top: 3px;
    color: var(--uho-p, #ff7d05);
}
.uho-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
}
.uho-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 18px;
    padding-bottom: 18px;
}
.uho-footer__legal-info,
.uho-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.uho-footer__vat-note {
    flex-basis: 100%;
    margin: 0;
    color: rgba(255, 255, 255, .55);
}

/* Klantomgeving (kop, menu, titel, kaarten, tabellen)
   ========================================================================== */

/* Basis */
body {
    font-family: "Source Sans 3", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    color: #324b58;
    background-color: #ffffff;
}
h1, h2, h3, h4, h5, h6 {
    color: #324b58;
    font-weight: 700;
}
a {
    color: #1973a0;
}
.container-md {
    max-width: 1232px;
}

/* Kop: logo en menu op één witte balk van 80px, zoals de website */
.header {
    background: #fff !important;
}
.header .container-md {
    display: flex;
    align-items: center;
    min-height: 80px;
}
.header .logo img {
    height: 44px !important;
    width: auto;
}
.nav-content {
    border-bottom: 1px solid #e3e3e3;
}
.nav-content nav.navbar {
    background: #fff !important;
    font-size: 1.05rem;
    font-weight: 600;
}
.nav-content .navbar .nav-link {
    padding: .5rem .9rem !important;
    border-bottom: 3px solid transparent;
}
.nav-content .navbar .nav-item.active > .nav-link {
    border-bottom-color: var(--uho-p, #ff7d05);
}
.nav-content .navbar .nav-link i.bi {
    display: none;
}
.nav-content .dropdown-menu {
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(50, 75, 88, .12);
    padding: 8px 0;
}
.nav-content .dropdown-item {
    color: #324b58 !important;
    padding: 8px 18px;
}
.nav-content .dropdown-item:hover,
.nav-content .dropdown-item:focus {
    color: var(--uho-pd, #e06c00) !important;
    background: rgba(var(--uho-prgb, 255, 125, 5), .1);
}
.nav-content .navbar-toggler {
    background: var(--uho-p, #ff7d05);
    border: 0;
    border-radius: 6px;
    padding: 8px 10px;
}
@media (min-width: 768px) {
    /* Menu naast het logo in dezelfde balk */
    .nav-content {
        position: relative;
        z-index: 5;
        margin-top: -80px;
        border-bottom: 1px solid #e3e3e3;
        pointer-events: none;
    }
    .nav-content nav.navbar {
        background: transparent !important;
        min-height: 80px;
        padding: 0;
    }
    .nav-content #main-navbar > .container-md {
        min-height: 80px;
        align-items: center !important;
        padding-left: 210px;
    }
    .nav-content .navbar-nav,
    .nav-content .dropdown-menu {
        pointer-events: auto;
    }
    .header {
        border-bottom: 0;
    }
}

/* Gebruikersmenu rechts als knop, zoals "Mijn account" op de website */
@media (min-width: 768px) {
    #main-navbar .container-md > ul.navbar-nav:last-child > li > a.nav-link {
        background: var(--uho-p, #ff7d05);
        color: #fff !important;
        border-radius: 6px;
        border-bottom: 0;
        padding: .6rem 1.1rem !important;
    }
    #main-navbar .container-md > ul.navbar-nav:last-child > li > a.nav-link:hover {
        background: var(--uho-pd, #e06c00);
    }
}
.top-nav .dropdown a.dropdown-toggle, .top-nav .dropdown a.dropdown-toggle:focus {
    color: #324b58 !important;
}

/* Knop "terug naar het personeelsportaal" (alleen voor jou zichtbaar) */
.header .badge {
    position: absolute;
    right: 16px;
    top: 8px;
    z-index: 6;
}

/* Mobiel: menuknop rechts naast het logo, zoals op de website */
@media (max-width: 767.98px) {
    .header .container-md { min-height: 72px; }
    .header .logo img { height: 38px !important; }
    .nav-content { margin-top: -72px; position: relative; z-index: 5; pointer-events: none; border-bottom: 1px solid #e3e3e3; }
    .nav-content nav.navbar { background: transparent !important; min-height: 72px; padding: 0 15px; justify-content: flex-end; flex-wrap: wrap; }
    .nav-content .navbar-toggler, .nav-content #main-navbar { pointer-events: auto; }
    .nav-content #main-navbar { flex-basis: 100%; background: #fff; border-top: 1px solid #e3e3e3; }
    .nav-content #main-navbar .nav-link { padding: .75rem 0 !important; border-bottom: 1px solid #f3f3f3; }
    .nav-content .navbar .nav-item.active > .nav-link { border-bottom-color: var(--uho-p, #ff7d05); }
    .cards > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
    .cards .card .card-value { font-size: 1.8rem; }
    .title h3 { font-size: 1.9rem; }
}

/* Paginatitel: groot op wit, zoals de koppen op de website */
.title {
    height: auto;
    background: #fff !important;
    padding: 28px 0 8px;
}
.title .container-md {
    padding-left: 15px;
    padding-right: 15px;
}
.title h3 {
    line-height: 1.2;
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0;
}

/* Kaarten en blokken: wit met een dunne rand, lichte kop */
.card, .card-blesta {
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}
.card-blesta > .card-header, .panel .card-blesta > .panel-heading {
    padding: 14px 18px;
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 1px solid #e3e3e3;
}
.cards .card {
    border-radius: 12px;
    border: 1px solid #e3e3e3;
    border-bottom: 4px solid var(--uho-p, #ff7d05);
}
.cards .card .card-content {
    width: 100%;
    padding: 14px;
}
.cards .card .card-value {
    font-weight: 700;
}
.cards .card .card-label {
    font-weight: 600;
}
.list-group-item {
    border-color: #e3e3e3;
}
.list-group-item.active, a.list-group-item.active {
    color: #324b58;
}

/* Knoppen en velden */
.btn {
    border-radius: 6px;
    font-weight: 600;
}
.btn-light {
    border: 1px solid #e3e3e3 !important;
}
.btn-light:hover {
    border-color: var(--uho-p, #ff7d05) !important;
}
.form-control {
    border-color: #e3e3e3;
    border-radius: 6px;
    min-height: 44px;
}
.form-control:focus {
    border-color: var(--uho-p, #ff7d05);
    box-shadow: 0 0 0 3px rgba(var(--uho-prgb, 255, 125, 5), .25);
}
a:focus-visible, .btn:focus-visible {
    outline: 2px solid #1973a0;
    outline-offset: 2px;
}

/* Tabellen en meldingen */
.table thead th {
    border-top: 0;
    border-bottom: 1px solid #e3e3e3;
    background: #f3f3f3;
    color: #324b58;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.table thead th a {
    color: #324b58;
}
.alert {
    padding: 1.1rem 1.25rem;
    border-radius: 6px;
}
.badge {
    border-radius: 999px;
    font-weight: 600;
}

/* Inlogpagina wit */
body.client-client_login-index,
body[class^="plugin-order"],
body[class^="plugin-support_managerclient-knowledgebase"] {
    background-color: #ffffff;
}

/* Na betaling: terug naar de website */
.uho-return {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1202px;
    margin: 16px auto 0;
    padding: 16px 20px;
    border: 1px solid #b7e1c3;
    border-radius: 12px;
    background: #eef9f1;
    color: #1d6b36;
    font-weight: 600;
}
