@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
/*
* This file is used to override the default styles of the Radzen Blazor components.
* It is loaded in the index.html file.
*/
:root {
    --rz-text-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    /* Grid data cells: iets kleiner dan body (Radzen default = --rz-body-font-size) */
    /*--rz-grid-cell-font-size: 0.855rem; */
    --rz-body-font-size: 0.855rem;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --rz-text-font-weight: 400;
    --rz-link-color: #e9e7f2;
    --rz-root-font-size: 16px;
    --rz-on-info-lighter: #88bef7;
    --rz-on-secondary-lighter: #88bef7;
    /* Radzen default link-hover is donker; wij werken dark UI */
    --rz-link-hover-color: #88bef7;    
    /* dark-base DataGrid: hover-tekst zou anders --rz-on-secondary-lighter zijn (donker op donkere rij) */
    --rz-grid-hover-color: var(--rz-on-secondary-lighter);

    font-weight: var(--rz-text-font-weight);;
    font-size: var(--rz-root-font-size);

}    



body {
    font-family: var(--rz-text-font-family);
    color: var(--rz-text-color);
    font-size: var(--rz-body-font-size);
    line-height: var(--rz-body-line-height);
    background-color: var(--rz-body-background-color);
}

h1:focus {
    outline: none;
}

/* Radzen navigation items in the main app menu (font weight normalization) */
.rz-navigation-item-text {
    font-weight: 400;
}

/* Stronger focus outline for buttons and form controls to improve accessibility */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, 
.form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.rz-body {
    --rz-body-padding: 0;
}

/* Ensure plain links and Bootstrap .btn-link use the themed Radzen link color */
a, .btn-link {
    color: var(--rz-link-color);
}

a:hover,
a:focus,
.btn-link:hover,
.btn-link:focus {
    color: var(--rz-on-info-lighter);
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* #region Loading progress indicator */
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}
/* #endregion Loading progress indicator */

/* #region Hoofdnav (site navbar menu) */
/* 
    /shared/NavMenu 
*/
.site-navbar-menu [role="tab"] {
    font-size: 1.2em !important;
}

.site-navbar-menu .rz-accordion-header {
    background-color: #222b2f;
    padding: 11px;
}

/* Sub-items van menugroepen: extra inspringing naar rechts */
.site-navbar-menu .rz-accordion-content .rz-navigation-item {
    padding-left: 7px;
}
/* #endregion Hoofdnav (site navbar menu) */

/* #region Quality label (ResourceDetailComponent) */
/* Gebruikt in ResourceDetailComponent.razor voor kwaliteitsstatus-badge */
.quality-label {
    padding: 0.35em 0.5em 0.35em 0.35em !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center;
    overflow: hidden;
}

.quality-label-icon {
    font-size: 1em !important;
    flex-shrink: 0;
    line-height: 1 !important;
    margin-right: 1px !important;
}

.quality-label-text {
    margin: 0px !important;
    font-size: 0.9em !important;
    line-height: 1 !important;
    padding: 0px !important;
}
/* #endregion Quality label (ResourceDetailComponent) */

/* #region Inline icon + multi-line message (auth/login) */
.hc-icon-message {
    align-items: flex-start !important; /* override RadzenStack AlignItems.Center for multi-line */
    gap: 0.5rem;
}

.hc-icon-message .rz-icon,
.hc-icon-message .material-icons {
    flex: 0 0 auto;
    line-height: 1 !important;
    margin-top: 0.125rem; /* visually aligns with first text line */
}
/* #endregion Inline icon + multi-line message (auth/login) */

/* #region StreamDesk knopvarianten */
/* Gebruikt in diverse RadzenButtons (grids, filters, dialogs) */
/* Button met tekst en icon - zelfde hoogte als icon-only (delete) */
.streamdesk-button,
.streamdesk-button.rz-button {
    font-size: 0.87rem !important;
    padding: 0.25rem 0.6rem 0.25rem 0.4rem !important;
    border-radius: 4px !important;
    line-height: 1 !important;
}

/* Button met alleen tekst (geen icon) - zelfde hoogte als icon-only (delete) */
.streamdesk-button-text-only,
.streamdesk-button-text-only.rz-button {
    font-size: 0.87rem !important;
    padding: 0.25rem 0.6rem !important;
    border-radius: 4px !important;
    line-height: 1 !important;
}

