/* ============================================================
   RANGER â€” thema.css
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background-color: var(--bg-secondary);
    min-height: 100vh;
    overflow-x: hidden;
}

.container-all {
    display: flex;
    width: 100%;
    flex-direction: column;
    height: max-content;
    min-height: 100vh;
}

.container-center {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.iframe-rapportage-wrapper iframe {
    border-radius: 10px !important;
    overflow: hidden;
}

.container-right {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    padding-top: 64px; /* Ranger topbalk is 64px ipv 75px */
    background-color: var(--bg-primary);
}

.content-wrapper {
    width: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    background-color: var(--bg-secondary);
    border-radius: 20px 0px 0px 0px;
    border: 1px solid var(--border-color);
    overflow: auto;
    max-height: calc(100vh - 64px);
    max-width: calc(100vw - 242px);
}


.content-container {
    background: var(--bg-primary);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.content-block {
    width: 100%;
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.row {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px;
}

.between {
    display: flex !important;
    justify-content: space-between !important;
    gap: 16px;
}

.column {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
}

.column.small {
    gap: 6px;
}

.flex-row-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
}

.end {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.no {
    padding: 0px !important;
    margin: 0px !important;
}


.top-container {
    height: 36px;
}

.content-container .top-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    box-shadow: inset 0 -1px 0 0 var(--border-color);
    padding: 0;
}

/* Mobiel: de tabs staan in de onderbalk, dus hun oorspronkelijke top-container
   is meestal leeg. Op ≤767px: geen onderlijn/box-shadow bij tab-containers, en
   een lege tab-top-container volledig weglaten (geen ruimte). NIET verbergen als
   er echte inhoud in zit: iets in .filter-container, of een los element
   (sync-tekst, knop, "+") direct in de top-container. Desktop blijft ongewijzigd. */
@media (max-width: 767px) {
    .content-container .top-container:has(.tabs) {
        box-shadow: none;
    }

    .content-container > .top-container:has(.settings-container .tabs):not(:has(.filter-container > *)):not(:has(> :not(.settings-container):not(.filter-container))) {
        /* GEEN display:none — de vaste onderbalk (.tabs) zit in deze container
           en zou dan mee verdwijnen. Ook geen overflow:hidden / pointer-events:none:
           dat erft door naar de tabbalk (niet meer klikbaar / weggeknipt).
           Alleen uit de flow halen op 0×0: geen ruimte/gap meer, maar de
           position:fixed onderbalk blijft zichtbaar én klikbaar. */
        position: absolute;
        width: 0;
        height: 0;
        min-height: 0;
        padding: 0;
        margin: 0;
    }
}

.tabs {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0;
}

.tabs a {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--table-header-text);
    font-size: 13.5px;
    font-weight: 500;
    padding-bottom: 8px;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
    box-shadow: none;
}

.tabs a:hover {
    color: var(--tab-color);
    border-bottom: 2px solid var(--tab-color);
}

.tabs .active,
.settings-container .active {
    background: none;
    border: none;
    border-bottom: 2px solid var(--tab-color);
    border-radius: 0;
    color: var(--tab-color);
    padding-bottom: 8px;
}

.settings-container button {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--table-header-text);
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.settings-container button:hover {
    background: none;
    border-bottom: 2px solid var(--tab-color);
    border-radius: 0;
    color: var(--tab-color);
    padding-bottom: 8px;
}

/* ============================================================
   Tab-iconen (profiel- & instellingen-tabs)
   ------------------------------------------------------------
   Gekoppeld via het data-tab-attribuut. Het icoon is een SVG die
   als mask op currentColor ligt → het volgt automatisch de tabkleur
   (gedempt normaal, merkkleur wanneer .active). Alleen tabs met een
   hieronder gedefinieerde data-tab krijgen een icoon; overige .tabs
   elders op de site blijven ongewijzigd.
   ============================================================ */