/* Button met alleen icon (geen tekst) */
.streamdesk-button-icon-only,
.streamdesk-button-icon-only.rz-button {
    padding: 0.25rem 0.4rem 0.25rem 0.4rem !important;
    border-radius: 4px !important;
    min-width: auto !important;
    width: auto !important;
    line-height: 1 !important;
}

.streamdesk-button-icon-only .rzi,
.streamdesk-button-icon-only .rz-icon,
.streamdesk-button-icon-only i {
    font-size: 1rem !important;
}

/* Rij-acties in grid/tree: zelfde Radzen Size + verticaal gecentreerd naast elkaar */
.streamdesk-row-actions.rz-stack {
    align-items: center;
}

/* Dynamische grid: stringcellen met ellipsis en optioneel native title (hover) bij lange tekst */
.streamdesk-grid-cell-text-row {
    display: flex;
    align-items: center;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.streamdesk-grid-cell-text-ellipsis {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* #endregion StreamDesk knopvarianten */

/* Tabhost styling - verbeterde tab vormgeving met subtiele borders en tab uitsteeksel effect */
.rz-tabview-panel {
    height: 100% !important;
}

/* #region Tabhost-0 (bovenste niveau tabs) */
.tabhost-0 .rz-tabview-nav {
    background-color: var(--rz-base-900);
    border-bottom: none !important;
    border-left: none !important;
    padding: 0 4px 0 0;
    position: relative;
}

.tabhost-0 .rz-tabview-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    z-index: 0;
}

.tabhost-0 .rz-tabview-selected {
    position: relative;
    z-index: 2;
}

.tabhost-0 .rz-tabview-nav li {
    margin: 0 2px 0 0;
    border-radius: 6px 6px 0 0;
    border: 1px solid transparent;
    border-bottom: none;
    border-left: none;
    transition: background-color 0.2s ease, border-top-color 0.2s ease, border-right-color 0.2s ease, box-shadow 0.2s ease, margin-bottom 0.2s ease;
    position: relative;
}

.tabhost-0 .rz-tabview-nav li:first-child {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, margin-bottom 0.2s ease, border-left-color 0.2s ease;
}

.tabhost-0 .rz-tabview-nav li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--rz-base-800);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.05s ease;
    pointer-events: none;
}

.tabhost-0 .rz-tabview-nav li:first-child {
    margin-left: 0;
    border-left: none;
}

.tabhost-0 .rz-tabview-nav li:first-child:not(.rz-tabview-selected) {
    border-top-left-radius: 6px;
}

.tabhost-0 .rz-tabview-nav li:first-child:not(.rz-tabview-selected)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    border-top-left-radius: 6px;
}

.tabhost-0 .rz-tabview-nav li:first-child.rz-tabview-selected {
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top-left-radius: 6px;
    overflow: hidden;
    transition: background-color 0.2s ease, border-top-color 0.2s ease, border-right-color 0.2s ease, box-shadow 0.2s ease, margin-bottom 0.2s ease !important;
}

.tabhost-0 .rz-tabview-nav li:first-child.rz-tabview-selected::before {
    display: none;
}

.tabhost-0 .rz-tabview-nav li:not(.rz-tabview-selected) {
    background-color: var(--rz-base-900);
    border-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 1px;
}

.tabhost-0 .rz-tabview-nav li:not(.rz-tabview-selected):hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.tabhost-0 .rz-tabview-selected {
    background-color: var(--rz-base-800) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-bottom: none !important;
    border-bottom-color: var(--rz-base-800) !important;
    margin-bottom: 0 !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.tabhost-0 .rz-tabview-selected:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.tabhost-0 .rz-tabview-selected::after {
    opacity: 1;
}

.tabhost-0 .rz-tabview-panel {
    background-color: var(--rz-base-800);
    border-top: none !important;
    border-left: none !important;
    position: relative;
}

.tabhost-0 .rz-tabview-panel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.05s ease;
    pointer-events: none;
}

.tabhost-0:has(.rz-tabview-nav li:first-child.rz-tabview-selected) .rz-tabview-panel::before {
    opacity: 1;
}

/* #endregion Tabhost-0 */

/* #region Tabhost-1 (geneste tabs) */
.tabhost-1 .rz-tabview-nav {
    background-color: var(--rz-base-800);
    border-bottom: none !important;
    border-left: none !important;
    padding: 0 4px 0 0;
    position: relative;
}

.tabhost-1 .rz-tabview-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    z-index: 0;
}

.tabhost-1 .rz-tabview-selected {
    position: relative;
    z-index: 2;
}

.tabhost-1 .rz-tabview-nav li {
    margin: 0 3px 0 0;
    padding: 0 0.6rem;
    border-radius: 6px 6px 0 0;
    border: 1px solid transparent;
    border-bottom: none;
    border-left: none;
    transition: background-color 0.2s ease, border-top-color 0.2s ease, border-right-color 0.2s ease, box-shadow 0.2s ease, margin-bottom 0.2s ease;
    position: relative;
}

.tabhost-1 .rz-tabview-nav li:first-child {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, margin-bottom 0.2s ease, border-left-color 0.2s ease;
}

.tabhost-1 .rz-tabview-nav li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--rz-base-900);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.05s ease;
    pointer-events: none;
}

.tabhost-1 .rz-tabview-nav li:first-child {
    margin-left: 0;
    border-left: none;
}

.tabhost-1 .rz-tabview-nav li:first-child:not(.rz-tabview-selected) {
    border-top-left-radius: 6px;
}

.tabhost-1 .rz-tabview-nav li:first-child:not(.rz-tabview-selected)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    border-top-left-radius: 6px;
}

.tabhost-1 .rz-tabview-nav li:first-child.rz-tabview-selected {
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top-left-radius: 6px;
    overflow: hidden;
    transition: background-color 0.2s ease, border-top-color 0.2s ease, border-right-color 0.2s ease, box-shadow 0.2s ease, margin-bottom 0.2s ease !important;
}

.tabhost-1 .rz-tabview-nav li:first-child.rz-tabview-selected::before {
    display: none;
}

.tabhost-1 .rz-tabview-nav li:not(.rz-tabview-selected) {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
    margin-bottom: 1px;
}

.tabhost-1 .rz-tabview-nav li:hover:not(.rz-tabview-selected):not(.rz-state-disabled) {
    background-color: var(--rz-base-800);
    border-color: rgba(255, 255, 255, 0.1);
}

.tabhost-1 .rz-tabview-selected {
    background-color: var(--rz-base-900) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-bottom: none !important;
    border-bottom-color: var(--rz-base-900) !important;
    margin-bottom: 0 !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.tabhost-1 .rz-tabview-selected:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.tabhost-1 .rz-tabview-selected::after {
    opacity: 1;
}

.tabhost-1 .rz-tabview-panel {
    background-color: var(--rz-base-900);
    border-top: none !important;
    border-left: none !important;
    position: relative;
}

.tabhost-1 .rz-tabview-panel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.05s ease;
    pointer-events: none;
}

.tabhost-1:has(.rz-tabview-nav li:first-child.rz-tabview-selected) .rz-tabview-panel::before {
    opacity: 1;
}

/* #endregion Tabhost-1 */

/* #region Command bevestigingsdialog (delete, restore, formless edit) */
/* Eén set padding: titel blijft Radzen titlebar; inhoud + voettekst krijgen rustige marge. Footer: margin-top auto i.c.m. kolomlayout. */
.streamdesk-command-dialog-root {
    min-height: 0;
}

.streamdesk-command-dialog-body {
    box-sizing: border-box;
    width: 100%;
    flex: 0 1 auto;
    max-height: min(70vh, 100%);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1.125rem 1.5rem 1rem;
}

/* Resultaatbanner na bulk dispatch (fout / deels geslaagd); zelfde breedte als bodytekst. */
.streamdesk-command-dialog-result-alert {
    box-sizing: border-box;
    width: 100%;
    padding: 0.875rem 1.125rem;
    border-radius: var(--rz-border-radius);
    line-height: 1.5;
}

.streamdesk-command-dialog-result-alert-summary {
    margin: 0;
}

.streamdesk-command-dialog-result-alert-types {
    margin: 0.625rem 0 0;
    padding-inline-start: 1.25rem;
    margin-bottom: 0;
}

.streamdesk-command-dialog-result-alert-types li {
    margin-top: 0.35rem;
}

.streamdesk-command-dialog-result-alert-types li:first-child {
    margin-top: 0;
}

/* Kolom rond fout + tabs/formulier: één horizontale marge, verticale ademruimte. */
.streamdesk-command-dialog-stacked {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    padding: 0.75rem 1.5rem 0;
}