.tab-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tab-link[data-tab="profiel"]::before,
.tab-link[data-tab="2fa"]::before,
.tab-link[data-tab="wachtwoord"]::before,
.tab-link[data-tab="bedrijf"]::before,
.tab-link[data-tab="organisatie"]::before,
.tab-link[data-tab="diensten"]::before,
.tab-link[data-tab="rollen"]::before,
.tab-link[data-tab="users"]::before,
.tab-link[data-tab="exact-online"]::before,
.tab-link[data-tab="inzichten"]::before,
.tab-link[data-tab="gebruikers-overzicht"]::before,
.tab-link[data-tab="bedrijven-overzicht"]::before,
.tab-link[data-tab="abonnementen-overzicht"]::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: var(--tab-ic) center / contain no-repeat;
    mask: var(--tab-ic) center / contain no-repeat;
}

/* Profiel-pagina */
.tab-link[data-tab="profiel"]    { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z'/%3E%3C/svg%3E"); }
.tab-link[data-tab="2fa"]        { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z'/%3E%3C/svg%3E"); }
.tab-link[data-tab="wachtwoord"] { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 5.25a3 3 0 013 3m3 0a6 6 0 01-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H9v1.5H7.5v1.5H4.5a1.125 1.125 0 01-1.125-1.125v-2.25c0-.298.119-.585.33-.795l5.048-5.048c.404-.404.527-1 .43-1.563A6 6 0 1121.75 8.25z'/%3E%3C/svg%3E"); }
.tab-link[data-tab="bedrijf"]    { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.75 21h16.5M4.5 3h15M5.25 3v18m13.5-18v18M9 6.75h1.5m-1.5 3h1.5m-1.5 3h1.5m3-6H15m-1.5 3H15m-1.5 3H15M9 21v-3.75a.75.75 0 01.75-.75h4.5a.75.75 0 01.75.75V21'/%3E%3C/svg%3E"); }

/* Instellingen-pagina */
.tab-link[data-tab="organisatie"] { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.75 21h16.5M4.5 3h15M5.25 3v18m13.5-18v18M9 6.75h1.5m-1.5 3h1.5m-1.5 3h1.5m3-6H15m-1.5 3H15m-1.5 3H15M9 21v-3.75a.75.75 0 01.75-.75h4.5a.75.75 0 01.75.75V21'/%3E%3C/svg%3E"); }
.tab-link[data-tab="diensten"]    { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25A2.25 2.25 0 0113.5 8.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z'/%3E%3C/svg%3E"); }
.tab-link[data-tab="rollen"]      { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 002.25-2.25V6.75A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25v10.5A2.25 2.25 0 004.5 19.5zm6-10.125a1.875 1.875 0 11-3.75 0 1.875 1.875 0 013.75 0zm1.294 6.336a6.721 6.721 0 01-3.17.789 6.721 6.721 0 01-3.168-.789 3.376 3.376 0 016.338 0z'/%3E%3C/svg%3E"); }
.tab-link[data-tab="users"]       { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z'/%3E%3C/svg%3E"); }
.tab-link[data-tab="exact-online"] { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244'/%3E%3C/svg%3E"); }
.tab-link[data-tab="abonnementen-overzicht"] { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 8.25h19.5M2.25 9v9a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9m-19.5 0V6.75A2.25 2.25 0 014.5 4.5h15a2.25 2.25 0 012.25 2.25V9'/%3E%3C/svg%3E"); }
.tab-link[data-tab="inzichten"] { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 013 19.875v-6.75zM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V8.625zM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V4.125z'/%3E%3C/svg%3E"); }
.tab-link[data-tab="gebruikers-overzicht"] { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3C/svg%3E"); }
.tab-link[data-tab="bedrijven-overzicht"] { --tab-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.6' stroke='%23000'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 21h19.5m-18-18v18m10.5-18v18m6-13.5V21M6.75 6.75h.75m-.75 3h.75m-.75 3h.75m3-6h.75m-.75 3h.75m-.75 3h.75M6.75 21v-3.375c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21m7.5-10.5h1.875c.621 0 1.125.504 1.125 1.125V21'/%3E%3C/svg%3E"); }

/* Op de mobiele onder-tabbalk: icoon BOVEN het label (zoals .gom-nav) */
@media (max-width: 767px) {
    .settings-container .tabs a {
        flex-direction: column;
        gap: 5px;
    }
    .settings-container .tabs a::before {
        width: 22px;
        height: 22px;
    }
}

.filter-container {
    margin-bottom: 0;
}

.last-refresh {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px 10px;
}


.dashboard-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--huisstijlkleur);
    margin-bottom: 0;
}

.circle p {
    margin: 0;
    font-size: 13px;
    color: var(--button-text);
}



.filter-container .button-group {
    display: inline-flex;
    border-radius: 6px;
    overflow: hidden;
}

.filter-container .button {
    color: var(--text-secondary);
    border: none;
    padding: 6px 10px;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.15s ease;
    background: none;
    box-shadow: none;
}

.filter-container .button:hover {
    color: var(--huisstijlkleur);
}

.filter-container .button:focus {
    outline: none;
    z-index: 10;
}

.filter-container .button.left {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.filter-container .button.right {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    margin-left: -1px;
}

.filter-container .icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.filter-container .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.filter-panel {
    position: inherit;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10001;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s;
    padding: 0;
    margin-top: 0;
    gap: 16px;
    display: flex !important;
    flex-direction: column;
}

.filter-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.35s ease;
    background-color: var(--bg-secondary);
    display: none;
}

.filter-panel.open {
    max-height: 70vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 0;
}

.filter-panel.open .filter-panel-header,
.filter-panel.open .filter-column-container {
    padding: 20px;
    transition: all 0.35s ease;
}

.filter-panel-footer {
    position: sticky;
    bottom: 0;
    background: var(--bg-primary);
    padding: 16px 20px;
    margin-top: auto;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    z-index: 1;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-actief.column {
    gap: 0;
}

.filter-actief.column span {
    margin-bottom: 5px;
}

.filter-checkbox {
    margin: 5px 0 !important;
    margin-right: 5px !important;
}

label.sub-checkbox {
    margin-left: 20px !important;
    margin-top: -10px !important;
}

.filter-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: scroll;
    height: 300px;
}

.filter-column-container {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: flex-start;
    transition: all 0.35s ease;
}

.btn-close-filter {
    color: var(--text-primary) !important;
    padding: 0 !important;
}


.input-field .required,
span.required {
    color: #e53e3e !important;
    font-size: 14px;
}

.input-field label {
    font-weight: 500;
    font-size: 13.5px;
    color: var(--text-primary);
}

.input-field input,
.input-field select {
    margin-top: 4px;
}

.content .row .input-field {
    width: 100%;
}

.input-datalist {
    font-family: var(--font-family);
    box-sizing: border-box;
    color: var(--input-text);
    display: inline-block;
    font-size: var(--font-size);
    font-weight: 500;
    line-height: 20px;
    transition: all 0.15s ease;
    outline: none;
    appearance: none;
    min-height: 40px;
    background: var(--input-bg);
    box-shadow: var(--shadow-sm);
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--input-border);
    border-radius: 6px;
}

.input-datalist:hover {
    border-color: var(--huisstijlkleur);
}


.tooltip .info-icon {
    position: relative;
    cursor: pointer;
    margin-left: auto;
    color: var(--button-bg) !important;
}

label.tooltip {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 5px;
}

.tooltip .tooltiptext {
    visibility: hidden;
    max-width: 300px;
    width: max-content;
    background-color: var(--huisstijlkleur);
    color: #fff !important;
    text-align: left;
    border-radius: 8px;
    padding: 10px;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.2s ease;
    font-size: 13px;
    z-index: 10;
    pointer-events: none;
}

.tooltip .info-icon:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

span.info-icon svg {
    height: 20px;
    width: 20px;
    box-sizing: border-box;
}


.faq-container {
    max-width: 700px;
    margin: auto;
    background: var(--bg-primary);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 14px 20px;
    background: var(--bg-primary);
    transition: background 0.15s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
}

.faq-icon {
    transition: transform 0.25s ease;
    color: var(--huisstijlkleur);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    padding: 0 20px;
    color: var(--text-secondary);
    text-align: left;
    font-size: 13.5px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 12px 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.settings,
.notifications {
    width: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.notifications .no-notifications {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
}

.notifications .no-notifications p {
    margin: 8px 0 0;
    font-size: 13.5px;
}

.dashboard-melding {
    display: flex;
    align-items: flex-start;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 6px;
    font-family: var(--font-family);
    color: var(--text-primary);
    width: 100%;
    position: relative;
    background: var(--table-bg) !important;
}

div#notificationsDropdown {
    width: 300px;
}

.dropdown-content .content-block.notifications {
    gap: 8px !important;
    max-height: 100% !important;
    min-height: 0;
    padding: 10px !important;
}

.melding-icoon {
    flex-shrink: 0;
    margin-right: 10px;
    color: var(--huisstijlkleur);
}

.melding-tekst strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13.5px;
}

.melding-tekst p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    word-break: break-word;
}

button.close-melding {
    position: absolute;
    right: 5px;
    top: 5px;
    background: none;
    color: var(--text-secondary);
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 50%;
    font-weight: 600;
    font-size: 12px;
    transition: color 0.15s ease;
}

button.close-melding:hover {
    color: var(--text-primary);
}


.toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    pointer-events: none;
    width: calc(100% - 2rem);
    max-width: 380px;
}

.toast {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.25s ease;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.fade-out {
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.25s ease;
}

.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.toast.success .toast-icon { color: #10b981; }
.toast.error   .toast-icon { color: #ef4444; }
.toast.warning .toast-icon { color: #f59e0b; }
.toast.info    .toast-icon { color: #3b82f6; }

.toast-content {
    flex: 1;
    color: var(--text-primary);
}

.toast-title {
    font-weight: 600;
    margin: 0 0 2px;
    font-size: 13.5px;
    color: var(--text-primary);
}

.toast-message {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.toast-close {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.15s ease;
    border-radius: 4px;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
    z-index: 1;
    animation-fill-mode: forwards !important;
}

.toast.success .toast-progress { background: #10b981; }
.toast.error   .toast-progress { background: #ef4444; }
.toast.warning .toast-progress { background: #f59e0b; }
.toast.info    .toast-progress { background: #3b82f6; }

@keyframes toast-progress {
    0%   { transform: scaleX(1); }
    95%  { transform: scaleX(0.05); }
    100% { transform: scaleX(0); }
}

[data-theme="dark"] .toast.error   { background: #2d1515; color: #fca5a5; }
[data-theme="dark"] .toast.success { background: #0d2a1c; color: #86efac; }
[data-theme="dark"] .toast.warning { background: #2a1f0a; color: #fcd34d; }
[data-theme="dark"] .toast.info    { background: #0f1f3d; color: #93c5fd; }


.developer-watermark {
    pointer-events: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: rgb(175, 175, 175);
    font-weight: 500;
    z-index: 9999;
    font-size: 11px;
}

.developer-watermark p {
    margin: 0;
    padding: 0;
}

table.pricelists-modules-table td form {
    display: flex;
}

.exact-container a {
    height: 0;
    display: block;
}

.exact-status.status-online {
    padding-bottom: 10px;
}

.user-info {
    display: flex;
    margin-bottom: 0 !important;
    gap: 16px;
}

.user-email {
    color: var(--table-header-text);
    font-weight: 500;
    text-decoration: none;
}

td.sticker-template {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

iframe#pdfPreviewFrame {
    border: 1px solid var(--border-color) !important;
    border-bottom: 2px solid var(--border-color) !important;
    border-radius: 6px !important;
}

.sticker br { display: none !important; }
.sticker-config-table { table-layout: fixed; }

.scroll-table .pagination {
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: -10px;
}

.scroll-table .pagination strong,
.scroll-table .pagination a {
    display: flex;
    width: 28px;
    height: 28px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    font-size: 13px;
}

.scroll-table .content-container { height: 100%; }

.scroll-table {
    position: relative;
    max-height: calc(100vh - 130px);
}

.scroll-table .pagination strong {
    background: var(--huisstijlkleur);
    color: var(--button-text);
}

.scroll-table .pagination a {
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
}

.scroll-table .pagination a:hover {
    border-color: var(--huisstijlkleur);
    color: var(--huisstijlkleur);
}

/* ============================================================
   TABEL STYLING
   ============================================================ */

/* â”€â”€ BASIS TABEL â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--table-bg);
    border: 1px solid var(--table-border);
    border-radius: 10px;
    overflow: hidden;
    font-size: 13.5px;
    box-sizing: border-box;
}

table th {
    padding: 10px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--table-header-text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--table-header-bg);
    white-space: nowrap;
    border-bottom: 1px solid var(--table-border);
}

table td {
    padding: 11px 16px;
    text-align: left;
    border-bottom: 1px solid var(--table-border);
    color: var(--table-text);
    vertical-align: middle;
    font-size: 13.5px;
}

table tbody tr:last-child td {
    border-bottom: none;
}

table tbody tr {
    transition: background 0.12s ease;
}

table tbody tr:hover {
    background: var(--table-row-hover-bg);
}


/* â”€â”€ GEBRUIKER INFO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info > div:first-child {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--huisstijlkleur-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.user-info > div:first-child svg {
    width: 18px;
    height: 18px;
    color: var(--huisstijlkleur);
}

.user-info > div:first-child a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.user-fullname {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1px;
}

.user-name-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-email {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.12s;
}

.user-email:hover {
    color: var(--huisstijlkleur);
}

/* â”€â”€ ROL BADGE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.active-user-role {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

.active-user-role[data-role-name="Admin"] {
    background: var(--huisstijlkleur-light);
    color: var(--huisstijlkleur);
    border-color: rgba(30, 58, 95, 0.2);
}


.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    width: fit-content;
}

.status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status.actief            { background: #dcfce7; color: #166534; }
.status.actief::before    { background: #22c55e; }
.status.inactief          { background: #fee2e2; color: #991b1b; }
.status.inactief::before  { background: #ef4444; }
.status.inafwachting      { background: #fef3c7; color: #92400e; }
.status.inafwachting::before { background: #f59e0b; }

[data-theme="dark"] .status.actief       { background: #052e16; color: #86efac; }
[data-theme="dark"] .status.inactief     { background: #2d1515; color: #fca5a5; }
[data-theme="dark"] .status.inafwachting { background: #2a1f0a; color: #fcd34d; }


.button-td {
    padding: 8px 12px !important;
    white-space: nowrap;
}

.button-td button,
.button-td .table-button {
    display: inline-flex !important;
    vertical-align: middle;
}

table button,
table .table-button {
    border-radius: 7px;
    background: none;
    border: none;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    box-shadow: none;
    min-width: unset;
    transition: background 0.12s ease, color 0.12s ease;
}

table button i,
table .table-button i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

table button svg,
table .table-button svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

table button:hover,
table .table-button:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

table button.delete-user:hover,
table button.delete-role:hover {background: transparent;}


.delete-app.install-button {
    width: auto !important;
    height: auto !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    background: none !important;
    border: 1px solid var(--border-color) !important;
    white-space: nowrap;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.delete-app.install-button:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border-color: #fca5a5 !important;
}


table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--huisstijlkleur);
}

table button.delete-user svg, table button.delete-role svg {
    transition: stroke 0.12s ease;
}

table button.delete-user:hover, table button.delete-role:hover svg {
    stroke: #ef4444;
}

table button.delete-user:hover svg, table button.delete-role:hover svg {
    stroke: #ef4444;
}

table button.delete-user:hover, table button.delete-role:hover svg {
    stroke: #ef4444;
}

/* ============================================================
   RANGER — table-enhanced.css
   ============================================================ */

/* ── WRAPPER ──────────────────────────────────────────────── */
/* Wikkel elke tabel in een .table-wrapper div.
   De wrapper vangt alle overflow op zodat de pagina
   nooit breder wordt dan het scherm.                         */

.table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid var(--table-border);
    box-shadow: var(--shadow);
    box-sizing: border-box;
}

.table-wrapper::-webkit-scrollbar {
    height: 5px;
}
.table-wrapper::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
.table-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}
.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--huisstijlkleur);
}

/* ── TABEL BASIS ──────────────────────────────────────────── */

table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background: var(--table-bg);
    font-size: 13px;
    box-sizing: border-box;
    table-layout: auto;

    /* border op de tabel zelf — wordt overschreven als
       de tabel in een .table-wrapper zit               */
    border: 1px solid var(--table-border);
    border-radius: 10px;
    overflow: hidden;
}

/* Tabel in een wrapper: border op de wrapper, niet op de tabel */
.table-wrapper table {
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

/* ── THEAD ────────────────────────────────────────────────── */

table thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

table th {
    padding: 10px 14px;
    text-align: left;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--table-header-text);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: var(--table-header-bg);
    white-space: nowrap;
    border-bottom: 1px solid var(--table-border);
    position: relative;
    user-select: none;
}

/* Subtiele verticale scheidingslijn tussen headers */
table th + th::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--table-border);
}

/* Sorteer-klassen */
table th.sortable {
    cursor: pointer;
    padding-right: 26px;
}
table th.sortable::after {
    content: '↕';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    opacity: 0.35;
    transition: opacity 0.15s ease;
}
table th.sortable:hover::after       { opacity: 1; }
table th.sort-asc::after             { content: '↑'; opacity: 1; color: var(--huisstijlkleur); }
table th.sort-desc::after            { content: '↓'; opacity: 1; color: var(--huisstijlkleur); }

/* ── TBODY ────────────────────────────────────────────────── */

table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--table-border);
    color: var(--table-text);
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.45;
    /* white-space: nowrap; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
    box-sizing: border-box;
}

table tbody tr:last-child td {
    border-bottom: none;
}

table tbody tr {
    transition: background 0.1s ease;
}

table tbody tr:hover {
    background: var(--table-row-hover-bg);
}

/* Zebra striping — optioneel via class op <table> */
table.striped tbody tr:nth-child(even)       { background: var(--bg-secondary); }
table.striped tbody tr:nth-child(even):hover { background: var(--table-row-hover-bg); }

/* ── KOLOM-MODIFIER CLASSES ───────────────────────────────── */
/* Gebruik op <th> én <td> voor consistente kolombreedtes.    */

table th.col-id,   table td.col-id   { width: 90px;  min-width: 80px; }
table th.col-stat, table td.col-stat { width: 105px; min-width: 95px; }

table th.col-price, table td.col-price {
    width: 110px;
    min-width: 90px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: var(--text-primary);
}
table th.col-price { text-align: right; }

table th.col-date, table td.col-date {
    width: 115px;
    min-width: 100px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

table th.col-num, table td.col-num {
    width: 75px;
    min-width: 60px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
table th.col-num { text-align: center; }

table th.col-code, table td.col-code {
    width: 120px;
    min-width: 100px;
    font-family: ui-monospace, monospace;
    font-size: 12px;
    color: var(--text-secondary);
}

table th.col-bool, table td.col-bool {
    width: 80px;
    min-width: 70px;
    text-align: center;
}
table th.col-bool { text-align: center; }

table th.col-actions, table td.col-actions {
    width: 80px;
    min-width: 70px;
    text-align: center;
    white-space: nowrap;
}
table th.col-actions { text-align: center; }

/* Titelkolom: mag wrappen */
table td.col-title {
    white-space: normal;
    word-break: break-word;
    min-width: 180px;
    max-width: 300px;
    line-height: 1.4;
}

/* ── LINKS ────────────────────────────────────────────────── */

table td a {
    color: var(--huisstijlkleur);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.12s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}
table td a:hover {
    color: var(--huisstijlkleur-hover);
    text-decoration: underline;
}



[data-theme="dark"] .item-status.online,  [data-theme="dark"] .status.actief       { background: #052e16; color: #86efac; }
[data-theme="dark"] .item-status.offline, [data-theme="dark"] .status.inactief     { background: #2d1515; color: #fca5a5; }
[data-theme="dark"] .item-status.deactivated, [data-theme="dark"] .status.inafwachting { background: #2a1f0a; color: #fcd34d; }
[data-theme="dark"] .item-status.not-applicable            { background: var(--bg-secondary); color: var(--text-secondary); }

/* ── FMD / BOOLEAN BADGES ─────────────────────────────────── */

.badge-fmd,
.badge-bool {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.badge-fmd.active,   .badge-bool.yes { background: var(--huisstijlkleur-light); color: var(--huisstijlkleur); }
.badge-fmd.deactivated, .badge-bool.no { background: var(--bg-secondary); color: var(--text-secondary); border: 1px solid var(--border-color); }

/* ── PRIJSOPMAAK ──────────────────────────────────────────── */

.price-value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    white-space: nowrap;
}
.price-value.high { color: var(--huisstijlkleur); }

/* ── LEGE CELLEN ──────────────────────────────────────────── */

table td:empty::after,
table td.empty-cell::after {
    content: '—';
    color: var(--disabled);
    font-size: 13px;
}

/* Lege tabelstaat */
.table-empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-secondary);
    font-size: 13.5px;
}
.table-empty-state svg {
    width: 32px;
    height: 32px;
    margin: 0 auto 10px;
    opacity: 0.3;
    display: block;
    color: var(--text-secondary);
}

/* ── ACTIEKNOPPEN IN TABEL ────────────────────────────────── */

table .button-td {
    padding: 6px 8px !important;
    white-space: nowrap;
    /* text-align: center; */
}

table button,
table .table-button {
    border-radius: 6px;
    background: none;
    border: none;
    padding: 5px 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    box-shadow: none;
    min-width: unset;
    font-size: 13px;
    gap: 4px;
    transition: background 0.12s ease, color 0.12s ease;
    font-family: var(--font-family);
}
table button svg,
table .table-button svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    flex-shrink: 0;
}
table button:hover,
table .table-button:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}
table button.delete-btn:hover,
table button.delete-user:hover,
table button.delete-role:hover {
    background: #fee2e2;
    color: #ef4444;
}
table button.delete-btn:hover svg,
table button.delete-user:hover svg,
table button.delete-role:hover svg {
    stroke: #ef4444;
}

/* ── CHECKBOX IN TABEL ────────────────────────────────────── */

table input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--huisstijlkleur);
    flex-shrink: 0;
    vertical-align: middle;
}

/* ── STICKY EERSTE KOLOM ──────────────────────────────────── */

table.sticky-first-col th:first-child,
table.sticky-first-col td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--table-bg);
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
}
table.sticky-first-col thead th:first-child {
    background: var(--table-header-bg);
    z-index: 3;
}
table.sticky-first-col tbody tr:hover td:first-child {
    background: var(--table-row-hover-bg);
}

/* ── COMPACT VARIANT ──────────────────────────────────────── */

table.compact th,
table.compact td       { padding: 7px 11px; font-size: 12px; }
table.compact .item-status,
table.compact .status  { font-size: 11px; padding: 2px 7px; }

/* ── RIJEN HIGHLIGHTS ─────────────────────────────────────── */

table tbody tr.row-warning  td { background: rgba(245, 158, 11, 0.05); }
table tbody tr.row-error    td { background: rgba(239, 68, 68, 0.05); }
table tbody tr.row-selected td { background: var(--huisstijlkleur-light); }

/* ── TOOLBAR ──────────────────────────────────────────────── */

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.table-toolbar .table-search {
    position: relative;
    display: flex;
    align-items: center;
}
.table-toolbar .table-search input {
    padding-left: 34px;
    width: 240px;
    border-radius: 6px;
    min-height: 36px;
    font-size: 13px;
}
.table-toolbar .table-search svg {
    position: absolute;
    left: 10px;
    width: 15px;
    height: 15px;
    color: var(--text-secondary);
    pointer-events: none;
}

/* ── FOOTER / PAGINERING ──────────────────────────────────── */

.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-top: 1px solid var(--table-border);
    background: var(--table-bg);
    font-size: 12.5px;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 0 0 10px 10px;
}

.table-footer .pagination {
    display: flex;
    gap: 4px;
    align-items: center;
}

.table-footer .pagination button,
.table-footer .pagination a {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: var(--bg-primary);
    cursor: pointer;
    padding: 0;
    font-family: var(--font-family);
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.table-footer .pagination button:hover,
.table-footer .pagination a:hover {
    border-color: var(--huisstijlkleur);
    color: var(--huisstijlkleur);
    background: var(--huisstijlkleur-light);
}
.table-footer .pagination .active,
.table-footer .pagination button.active {
    background: var(--huisstijlkleur);
    color: var(--button-text);
    border-color: var(--huisstijlkleur);
}
.table-footer .pagination .active:hover {
    background: var(--huisstijlkleur-hover);
}

.sidebar-sub-dropdown.open > .sidebar-sub-dropdown-content {
    background: #f8fbff;
}

/* ── LOADING SKELETON ─────────────────────────────────────── */

@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

table tbody tr.skeleton td            { pointer-events: none; color: transparent; }
table tbody tr.skeleton td::after     {
    content: '';
    display: block;
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(
        90deg,
        var(--bg-secondary) 25%,
        var(--border-color) 50%,
        var(--bg-secondary) 75%
    );
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
}
table tbody tr.skeleton td:first-child::after    { width: 55%; }
table tbody tr.skeleton td:nth-child(2)::after   { width: 80px; }
table tbody tr.skeleton td:nth-child(n+3)::after { width: 70%; }

.bd-subtitle {
    white-space: wrap !important;
}

a.nc-icoonknop {
    margin-top: -10px;
}

button#ncAnderOs {
    background: unset;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 768px) {

    .tab-content, .tabcontent {
    overflow: auto;
}

#multiItems{
    height: unset !important;
}

.custom-datalist-dropdown {
    width: calc(100vw - 90px);
}

.filter-container .button-group {
    width: 100% !important;
    display: flex;
    justify-content: flex-end;
}

    .table-wrapper { border-radius: 8px; }

    table th,
    table td { padding: 8px 10px; font-size: 12px; }

    .item-status,
    .status { font-size: 10.5px; padding: 2px 7px; }

    .table-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .table-toolbar .table-search input { width: 100%; }

    table td a { max-width: 160px; }
    
      .bedrijfsprofiel-content.tab-column .row,
  .wrapper-wachtwoord-aanpassen .row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .tab-link[data-tab="wachtwoord"] {
    font-size: 0 !important;
}

.tab-link[data-tab="wachtwoord"]::after {
    content: "Wachtwoord";
    font-size: 12px !important;
            margin-top: -5px;
}

.content-wrapper {
    max-width: unset;
    padding: 20px;
}

.top-container .tabs a {
    white-space: nowrap;
}

div#topContainer {
    display: flex;
    flex-direction: column-reverse;
    height: unset;
    align-items: flex-start;
}

.pagination {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap !important;
}
}

/* ── Mobiele onder-tabbalk (bottom tab-bar) ──────────────────────────
   De tab-<a>'tjes in .top-container .settings-container .tabs worden op
   ≤767px een vaste balk onderaan met knoppen, zoals in een app. Puur CSS.
   Alleen op pagina's die deze tabs hebben (gescoped op .settings-container). */
@media (max-width: 767px) {
    .settings-container .tabs {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;
        display: flex;
        gap: 0px;
        margin: 0;
        padding: 10px 10px calc(6px + env(safe-area-inset-bottom, 0px));
        background: var(--bg-primary);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 20px;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        border-radius: 20px 20px 0px 0px;
    }

    .settings-container .tabs::-webkit-scrollbar { display: none; }

    /* Platte bottom-nav knoppen (zelfde stijl als .gom-nav op de
       goederenontvangst-mobiel-pagina): geen pil/achtergrond, gedempte
       tekst, actief = merkkleur. */
    .settings-container .tabs a,
    .settings-container .tabs .tab-link {
        flex: 1 0 auto;
        min-width: fit-content;
        margin: 0 !important;
        padding: 14px 18px !important;
        border: none !important;
        border-radius: 0 !important;
        background: none !important;
        text-align: center;
        white-space: nowrap;
        font-size: 12px;
        font-weight: 700;
        color: #9ca1ab;
        transition: color 0.15s ease;
    }

    .settings-container .tabs a.active,
    .settings-container .tabs .tab-link.active,
    .settings-container .tabs a[aria-current="page"] {
        background: none !important;
        color: var(--huisstijlkleur) !important;
        border: none !important;
    }

    /* Ruimte onder de content zodat de vaste balk niets afdekt —
       alleen op pagina's die de tabbalk daadwerkelijk hebben (:has). */
    body:has(.settings-container .tabs) .content-wrapper {
        padding-bottom: 120px;
    }
}

.no-notifications {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-container > .top-w-filter .top-container {
    margin: 0;
}

.count-contrainer {
    margin-bottom: 10px;
}

body ul.sidebar-sub-dropdown-content a {
    padding-left: 40px !important;
}