.streamdesk-command-dialog-structured-inner {
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.streamdesk-command-dialog-footer {
    box-sizing: border-box;
    width: 100%;
    flex-shrink: 0;
    padding: 1rem 1.5rem;
    gap: 0.625rem;
}

/* Zelfde horizontale ritme als body/footer; alleen dialogen met onze content-class (command-dialogen). */
.rz-dialog:has(.dialog-content) .rz-dialog-titlebar {
    padding-inline: 1.5rem;
    padding-block: 1rem 0.625rem;
}

/* #endregion Command bevestigingsdialog */

/* Altijd een gekleurde bovenlijn op de actieve tab (zelfde accent als hover) */
.tabhost-0 .rz-tabview-selected::before,
.tabhost-1 .rz-tabview-selected::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background-color: var(--rz-link-hover-color);
    z-index: 3;
}

/* #region Grid selectie (consistente accentkleur met tab-lijn) */
.rz-datatable .rz-data-row.rz-state-highlight > td,
.rz-datatable .rz-selectable .rz-data-row.rz-state-highlight > td {
    background-color: color-mix(in srgb, var(--rz-link-hover-color) 20%, transparent) !important;
    color: var(--rz-text-color) !important;
    border-top-color: color-mix(in srgb, var(--rz-link-hover-color) 35%, transparent) !important;
    border-bottom-color: color-mix(in srgb, var(--rz-link-hover-color) 35%, transparent) !important;
}

.rz-datatable .rz-data-row.rz-state-highlight > td:first-child,
.rz-datatable .rz-selectable .rz-data-row.rz-state-highlight > td:first-child {
    box-shadow: inset 3px 0 0 var(--rz-link-hover-color);
}
/* #endregion Grid selectie (consistente accentkleur met tab-lijn) */

/* #region DataGrid pager (Radzen): compacte groep rechts */
@media (min-width: 769px) {
    .rz-data-grid .rz-pager {
        justify-content: flex-end;
    }

    .rz-data-grid .rz-pager .rz-pager-summary {
        margin-right: 0;
        margin-left: 0;
    }

    .rz-data-grid .rz-pager .rz-pager-pages {
        flex: 0 1 auto;
        justify-content: flex-end;
    }

    .rz-data-grid .rz-pager .rz-pager-pages > .rz-pager-item {
        margin-inline-start: 0;
        margin-inline-end: 0;
    }

    .rz-data-grid .rz-pager .rz-pager-first {
        margin-inline-start: 0;
    }
}
/* #endregion DataGrid pager (Radzen): compacte groep rechts */



/* #region Filter Management Panel */
/* Gebruikt in FilterManagementPanel.razor en FilterManagementDialog.razor */
/* Filter Management Panel styling */
.streamdesk-filter-management-panel.rz-card,
.rz-card.streamdesk-filter-management-panel {
    padding: 6px 10px;
}

.streamdesk-filter-management-header {
    padding: 0px 2px;
    margin-bottom: 0;
}

.streamdesk-filter-management-title {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--rz-text-secondary-color);
    line-height: 1.2;
    margin: 0;
}

/* Quick search in toolbar: iets breder, lager (uitlijning ButtonSize.Small); RadzenTextBox heeft geen ingebouwde clear */
.streamdesk-filter-top-bar--inline-search .streamdesk-filter-toolbar-field {
    flex: 1 1 16rem;
    min-width: 14rem;
    max-width: 22rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.streamdesk-filter-top-bar--inline-search .streamdesk-filter-toolbar-field--with-clear {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
    max-width: 24rem;
}

/* Overschrijf .streamdesk-button-icon-only (!important): anders blijft clear kleiner dan rz-button-sm */
.streamdesk-filter-top-bar--inline-search
    .streamdesk-filter-toolbar-field--with-clear
    .streamdesk-filter-toolbar-clear.rz-button.streamdesk-button-icon-only {
    flex-shrink: 0;
    align-self: center;
    box-sizing: border-box;
    min-width: 1.75rem !important;
    min-height: 1.75rem !important;
    width: 1.75rem !important;
    height: 1.75rem !important;
    padding: 0.25rem !important;
    line-height: 1 !important;
}

.streamdesk-filter-top-bar--inline-search .streamdesk-filter-toolbar-field--with-clear .rz-form-field {
    flex: 1 1 auto;
    min-width: 0;
}

.streamdesk-filter-top-bar--inline-search .streamdesk-filter-toolbar-field .rz-form-field {
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.streamdesk-filter-top-bar--inline-search .streamdesk-filter-toolbar-field .rz-form-field-content {
    min-height: 0;
    /* Radzen default --rz-form-field-margin-block (0.5rem 0) duikt het veld uit t.o.v. knoppen */
    margin-block: 0 !important;
    margin-inline: 0 !important;
}

.streamdesk-filter-top-bar--inline-search .streamdesk-filter-toolbar-field .rz-form-field-helper {
    padding: 0 !important;
    min-height: 0;
}

.streamdesk-filter-top-bar--inline-search .streamdesk-filter-toolbar-field .rz-form-field-helper:empty {
    display: none;
}

/* Lege start/end-slots houden anders --rz-form-field-start-end-padding-inline → grijze strook na input */
.streamdesk-filter-top-bar--inline-search
    .streamdesk-filter-toolbar-field
    .rz-form-field-content
    .rz-form-field-start:empty,
.streamdesk-filter-top-bar--inline-search
    .streamdesk-filter-toolbar-field
    .rz-form-field-content
    .rz-form-field-end:empty {
    display: none;
}

/* Lagere tekstregel, dichter bij rz-button-sm (~28px totaal waar thema het toelaat) */
.streamdesk-filter-top-bar--inline-search .streamdesk-filter-toolbar-field .rz-textbox {
    width: 100%;
    box-sizing: border-box;
    min-height: 1.75rem;
    height: 1.75rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.15;
}

.streamdesk-filter-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Consistente veldtypografie in filterpaneel (align met compactere form-weergave) */
.streamdesk-filter-container .rz-inputtext,
.streamdesk-filter-container .rz-dropdown-label,
.streamdesk-filter-container .rz-multiselect-label,
.streamdesk-filter-container .rz-datepicker input,
.streamdesk-filter-container .rz-numeric-input,
.streamdesk-filter-container .rz-inputtextarea {
    font-size: 0.875rem;
}

/* #endregion Filter Management Panel */

/* #region Multi-select chips (compact) */
/* Compactere tags in Radzen multiselect, zonder globale chip-stijlen te beïnvloeden */
.streamdesk-multiselect .rz-chips {
    gap: 0.2rem;
}

.streamdesk-multiselect .rz-chip {
    font-size: 0.75rem;
    font-weight: 400;
    min-height: 1.25rem;
    padding: 0.08rem 0.35rem 0.08rem 0.35rem;
    line-height: 1.1;
    column-gap: 0.08rem;
}

.streamdesk-multiselect .rz-chip .rz-chip-text {
    font-weight: 400;
    line-height: 1.1;
}

.streamdesk-multiselect .rz-chip .rz-chip-remove,
.streamdesk-multiselect .rz-chip .rzi {
    font-size: 0.75rem;
}

.streamdesk-multiselect .rz-chip .rz-chip-remove {
    margin: 0 !important;
    margin-inline: 0 !important;
    margin-inline-start: 0.05rem !important;
    margin-inline-end: 0 !important;
    padding: 0 !important;
    min-width: auto;
    width: auto;
}
/* #endregion Multi-select chips (compact) */

/* #region Multi-select checkbox list */
.streamdesk-multiselect--checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.streamdesk-multiselect__hint {
    font-size: 0.8125rem;
    color: var(--rz-text-secondary-color, rgba(255, 255, 255, 0.65));
    margin: 0 0 0.15rem 0;
}

.streamdesk-multiselect__select-all {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--rz-base-700, rgba(255, 255, 255, 0.12));
    margin-bottom: 0.1rem;
    font-size: 0.875rem;
}

.streamdesk-multiselect__select-all-label {
    user-select: none;
}

.streamdesk-multiselect__checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.875rem;
    line-height: 1.35;
    margin: 0;
    cursor: pointer;
}
/* #endregion Multi-select checkbox list */

/* #region Validatie helper onder formuliervelden */
/* Gebruikt in Form/Field.razor als inline validatiehulp */
/* Validatiebericht onder formuliervelden: gedempte stijl, past bij de rest van het formulier */
.form-field-validation-helper {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--rz-danger-color, rgb(255, 157, 77));
    line-height: 1.35;
    text-transform: lowercase;
}
/* #endregion Validatie helper onder formuliervelden */

/* #region Required field marker (asterisk) */
.streamdesk-required-star {
    color: var(--rz-danger-color, rgb(255, 157, 77));
    font-weight: 700;
    margin-left: 0.15rem;
    vertical-align: super;
    position: relative;
    top: -0.1em;
}

.streamdesk-required-star--hint {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}
/* #endregion Required field marker (asterisk) */

/* #region Detail view field typography */
.streamdesk-detail-field-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--rz-text-secondary-color);
    line-height: 1.2;
}

/* Embedded ListView / sub-grid: label iets inspringen t.o.v. grid-rand (uitlijning met kolomtekst) */
.streamdesk-detail-field-label.streamdesk-detail-list-view-label {
    display: inline-block;
    padding-top: 0.75rem;
    padding-left: 0.5rem;
}

.streamdesk-detail-field-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--rz-text-color);
    line-height: 1.2;
}
/* #endregion Detail view field typography */

/* #region Mutually exclusive group – switchknop (minder dominant, grijs als veldlabels) */
.mutually-exclusive-switch-btn.rz-button {
    font-size: 0.8125rem;
    padding: 0.25rem 0.5rem;
    text-transform: lowercase;
}
.mutually-exclusive-switch-btn.rz-button,
.mutually-exclusive-switch-btn.rz-button .rz-icon {
    color: var(--rz-base-500, #94a3b8);
}
.mutually-exclusive-switch-btn.rz-button:hover,
.mutually-exclusive-switch-btn.rz-button:hover .rz-icon {
    color: var(--rz-base-100, #f1f5f9);
}
/* #endregion Mutually exclusive group */

/* #region Radio button list spacing */
/* Compactere en beter uitgelijnde radiobutton-lijsten in formulieren */
.rz-radiobutton-list {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* horizontale afstand tussen de opties (M, V, X, ...) */
}

.rz-radiobutton-list .rz-radiobutton-item {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0 0.1rem 0;
}

.rz-radiobutton {
    margin-left: 0.3rem;
}

.rz-radiobutton-label {
    margin-left: 0.15rem; /* kleine ruimte tussen bolletje en labeltekst */
    padding: 0;
    line-height: 2.5;
}
/* #endregion Radio button list spacing */

/* #region EditCommandPage responsive layout */
.edit-command-page__stack {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
}

@media (max-width: 768px) {
    .edit-command-page__stack {
        max-width: 100%;
        padding: 1rem 0.75rem 1.25rem;
    }

    .edit-command-page__stack .rz-card {
        margin: 0;
    }

    /* Force Radzen columns inside the edit page to stack full-width on small screens */
    .edit-command-page__stack .rz-row,
    .edit-command-page__stack .row {
        flex-wrap: wrap;
    }

    .edit-command-page__stack .rz-col {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}
/* #endregion EditCommandPage responsive layout */

/* #region Dynamic form vertical zones */
.streamdesk-dynamic-form-layout__zones {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.streamdesk-dynamic-form-layout__zone {
    min-width: 0;
}
/* #endregion Dynamic form vertical zones */

/* #region Dynamic form responsive layout */
@media (max-width: 768px) {
    /* Stack dynamic form columns full-width on small screens (GSM/mobile). */
    .streamdesk-dynamic-form-layout__row .rz-row,
    .streamdesk-dynamic-form-layout__row .row {
        flex-wrap: wrap;
    }

    .streamdesk-dynamic-form-layout__row .rz-col,
    .streamdesk-dynamic-form-layout__row [class*="rz-col-"] {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* #endregion Dynamic form responsive layout */

/* #region App topbar user profile trigger */
/* Maakt de profiel-actie herkenbaar als klikbaar (chiplook + hover/focus), zonder echte Radzen-button. */
.streamdesk-topbar__user-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0.35rem 0.65rem;
    max-width: 100%;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
    line-height: 1.2;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.streamdesk-topbar__user-trigger:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12) inset, 0 1px 3px rgba(0, 0, 0, 0.2);
}

.streamdesk-topbar__user-trigger:focus {
    outline: none;
}

.streamdesk-topbar__user-trigger:focus-visible {
    outline: 2px solid var(--rz-primary, #0d6efd);
    outline-offset: 2px;
}

.streamdesk-topbar__user-trigger:active {
    background-color: rgba(255, 255, 255, 0.08);
}
/* #endregion App topbar user profile trigger */

/* #region App topbar notification badge */
.streamdesk-topbar__notif-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.35rem 0.45rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    cursor: pointer;
    font: inherit;
    color: inherit;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.streamdesk-topbar__notif-trigger:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.26);
}

.streamdesk-topbar__notif-trigger:focus {
    outline: none;
}

.streamdesk-topbar__notif-trigger:focus-visible {
    outline: 2px solid var(--rz-primary, #0d6efd);
    outline-offset: 2px;
}

.streamdesk-topbar__notif-icon {
    font-size: 1.35rem !important;
    width: 1.35rem !important;
    height: 1.35rem !important;
}

.streamdesk-topbar__notif-badge {
    position: absolute;
    top: 0.1rem;
    right: 0.1rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.28rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: var(--rz-danger, #dc3545);
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    pointer-events: none;
}
/* #endregion App topbar notification badge */

/* #region App topbar responsive layout */
@media (max-width: 768px) {
    /* Keep the topbar compact: don't force full column stacking. */
    .streamdesk-topbar__row {
        flex-wrap: nowrap;
        align-items: center;
    }

    /* Middle column is empty; hide it so title + actions have more room. */
    .streamdesk-topbar__row .rz-col-7 {
        display: none !important;
    }

    /* Give the left title column more width and the right actions column enough room. */
    .streamdesk-topbar__row .rz-col-3 {
        flex: 0 0 60% !important;
        max-width: 60% !important;
    }

    .streamdesk-topbar__row .rz-col-2 {
        flex: 0 0 40% !important;
        max-width: 40% !important;
    }

    .streamdesk-topbar__right {
        justify-content: flex-start !important;
        padding-right: 0 !important;
        gap: 0.35rem !important;
        flex-wrap: wrap;
        overflow: visible !important;
    }

    .streamdesk-topbar__user-name {
        display: none !important;
    }

    .streamdesk-topbar__user-trigger {
        min-width: 2.5rem;
        min-height: 2.5rem;
        justify-content: center;
        padding: 0.45rem;
    }

    .streamdesk-topbar__title {
        font-size: 1.05rem !important;
        line-height: 1.05;
        margin-bottom: 0;
    }

    .streamdesk-topbar__right .rz-button {
        flex-shrink: 0 !important;
        white-space: nowrap;
    }
}
/* #endregion App topbar responsive layout */

/* #region App footer responsive layout */
@media (max-width: 768px) {
    /* Hide HolonCom signature label on very small screens to reduce clutter. */
    .streamdesk-footer__application-signature {
        display: none !important;
    }
}
/* #endregion App footer responsive layout */

/* #region Entity header detail title row */
.entity-header-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.entity-header-title-row__title {
    font-size: 2.5em;
    font-weight: bold;
    min-width: 0;
    flex: 1 1 auto;
}

.entity-header-title-row__trailing {
    flex: 0 0 auto;
}
/* #endregion Entity header detail title row */

/* #region Resource detail header navigation */
.resource-detail-header-nav__loading {
    flex: 0 0 auto;
}

.resource-detail-header-nav__position {
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
}

.resource-detail-header-nav__jump {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 12rem;
    max-width: 16rem;
}

.resource-detail-header-nav__jump .rz-dropdown-trigger {
    width: auto !important;
    max-width: 100%;
    justify-content: flex-start;
    column-gap: 0.25rem;
}

.resource-detail-header-nav__jump .rz-dropdown-label {
    flex: 1 1 auto !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resource-detail-header-nav__value {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
}
/* #endregion Resource detail header navigation */

/* #region Print layout (detail pages, browser Print / Ctrl+P) */
@media print {
    /*
     * 1) Doorbreek height/flex-ketens (100vh, min-height:0, overflow hidden) zodat alle inhoud op meerdere
     *    pagina's kan doorlopen i.p.v. te worden afgesneden op één "viewport".
     * 2) Light mode op papier: donkere UI zou anders veel inkt gebruiken.
     */
    /*
     * Paginamarges (@page): zet de **webinhoud** verder van de fysieke rand, zodat er visueel meer lucht is
     * t.o.v. de door de browser getekende kop/voettekst (datum, URL, paginanummer). Die teksten zelf worden
     * door de browser/printdialoog geplaatst — uitschakelen kan via "Headers and footers" in Chrome/Edge.
     */
    @page {
        margin: 15mm 8mm 15mm 8mm;
    }

    :root {
        color-scheme: light;
        --rz-body-background-color: #ffffff;
        --rz-text-color: #212121;
        --rz-text-secondary-color: #424242;
        --rz-border-color: #cfcfcf;
        --rz-base-background-color: #ffffff;
        --rz-base-50: #fafafa;
        --rz-base-100: #f5f5f5;
        --rz-base-200: #eeeeee;
        --rz-base-300: #e0e0e0;
        --rz-base-400: #bdbdbd;
        --rz-base-500: #9e9e9e;
        --rz-base-600: #757575;
        --rz-base-700: #616161;
        --rz-base-800: #f5f5f5;
        --rz-base-900: #ffffff;
        --rz-grid-hover-color: rgba(25, 118, 210, 0.08);
        --rz-link-color: #0d47a1;
        --rz-link-hover-color: #0d47a1;
        --rz-on-secondary-lighter: #212121;
        --rz-on-info-lighter: #1565c0;
    }

    html,
    body,
    #app {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        background: #fff !important;
        color: #212121 !important;
        print-color-adjust: economy;
        -webkit-print-color-adjust: economy;
    }

    /* App shell: geen menu, topbar of zijbalk op papier */
    .rz-header,
    .rz-sidebar,
    .rz-sidebar-toggle {
        display: none !important;
    }

    /* Radzen layout: geen viewport-grid die hoogte op één scherm fixeert */
    .rz-layout {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .rz-body {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    /* AuthenticatedLayout: RadzenContentContainer height:100% — voor print volledige documenthoogte */
    [name="main"],
    .rz-content-container {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: static !important;
    }

    /* Inline height:100% op o.a. ResourceDetailComponent-root — anders blijft inhoud op één schermhoogte */
    [name="main"] [style*="height"][style*="100%"] {
        height: auto !important;
        max-height: none !important;
    }

    /* TabsHost: RadzenTabs inline flex:1; min-height:0 — laat inhoud doorlopen */
    .tabhost.rz-tabview,
    .tabhost {
        flex: none !important;
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .tabhost .rz-tabview-panels {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Overschrijf globale screen-regel .rz-tabview-panel { height:100% } — kern voor afgekapte print */
    .rz-tabview-panel {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        background-color: #fff !important;
        color: #212121 !important;
    }

    .rz-splitter,
    .rz-splitter-pane {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* Decoratie tab-panels: geen verticale lijn/pseudo die print raakt */
    .tabhost .rz-tabview-panel::before {
        display: none !important;
    }

    /* Tabtitels en sluitknoppen: niet nodig op print; inhoud blijft zichtbaar */
    .tabhost .rz-tabview-nav {
        display: none !important;
    }

    /* Breadcrumb boven detail: overbodig op papier */
    .rz-breadcrumb {
        display: none !important;
    }

    /* Vorige/volgende + jump op detailpagina */
    .resource-detail-header-nav {
        display: none !important;
    }

    /* Entity header: titel behouden; metadata/actierij (id, badges, capabilities) verbergen */
    .rz-card.rz-background-color-base-900:has(.entity-header-title-row) > .rz-stack:first-of-type {
        display: none !important;
    }


    /* Donkere kaarten / grids naar licht papier */
    .rz-card,
    .rz-background-color-base-800,
    .rz-background-color-base-900 {
        background-color: #fff !important;
        color: #212121 !important;
        box-shadow: none !important;
    }

    /* DataGrid: donkere rijen → leesbare tabel op wit */
    .rz-datatable,
    .rz-grid-table,
    .rz-grid-table thead,
    .rz-grid-table tbody,
    .rz-grid-table td,
    .rz-grid-table th {
        background-color: #fff !important;
        color: #212121 !important;
    }

    .rz-datatable-data .rz-datatable-even .rz-cell-data,
    .rz-datatable-data .rz-datatable-odd .rz-cell-data {
        color: #212121 !important;
    }

    /* Footer: copyright midden behouden; rechterkolom (verbinding, versie) verbergen */
    .rz-footer > .rz-stack > *:last-child {
        display: none !important;
    }

    .rz-footer {
        background: #fff !important;
        color: #424242 !important;
    }

    /* Geen vaste page-break op elke kaart: grote secties mogen over pagina's breken */
    .rz-card {
        break-inside: auto;
        page-break-inside: auto;
    }
}
/* #endregion Print layout */