/* ========================================================================
   FONT DECLARATIONS
   ======================================================================== */

@font-face {
    font-family: "BigNoodleTitling";
    src: url("/style/fonts/ff78c5e2b6c3846035dae28cdaa65583.eot");
    src: url("/style/fonts/ff78c5e2b6c3846035dae28cdaa65583.eot?#iefix") format("embedded-opentype"),
        url("/style/fonts/ff78c5e2b6c3846035dae28cdaa65583.woff") format("woff"),
        url("/style/fonts/ff78c5e2b6c3846035dae28cdaa65583.woff2") format("woff2"),
        url("/style/fonts/ff78c5e2b6c3846035dae28cdaa65583.ttf") format("truetype"),
        url("/style/fonts/ff78c5e2b6c3846035dae28cdaa65583.svg#BigNoodleTitling") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Graphik Web Regular Regular";
    src: url("/style/fonts/105007d99d9df64c50cc24d696d79555.eot");
    src: url("/style/fonts/105007d99d9df64c50cc24d696d79555.eot?#iefix") format("embedded-opentype"),
        url("/style/fonts/105007d99d9df64c50cc24d696d79555.woff") format("woff"),
        url("/style/fonts/105007d99d9df64c50cc24d696d79555.woff2") format("woff2"),
        url("/style/fonts/105007d99d9df64c50cc24d696d79555.ttf") format("truetype"),
        url("/style/fonts/105007d99d9df64c50cc24d696d79555.svg#Graphik Web Regular Regular") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(/style/fonts/MaterialIcons-Regular.eot);
    src: local('Material Icons'), local('MaterialIcons-Regular'),
        url(/style/fonts/MaterialIcons-Regular.woff2) format('woff2'),
        url(/style/fonts/MaterialIcons-Regular.woff) format('woff'),
        url(/style/fonts/MaterialIcons-Regular.ttf) format('truetype');
}

/* ========================================================================
   BASE & RESET STYLES
   ======================================================================== */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--font-body, "Graphik Web Regular Regular"), arial;
}

body {
    position: fixed;
    overflow-y: scroll;
    width: 100%;
    background-color: var(--color-body-bg, #ffffff);
    overflow-anchor: none;
}

h1 {
    font: normal 40px var(--font-heading, "BigNoodleTitling");
    text-align: center;
}

h2 {
    font: normal 32px var(--font-heading, "BigNoodleTitling");
    text-align: center;
}

/* Modern page titles are left aligned; schedule titles keep their centered layout. */
body.rooster-ui-redesign h1:not(.rooster-naam):not(.roster-edit-title) {
    text-align: left;
}

body.rooster-ui-redesign .do-print h1 {
    text-align: center;
}

/* Inline daterangepicker container — prevent overflow */
#inline-calendar {
    width: 100%;
    overflow: hidden;
}
#inline-calendar .daterangepicker {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}
#inline-calendar .daterangepicker .calendar {
    min-width: 0;
}

/* ========================================================================
   LAYOUT COMPONENTS
   ======================================================================== */

.flex-container {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.flex-container.roster-width-limited {
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.flex-container .header {
    flex: 0 1 auto;
}

.flex-container .content {
    flex: 1 1 auto;
    padding: 20px;
}

.flex-container .footer {
    flex: 0 1 100px;
    padding: 20px;
    display: flex;
}

.footer .copyright {
    display: inline-block;
    align-self: flex-end;
}

/* Header */
.logo {
    width: 300px;
    height: 40px;
    padding: 20px 0 0 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.logo svg {
    max-width: 300px;
    max-height: 40px;
    width: auto;
    height: auto;
    display: block;
}

.logo .logo-fill {
    fill: #000;
}

.header .head {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.header .head div {
    flex: 1;
}

.header .head > .left {
    min-width: 0;
}

.header .head .gebruiker {
    display: block;
    min-width: 0;
    padding: 12px 20px 12px 0;
    text-align: right;
    margin: 0;
}

.header .head .right {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    text-align: right;
}

.gebruiker .gebruikercontent {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    align-items: center;
    gap: 12px;
    padding: 6px 8px 6px 6px;
    border: 1px solid #dbe3ed;
    border-radius: 16px;
    background: #f5f7fa;
    box-shadow: 0 4px 12px rgba(36, 58, 91, .08);
}

.gebruiker-avatar {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
}

.gebruiker-avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e7eef8;
    color: #106fe7;
}

.gebruiker-avatar--fallback .material-symbols-outlined {
    font-size: 23px;
}

.gebruiker-identity {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.gebruiker-name,
.gebruiker-role {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gebruiker-name {
    color: #1f3556;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
}

.gebruiker-role {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

/* Navigation */
.navbar {
    position: relative;
    margin: auto;
}

/* Hamburger button: visible only on mobile (overridden in media query) */
.hamburger-btn {
    display: none;
}

/* Mobile sticky date bar: visible only on mobile (overridden in media query) */
.mobile-date-bar {
    display: none;
}

.navbar ul {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding-left: 0;
    background-color: var(--color-menubar, #F7F7EF);
}

.navbar > nav,
.navbar > nav > ul.nav {
    width: 100%;
}

.navbar > nav > ul.nav {
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    box-sizing: border-box;
}

.navbar ul li {
    list-style-type: none;
    padding: 10px;
    margin: 0 10px;
}

.navbar > nav > ul.nav > li {
    padding: 0;
    margin: 0;
}

.navbar a {
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.navbar > nav > ul.nav > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    color: #111827;
    font-size: .9rem;
    letter-spacing: .01em;
    box-sizing: border-box;
    transition: color .2s ease, background-color .2s ease;
}

.navbar a:hover {
    color: #106fe7;
}

.navbar a.active {
    color: #106fe7;
}

.navbar > nav > ul.nav > li > a:hover,
.navbar > nav > ul.nav > li > a:focus-visible {
    border-radius: 8px;
    background: #eef5ff;
    color: #106fe7;
}

.navbar > nav > ul.nav > li > a.active::after {
    position: absolute;
    right: 12px;
    bottom: 5px;
    left: 12px;
    height: 3px;
    border-radius: 999px;
    background: #106fe7;
    content: "";
}

/* Managers submenu (desktop) */
.navbar ul li.has-submenu {
    position: relative;
}
.navbar ul li.has-submenu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    min-width: 270px;
    padding: 8px;
    border: 1px solid #e1e8f1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(19, 33, 60, .12);
    z-index: 1002;
    list-style: none;
}
@media (hover: hover) {
    .navbar ul li.has-submenu:hover .submenu {
        display: flex;
    }
}
.navbar ul li.has-submenu.submenu-open .submenu {
    display: flex;
}
.navbar ul li.has-submenu .submenu li {
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
}

.navbar ul li.has-submenu .submenu a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 7px;
    color: #1f2937;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    box-sizing: border-box;
}

.navbar ul li.has-submenu .submenu a:hover,
.navbar ul li.has-submenu .submenu a:focus-visible,
.navbar ul li.has-submenu .submenu a.active {
    background: #eef5ff;
    color: #106fe7;
}

.submenu-icon {
    flex: 0 0 auto;
    color: #106fe7;
    font-size: 19px;
    line-height: 1;
}

.submenu-caret {
    margin-left: 3px;
    color: currentColor;
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}

.navbar ul li.has-submenu.submenu-open > .submenu-toggle .submenu-caret {
    transform: rotate(180deg);
}

/* Content Container */
.contentcontainer {
    padding: 20px;
    padding-top: 50px;
}

.contentcontainer section {
    display: table;
    width: 100%;
}

.contentcontainer section > * {
    display: table-row;
}

.contentcontainer section .col {
    display: table-cell;
    padding: 10px;
}

.contentcontainer section header {
    background-color: var(--color-menubar, #F7F7EF);
    padding: 10px;
}

.contentcontainer section header div {
    font-weight: bold;
    text-transform: uppercase;
}

/* vrije_diensten-specific: fixed layout with locked column widths */
section.vrijediensten {
    table-layout: fixed;
}

section.vrijediensten .col {
    overflow: visible;
    word-break: break-word;
}

section.vrijediensten header div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

section.vrijediensten header .col:nth-child(1) { width: 16%; }  /* Datum */
section.vrijediensten header .col:nth-child(2) { width: 20%; }  /* Dienst tijd */
section.vrijediensten header .col:nth-child(3) { width: 30%; }  /* Dienst soort (+ locatie) */
section.vrijediensten header .col:nth-child(4) { width: auto; } /* Opmerking */
section.vrijediensten header .col:nth-child(5) { width: 20%; }  /* Rooster In */

.contentcontainer section .row {
    padding: 10px;
}

.contentcontainer section .row:nth-child(odd):not(.ruilen) {
    background-color: var(--color-row-odd, #F7F7EF);
}

.contentcontainer section .row .col {
    border-right: 1px dotted var(--color-row-odd, #F7F7EF);
}

/* ========================================================================
   ROOSTER (SCHEDULE) STYLES
   ======================================================================== */

.sticky {
    position: sticky;
    top: 0;
    overflow: hidden;
    background-color: var(--color-rooster-bg, #ffffff);
    z-index: 999;
}

/* Collapsible calendar in sticky bar */
#calendar-wrapper {
    position: relative;
}

#calendar-inner {
    overflow: hidden;
    max-height: 350px;
    opacity: 1;
}

#calendar-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 0;
    color: #106fe7;
    gap: 4px;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

#calendar-toggle .sticky-logo {
    display: block;
    width: 100%;
}

#calendar-toggle .sticky-logo svg {
    max-width: 300px;
    max-height: 40px;
    width: auto;
    height: auto;
    display: block;
}

#calendar-toggle .sticky-logo .logo-fill path {
    fill: #000;
}

#calendar-toggle .material-symbols-outlined {
    font-size: 20px;
    margin-top: 8px;
    align-self: flex-start;
}

#calendar-wrapper.calendar-collapsed #calendar-inner {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

#calendar-wrapper.calendar-collapsed #calendar-toggle {
    max-height: 200px;
}

#calendar-wrapper.calendar-collapsed #calendar-toggle.toggle-visible {
    opacity: 1;
    pointer-events: auto;
}

.sticky h1.rooster-naam {
    overflow: hidden;
    max-height: 80px;
    opacity: 1;
    transition: max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease, margin 0.28s ease;
}

.sticky.calendar-collapsed h1.rooster-naam {
    max-height: 0;
    opacity: 0;
    margin: 0;
}

.sticky .rooster-datumtekst {
    transition: margin-top 0.28s ease;
    margin-top: 12px;
    display: block;
}

.sticky .roosterselect {
    transition: margin-top 0.28s ease;
    margin-top: 0;
}

.sticky.calendar-collapsed .roosterselect {
    margin-top: 8px;
}

.techniek-sticky-logo {
    display: none;
    position: absolute;
    top: 8px;
    left: 20px;
    align-items: center;
    justify-content: flex-start;
    width: min(300px, calc(100% - 40px));
    height: 40px;
    pointer-events: none;
}

.sticky.calendar-collapsed .techniek-sticky-logo {
    display: flex;
}

.techniek-sticky-logo svg {
    display: block;
    width: auto;
    height: auto;
    max-width: 300px;
    max-height: 40px;
}

.techniek-sticky-logo .logo-fill path {
    fill: #000;
}

/* Used by JS to measure collapsed height without visible transition */
.sticky.notransition,
.sticky.notransition * { transition: none !important; }

.sticky > .columns > div {
    min-width: 0;
}

@media (min-width: 769px) {
    .sticky > .columns {
        display: grid;
        grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(180px, 240px);
        column-gap: 16px;
        align-items: start;
    }

    .sticky .roosterselect {
        max-width: 100%;
    }
}

.roostermenu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 5px 0;
}

.roostermenu > .roostermenuitem {
    flex: 1 1 120px;
    min-width: 0;
    text-align: center;
    font-weight: bold;
}

.roostermenu a.rstrbutton {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
}

.rooster, .roosteredit {
    margin-top: 20px;
    font-family: var(--font-body, "Graphik Web Regular Regular"), Arial, Helvetica, sans-serif;
    font-size: 20px;
    border: 1px solid #000000;
}

.roosterrow {
    display: flex;
    font-family: var(--font-body, "Graphik Web Regular Regular"), Arial, Helvetica, sans-serif;
    font-size: 18px;
    scroll-margin-top: 226px;
}

.roosterrow.film {
    background-color: var(--color-row-film, #ffffff);
}

.roosterrow.theater {
    background-color: var(--color-row-theatre, #f7f0e1);
}

.roosterrow.zakelijk {
    background-color: var(--color-row-zakelijk, #e9ffd9);
}

.roosterrow.intern {
    background-color: var(--color-row-intern, #e9ffd9);
}

.roosterrow.educatie {
    background-color: var(--color-row-educatie, #ffefd9);
}

.roosterrow.gemarkeerd {
    background-color: var(--color-row-gemarkeerd, #fff3cd) !important;
    outline: 2px solid #d4a020;
    outline-offset: -2px;
}

.roosterrow.rooster-anchor-highlight > .dienstcell,
.dienstcell.rooster-service-highlight {
    position: relative;
}

.roosterrow.rooster-anchor-highlight > .dienstcell::after,
.dienstcell.rooster-service-highlight::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(16 111 231);
    opacity: .28;
    pointer-events: none;
    animation: rooster-anchor-highlight 1.2s ease-out both;
}

@keyframes rooster-anchor-highlight {
    0% {
        opacity: .28;
    }
    100% {
        opacity: 0;
    }
}

.receptie .roosterrow.intern {
    background-color: inherit;
}

.roosteredit .roosterrow {
    border-top: 1px dotted #BEBEBE;
}

.roosteredit .roosterrow div .edit {
    bottom: 0;
    display: flex;
    right: 0;
}

.bordertb:nth-child(even) {
    border-bottom: 1px solid #000000;
    border-top: 1px solid #000000;
}

.roosterrow div {
    flex: 1;
}

.sticky > .roosterrow div {
    font-weight: bold;
    color: #000000;
    font-size: 14px;
    text-transform: uppercase;
}

.roosterdatum {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    grid-template-rows: 34px auto;
    column-gap: 14px;
    row-gap: 5px;
    width: 260px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 10px auto 0;
    padding: 0;
    border: 0;
}

.roosterdatum > div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    flex: none;
}

.roosterdatum > div:first-child {
    grid-column: 1;
    grid-row: 1;
}

.roosterdatum > div:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
}

.roosterdatum > div:last-child {
    grid-column: 3;
    grid-row: 1;
}

.roosterdatum > div:first-child > a,
.roosterdatum > div:last-child > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    border: 1px solid #106fe7;
    border-radius: 50%;
    color: #106fe7;
    font-weight: 400;
    line-height: 1;
}

.roosterdatum > div:first-child > a:hover,
.roosterdatum > div:first-child > a:focus,
.roosterdatum > div:last-child > a:hover,
.roosterdatum > div:last-child > a:focus {
    background: #106fe7;
    color: #fff;
}

.roosterdatum > div:first-child .material-symbols-outlined,
.roosterdatum > div:last-child .material-symbols-outlined {
    font-size: 21px;
    line-height: 1;
}

.roosterdatum > div:nth-child(2) a,
.roosterdatum > div:nth-child(2) span {
    color: #106fe7;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.roosterdatum > div:nth-child(2) a:hover,
.roosterdatum > div:nth-child(2) a:focus {
    text-decoration: underline;
}

.roosterdatum > div:nth-child(2) .current-month-label {
    color: #c8c8c8;
}

.rooster-month-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.rooster-display-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0 0 10px;
    padding: 3px;
    border: 1px solid #dbe3ed;
    border-radius: 999px;
    background: #f5f7fa;
}

.rooster-display-toggle__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #667085;
    font: 600 .75rem / 1 var(--font-body, "Graphik Web Regular Regular"), Helvetica, Arial, sans-serif;
    letter-spacing: .02em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.rooster-display-toggle__option:hover,
.rooster-display-toggle__option:focus {
    background: #eaf2ff;
    color: #106fe7;
}

.rooster-display-toggle__option.is-active,
.rooster-display-toggle__option.is-active:hover,
.rooster-display-toggle__option.is-active:focus {
    background: #106fe7;
    color: #fff;
    box-shadow: 0 1px 3px rgba(16, 111, 231, .25);
}

.rooster-display-toggle__option:disabled,
.rooster-display-toggle__option:disabled:hover {
    opacity: 1;
    cursor: default;
}

.rooster-month-navigation {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    column-gap: 14px;
    width: 300px;
    max-width: calc(100% - 32px);
}

.rooster-month-navigation__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    border: 1px solid #106fe7;
    border-radius: 50%;
    color: #106fe7;
    text-decoration: none;
}

.rooster-month-navigation__arrow:hover,
.rooster-month-navigation__arrow:focus {
    background: #106fe7;
    color: #fff;
}

.rooster-month-navigation__arrow .material-symbols-outlined {
    font-size: 21px;
    line-height: 1;
}

.rooster-month-navigation__label {
    overflow: hidden;
    color: #000;
    font-size: 1.2rem;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rooster-month-navigation__current {
    min-height: 1.1em;
    line-height: 1.1;
    text-align: center;
}

.rooster-month-navigation__current a,
.rooster-month-navigation__current span {
    color: #106fe7;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.rooster-month-navigation__current a:hover,
.rooster-month-navigation__current a:focus {
    text-decoration: underline;
}

.rooster-month-navigation__current .current-month-label {
    color: #c8c8c8;
    cursor: default;
}

.roosterdatum a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
}

.roosterdatum a:hover {
    text-decoration: none;
    color: #106fe7;
}

.roosterdatum .current-month-label {
    color: #cccccc;
    cursor: default;
    font-weight: bold;
}

.geenrooster {
    max-width: 80%;
    max-height: 200px;
    padding: 30px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto;
}

.print-header {
    display: none;
}

.dienstcell {
    padding: 20px;
    border-right: 1px solid #000000;
    width: 20%;
    scroll-margin-top: 226px;
}

.dienstcell select {
    text-align-last: left;
    margin-bottom: 20px;
}

.dienstcell .selectzaalwissel {
    margin-bottom: 0px;
    margin-top: 10px;
}

.bordertop {
    border-top: 1px solid #000000;
}

input[type="hidden"] + .roosterrow > .bordertop, input[type="hidden"] + .roosterrow > .voorstelling, input[type="hidden"] + .roosterrow > .diensttijd {
    border-top: 0;
}

.roosterrow > .voorstelling, .roosterrow > .diensttijd {
    border-top: 1px solid #000000;
}

.nobordertop {
    border-top: 0 !important;
}

.roosterrow:first-child > .voorstelling {
    border-top: 0;
}

.norightborder {
    border-right: 0;
}

.voorstellingtitel {
    font-weight: bold;
    font-size: 21px;
    margin-bottom: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.voorstellingtitel a {
    color: #000000;
    text-decoration: none;
    word-wrap: break-word;
}

.voorstellingtitel a:hover {
    color: #106fe7;
    text-decoration: underline;
}

.voorstellingtitel > span:last-child {
    margin-left: auto;
}

.subtitel {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 5px;
    color: #ABABAB;
}

.starttijd {
    font-weight: bold;
}

.rooster .tijdwarn {
    font-size: 15px;
    padding: 5px;
    margin-top: 10px;
    border: 1px solid #7A5A0F;
    border-radius: 10px;
    color: #7A5A0F;
    background-color: #FFF4DA;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.rooster .tijdwarn.severe {
    color: #900C3F;
    border: 1px solid #900C3F;
    background-color: #FFF6F6;
}

.rooster .tijdwarn span {
    font-variation-settings: 'wght' 200;
    line-height: 1;
}

.vervallen::before {
    color: red;
    font-weight: bold;
    font-size: 2.2vw;
    content: "GEANNULEERD";
    top: -50px;
    position: relative;
    display: inline-block;
    transform: rotate(-15deg);
    border: 4px solid red;
    padding: 10px;
    border-radius: 10px;
    -webkit-mask-image: url('/style/img/grunge.png');
    -webkit-mask-size: 944px 604px;
    mix-blend-mode: multiply;
}

.selectwissel {
    display: none;
}

.opmline {
    border-bottom: 1px dashed #BDBDBD;
}

.vrw_opm, .opmerking {
    line-height: 23px;
}

.edit {
    float: left;
    margin-right: 5px;
    margin-top: 10px;
}

.roosteredit .roosterrow .voorstelling .edit.voorstelling-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 14px;
    justify-items: start;
    align-items: start;
    float: none;
    margin-right: 0;
}

.edit button {
    font-weight: bold;
    align-items: center;
    padding: 6px 14px;
    border-radius: 6px;
    border: none;
    color: #fff;
    background: linear-gradient(180deg, #336269 0%, #183B3F 100%);
    background-origin: border-box;
    box-shadow: 0px 0.2px 0.6px rgba(54, 122, 246, 0.25), inset 0px 0.4px 0px -0.25px rgba(255, 255, 255, 0.2);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.edit button:hover {
    box-shadow: inset 0px 0.4px 0px -0.1px rgba(255, 255, 255, 0.2), 0px 0.2px 0.5px rgba(54, 122, 246, 0.25), 0px 0px 0px 3.5px rgba(58, 108, 217, 0.5);
    outline: 0;
}

.voorstelling .edit.voorstelling-actions > button {
    background: linear-gradient(180deg, #4B91F7 0%, #367AF6 100%);
    min-width: 100px;
    margin-top: 5px;
    margin-right: 5px;
    width: auto;
    box-sizing: border-box;
}

.voorstelling .edit.voorstelling-actions > button:nth-of-type(3n) {
    margin-right: 0;
}

.voorstellingtitel .btn-concordia-link {
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #367AF6;
    background: #eaf2ff;
    cursor: pointer;
    vertical-align: middle;
}

.voorstellingtitel > input.voorstellingtitel {
    min-width: 0;
    box-sizing: border-box;
    padding: 2px 4px !important;
}

.voorstellingtitel > input.voorstellingtitel--with-link {
    flex: 0 1 calc(100% - 72px);
    width: calc(100% - 72px);
    max-width: calc(100% - 72px);
}

.voorstellingtitel .btn-concordia-link .material-symbols-outlined {
    font-size: 19px;
    vertical-align: middle;
}

.concordia-link-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .5);
}

.concordia-link-modal__panel {
    width: min(100%, 520px);
    padding: 24px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

.concordia-link-modal__panel h2 { margin-top: 0; }
.concordia-link-modal__panel label { display: block; margin: 16px 0 8px; font-weight: bold; }
.concordia-link-modal__panel input[type="url"] { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }
.concordia-link-modal__hint { color: #5f6368; font-size: 14px; }
.concordia-link-modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

.voorstelling .edit.voorstelling-actions .selectwissel {
    grid-column: 1 / -1;
}

.voorstelling .edit.voorstelling-actions .selectzaalwissel {
    width: 100%;
    margin-top: 0;
}

.edit .zwplus, .dienstvast-checkbox {
    transform: scale(1.8);
}

.dienstvast {
    margin-top: 10px;
    margin-bottom: 10px;
}

.zwstar {
    vertical-align: middle;
    font-size: 25px;
}

.kijkwijzer img {
    width: 25px;
}

.kijkwijzer {
    margin-bottom: 3px;
}

.roosterin {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid #106fe7;
    border-radius: 100px;
    color: #106fe7;
    display: inline-block;
    font: normal normal 15px / 15px var(--font-body, "Graphik Web Regular Regular"), Helvetica, Arial, Verdana, sans-serif;
    overflow: hidden;
    padding: 4px 12px 5px;
    position: relative;
    text-decoration: none;
    transition: all .3s ease-in-out;
    min-width: 100px;
    text-align: center;
    z-index: 1;
}

.inrooster-taken {
    font-weigt: 700;
    color: red;
}

.roosterselect {
    display: flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    max-width: 500px;
    margin: 0 auto;
    padding: 4px;
    border: 1px solid #dbe3ed;
    border-radius: 999px;
    background: #f5f7fa;
    box-sizing: border-box;
    overflow-x: auto;
}

.roosterlink {
    flex: 0 0 auto;
    padding: 0;
    color: #667085;
    font-weight: 600;
}

.roosterlink > a,
.roosterlink.active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    color: #667085;
    font: 600 .82rem / 1 var(--font-body, "Graphik Web Regular Regular"), Helvetica, Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.roosterlink > a:hover,
.roosterlink > a:focus {
    background: #eaf2ff;
    color: #106fe7;
}

.roosterlink.active,
.roosterlink.active:hover {
    background: #106fe7;
    color: #fff;
    box-shadow: 0 1px 3px rgba(16, 111, 231, .25);
}

/* ========================================================================
   SCHEMA (AANVULLEN) STYLES
   ======================================================================== */

.schema-admin-panel {
    margin-top: 10px;
    border: 1px solid #e6e6e6;
    background: #fafafa;
    border-radius: 6px;
}

.schema-admin-panel summary {
    cursor: pointer;
    font-weight: 300;
    color: #333;
    list-style: none;
    font-size: 15px;
    padding: 10px;
    border-radius: 10px;
}

.schema-admin-panel summary:hover {
    color: #000;
    background-color: #afcee9;
}

.schema-admin-panel summary::-webkit-details-marker {
    display: none;
}

.schema-admin-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 10px 12px;
    align-items: center;
    margin-left: 10px;
}

.schema-admin-grid label {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.schema-admin-grid .form-control {
    width: 100%;
}

.schema-admin-danger {
    border-top: 1px solid #e6e6e6;
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
}

.schema-admin-danger button {
    margin: 0 !important;
}

.dienstselectwrap {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
}

.schemaselect {
    margin: 20px 0;
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #F7F7EF;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.tabcontent h3 {
    margin-bottom: 5px;
}

.schemarow {
    display: flex;
    align-items: flex-start;
}

.schemarow > div {
    flex: 1 1 0;
    margin-bottom: 5px;
    line-height: 30px;
}

.schemarow:nth-child(odd) {
    background-color: var(--color-row-odd, #F3F3F3);
}

.schemarow.row-warning {
    background: #fff4c2;
}

.schemarow.row-locked {
    background: #e7f4ff;
}

.schemaheadrow {
    display: flex;
    align-items: flex-start;
}

.schemaheadrow > div {
    flex: 1 1 0;
    text-transform: uppercase;
    font-weight: bold;
}

.circle {
    border-radius: 50%;
    border: 0 solid #FFFFFF;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.circlebg {
    background-color: #00DD1C;
}

.circlebgy {
    background-color: #FFCC33;
}

.circlebgr {
    background-color: #FF5833;
}

.circlegrey {
    background-color: #AEAEAE;
}

.circlebgo {
    background-color: #FF8C00;
}

.schemarow.row-overlap {
    background: #fff0d6;
}

.overlap-warning {
    font-size: 0.85em;
    color: #92400e;
    background: #fef3c7;
    border-left: 3px solid #FF8C00;
    padding: 4px 8px;
    margin-top: 6px;
}

.schemarow.row-gap-conflict {
    background: #f4fce8;
}

.schema-bulk-row {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 4px;
    margin-bottom: 6px;
}

.schema-bulk-row > div {
    align-self: center;
}

#bulk-maak-select {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #a5b4fc;
    border-radius: 4px;
    background: #f5f3ff;
    font-size: 0.9em;
    cursor: pointer;
}

.gap-warning {
    font-size: 0.85em;
    color: #7c4a03;
    background: #fff3cd;
    border-left: 3px solid #f59e0b;
    padding: 4px 8px;
    margin-top: 6px;
}

.gap-info {
    font-size: 0.85em;
    color: #3b5e1e;
    background: #edf7e0;
    border-left: 3px solid #84cc16;
    padding: 4px 8px;
    margin-top: 6px;
}

.title-select-wrap {
    width: 100%;
}

.title-select-wrap .selector {
    position: static;
    display: inline;
    max-width: 400px;
    width: 100%;
}

.title-warning {
    color: #b58900;
    margin-left: 6px;
}

.lock-note {
    font-size: 12px;
    color: #2b6cb0;
    margin-top: 6px;
}

.check label .circle {
    background-color: #AEAEAE;
}

.check input:checked + label .circle {
    background-color: #00DD1C;
}

.check input[type="checkbox"] {
    display: none;
}

.dateranger {
    display: inline-block;
    min-height: 240px;
}

/* Daterangepicker */
.daterangepicker {
    position: relative;
    color: inherit;
    background: #fff;
    border-radius: 4px;
    width: 278px;
    padding: 4px;
    margin-top: 1px;
    top: 0px;
    left: 20px;
}

.daterangepicker:before, .daterangepicker:after {
    position: absolute;
    display: inline-block;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    content: '';
}

.daterangepicker:before {
    display: none;
    top: -7px;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-bottom: 7px solid #ccc;
}

.daterangepicker:after {
    top: -6px;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    border-left: 6px solid transparent;
}

.daterangepicker.opensleft:before {
    right: 9px;
}

.daterangepicker.opensleft:after {
    right: 10px;
}

.daterangepicker.openscenter:before {
    left: 0;
    right: 0;
    width: 0;
    margin-left: auto;
    margin-right: auto;
}

.daterangepicker.openscenter:after {
    left: 0;
    right: 0;
    width: 0;
    margin-left: auto;
    margin-right: auto;
}

.daterangepicker.opensright:before {
    left: 9px;
}

.daterangepicker.opensright:after {
    left: 10px;
}

.daterangepicker.dropup {
    margin-top: -5px;
}

.daterangepicker.dropup:before {
    top: initial;
    bottom: -7px;
    border-bottom: initial;
    border-top: 7px solid #ccc;
}

.daterangepicker.dropup:after {
    top: initial;
    bottom: -6px;
    border-bottom: initial;
    border-top: 6px solid #fff;
}

.daterangepicker.dropdown-menu {
    max-width: none;
    z-index: 3001;
}

.daterangepicker.single .ranges, .daterangepicker.single .calendar {
    float: none;
}

.daterangepicker.show-calendar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.daterangepicker.show-calendar .calendar {
    display: block;
    flex: 1 1 260px;
}

.daterangepicker .calendar {
    display: none;
    max-width: 270px;
    margin: 4px;
}

.daterangepicker .calendar.single .calendar-table {
    border: none;
}

.daterangepicker .calendar th, .daterangepicker .calendar td {
    white-space: nowrap;
    text-align: center;
    min-width: 32px;
}

.daterangepicker .calendar-table {
    border: 1px solid #fff;
    padding: 4px;
    border-radius: 4px;
    background: #fff;
}

.daterangepicker table {
    width: 100%;
    margin: 0;
}

.daterangepicker td, .daterangepicker th {
    text-align: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid transparent;
    white-space: nowrap;
    cursor: pointer;
}

.daterangepicker td.available:hover, .daterangepicker th.available:hover {
    background-color: #eee;
    border-color: transparent;
    color: inherit;
}

.daterangepicker td.week, .daterangepicker th.week {
    font-size: 80%;
    color: #ccc;
}

.daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date {
    background-color: #fff;
    border-color: transparent;
    color: #999;
}

.daterangepicker td.in-range {
    background-color: #ffd9e5;
    border-color: transparent;
    color: #000;
    border-radius: 0;
}

.daterangepicker td.start-date {
    border-radius: 4px 0 0 4px;
}

.daterangepicker td.end-date {
    border-radius: 0 4px 4px 0;
}

.daterangepicker td.start-date.end-date {
    border-radius: 4px;
}

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #db0148;
    border-color: transparent;
    color: #fff;
}

.daterangepicker th.month {
    width: auto;
}

.daterangepicker td.disabled, .daterangepicker option.disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: line-through;
}

.daterangepicker select.monthselect, .daterangepicker select.yearselect {
    font-size: 12px;
    padding: 1px;
    height: auto;
    margin: 0;
    cursor: default;
}

.daterangepicker select.monthselect {
    margin-right: 2%;
    width: 56%;
}

.daterangepicker select.yearselect {
    width: 40%;
}

.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {
    width: 50px;
    margin-bottom: 0;
}

.daterangepicker .input-mini {
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #555;
    height: 30px;
    line-height: 30px;
    display: block;
    vertical-align: middle;
    margin: 0 0 5px 0;
    padding: 0 6px 0 28px;
    width: 100%;
    box-sizing: border-box;
}

.daterangepicker .input-mini.active {
    border: 1px solid #08c;
    border-radius: 4px;
}

.daterangepicker .daterangepicker_input {
    position: relative;
}

.daterangepicker .daterangepicker_input i {
    position: absolute;
    left: 8px;
    top: 8px;
}

.daterangepicker.rtl .input-mini {
    padding-right: 28px;
    padding-left: 6px;
}

.daterangepicker.rtl .daterangepicker_input i {
    left: auto;
    right: 8px;
}

.daterangepicker .calendar-time {
    text-align: center;
    margin: 5px auto;
    line-height: 30px;
    position: relative;
    padding-left: 28px;
}

.daterangepicker .calendar-time select.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.ranges {
    font-size: 11px;
    float: none;
    margin: 4px;
    text-align: left;
}

.ranges ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.ranges li {
    font-size: 13px;
    background: #f5f5f5;
    border: 1px solid #f5f5f5;
    border-radius: 4px;
    color: #08c;
    padding: 3px 12px;
    margin-bottom: 8px;
    cursor: pointer;
}

.ranges li:hover {
    background: #08c;
    border: 1px solid #08c;
    color: #fff;
}

.ranges li.active {
    background: #08c;
    border: 1px solid #08c;
    color: #fff;
}

.daterangepicker .left {
    margin-right: 30px;
}

/* ========================================================================
   LOGIN & REGISTER STYLES
   ======================================================================== */

.login, .register {
    margin: auto;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #000000;
    color: #000000;
    font: bold 24px var(--font-heading, "BigNoodleTitling");
    border-radius: 10px;
    width: calc(1000px - 50vw);
    min-width: 600px;
    max-width: 1000px;
}

.login input[type=submit], .register input[type=submit] {
    background: rgb(147 196 111);
    color: #000000;
    font-size: 20px;
    font: bold 24px var(--font-heading, "BigNoodleTitling");
}

.login a, .register a {
    color: #106fe7;
}

.inst-wrap h2 {
    text-align: left;
}

.login .welkom h2 {
    margin-bottom: 0px;
}

.login .welkom p {
    font-family: var(--font-body, "Graphik Web Regular Regular"), arial;
    font-size: 20px;
    font-weight: normal;
    margin-top: 10px;
}

.login input {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.rooster-ui-redesign .login.login--modern {
    width: min(100%, 580px);
    min-width: 0;
    max-width: 580px;
    margin: clamp(16px, 3vh, 32px) auto;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid #dbe3ed;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff 0%, #fbfdff 100%);
    box-shadow: 0 18px 46px rgba(36, 58, 91, .12);
    color: #1f3556;
    font: 400 16px / 1.5 var(--font-body, "Graphik Web Regular Regular"), Arial, sans-serif;
    box-sizing: border-box;
}

body.rooster-ui-redesign.rooster-ui-logged-out .modern-navbar {
    display: none;
}

body.rooster-ui-redesign.rooster-ui-logged-out .header .head {
    justify-content: center;
}

body.rooster-ui-redesign.rooster-ui-logged-out .header .head > .left {
    flex: 0 1 auto;
}

body.rooster-ui-redesign.rooster-ui-logged-out .header .head .right {
    display: none;
}

body.rooster-ui-redesign.rooster-ui-logged-out .header .head .logo {
    margin: 0 auto;
    padding-left: 0;
}

body.rooster-ui-redesign .login--modern .login-message {
    margin: 0 0 14px;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff1f2;
    color: #991b1b;
    font-size: 14px;
}

body.rooster-ui-redesign .login--modern .login-message--success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

body.rooster-ui-redesign .login--modern .welkom {
    margin-bottom: 28px;
}

body.rooster-ui-redesign .login--modern .welkom h2 {
    margin: 0 0 10px;
    color: #1f3556;
    font: normal clamp(36px, 5vw, 48px) / 1.05 var(--font-heading, "BigNoodleTitling");
    text-align: left;
}

body.rooster-ui-redesign .login--modern .welkom p {
    margin: 0;
    color: #64748b;
    font: 400 15px / 1.55 var(--font-body, "Graphik Web Regular Regular"), Arial, sans-serif;
}

body.rooster-ui-redesign .login--modern form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.rooster-ui-redesign .login--modern form br {
    display: none;
}

body.rooster-ui-redesign .login--modern form > label:not([for="login_input_rememberme"]) {
    margin: 8px 0 0;
    color: #314463;
    font-size: 14px;
    font-weight: 600;
}

body.rooster-ui-redesign .login--modern form .login_input {
    width: 100%;
    margin: 0 0 4px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #1f2937;
    font: 400 16px / 1.3 var(--font-body, "Graphik Web Regular Regular"), Arial, sans-serif;
    cursor: text;
    box-sizing: border-box;
}

body.rooster-ui-redesign .login--modern form .login_input:focus {
    outline: 3px solid rgba(16, 111, 231, .16);
    border-color: #106fe7;
}

body.rooster-ui-redesign .login--modern form label[for="login_input_rememberme"] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 4px;
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
}

body.rooster-ui-redesign .login--modern form label[for="login_input_rememberme"] input {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    accent-color: #106fe7;
    cursor: pointer;
}

body.rooster-ui-redesign .login--modern form input[type="submit"] {
    width: 100%;
    margin: 10px 0 0;
    padding: 12px 16px;
    border: 1px solid #106fe7;
    border-radius: 10px;
    background: #106fe7;
    color: #fff;
    font: 600 16px / 1.3 var(--font-body, "Graphik Web Regular Regular"), Arial, sans-serif;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.rooster-ui-redesign .login--modern form input[type="submit"]:hover,
body.rooster-ui-redesign .login--modern form input[type="submit"]:focus-visible {
    border-color: #0b63d1;
    background: #0b63d1;
    box-shadow: 0 5px 14px rgba(16, 111, 231, .24);
    transform: translateY(-1px);
}

body.rooster-ui-redesign .login--modern .forgot {
    margin-top: 18px;
    text-align: center;
}

body.rooster-ui-redesign .login--modern .forgot a {
    color: #106fe7;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

body.rooster-ui-redesign .login--modern .forgot a:hover,
body.rooster-ui-redesign .login--modern .forgot a:focus-visible {
    text-decoration: underline;
}

.foutmelding, .error {
    color: #C0392B;
}

input.error {
    border: 1px solid #C0392B;
}

/* ========================================================================
   DIENSTEN & MEDEWERKERS (SERVICES & EMPLOYEES)
   ======================================================================== */

.dienstinfo, .dienstruil, .dienstinfotitel {
    width: 600px;
    margin: auto;
}

.dienstruil {
    margin-top: 20px;
}

.anderemedewerker select, .dienstruil select, .dienstinfotitel select {
    width: 100%;
    margin: 10px 0;
    text-align-last: left;
}

.dienstruil button, .dienstinfotitel button {
    float: right;
}

input.aanvang {
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: bold;
}

input.eindtijd {
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 18px;
}

.medewerkers form, .diensten-overzicht form {
    float: left;
}

.medewerkers form input, .diensten-overzicht form input {
    margin-left: 10px;
}

.medewerkers label:has(input) {
    padding: 5px;
    margin-right: 10px;
    border: 1px dotted #106fe7;
}

.diensten-overzicht label:has(input) {
    padding: 5px;
    margin-right: 10px;
    border: 1px dotted #106fe7;
}

.medewerkeradd {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
}

.medewerkers-layout {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.medewerkers-filters {
    width: auto;
    flex: 0 0 auto;
    max-width: 220px;
}

.medewerkers-filters form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.employee-list-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 20px;
}

.employee-list-search__form {
    flex: 1 1 420px;
    max-width: 680px;
    margin: 0;
    float: none !important;
}

.employee-list-search {
    width: 100%;
}

.employee-list-search__label,
.employee-list-size {
    display: block;
    margin: 0 0 7px;
    font-weight: 600;
}

.employee-list-search__controls {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.employee-list-search__controls input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

.employee-list-search__controls button {
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
}

.employee-list-size {
    flex: 0 0 auto;
}

.employee-list-size span {
    display: block;
}

.employee-list-size select {
    min-height: 42px;
    min-width: 86px;
    margin: 0;
}

.employee-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 4px;
}

.employee-pagination button {
    min-width: 0;
    margin: 0;
}

.employee-pagination__pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.employee-pagination__pages button {
    min-width: 36px;
    padding-left: 8px;
    padding-right: 8px;
}

.employee-pagination__pages button[aria-current="page"] {
    background-color: #106fe7;
    color: #fff;
}

.employee-pagination__ellipsis {
    padding: 0 2px;
    color: #666;
}

.employee-pagination__status {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.medewerkers label.employee-type-filter--volunteer { border-left: 3px solid #22a06b; }
.medewerkers label.employee-type-filter--staff { border-left: 3px solid #3478d4; }
.medewerkers label.employee-type-filter--manager { border-left: 3px solid #8a4bb8; }

.medewerkers .medewerker-type-badge {
    display: inline-flex;
    align-items: center;
    margin: 4px 0 0 8px;
    padding: 3px 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    vertical-align: middle;
}

.medewerkers .medewerker-type-badge--volunteer {
    color: #166534;
    background: #dcfce7;
    border-color: #bbf7d0;
}

.medewerkers .medewerker-type-badge--staff {
    color: #1d4ed8;
    background: #dbeafe;
    border-color: #bfdbfe;
}

.medewerkers .medewerker-type-badge--manager {
    color: #7e22ce;
    background: #f3e8ff;
    border-color: #e9d5ff;
}

.medewerkers .row.medewerker-type--volunteer { border-left: 4px solid #22a06b !important; }
.medewerkers .row.medewerker-type--staff { border-left: 4px solid #3478d4 !important; }
.medewerkers .row.medewerker-type--manager { border-left: 4px solid #8a4bb8 !important; }

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-stats {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #e6e6e6;
}

.filter-stat-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.filter-stat-role {
    font-weight: 600;
}

.filter-stat-values {
    font-size: 12px;
    color: #666666;
}

.medewerkers-content {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
}

.medewerkers-content section {
    min-width: 1050px;
}

.contentcontainer.diensten-overzicht, .contentcontainer.medewerkers {
    overflow-x: auto;
}

.medewerker-count {
    display: block !important;
    margin: 0 0 8px;
    padding-left: 12px;
    font-size: 14px;
    color: #a3a3a3;
}

.medewerkers-content section header .col a {
    color: #4A4A4A;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.medewerkers .col .listbut, .medewerkers .col .listbut:hover, .medewerkers .col .listbut:focus, .medewerkers .col .listbut::before, .medewerkers .col .listbut::after, .medewerkers .col .listbut:hover::before, .medewerkers .col .listbut:focus::before, .medewerkers .col .listbut:hover::after, .medewerkers .col .listbut:focus::after {
    all: unset;
}

.medewerkers .col .listbut {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    color: #106fe7;
    padding: 0;
    text-decoration: none;
    font-family: inherit;
    font-size: 16px;
}

.medewerkers .col .listbut::hover {
    text-decoration: underline;
    color: #000000;
}

.medewerkers .col a {
    color: #106fe7;
    font-size: 16px;
    text-decoration: none;
}

.medewerkers .col a:hover {
    text-decoration: underline;
    color: #000000;
}

.vakantiemarge {
    height: 10px;
}

.eigendiensten .col a {
    overflow: hidden;
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #106fe7;
    vertical-align: top;
}

.eigendiensten .col a::before, .eigendiensten .col a::after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
}

.eigendiensten .col a::before {
    background-color: #106fe7;
    height: 2px;
    bottom: 0;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.eigendiensten .col a::after {
    content: attr(data-replace);
    height: 100%;
    top: 0;
    transform-origin: 100% 50%;
    transform: translate3d(200%, 0, 0);
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
    color: #106fe7;
}

.eigendiensten .col a:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

.eigendiensten .col a:hover::after {
    transform: translate3d(0, 0, 0);
}

.eigendiensten .col a span {
    display: inline-block;
    transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.eigendiensten .col a:hover span {
    transform: translate3d(-200%, 0, 0);
}

.eigendiensten .col a:has(button)::before,
.eigendiensten .col a:has(button)::after {
    display: none;
}

.eigendiensten .eigen-verzoek-info {
    min-width: 210px;
    margin-bottom: 8px;
    padding: 9px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
}

.eigen-verzoek-heading {
    margin-bottom: 5px;
    color: #333333;
}

.eigen-verzoek-heading strong {
    font-weight: 700;
}

.eigen-verzoek-info strong {
    font-weight: 700;
}

.eigen-verzoek-dienst {
    margin-top: 4px;
}

.eigendiensten .eigen-verzoek-info form {
    margin-top: 8px;
}

.eigendiensten .eigen-verzoek-info button {
    width: 100%;
}

.eigendiensten .eigen-acties {
    padding: 10px;
}

.eigen-diensten-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0 0 13px;
    color: #737373;
    font-size: .85rem;
    line-height: 1.45;
}

.eigen-diensten-note > .material-symbols-outlined {
    flex: 0 0 auto;
    margin-top: 1px;
    color: #99998a;
    font-size: 17px;
}

.eigen-diensten-note__content,
.eigen-diensten-note__text,
.eigen-diensten-note__legend {
    display: block;
}

.eigen-diensten-note__legend {
    margin-top: 2px;
    color: #969696;
    font-size: .8rem;
}

.eigendiensten.rooster-cards-desktop.eigen-diensten--empty section > header {
    display: none !important;
}

.eigendiensten.rooster-cards-desktop .eigen-diensten-empty {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    gap: 14px;
    margin: 8px 0 10px;
    padding: 20px 24px;
    border: 1px solid #dbe3ed;
    border-radius: 14px;
    background: #fff;
    color: #1f3556;
    box-shadow: 0 3px 12px rgba(19, 33, 60, .04);
}

.eigendiensten.rooster-cards-desktop .eigen-diensten-empty > .material-symbols-outlined {
    flex: 0 0 auto;
    color: #106fe7;
    font-size: 28px;
    line-height: 1;
}

.eigendiensten.rooster-cards-desktop .eigen-diensten-empty h2 {
    margin: 0 0 6px;
    color: #1f3556;
    font-size: 1.45rem;
    line-height: 1.15;
    text-align: left;
}

.eigendiensten.rooster-cards-desktop .eigen-diensten-empty p {
    max-width: 720px;
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

.eigendiensten.rooster-cards-desktop .eigen-diensten-empty p + p {
    margin-top: 8px;
}

.eigen-diensten-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 16px;
}

.eigen-diensten-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.eigen-diensten-toolbar form { margin: 0; }
.eigen-diensten-toolbar button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.eigen-diensten-toolbar .eigen-diensten-subscription-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.eigen-diensten-toolbar .eigen-diensten-subscription-link .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}
.eigen-diensten-toolbar .material-symbols-outlined { font-size: 18px; line-height: 1; }
.eigen-diensten-toolbar .eigen-diensten-takeover-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0;
    line-height: 15px;
    vertical-align: middle;
}
.eigen-diensten-toolbar .eigen-diensten-takeover-trigger > .material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 5px;
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
}
.eigen-diensten-toolbar .eigen-diensten-takeover-trigger > span:last-child {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    line-height: 15px;
}

.eigendiensten section > .eigen-diensten-ics-download {
    display: inline-block;
    margin-top: 20px;
}

.eigen-diensten-pending {
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #dbe5f1;
    border-radius: 10px;
    background: #f8fafc;
}

.eigen-diensten-pending__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #172554;
}

.eigen-diensten-pending__heading .material-symbols-outlined { font-size: 20px; }

.eigen-diensten-pending__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0 0;
    margin-top: 12px;
    border-top: 1px solid #dbe5f1;
}

.eigen-diensten-pending__details { min-width: 0; line-height: 1.45; }
.eigen-diensten-pending__service { color: #64748b; font-size: .9rem; }
.eigen-diensten-pending__item form { flex: 0 0 auto; margin: 0; }

.eigendiensten section {
    table-layout: fixed;
}

.eigendiensten section > header .col {
    background-color: var(--color-menubar, #F7F7EF);
    vertical-align: middle;
}

.eigendiensten section header .col:nth-child(1) { width: 12%; }
.eigendiensten section header .col:nth-child(2) { width: 12%; }
.eigendiensten section header .col:nth-child(3) { width: 14%; }
.eigendiensten section header .col:nth-child(4) { width: 15%; }
.eigendiensten section header .col:nth-child(5) { width: 19%; }
.eigendiensten section header .col:nth-child(6) { width: 28%; }

.medewerkerdiensten section header .col:nth-child(1) { width: 12%; }
.medewerkerdiensten section header .col:nth-child(2) { width: 10%; }
.medewerkerdiensten section header .col:nth-child(3) { width: 14%; }
.medewerkerdiensten section header .col:nth-child(4) { width: 11%; }
.medewerkerdiensten section header .col:nth-child(5) { width: 16%; }
.medewerkerdiensten section header .col:nth-child(6) { width: 17%; }
.medewerkerdiensten section header .col:nth-child(7) { width: 20%; }

.eigendiensten section .row .col:nth-child(5) {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.eigen-dienst-row .col { vertical-align: top; }
.eigen-dienst-date-cell a {
    display: block;
    color: inherit;
    text-decoration: none;
}
.eigen-dienst-date-cell a:hover { color: #106fe7; }
.eigen-dienst-date {
    display: block;
    font-weight: 700;
    white-space: nowrap;
}
.eigen-dienst-title {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.medewerker-verzoek-cell { color: #172554; }
.medewerker-verzoek {
    display: inline-flex;
    max-width: 100%;
    box-sizing: border-box;
    align-items: center;
    gap: 5px;
    margin: 2px 0;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.25;
    vertical-align: middle;
}
.medewerker-verzoek .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 17px;
    line-height: 1;
}
.medewerker-verzoek > span:last-child { overflow-wrap: anywhere; }
.medewerker-verzoek--swap { background: #eef4ff; color: #1d4ed8; }
.medewerker-verzoek--takeover-outgoing { background: #fff7ed; color: #9a3412; }
.medewerker-verzoek--takeover-incoming { background: #ecfdf5; color: #166534; }
.medewerker-verzoek--none {
    padding: 0;
    background: transparent;
    color: #94a3b8;
    font-weight: 400;
}

.eigen-acties-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.eigen-acties-grid--request {
    grid-template-columns: minmax(0, 1fr);
}

.eigen-actie {
    min-width: 0;
    text-align: center;
}

.eigen-actie form,
.eigen-actie > a {
    display: block;
    margin: 0;
    width: 100%;
}

.eigen-acties-grid--request .eigen-verzoek-info {
    box-sizing: border-box;
    width: 100%;
}

.eigen-verzoek-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.eigen-verzoek-actions form {
    flex: 1 1 0;
    margin: 0 !important;
}

.eigen-verzoek-actions button {
    width: 100% !important;
    min-width: 0 !important;
}

.eigen-verzoek-accept {
    border-color: #2c6e49 !important;
    color: #2c6e49 !important;
}

.eigen-verzoek-reject {
    border-color: #b83232 !important;
    color: #b83232 !important;
}

.eigen-verzoek-accept:hover,
.eigen-verzoek-accept:focus {
    background-color: #2c6e49 !important;
    color: #fff !important;
}

.eigen-verzoek-reject:hover,
.eigen-verzoek-reject:focus {
    background-color: #b83232 !important;
    color: #fff !important;
}

.eigen-verzoek-actions .eigen-verzoek-accept::before {
    background: linear-gradient(#2c6e49, #2c6e49) -100px 0 no-repeat;
}

.eigen-verzoek-actions .eigen-verzoek-reject::before {
    background: linear-gradient(#b83232, #b83232) -100px 0 no-repeat;
}

.eigen-actie button {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    .eigen-acties-grid:not(.eigen-acties-grid--request) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .eigen-acties-grid:not(.eigen-acties-grid--request) {
        grid-template-columns: minmax(0, 1fr);
    }
}

.eigendiensten .col.roosterin-col {
    min-width: 210px;
}

.countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.countdown-name {
    white-space: nowrap;
}

.vrije-cancel, .vrije-inrooster, .eigen-inrooster, .eigen-cancel {
    display: inline-block;
    min-width: 170px !important;
    text-align: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.roosterin-col {
    min-width: 220px;
}

/* ========================================================================
   VERZOEKEN & OVERNAME (REQUESTS & TAKEOVER)
   ======================================================================== */

.row.ruilen {
    background-color: #ffffff;
}

.row.ruilen:nth-child(4n), .ruilen:nth-child(4n+1) {
    background-color: var(--color-row-odd, #F7F7EF);
}

.row.ruilen:nth-child(odd) {
    margin-top: 20px;
    border-top: 1px solid #000000 !important;
}

.row.overname {
    margin-top: 20px;
    border-top: 1px solid #000000 !important;
}

.geweest {
    background-color: #EEC3B6;
}

.comingup {
    background-color: #CCE0D3;
}

.contentcontainer section .geweest:nth-child(odd):not(.ruilen), .contentcontainer section .nonactive:nth-child(odd) {
    background-color: #FFEEE8;
}

.contentcontainer section .row.nonactive:nth-child(odd):not(.ruilen) {
    background-color: #EEC3B6;
}

.contentcontainer section .row.nonactive:nth-child(even):not(.ruilen) {
    background-color: #fae6e0;
}

.geweest .col, .nonactive .col {
    color: #602522;
}

section.vrijediensten {
    border-collapse: collapse;
}

.vrijediensten header {
    border: none;
}

.vrijediensten .role-separator {
    border-top: 1px solid #000;
}

.role-separator,
.contentcontainer section .row.role-separator,
.contentcontainer section .row.role-separator:nth-child(odd),
.contentcontainer section .row.role-separator:nth-child(even) {
    cursor: pointer;
    background-color: #EFF6F7;
    font-weight: 700;
}

.role-separator .role-toggle {
    float: right;
    transition: transform 0.1s ease;
}

.role-separator.collapsed .role-toggle {
    transform: rotate(-90deg);
}

.role-row.collapsed {
    display: none;
}

/* ========================================================================
   UTILITY CLASSES & COMPONENTS
   ======================================================================== */

/* Tooltips */
.tooltipmo {
    position: relative;
    font-weight: bold;
}

.tooltipmo .tooltip {
    position: absolute;
    top: calc(100% + 6px);
    bottom: auto;
    left: 50%;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 390px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #b9d2ef;
    border-top: 1px solid #106fe7;
    border-radius: 12px;
    background: #f8fbff;
    color: #405875;
    text-align: left;
    box-shadow: 0 12px 28px rgba(16, 73, 135, .2);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

.tooltipmo:hover .tooltip,
.tooltipmo:focus-within .tooltip {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition: opacity .18s ease, transform .18s ease;
}

/* Narrow roster columns need the tooltip anchored to the cell edge. */
.rooster.receptie .tooltipmo .tooltip,
.rooster.expositie .tooltipmo .tooltip {
    left: -24px;
    top: calc(100% + 6px);
    transform: translate(0, -6px);
}

.rooster.receptie .tooltipmo:hover .tooltip,
.rooster.receptie .tooltipmo:focus-within .tooltip,
.rooster.expositie .tooltipmo:hover .tooltip,
.rooster.expositie .tooltipmo:focus-within .tooltip {
    transform: translate(0, 0);
}

.tooltip::before,
.tooltip::after {
    content: "";
    position: absolute;
    left: 36px;
    width: 0;
    height: 0;
    border-style: solid;
    transform: translateX(-50%);
}

.tooltip::before {
    top: auto;
    bottom: 100%;
    border-width: 0 8px 8px;
    border-color: transparent transparent #b9d2ef;
}

.tooltip::after {
    top: auto;
    bottom: 100%;
    margin-bottom: -1px;
    border-width: 0 7px 7px;
    border-color: transparent transparent #f8fbff;
}

.tooltip-bottom {
    top: calc(100% + 6px);
    left: 50%;
    bottom: auto;
    margin-left: 0;
    transform: translate(-50%, -6px);
}

.tooltipmo:hover .tooltip-bottom,
.tooltipmo:focus-within .tooltip-bottom {
    transform: translate(-50%, 0);
}

.tooltip-bottom::before {
    top: auto;
    bottom: 100%;
    border-width: 0 8px 8px;
    border-color: transparent transparent #b9d2ef;
}

.tooltip-bottom::after {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: -1px;
    border-width: 0 7px 7px;
    border-color: transparent transparent #f8fbff;
}

/* Select wrappers retain a 20px field margin; anchor the tooltip to the field itself. */
.rooster .tooltipmo > select ~ .tooltip,
.roosteredit .tooltipmo > select ~ .tooltip {
    top: calc(100% - 14px);
}

.tooltip .profielpic {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.tooltip .profielpic img {
    display: block;
    width: 90px;
    height: 90px;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.tooltip .info {
    min-width: 0;
    color: #52657d;
    font-size: 17px;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}

.tooltip .info b {
    display: block;
    margin-bottom: 3px;
    color: #1f3556;
    font-size: 20px;
    line-height: 1.3;
}

.tooltip .info .tooltip-role {
    display: block;
    margin: 2px 0 5px;
    color: #7b8da6;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.tooltip .info .tooltip-phone {
    display: block;
}

.tooltip--techniek .profielpic {
    align-self: flex-start;
}

.tooltip--techniek .tooltip-detail {
    display: block;
    margin-top: 14px;
    color: #405875;
    line-height: 1.35;
}

.tooltip--techniek .tooltip-detail strong,
.tooltip--techniek .tooltip-detail span {
    display: block;
}

/* Technique cards reset child widths; keep their tooltip as a readable overlay. */
.techniekrooster .voorstelling-card .tooltipmo .tooltip {
    left: 0;
    width: min(390px, calc(100vw - 32px));
    max-width: min(390px, calc(100vw - 32px));
    transform: translate(0, -6px);
}

.techniekrooster .voorstelling-card .tooltipmo:hover .tooltip,
.techniekrooster .voorstelling-card .tooltipmo:focus-within .tooltip {
    transform: translate(0, 0);
}

.tooltip .info strong {
    color: #475d79;
}

/* Notification Bar */
.notification-top-bar {
    position: relative;
    top: 0;
    left: 0;
    height: 40px;
    line-height: 40px;
    width: 100%;
    background: #BC551A;
    text-align: center;
    color: #FFFFFF;
    font-family: sans-serif;
    font-weight: lighter;
    font-size: 14px;
}

.notification-top-bar p {
    padding: 0;
    margin: 0;
}

.notification-top-bar p a {
    padding: 5px 10px;
    border-radius: 3px;
    background: #FFF;
    color: #BC551A;
    font-weight: bold;
    text-decoration: none;
}

/* Login notification modal */
.rooster-notification-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .62);
}

.rooster-notification-modal {
    position: relative;
    width: min(620px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 28px 30px 24px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
    color: #1e293b;
}

.rooster-notification-modal--request {
    width: min(680px, 100%);
}

.rooster-notification-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #64748b;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.rooster-notification-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.rooster-notification-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 34px;
}

.rooster-notification-icon {
    display: inline-grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, #106fe7, #0752b7);
    color: #fff;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(16, 111, 231, .25);
}

.rooster-notification-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rooster-notification-modal h2 {
    margin: 0;
    color: #172554;
    font-size: 1.45rem;
    line-height: 1.2;
}

.rooster-notification-body {
    margin-top: 22px;
    color: #475569;
    line-height: 1.55;
    white-space: pre-line;
}

.rooster-notification-request-intro {
    margin-bottom: 14px;
    font-size: 1rem;
}

.rooster-notification-request-type {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8f1ff;
    color: #0752b7;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.rooster-notification-request-type .material-symbols-outlined,
.rooster-notification-requester > .material-symbols-outlined,
.rooster-notification-service-label .material-symbols-outlined,
.rooster-notification-service-meta .material-symbols-outlined,
.rooster-notification-swap-connector .material-symbols-outlined,
.rooster-notification-actions button .material-symbols-outlined {
    font-size: 18px;
    vertical-align: middle;
}

.rooster-notification-requester {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid #dbe5f1;
    border-radius: 12px;
    background: #f8fafc;
}

.rooster-notification-requester > .material-symbols-outlined {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #dbeafe;
    color: #0752b7;
}

.rooster-notification-requester strong {
    display: block;
    margin-top: 2px;
    color: #172554;
    font-size: 1rem;
}

.rooster-notification-meta-label {
    display: block;
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rooster-notification-service-card {
    padding: 15px 16px;
    border: 1px solid #dbe5f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(30, 41, 59, .05);
}

.rooster-notification-service-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.rooster-notification-service-title {
    margin-top: 7px;
    color: #172554;
    font-size: 1.08rem;
    font-weight: 800;
}

.rooster-notification-service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    margin-top: 10px;
    color: #475569;
    font-size: .88rem;
}

.rooster-notification-service-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rooster-notification-swap-connector {
    display: grid;
    height: 34px;
    place-items: center;
    color: #106fe7;
}

.rooster-notification-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.rooster-notification-request-actions {
    display: grid;
    flex: 1 0 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rooster-notification-actions form {
    margin: 0;
}

.rooster-notification-actions button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 9px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.rooster-notification-request-actions button {
    width: 100%;
}

.rooster-notification-action,
.rooster-notification-list {
    background: #106fe7;
    color: #fff;
}

.rooster-notification-accept {
    background: #16803c;
    color: #fff;
}

.rooster-notification-reject {
    background: #c73535;
    color: #fff;
}

.rooster-notification-dismiss {
    background: #e8edf3;
    color: #334155;
}

.rooster-notification-actions button:hover {
    filter: brightness(.94);
}

.rooster-notification-actions--request .rooster-notification-list {
    flex: 1 1 240px;
}

@media (max-width: 520px) {
    .rooster-notification-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .rooster-notification-modal,
    .rooster-notification-modal--request {
        width: 100%;
        max-height: 92vh;
        padding: 24px 18px 18px;
        border-radius: 18px 18px 0 0;
    }

    .rooster-notification-request-actions {
        grid-template-columns: 1fr;
    }

    .rooster-notification-actions--request .rooster-notification-list,
    .rooster-notification-actions--request .rooster-notification-dismiss {
        flex-basis: 100%;
    }
}

/* Takeover/swap modal content; the modal shell reuses agenda-info-modal. */
body.rooster-modal-open { overflow: hidden; }

.rooster-overname-content { margin-top: 22px; }
.rooster-overname-content .contentcontainer { padding: 0; }
.rooster-overname-content .dienstinfo,
.rooster-overname-content .dienstruil,
.rooster-overname-content .dienstinfotitel { width: auto; margin: 0; }

.rooster-overname-content .dienstinfo {
    overflow: hidden;
    border: 1px solid #dbe5f1;
    border-radius: 14px;
    background: #fff;
}

.rooster-overname-content .dienstinfo .dienstinfotitel {
    padding: 14px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #dbe5f1;
    color: #172554;
    font-weight: 700;
}

.rooster-overname-content .dienstinfo section { display: block; }
.rooster-overname-content .dienstinfo section > .row {
    display: flex;
    padding: 11px 16px;
    margin-bottom: 0;
    border: 0 !important;
    border-radius: 0;
    background: #fff !important;
    box-shadow: none;
}

.rooster-overname-content .dienstinfo section > .row .col {
    display: block;
    padding: 0;
    border: 0;
}

.rooster-overname-content .dienstinfolabel {
    flex: 0 0 38%;
    color: #64748b;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.rooster-overname-content .dienstinfocontent { color: #172554; font-weight: 700; }

.rooster-overname-content .dienstruil {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #dbe5f1;
    border-radius: 14px;
    background: #f8fafc;
}

.rooster-overname-content .dienstruil > .dienstinfotitel,
.rooster-overname-content #ruildienst-block .dienstinfotitel {
    color: #172554;
    font-weight: 700;
}

.rooster-overname-content select {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 10px 0;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    color: inherit;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rooster-overname-content select option:disabled,
.overname-content select option:disabled {
    background: #f1f5f9;
    color: #94a3b8;
}

.rooster-overname-content #ruildienst-block {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #dbe5f1;
}

.rooster-overname-content #geen-diensten-msg { font-size: .85rem; }
.rooster-overname-content #geen-diensten-msg.overname-blocked-msg,
.overname-content #geen-diensten-msg.overname-blocked-msg {
    color: #64748b !important;
}

.rooster-overname-content .overname-modal-form .overnameruilknop {
    display: flex;
    float: none;
    clear: both;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 18px 0 0;
    font-weight: 700;
}

.rooster-overname-loading,
.rooster-overname-result,
.rooster-overname-error {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 16px;
    border-radius: 14px;
}

.rooster-overname-loading { justify-content: center; color: #475569; }
.rooster-overname-loading .material-symbols-outlined { animation: rooster-overname-spin 1s linear infinite; }
.rooster-overname-result { background: #eefbf2; color: #166534; }
.rooster-overname-error { background: #fff1f2; color: #9f1239; }
.rooster-overname-result p,
.rooster-overname-error p { margin: 0; line-height: 1.5; }

.eigen-verzoek-cancel-status {
    display: inline-flex;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid #b7dfc4;
    border-radius: 4px;
    background: #eefbf2;
    color: #2c6e49;
    font-size: 12px;
    line-height: 1.4;
}

.eigen-verzoek-cancel-status--error {
    border-color: #f1b5bb;
    background: #fff1f2;
    color: #9f1239;
}

.email-collega-modal__content { margin-top: 18px; }
.email-collega-modal__content > p:first-child {
    margin: 0 0 12px;
    color: #4d5960;
    font-size: 15px;
}
.email-collega-modal__count {
    margin: 0 0 18px;
    color: #2c6e49;
    font-size: 14px;
    font-weight: 600;
}
.email-collega-modal__testmode {
    display: none;
    margin: 0 0 12px;
    padding: 8px 10px;
    border: 1px solid #e8b274;
    border-radius: 4px;
    background: #fff7ec;
    color: #8f5300;
    font-size: 13px;
    font-weight: 700;
}
.email-collega-modal__field { margin: 0 0 12px; }
.email-collega-modal__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}
.email-collega-modal__message {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    resize: vertical;
}
.email-collega-modal__preview {
    margin: 0 0 18px;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #f8f8f8;
}
.email-collega-modal__preview-label {
    margin-bottom: 6px;
    color: #666;
    font-size: 13px;
}
.email-collega-modal__preview-subject {
    margin-bottom: 10px;
    color: #222;
    font-size: 15px;
    font-weight: 700;
}
.email-collega-modal__preview-body {
    color: #222;
    font-size: 14px;
    line-height: 1.5;
}
.email-collega-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.email-collega-modal__actions button {
    box-sizing: border-box;
    display: inline-flex;
    position: relative;
    z-index: 1;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 4px 12px 5px;
    border: 2px solid currentColor;
    border-radius: 100px;
    background-color: transparent;
    color: #106fe7;
    font: normal normal 15px / 15px var(--font-body, "Graphik Web Regular Regular"), Helvetica, Arial, Verdana, sans-serif;
    cursor: pointer;
    transition: all .3s ease-in-out;
}
.email-collega-modal__actions button::before {
    position: absolute;
    z-index: -1;
    top: 0;
    left: -40%;
    width: 300%;
    height: 10em;
    opacity: 0;
    background: linear-gradient(#106fe7, #106fe7) -100px 0 no-repeat;
    content: "";
    transform: skewX(-33deg) translateX(-80%);
    transition: opacity .25s ease-in-out, transform 0s .85s;
}
.email-collega-modal__actions button:hover,
.email-collega-modal__actions button:focus {
    color: #fff;
    transition: all .3s ease-in-out;
}
.email-collega-modal__actions button:hover::before,
.email-collega-modal__actions button:focus::before {
    opacity: 1;
    transform: skewX(-30deg) translateX(0);
    transition: transform .5s ease-in-out;
}
.email-collega-modal__actions button.email-collega-modal__cancel {
    border-color: #c0392b;
    background-color: transparent;
    color: #c0392b;
}
.email-collega-modal__actions button.email-collega-modal__send {
    border-color: #2c6e49;
    background-color: transparent;
    color: #2c6e49;
}
.email-collega-modal__actions button.email-collega-modal__cancel::before {
    background: linear-gradient(#c0392b, #c0392b) -100px 0 no-repeat;
}
.email-collega-modal__actions button.email-collega-modal__send::before {
    background: linear-gradient(#2c6e49, #2c6e49) -100px 0 no-repeat;
}
.email-collega-modal__actions button.email-collega-modal__cancel:hover,
.email-collega-modal__actions button.email-collega-modal__cancel:focus,
.email-collega-modal__actions button.email-collega-modal__send:hover,
.email-collega-modal__actions button.email-collega-modal__send:focus {
    color: #fff;
}
.email-collega-modal__actions button:disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

@keyframes rooster-overname-spin { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
    .rooster-overname-content .dienstinfolabel { flex-basis: 42%; }
}

@media (max-width: 560px) {
    .eigen-diensten-pending__item { align-items: stretch; flex-direction: column; }
    .eigen-diensten-pending__item button { width: 100%; }
}

/* Dev Environment Banner */
.dev-env-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #c62828;
    color: #fff;
    text-align: center;
    padding: 10px 12px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    margin: 0;
    min-height: 40px;
    width: auto;
    padding: 0 16px;
    background-color: #106fe7;
    border: 1px solid #106fe7;
    border-radius: 999px;
    color: white;
    font: 600 15px / 1 var(--font-body, "Graphik Web Regular Regular"), Arial, sans-serif;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.logout .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}

.logout:hover,
.logout:focus-visible {
    background-color: #0b63d1;
    border-color: #0b63d1;
    color: #fff;
    box-shadow: 0 4px 10px rgba(16, 111, 231, .24);
    transform: translateY(-1px);
}

a.rstrbutton, .roosterin, .medewerkers button, .diensten-overzicht button, .eigendiensten button, .overnameruilknop, .algemeen button, .verzoeken button, .vrijgeven button, .import button, .aanvullen button {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid #106fe7;
    border-radius: 100px;
    color: #106fe7;
    display: inline-block;
    font: normal normal 15px / 15px var(--font-body, "Graphik Web Regular Regular"), Helvetica, Arial, Verdana, sans-serif;
    overflow: hidden;
    padding: 4px 12px 5px;
    position: relative;
    text-decoration: none;
    transition: all .3s ease-in-out;
    min-width: 100px;
    text-align: center;
    z-index: 1;
}

.overnameruilknop:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

a.rstrbutton:hover, a.rstrbutton.clicked, a.rstrbutton:focus, .roosterin:hover, .roosterin:focus, .medewerkers button:hover, .diensten-overzicht button:hover, .medewerkers button:focus, .eigendiensten button:hover, .eigendiensten button:focus, .overnameruilknop:hover, .overnameruilknop:focus, .algemeen button:hover, .algemeen button:focus, .verzoeken button:hover, .verzoeken button:focus, .vrijgeven button:hover, .vrijgeven button:focus, .import button:hover, .import button:focus, .aanvullen button:hover, .aanvullen button:focus {
    color: #fff;
    transition: all .3s ease-in-out;
}

a.rstrbutton::before, .roosterin::before, .medewerkers button::before, .diensten-overzicht button::before, .eigendiensten button::before, .overnameruilknop::before, .algemeen button::before, .verzoeken button::before, .vrijgeven button::before, .import button::before, .aanvullen button::before {
    background: linear-gradient(#106fe7, #106fe7) -100px 0 no-repeat;
    content: "";
    display: inline-block;
    height: 10em;
    width: 300%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: -40%;
    -webkit-transform: skewX(-33deg) translateX(-80%);
    -ms-transform: skewX(-33deg) translateX(-80%);
    transform: skewX(-33deg) translateX(-80%);
    transition: opacity .25s ease-in-out, -webkit-transform 0s .85s;
    transition: opacity .25s ease-in-out, -ms-transform 0s .85s;
    transition: opacity .25s ease-in-out, transform 0s .85s;
    z-index: -1;
}

a.rstrbutton:hover::before, a.rstrbutton.clicked::before, .roosterin:hover::before, a.rstrbutton:focus::before, .roosterin:focus::before, .medewerkers button:hover::before, .diensten-overzicht button:hover::before, .medewerkers button:focus::before, .eigendiensten button:hover::before, .eigendiensten button:focus::before, .overnameruilknop:hover::before, .overnameruilknop:focus::before, .algemeen button:hover::before, .algemeen button:focus::before, .verzoeken button:hover::before, .verzoeken button:focus::before, .vrijgeven button:hover::before, .vrijgeven button:focus::before, .import button:hover::before, .import button:focus::before, .aanvullen button:hover::before, .aanvullen button:focus::before {
    opacity: 1;
    -webkit-transform: skewX(-30deg) translateX(0);
    -ms-transform: skewX(-30deg) translateX(0);
    transform: skewX(-30deg) translateX(0);
    transition: -webkit-transform 0.5s ease-in-out;
    transition: -ms-transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out;
}

button.notclickable {
    opacity: 0.3;
}

.button-75 {
    margin: 10px 0 10px auto;
    align-items: center;
    background-image: linear-gradient(135deg, #106fe7 40%, #10B0E7);
    border: 0;
    border-radius: 10px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-family: "Codec cold", sans-serif;
    font-size: 16px;
    font-weight: 700;
    height: 54px;
    justify-content: center;
    letter-spacing: .4px;
    line-height: 1;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 3px;
    text-decoration: none;
    text-transform: uppercase;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-75:active, .button-75:hover {
    outline: 0;
}

.button-75 span {
    transition: all 200ms;
}

.button-75:hover span {
    transform: scale(.9);
    opacity: .75;
}

.button-75:disabled {
    background-image: linear-gradient(135deg, #DEE8F6 40%, #F7FBFF);
}

.button-75:disabled:hover span {
    transform: none;
    opacity: 1;
}

.processbutton {
    background-color: #F7F7EF;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

/* Form Elements */
select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 250px;
    text-align-last: right;
}

.tableschema select {
    min-width: auto;
}

.selector {
    position: relative;
    display: block;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.rooster .selector {
    width: 100%;
    max-width: none;
}

.algemeen textarea {
    font-size: 1em;
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #555;
    border-radius: 4px;
    background: #fff;
    resize: vertical;
    margin-bottom: 10px;
}

.algemeen .form-submit-row {
    margin-bottom: 24px;
}

.nieuwevakantie {
    text-align: center;
}

/* Layout Utilities */
.columns {
    display: flex;
}

.columns > div {
    flex: 1;
}

.aligncenter {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.topmarg20 {
    margin-top: 20px;
    text-align: center;
}

.devidenav {
    display: flex;
    flex-wrap: wrap;
}

.subpagemenu {
    width: 500px;
    margin: auto;
}

.subpagemenu ul {
    display: flex;
    justify-content: space-between;
    padding-left: 0;
}

.subpagemenu ul li {
    padding: 10px;
    margin: 0 10px;
    list-style-type: none;
    font-size: 2em;
    color: #106fe7;
    font: normal 2em var(--font-heading, "BigNoodleTitling");
}

.subpagemenu ul li a {
    color: #000000;
    text-decoration: none;
}

.subpagemenu ul li a:hover {
    color: #106fe7;
}

.prevnext {
    display: flex;
    width: 300px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    flex: 1;
    justify-content: space-between;
}

.algemeen-pagination {
    display: flex;
    gap: 6px;
    margin-top: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.algemeen-pagination a,
.algemeen-pagination span {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #bbb;
    border-radius: 100px;
    text-decoration: none;
    color: #106fe7;
    font-size: 16px;
    transition: background .2s;
}
.algemeen-pagination span.current {
    background: #106fe7;
    color: #fff;
    border-color: #106fe7;
}
.algemeen-pagination a:hover {
    background: var(--color-row-odd, #F7F7EF);
}

/* Flex Utilities */
.flex2 {
    flex-grow: 2 !important;
}

.flex3 {
    flex-grow: 3 !important;
}

.flexshrink2 {
    flex-shrink: 4 !important;
}

.flexauto {
    flex: auto !important;
}

.matchid {
    flex-grow: 0.3 !important;
}

.matchsoort {
    flex-grow: 0.5 !important;
}

.matchaanvang {
    flex-grow: 1.2 !important;
}
.voorstellingtag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px dotted #000000;
    margin: 10px 0;
    padding: 5px;
    border-radius: 10px;
    font-size: 15px;
}
.voorstellingtag .material-symbols-outlined {
    font-variation-settings: 'wght' 200;
    line-height: 1;
}
.voorstellingtag.pauze {
    background-color: var(--color-tag-pauze, #fdceff);
}
.voorstellingtag.eng {
    background-color: var(--color-tag-engsubs, #E3C6FF);
}

.agenda-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px;
}

.agenda-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 3px;
    background: #dfdfdf;
    color: #000;
    font-size: 13px;
    line-height: 1.2;
    font-weight: bold;
}

.agenda-tag--tuscany { background: #be4e29; color: #fff; }
.agenda-tag--zinnwaldite-pink { background: #eec3b6; }
.agenda-tag--egyptian { background: #00869e; color: #fff; }
.agenda-tag--neptune { background: #88bac2; }
.agenda-tag--martinique { background: #2d324f; color: #fff; }
.agenda-tag--wheat { background: #f2daab; }
.agenda-tag--irish-coffee { background: #602522; color: #fff; }
.agenda-tag--we-peep { background: #f1c5df; }
.agenda-tag--gable-green { background: #183b3f; color: #fff; }
.agenda-tag--olivine { background: #92c46f; }
.agenda-tag--oslo-gray { background: #969b9e; }
.agenda-tag--alto { background: #dfdfdf; }
.agenda-tag--beige { background: #f4edeb; }

.agenda-info-trigger {
    appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000;
    font: inherit;
    font-weight: inherit;
    text-align: left;
    cursor: pointer;
}

.agenda-info-trigger:hover,
.agenda-info-trigger:focus-visible {
    color: #106fe7;
    text-decoration: underline;
}

.agenda-info-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .58);
}

.agenda-info-modal[hidden] { display: none; }

.agenda-info-modal__panel {
    position: relative;
    width: min(100%, 620px);
    max-height: min(760px, calc(100vh - 48px));
    overflow: auto;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .28);
}

.agenda-info-modal__image {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}
.agenda-info-modal__image[hidden] { display: none; }

.agenda-info-modal__body { padding: 24px; }
.agenda-info-modal__body h2 { margin: 0 0 6px; padding: 0 42px; font-size: 35px; line-height: 1.15; text-align: center; }
.agenda-info-modal__performers { margin: 0 0 16px; color: #4d5960; font-size: 15px; text-align: center; }
.agenda-info-modal__excerpt { margin: 18px 0; line-height: 1.55; }

.agenda-info-modal__close {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #183b3f;
    cursor: pointer;
}

.agenda-info-modal__close:hover { background: #fff; }
.agenda-info-modal__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.agenda-info-modal__badges .voorstellingtag { margin: 0; }

.agenda-info-modal__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid #dce2e4;
    border-bottom: 1px solid #dce2e4;
}

.agenda-info-modal__details div { min-width: 0; }
.agenda-info-modal__details [data-detail="note"] { grid-column: 1 / -1; }
.agenda-info-modal__details dt { margin-bottom: 2px; color: #5f6b70; font-size: 12px; font-weight: bold; text-transform: uppercase; }
.agenda-info-modal__details dd { margin: 0; font-weight: bold; }
.agenda-info-modal__kijkwijzer { display: flex; gap: 4px; align-items: center; }
.agenda-info-modal__kijkwijzer img { width: 28px; height: 28px; }

.agenda-info-modal__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 5px;
    background: #183b3f;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.agenda-info-modal__link:hover { background: #106fe7; color: #fff; }
.agenda-info-modal__link .material-symbols-outlined { font-size: 18px; }

@media (max-width: 520px) {
    .agenda-info-modal { align-items: flex-end; padding: 0; }
    .agenda-info-modal__panel { width: 100%; max-height: 92vh; border-radius: 12px 12px 0 0; }
    .agenda-info-modal__image { max-height: 180px; }
    .agenda-info-modal__body { padding: 20px; }
    .agenda-info-modal__details { grid-template-columns: 1fr; gap: 10px; }
}

.eigen-diensten-modal__panel { min-width: min(100%, 560px); }

@media (max-width: 560px) {
    .eigen-diensten-modal__panel { min-width: 0; }
}

/* ========================================================================
   MEDIA QUERIES
   ======================================================================== */

@media (max-width: 900px) {
    .medewerkers-layout {
        flex-direction: column;
    }

    .medewerkers-filters {
        width: 100%;
    }

    .employee-list-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .employee-list-search {
        max-width: none;
    }

    .employee-list-search__form {
        max-width: none;
    }

    .employee-list-size {
        align-self: flex-start;
    }
}

@media (max-width: 560px) {
    .employee-pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .employee-pagination__status {
        flex-basis: 100%;
        order: -1;
        text-align: center;
    }

    .employee-pagination__pages button:not([aria-current="page"]),
    .employee-pagination__ellipsis {
        display: none;
    }
}

@media (max-width: 768px) {
    .schema-admin-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 1000px) {
    .dienstcell {
        padding: 5px 0 0 10px;
        word-break: break-all;
    }

    .rooster .selector {
        -webkit-appearance: none;
        -moz-appearance: none;
        text-indent: 1px;
        text-overflow: '';
        border: none;
        overflow: hidden;
        z-index: 1;
        background: none;
        padding: 0;
    }
}

@media (min-width: 564px) {
    .daterangepicker {
        width: auto;
    }

    .daterangepicker .ranges ul {
        width: 160px;
    }

    .daterangepicker.single .ranges ul {
        width: 100%;
    }

    .daterangepicker.single .calendar.left {
        clear: none;
    }

    .daterangepicker.single.ltr .ranges, .daterangepicker.single.ltr .calendar {
        float: left;
    }

    .daterangepicker.single.rtl .ranges, .daterangepicker.single.rtl .calendar {
        float: right;
    }

    .daterangepicker.ltr {
        direction: ltr;
        text-align: left;
    }

    .daterangepicker.ltr .calendar.left {
        clear: left;
        margin-right: 50px;
    }

    .daterangepicker.ltr .calendar.left .calendar-table {
        border-right: none;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .daterangepicker.ltr .calendar.right {
        margin-left: 0;
    }

    .daterangepicker.ltr .calendar.right .calendar-table {
        border-left: none;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .daterangepicker.ltr .left .daterangepicker_input {
        padding-right: 0;
    }

    .daterangepicker.ltr .calendar.left .calendar-table {
        padding-right: 0;
    }

    .daterangepicker.ltr .ranges, .daterangepicker.ltr .calendar {
        float: left;
    }

    .daterangepicker.rtl {
        direction: rtl;
        text-align: right;
    }

    .daterangepicker.rtl .calendar.left {
        clear: right;
        margin-left: 0;
    }

    .daterangepicker.rtl .calendar.left .calendar-table {
        border-left: none;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .daterangepicker.rtl .calendar.right {
        margin-right: 0;
    }

    .daterangepicker.rtl .calendar.right .calendar-table {
        border-right: none;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .daterangepicker.rtl .left .daterangepicker_input {
        padding-left: 12px;
    }

    .daterangepicker.rtl .calendar.left .calendar-table {
        padding-left: 12px;
    }

    .daterangepicker.rtl .ranges, .daterangepicker.rtl .calendar {
        text-align: right;
        float: right;
    }
}

@media (min-width: 730px) {
    .daterangepicker .ranges {
        width: auto;
    }

    .daterangepicker.ltr .ranges {
        float: left;
    }

    .daterangepicker.rtl .ranges {
        float: right;
    }

    .daterangepicker .calendar.left {
        clear: none !important;
    }
}

@media screen and (max-width: 991px) {
    .button-75 {
        font-size: 15px;
        height: 50px;
    }

    .button-75 span {
        line-height: 50px;
    }
}

/* ========================================================================
   RESPONSIVE STYLES (TABLET & MOBILE)
   ======================================================================== */

@media (max-width: 768px) {
    /* Header: stack logo and user info vertically */
    .header .head {
        flex-direction: column;
    }

    .logo {
        width: 300px;
        max-width: 100%;
        padding: 10px 0 0 0;
        margin: 0 auto;
    }

    .header .head .gebruiker {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .header .head .right {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .gebruiker .gebruikercontent {
        display: inline-flex;
        padding-right: 6px;
    }

    /* Hamburger button */
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 28px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-right: 12px;
    }

    .hamburger-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #000;
        border-radius: 2px;
    }

    /* Navbar: position context + bar background */
    .navbar {
        position: relative;
        background-color: var(--color-menubar, #F7F7EF);
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 10px;
        z-index: 1000;
    }

    /* Nav dropdown: collapsed by default */
    .navbar > nav > ul.nav {
        display: none;
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-x: visible;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-menubar, #F7F7EF);
        z-index: 1001;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 0;
    }

    /* Nav dropdown: open */
    .nav-open .navbar > nav > ul.nav {
        display: flex;
    }

    .navbar > nav > ul.nav > li {
        padding: 0;
        margin: 0;
        border-bottom: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar > nav > ul.nav > li > a {
        display: flex;
        width: 100%;
        min-height: 46px;
        padding: 0 16px;
        border-radius: 0;
        font-size: .9rem;
    }

    .navbar > nav > ul.nav > li > a.active::after {
        top: 10px;
        right: auto;
        bottom: 10px;
        left: 6px;
        width: 3px;
        height: auto;
    }

    /* Mobile submenu: inline, indented, no absolute positioning */
    .navbar ul li.has-submenu .submenu {
        position: static;
        box-shadow: none;
        padding: 0;
        background: transparent;
        width: 100%;
    }
    .navbar ul li.has-submenu .submenu li {
        padding: 0;
        border-bottom: 0;
    }

    .navbar ul li.has-submenu .submenu a {
        min-height: 42px;
        padding: 0 16px 0 32px;
        border-radius: 6px;
    }

    /* Remove sticky behavior on mobile */
    .sticky {
        position: static;
        overflow: visible;
    }

    /* Hide calendar column inside sticky */
    .sticky .columns > div:first-child {
        display: none;
    }

    /* Hide rooster name h1 inside sticky (not page-title h1s) */
    .sticky h1.rooster-naam {
        display: none;
    }

    /* Hide date text (wrapped in span.rooster-datumtekst by PHP) */
    .rooster-datumtekst {
        display: none;
    }

    /* Hide prev/today/next date nav inside sticky */
    .sticky .roosterdatum {
        display: none;
    }

    .roosterselect {
        justify-content: flex-start;
        max-width: 100%;
        border-radius: 12px;
    }

    .roosterlink > a,
    .roosterlink.active {
        min-height: 34px;
        padding-right: 12px;
        padding-left: 12px;
    }

    /* Mobile sticky date bar */
    .mobile-date-bar {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 998;
        background: #fff;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px;
        border-bottom: 1px solid #e0e0e0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .mobile-date-text {
        font-weight: bold;
        text-align: center;
        justify-content: center;
        flex: 1;
        font-size: 15px;
    }

    .mobile-date-bar a {
        color: #000;
        text-decoration: none;
        display: flex;
        align-items: center;
    }

    /* Content padding */
    .flex-container .content {
        padding: 10px;
    }

    .contentcontainer {
        padding: 10px;
        padding-top: 20px;
    }

    /* Login / Register: remove minimum width */
    .login, .register {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* Dienst info: replace fixed 600px width */
    .dienstinfo, .dienstruil, .dienstinfotitel {
        width: 100%;
        box-sizing: border-box;
    }

    /* Subpage menu: replace fixed 500px width */
    .subpagemenu {
        width: 100%;
    }

    /* Prev/next: full width */
    .prevnext {
        width: 100%;
    }

    /* Rooster: reduce font size */
    .roosterrow {
        font-size: 16px;
    }

    .dienstcell {
        padding: 14px;
    }

    /* Roostermenu: allow wrapping */
    .roostermenu {
        flex-wrap: wrap;
    }

    /* Select elements: full width */
    select {
        min-width: 0;
        width: 100%;
    }

    /* Columns: stack vertically */
    .columns {
        flex-direction: column;
    }

    /* Schema rows */
    .schemarow, .schemaheadrow {
        flex-wrap: wrap;
    }

    .schemarow > div, .schemaheadrow > div {
        flex: 1 1 auto;
        min-width: 80px;
    }

    /* ============================================================
       CARD LAYOUT FOR ROOSTER
       ============================================================ */

    /* Hide the column-header row above the rooster */
    .roosterrow.topmarg20 {
        display: none;
    }

    /* Remove the rooster outer border; margin will come from cards */
    .rooster, .roosteredit {
        border: none;
        margin-top: 4px;
    }

    /* Each data row becomes a card */
    .rooster .roosterrow,
    .roosteredit .roosterrow {
        flex-direction: column;
        border: 1px solid #d0d0d0;
        border-radius: 10px;
        margin-bottom: 14px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        margin-top: 0;
    }

    /* Suppress the extra top/bottom borders that .bordertb adds on even rows */
    .rooster .roosterrow.bordertb:nth-child(even),
    .roosteredit .roosterrow.bordertb:nth-child(even) {
        border-top: 1px solid #d0d0d0;
        border-bottom: 1px solid #d0d0d0;
    }

    /* Each dienstcell becomes a full-width block inside the card */
    .rooster .roosterrow > .dienstcell,
    .roosteredit .roosterrow > .dienstcell {
        flex: none;
        width: 100%;
        box-sizing: border-box;
        border-right: none;
        border-top: 1px solid #e0e0e0;
        padding: 12px;
    }

    /* First cell (voorstelling / datum) = card header: no top border */
    .rooster .roosterrow > .dienstcell:first-child,
    .roosteredit .roosterrow > .dienstcell:first-child {
        border-top: none;
    }

    /* Role labels added via ::before pseudo-elements */
    [id^="coordinator-"]::before {
        content: "Coördinator";
        display: block;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: #999;
        margin-bottom: 4px;
        letter-spacing: 0.5px;
    }

    [id^="zaalwacht-"]::before {
        content: "Zaalwacht";
        display: block;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: #999;
        margin-bottom: 4px;
        letter-spacing: 0.5px;
    }

    [id^="kassier-"]::before {
        content: "Kassier";
        display: block;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: #999;
        margin-bottom: 4px;
        letter-spacing: 0.5px;
    }

    .dienstcell.diensttijd::before {
        content: "Diensttijd";
        display: block;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: #999;
        margin-bottom: 4px;
        letter-spacing: 0.5px;
    }

    /* Repeat the assigned person's name on shared-shift (empty) role cells */
    .rooster .roosterrow > [id^="coordinator-"]:empty::after,
    .rooster .roosterrow > [id^="zaalwacht-"]:empty::after,
    .rooster .roosterrow > [id^="kassier-"]:empty::after {
        content: attr(data-name);
    }

    /* Date in expositie/receptie cards: match voorstellingtitel size */
    .rooster .roosterrow .expodatum {
        font-weight: bold;
        font-size: 21px;
    }

    /* ============================================================
       CARD LAYOUT FOR CONTENTCONTAINER SECTIONS
       (eigen_diensten, medewerkers, vrije_diensten, algemeen,
        verzoeken)
       ============================================================ */

    /* Override table-display to allow block/card layout */
    .contentcontainer section {
        display: block;
    }

    .contentcontainer section > * {
        display: block;
    }

    /* Hide the header row (column labels) */
    .contentcontainer section header {
        display: none;
    }

    /* Remove min-width constraint on the medewerkers content area */
    .medewerkers-content section {
        min-width: 0;
    }

    /* Each data row becomes a card */
    .contentcontainer section .row {
        border: 1px solid #d0d0d0;
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 4px 0;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
        background-color: #fff;
    }

    /* Override alternating background so cards stay white */
    .contentcontainer section .row:nth-child(odd):not(.ruilen) {
        background-color: #fff;
    }

    /* Each col becomes a full-width block */
    .contentcontainer section .col {
        display: block;
        padding: 10px 14px;
        border-right: none;
        width: auto;
        font-size: 16px;
    }

    .contentcontainer.eigendiensten section .row .col[data-label]::before {
        display: block;
        margin-bottom: 4px;
        color: #64748b;
        content: attr(data-label);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .contentcontainer.eigendiensten section .row .eigen-dienst-date-cell::before,
    .contentcontainer.eigendiensten section .row .eigen-acties::before {
        margin-bottom: 6px;
    }

    .eigen-dienst-date-cell { background: #f8fafc; }
    .contentcontainer.eigendiensten section .row.geweest,
    .contentcontainer.eigendiensten section .row.geweest:nth-child(odd):not(.ruilen),
    .contentcontainer.eigendiensten section .row.geweest:nth-child(even):not(.ruilen) {
        background-color: #FFEEE8;
    }
    .eigen-dienst-title { font-size: .88rem; }
    .medewerker-verzoek-cell { padding-top: 12px; }
    .medewerker-verzoek {
        display: flex;
        width: fit-content;
        max-width: 100%;
    }

    .eigen-acties-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    /* Subtle separator between cols inside a card */
    .contentcontainer section .col:not(:last-child) {
        border-bottom: 1px dotted #eee;
    }

    /* Suppress padding on truly empty cols to avoid whitespace */
    .contentcontainer section .col:empty {
        padding: 0;
        border-bottom: none;
    }

    /* Role-separator rows span the full card width */
    .contentcontainer section .row.role-separator .col {
        border-bottom: none;
    }
}

/* ========================================================================
   PRINT STYLES
   ======================================================================== */

@media screen {
    .do-print, .do-print * {
        display: none;
        visibility: hidden;
    }
}

@media print {
    .do-print, .do-print * {
        width: 100%;
        margin: 0 auto;
        display: block;
        visibility: visible;
    }

    .no-print, .no-print * {
        display: none !important;
    }

    html, body {
        all: unset;
        width: 100%;
    }

    body {
        zoom: 60%;
    }

    .copyright {
        display: none;
        visibility: hidden;
    }

    .footer {
        display: none !important;
    }

    .gebruiker {
        display: none !important;
    }

    .flex-container, .sticky, .content {
        all: unset;
    }

    .roosterrow {
        break-inside: avoid;
        display: table-row;
    }

    .rooster {
        display: table;
        width: 99%;
        table-layout: fixed;
        border-collapse: collapse;
    }

    .dienstcell {
        display: table-cell;
        width: auto;
        overflow: hidden;
        word-break: break-word;
        border-right: 1px solid #000 !important;
        border-bottom: 1px solid #000 !important;
        border-top: none !important;
        padding: 6px !important;
    }

    /* Only cells that start a new visual block get a top border */
    .dienstcell.voorstelling,
    .dienstcell.bordertop {
        border-top: 1px solid #000 !important;
    }

    .dienstcell.voorstelling {
        width: 25%;
    }

    /* Left outer border (first column) */
    .roosterrow > .dienstcell:first-child {
        border-left: 1px solid #000 !important;
    }

    /* Dienstniet cells: gray background so they're visually distinct */
    .dienstcell.dienstniet {
        background-color: #ebebeb !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Role cells: suppress ALL content (including text nodes) then show only
       the data-name for primary (bordertop, non-dienstniet) cells via ::before */
    .dienstcell[data-role] {
        font-size: 0 !important;
        color: transparent !important;
    }
    .dienstcell[data-role] * {
        display: none !important;
    }
    .dienstcell.bordertop[data-role]:not(.dienstniet)::before {
        content: attr(data-name) !important;
        display: block;
        font-size: 21px !important;
        color: #000 !important;
    }

    /* Show the time on primary role cells */
    .dienstcell.bordertop[data-role]:not(.dienstniet) .diensttijd {
        display: block !important;
        font-size: 18px !important;
        color: #555 !important;
    }

    /* Suppress mobile card role labels from bleeding into print */
    [id^="coordinator-"]::before,
    [id^="zaalwacht-"]::before,
    [id^="kassier-"]::before {
        content: none !important;
    }

    /* Print-only header row — shown as proper table-row inside .rooster */
    .print-header {
        display: table-row !important;
    }
    .print-header > .dienstcell {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #000 !important;
        border-top: 2px solid #000 !important;
        border-bottom: 2px solid #000 !important;
        padding: 6px !important;
    }

    .voorstellingtag {
        display: inline-flex;
        width: auto;
        font-size: 10px;
        padding: 2px 5px;
        gap: 2px;
        margin: 4px 0;
    }

    .voorstellingtag .material-symbols-outlined {
        font-size: 14px;
    }
}

@media print {
    @page {
        width: 100%;
        size: landscape; /* Chrome & Firefox only — Safari ignores @page size */
    }

    /* Safari-specific print layout, activated via JS beforeprint hook.
       Chrome/Firefox never get this class so their table layout is untouched.
       Safari doesn't honour page-break-inside on display:table-row, but it
       does on flex containers. Each .roosterrow becomes its own flex row with
       explicit column widths so rows stay visually aligned without a shared
       table context. */
    body.safari-print .rooster {
        display: block;
        width: 99%;
    }
    body.safari-print .roosterrow {
        display: flex;
        flex-direction: row;
        width: 100%;
        box-sizing: border-box;
        page-break-inside: avoid;
        -webkit-column-break-inside: avoid;
        break-inside: avoid;
    }
    body.safari-print .dienstcell {
        display: block;
        flex: 1;
        min-width: 0;
        box-sizing: border-box;
    }
    body.safari-print .dienstcell.voorstelling {
        flex: 0 0 25%;
    }
    body.safari-print .print-header {
        display: flex !important;
        flex-direction: row !important;
    }
}

/* Location badge (eigen_diensten, vrije_diensten, medewerkerdiensten, overname, verzoeken) - always use material icons */
.dienst-locatie-badge { display: inline-flex; align-items: flex-start; flex-wrap: wrap; gap: 2px; font-size: 11px; background: #e8f0fe; color: #1a73e8; border-radius: 10px; padding: 6px 6px; white-space: normal; overflow-wrap: anywhere; max-width: 100%; font-weight: 500; cursor: default; }
.dienst-locatie-badge .material-symbols-outlined { font-size: 12px; }

/* Techniek display (voorstelling cell) - always use material icons */
.techniek-header { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #1565c0; font-weight: 600; margin-top: 8px; border-top: 1px solid rgb(21, 101, 192); padding-top: 5px; }
.techniek-header .material-symbols-outlined { font-size: 18px; }
.techniek-name { display: block; font-size: 15px; background: #e3f2fd; color: #1565c0; border-radius: 8px; padding: 6px 10px; margin-top: 4px; font-weight: 500; border: 2px solid #1565c0; }

/* Techniek edit button - matches techniek label color scheme */
.btn-edit-techniek { display: block; width: 100%; background-color: rgba(21, 101, 192, 0.1); border: 1.5px solid #1565c0; color: #1565c0; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; margin-top: 8px; padding: 8px 10px !important; font-size: 13px !important; text-align: center; }
.btn-edit-techniek:hover { background-color: #1565c0; color: #fff; }

/* Vrije diensten: overzichtelijke filter- en kaartweergave */
.vrije-diensten-page {
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
}

.vrije-diensten-page {
    width: 100%;
    padding: 14px 28px 48px;
    background: #fbfcfe;
}

.vrije-diensten-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 0 22px;
    border-bottom: 1px solid #e4e9f0;
}

.vrije-filter {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    min-width: 0 !important;
    padding: 10px 16px !important;
    border: 1px solid #dfe5ed !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #13213c !important;
    font: 600 15px / 1 var(--font-body, "Graphik Web Regular Regular"), Arial, sans-serif !important;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(19, 33, 60, .03);
}

.vrije-filter::before {
    display: none !important;
}

.vrije-filter:hover,
.vrije-filter:focus-visible,
.vrije-filter[aria-pressed="true"] {
    border-color: #106fe7 !important;
    background: #f5f9ff !important;
    color: #106fe7 !important;
    outline: none;
}

.vrije-filter .material-symbols-outlined {
    font-size: 20px;
}

.vrije-filter__count {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    box-sizing: border-box;
    place-items: center;
    border-radius: 999px;
    background: #f1f4f8;
    color: #5e6b82;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.vrije-filter[aria-pressed="true"] .vrije-filter__count {
    background: #106fe7;
    color: #fff;
}

.vrije-diensten-page .vrijediensten {
    display: grid;
    width: 100%;
    gap: 18px;
    margin-top: 20px;
}

.vrije-dienstgroep {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.vrije-diensten-page .role-separator {
    display: flex !important;
    align-items: center;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border: 1px solid #dfe5ed !important;
    border-radius: 12px;
    background: #fff !important;
    color: #13213c;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.vrije-diensten-page .role-separator:hover,
.vrije-diensten-page .role-separator:focus-visible {
    border-color: #a9c7f3 !important;
    box-shadow: 0 3px 12px rgba(16, 111, 231, .08);
    outline: none;
}

.vrije-diensten-page .role-separator--static {
    cursor: default;
}

.vrije-diensten-page .role-separator--static:hover {
    border-color: #dfe5ed !important;
    box-shadow: none;
}

.role-separator__icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 50%;
    background: #edf4ff;
    color: #106fe7;
}

.role-separator__icon .material-symbols-outlined {
    font-size: 22px;
}

.role-separator__content {
    display: flex;
    align-items: baseline;
    flex: 1;
    gap: 9px;
    min-width: 0;
}

.role-separator__title {
    overflow: hidden;
    font-size: 18px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.role-separator__count {
    color: #106fe7;
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.vrije-diensten-page .role-toggle {
    display: grid;
    float: none;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    color: #5e6b82;
    transition: transform .2s ease;
}

.vrije-diensten-page .role-toggle .material-symbols-outlined {
    font-size: 22px;
}

.vrije-diensten-page .role-separator.collapsed .role-toggle {
    transform: rotate(-90deg);
}

.vrije-diensten-page .vrije-dienst-card {
    display: grid !important;
    grid-template-columns: minmax(155px, 1.05fr) minmax(175px, 1.1fr) minmax(220px, 1.35fr) minmax(140px, 1fr) minmax(190px, 230px);
    align-items: center;
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 18px !important;
    border: 1px solid #e0e6ee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(19, 33, 60, .05);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.vrije-diensten-page .vrije-dienst-card:hover {
    border-color: #b9cdef;
    box-shadow: 0 4px 14px rgba(19, 33, 60, .08);
}

.vrije-diensten-page .vrije-dienst-card .col {
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    word-break: normal;
}

.vrije-dienst-card__date a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #106fe7;
    font-weight: 700;
    text-decoration: none;
}

.vrije-dienst-card__date a:hover,
.vrije-dienst-card__date a:focus-visible {
    text-decoration: underline;
}

.vrije-dienst-card__date .material-symbols-outlined,
.vrije-dienst-card__time > .material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    color: #106fe7;
    font-size: 24px;
    line-height: 1;
}

.vrije-dienst-card__date .material-symbols-outlined {
    transform: translateY(4px);
}

.vrije-dienst-card__time {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
}

.vrije-dienst-card__time > .material-symbols-outlined {
    color: #5e6b82;
}

.vrije-dienst-card__time-value {
    display: block;
    color: #13213c;
    font-weight: 700;
    line-height: 1.45;
    white-space: normal;
}

.vrije-dienst-card__meta {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.vrije-dienst-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.vrije-dienst-chip--role {
    background: #eef3fb;
    color: #314463;
}

.vrije-dienst-chip .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 18px;
}

.vrije-dienst-chip .vrije-dienst-card__star,
.vrije-dienst-card__meta .zwstar {
    font-size: 16px !important;
}

.vrije-diensten-page .dienst-locatie-badge {
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.vrije-diensten-page .dienst-locatie-badge .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 18px;
}

.vrije-dienst-card__note {
    display: flex !important;
    align-items: flex-start;
    gap: 7px;
    color: #5e6b82;
    font-size: 14px;
    line-height: 1.4;
}

.vrije-dienst-card__note:empty {
    visibility: hidden;
}

.vrije-dienst-card__note .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 18px;
}

.vrije-dienst-card__note-content {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.vrije-dienst-card__action {
    text-align: right;
}

.vrije-dienst-card__action .tooltipmo {
    display: block;
}

.vrije-dienst-card__action select,
.vrije-dienst-card__action .vrije-inrooster,
.vrije-dienst-card__action .vrije-cancel {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}

.vrije-dienst-card__action select {
    min-width: 0 !important;
}

.vrije-dienst-card.comingup {
    border-color: #cbe1d0;
    background: #fbfefb;
}

.vrije-dienst-card.geweest {
    border-color: #efd7ce;
    background: #fffaf8;
}

.vrije-dienst-card.collapsed {
    display: none !important;
}

@media (max-width: 1120px) {
    .vrije-diensten-page .vrije-dienst-card {
        grid-template-columns: minmax(145px, 1fr) minmax(160px, 1fr) minmax(190px, 1.2fr);
    }

    .vrije-dienst-card__note {
        grid-column: 1 / span 2;
    }

    .vrije-dienst-card__action {
        grid-column: 3;
    }
}

@media (max-width: 720px) {
    .vrije-diensten-page {
        padding: 12px 16px 32px;
    }

    .vrije-diensten-filters {
        flex-wrap: nowrap;
        margin-right: -16px;
        padding-bottom: 16px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .vrije-diensten-filters::-webkit-scrollbar {
        display: none;
    }

    .vrije-filter {
        flex: 0 0 auto;
    }

    .vrije-diensten-page .vrije-dienst-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 15px !important;
    }

    .vrije-dienst-card__note,
    .vrije-dienst-card__action {
        grid-column: auto;
    }

    .vrije-dienst-card__note:empty {
        display: none !important;
    }

    .vrije-dienst-card__action {
        text-align: left;
    }

    .vrije-diensten-page .role-separator {
        padding: 12px 14px;
    }

    .role-separator__title {
        font-size: 16px;
    }
}

/* Shared card layout for table-based roster pages */
@media (min-width: 769px) {
    .contentcontainer.rooster-cards-desktop {
        overflow: visible;
    }

    .contentcontainer.rooster-cards-desktop section {
        display: block !important;
        width: 100%;
        min-width: 0 !important;
    }

    .contentcontainer.rooster-cards-desktop section > * {
        display: block !important;
    }

    .contentcontainer.rooster-cards-desktop section > header {
        display: none !important;
    }

    .contentcontainer.rooster-cards-desktop section > .row {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        align-items: start;
        gap: 18px;
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 10px;
        padding: 18px !important;
        border: 1px solid #e0e6ee;
        border-radius: 10px;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(19, 33, 60, .05);
    }

    .contentcontainer.rooster-cards-desktop section > .row > .col {
        display: block !important;
        min-width: 0;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .contentcontainer.rooster-cards-desktop section > .row > .col[data-label]:not([data-label=""])::before {
        display: block;
        margin-bottom: 6px;
        color: #737373;
        content: attr(data-label);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .contentcontainer.rooster-cards-desktop section > .row > .col:empty {
        display: block !important;
    }

    .contentcontainer.rooster-cards-desktop section > .row > .col:empty::before {
        display: none !important;
    }

    .contentcontainer.rooster-cards-desktop section > .row form {
        float: none !important;
        margin: 0;
    }

    .contentcontainer.rooster-cards-desktop section > .row button {
        box-sizing: border-box;
        max-width: 100%;
    }

    .contentcontainer.rooster-cards-desktop .eigen-acties-grid > .eigen-actie > form,
    .contentcontainer.rooster-cards-desktop .eigen-acties-grid > .eigen-actie > a {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .contentcontainer.rooster-cards-desktop .eigen-acties-grid > .eigen-actie button {
        width: 100%;
        min-width: 0;
    }

    .contentcontainer.rooster-cards-desktop section > .row.comingup {
        border-color: #cbe1d0;
        background: #fbfefb !important;
    }

    .contentcontainer.rooster-cards-desktop section > .row.geweest {
        border-color: #efd7ce;
        background: #fffaf8 !important;
    }

    .contentcontainer.rooster-cards-desktop section > .row.nonactive {
        border-color: #efd7ce;
        background: #fff4f1 !important;
    }

    .contentcontainer.rooster-cards-desktop .eigen-dienst-date-cell {
        padding: 10px !important;
        border-radius: 8px;
        background: #f8fafc;
    }

    .contentcontainer.rooster-cards-desktop .eigen-acties,
    .contentcontainer.rooster-cards-desktop .medewerker-verzoek-cell {
        min-width: 0;
    }

    .contentcontainer.rooster-cards-desktop .medewerker-profile-cell {
        display: flex !important;
        align-items: center;
    }

    .contentcontainer.rooster-cards-desktop .medewerker-count {
        margin: 0 0 10px;
        padding-left: 0;
    }

    .eigendiensten.rooster-cards-desktop section > .eigen-dienst-row {
        grid-template-columns: minmax(180px, 1.25fr) minmax(115px, .8fr) minmax(115px, .8fr) minmax(190px, 1.3fr) minmax(150px, 1fr) minmax(240px, 1.8fr);
    }

    .eigendiensten.medewerkerdiensten.rooster-cards-desktop section > .medewerker-dienst-row {
        grid-template-columns: minmax(180px, 1.3fr) minmax(100px, .8fr) minmax(100px, .8fr) minmax(100px, .8fr) minmax(190px, 1.2fr) minmax(150px, 1fr) minmax(240px, 1.5fr);
    }

    .medewerkers.rooster-cards-desktop .medewerkers-content {
        overflow: visible;
    }

    .medewerkers.rooster-cards-desktop .medewerkers-content section > .row {
        grid-template-columns: minmax(180px, 1.4fr) minmax(44px, .4fr) minmax(125px, 1fr) minmax(150px, 1.2fr) minmax(180px, 1.4fr) minmax(180px, 1.4fr) repeat(3, minmax(58px, .5fr));
    }

    .diensten-overzicht.rooster-cards-desktop section > .row {
        grid-template-columns: minmax(150px, 1.4fr) minmax(90px, .8fr) repeat(8, minmax(50px, .6fr)) minmax(150px, 1.4fr) minmax(170px, 1.5fr);
    }

    .algemeen.rooster-cards-desktop section > .row {
        grid-template-columns: 260px 180px minmax(0, 1fr);
    }

    .diensten-overzicht-sort-title {
        display: flex !important;
        align-items: center;
        gap: 5px;
        margin: 0 0 8px;
        color: #737373;
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .diensten-overzicht-sort-title .material-symbols-outlined {
        font-size: 17px;
    }

    .diensten-overzicht.rooster-cards-desktop section > header {
        display: grid !important;
        grid-template-columns: minmax(150px, 1.4fr) minmax(90px, .8fr) repeat(8, minmax(50px, .6fr)) minmax(150px, 1.4fr) minmax(170px, 1.5fr);
        align-items: center;
        gap: 18px;
        margin: 0 0 10px;
        padding: 5px 18px !important;
        box-sizing: border-box;
        border: 0;
        background: transparent;
    }

    .diensten-overzicht.rooster-cards-desktop section > header > .col {
        display: block !important;
        width: auto !important;
        min-width: 0;
        padding: 0 !important;
        border: 0 !important;
    }

    .diensten-overzicht.rooster-cards-desktop section > header > .col:nth-child(2),
    .diensten-overzicht.rooster-cards-desktop section > header > .col:nth-child(11),
    .diensten-overzicht.rooster-cards-desktop section > header > .col:nth-child(12) {
        visibility: hidden;
    }

    .diensten-overzicht.rooster-cards-desktop section > header .col a {
        display: inline-flex;
        width: max-content;
        max-width: none;
        padding: 2px 0;
        box-sizing: border-box;
        color: #106fe7;
        font-size: .76rem;
        font-weight: 700;
        line-height: 1.1;
        overflow: visible;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
        text-overflow: clip;
    }

    .diensten-overzicht.rooster-cards-desktop section > header > .col:nth-child(10) a {
        font-size: .76rem;
    }

    .diensten-overzicht.rooster-cards-desktop section > header .col a:hover,
    .diensten-overzicht.rooster-cards-desktop section > header .col a:focus {
        text-decoration: underline;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .eigendiensten.rooster-cards-desktop section > .eigen-dienst-row,
    .eigendiensten.medewerkerdiensten.rooster-cards-desktop section > .medewerker-dienst-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eigendiensten.rooster-cards-desktop section > .eigen-dienst-row .eigen-acties,
    .eigendiensten.medewerkerdiensten.rooster-cards-desktop section > .medewerker-dienst-row .medewerker-verzoek-cell {
        grid-column: 1 / -1;
    }

    .medewerkers.rooster-cards-desktop .medewerkers-content section > .row {
        grid-template-columns: minmax(0, 1.25fr) minmax(64px, .55fr) minmax(0, 1fr) minmax(0, 1.45fr);
    }

    .diensten-overzicht.rooster-cards-desktop section > .row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .algemeen.rooster-cards-desktop section > .row {
        grid-template-columns: 260px 180px minmax(0, 1fr);
    }

    .diensten-overzicht.rooster-cards-desktop section > header {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .diensten-overzicht-sort-title {
        display: none !important;
    }

    .contentcontainer.rooster-cards-desktop section > .row > .col[data-label]:not([data-label=""])::before {
        display: block;
        margin-bottom: 4px;
        color: #64748b;
        content: attr(data-label);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .contentcontainer.rooster-cards-desktop section > .row > .medewerker-profile-cell::before {
        display: none;
    }
}

.contentcontainer.rooster-cards-desktop .eigen-dienst-date,
.contentcontainer.rooster-cards-desktop .eigen-dienst-title {
    display: block !important;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(n+7) {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(n+7)::before {
    align-self: center;
    text-align: center;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(n+7) form,
.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(n+7) > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 32px;
    margin: 0;
}

@media screen and (min-width: 769px) {
    .medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .medewerker-profile-cell {
        align-self: stretch;
        justify-content: center;
    }
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .medewerker-profile-cell > .tooltipmo {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .medewerker-profile-cell > .tooltipmo > img {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .medewerker-profile-cell > .medewerker-profile-photo {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

/* ========================================================================
   FLUID REDESIGN LAYOUT
   Keep the desktop presentation table-like without forcing a wider canvas.
   The classic variant uses main.classic.css and is intentionally untouched.
   ======================================================================== */

/* All modern content shells share the same available width as the roster. */
@media screen {
    .content .contentcontainer.rooster-cards-desktop,
    .content .contentcontainer.vrije-diensten-page,
    .content .contentcontainer.techniekrooster,
    .content > .logs {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    .content .contentcontainer.rooster-cards-desktop,
    .content .contentcontainer.vrije-diensten-page,
    .content .contentcontainer.techniekrooster,
    .content > .logs {
        padding-right: 0;
        padding-left: 0;
    }
}

@media screen {
    html,
    body,
    .flex-container,
    .flex-container .content,
    .contentcontainer {
        min-width: 0;
        max-width: 100%;
    }

    .sticky,
    .sticky > .columns,
    .sticky > .columns > div,
    .contentcontainer.rooster-cards-desktop,
    .contentcontainer.rooster-cards-desktop .row,
    .contentcontainer.rooster-cards-desktop .col {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contentcontainer.rooster-cards-desktop {
        overflow: visible !important;
    }

    .roosterselect {
        width: max-content;
        max-width: 500px;
        min-width: 0;
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
    }

    .roosterlink {
        min-width: 0;
        max-width: 100%;
        flex: 0 1 auto;
    }

    .roosterlink > a,
    .roosterlink.active {
        width: auto;
        min-width: 0;
        max-width: 100%;
        white-space: nowrap;
        overflow-wrap: normal;
        text-align: center;
    }

    .rooster-display-toggle {
        width: min(100%, 360px);
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1px;
        padding: 2px;
        box-sizing: border-box;
    }

    .rooster-display-toggle__option {
        min-width: 0;
        max-width: 100%;
        flex: 1 1 140px;
        height: auto;
        min-height: 24px;
        padding: 3px 10px;
        line-height: 1.1;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }

    .rooster-month-navigation {
        width: min(100%, 320px);
        max-width: 100%;
        min-width: 0;
    }

    .rooster-month-navigation__label,
    .rooster-month-navigation__current,
    .rooster-month-navigation__current a,
    .rooster-month-navigation__current span {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .sticky .roostermenu,
    .sticky .roostermenuitem,
    .sticky .roostermenu a.rstrbutton {
        min-width: 0;
        max-width: 100%;
    }

    .contentcontainer.rooster-cards-desktop .medewerkeradd {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
    }

    .contentcontainer.rooster-cards-desktop .medewerkeradd > a,
    .contentcontainer.rooster-cards-desktop .medewerkeradd button,
    .contentcontainer.rooster-cards-desktop .eigen-diensten-toolbar__actions > *,
    .contentcontainer.rooster-cards-desktop .eigen-diensten-toolbar__actions button {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .contentcontainer.rooster-cards-desktop section > .row > .col,
    .contentcontainer.rooster-cards-desktop section > header > .col {
        min-width: 0 !important;
        max-width: 100%;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .contentcontainer.rooster-cards-desktop section > .row button,
    .contentcontainer.rooster-cards-desktop section > .row a.rstrbutton,
    .contentcontainer.rooster-cards-desktop section > .row .roosterin,
    .vrije-diensten-page button,
    .vrije-diensten-page a.rstrbutton,
    .vrije-diensten-page .roosterin {
        min-width: 0 !important;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .contentcontainer.rooster-cards-desktop .medewerkers-layout {
        display: grid !important;
        grid-template-columns: minmax(160px, 190px) minmax(0, 1fr);
        gap: clamp(12px, 2vw, 24px);
        align-items: start;
        min-width: 0;
    }

    .contentcontainer.rooster-cards-desktop .medewerkers-filters,
    .contentcontainer.rooster-cards-desktop .medewerkers-content,
    .contentcontainer.rooster-cards-desktop .medewerkers-content section {
        width: 100% !important;
        max-width: 100%;
        min-width: 0 !important;
        overflow: visible !important;
    }

    .contentcontainer.rooster-cards-desktop .medewerkers-filters form {
        width: 100%;
        min-width: 0;
        float: none;
    }

    .eigendiensten.rooster-cards-desktop {
        --eigen-diensten-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, .95fr) minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.5fr);
    }

    .eigendiensten.rooster-cards-desktop section > .eigen-dienst-row {
        grid-template-columns: var(--eigen-diensten-columns) !important;
    }

    .eigendiensten.medewerkerdiensten.rooster-cards-desktop {
        --medewerker-diensten-columns: minmax(0, 1.2fr) minmax(0, .75fr) minmax(0, .95fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr);
    }

    .eigendiensten.medewerkerdiensten.rooster-cards-desktop section > .medewerker-dienst-row {
        grid-template-columns: var(--medewerker-diensten-columns) !important;
    }

    .medewerkers.rooster-cards-desktop {
        --medewerkers-columns: minmax(0, 1.45fr) minmax(64px, 72px) minmax(0, .95fr) minmax(0, 2fr) minmax(100px, .65fr) minmax(0, 1fr) repeat(3, minmax(48px, 56px));
    }

    .medewerkers.rooster-cards-desktop .medewerkers-content section > .row {
        grid-template-columns: var(--medewerkers-columns) !important;
        column-gap: 12px;
    }

    .diensten-overzicht.rooster-cards-desktop {
        --diensten-overzicht-columns: minmax(0, 1.45fr) minmax(0, .8fr) repeat(8, minmax(0, .55fr)) minmax(0, 1.2fr) minmax(0, 1.5fr);
    }

    .diensten-overzicht.rooster-cards-desktop section > .row,
    .diensten-overzicht.rooster-cards-desktop section > header {
        grid-template-columns: var(--diensten-overzicht-columns) !important;
    }

    .diensten-overzicht.rooster-cards-desktop section > header {
        gap: 18px;
    }

    .diensten-overzicht.rooster-cards-desktop section > header .col a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        min-height: 28px;
        padding: 4px 3px;
        border: 1px solid #dbe3ed;
        border-radius: 999px;
        box-sizing: border-box;
        font-size: clamp(.62rem, .7vw, .76rem);
        line-height: 1.15;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }

    .algemeen.rooster-cards-desktop {
        --algemeen-columns: fit-content(18rem) fit-content(16rem) minmax(0, 1fr);
    }

    .algemeen.rooster-cards-desktop section > .row {
        grid-template-columns: var(--algemeen-columns) !important;
    }

    .algemeen.rooster-cards-desktop .commentbox,
    .algemeen.rooster-cards-desktop .commentbox * {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .contentcontainer.rooster-cards-desktop .eigen-acties-grid:not(.eigen-acties-grid--request) {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)) !important;
        align-items: stretch;
    }

    .contentcontainer.rooster-cards-desktop .eigen-acties-grid,
    .contentcontainer.rooster-cards-desktop .eigen-actie,
    .contentcontainer.rooster-cards-desktop .eigen-actie form,
    .contentcontainer.rooster-cards-desktop .eigen-actie > a {
        min-width: 0;
        max-width: 100%;
    }

    .contentcontainer.rooster-cards-desktop .eigen-diensten-pending__item {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .contentcontainer.rooster-cards-desktop .eigen-diensten-pending__item form {
        flex: 1 1 220px;
        min-width: 0;
        max-width: 100%;
    }

    .contentcontainer.rooster-cards-desktop .eigen-dienst-date,
    .contentcontainer.rooster-cards-desktop .eigen-dienst-title,
    .contentcontainer.rooster-cards-desktop .countdown,
    .contentcontainer.rooster-cards-desktop .countdown-name {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .vrije-diensten-page {
        min-width: 0;
        max-width: 100%;
        overflow: visible;
    }

    .vrije-diensten-page .vrije-dienst-card {
        min-width: 0;
        max-width: 100%;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.25fr) !important;
    }

    .vrije-diensten-page .role-separator__title,
    .vrije-diensten-page .role-separator__content {
        min-width: 0;
        max-width: 100%;
    }

    .vrije-diensten-page .role-separator__title {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .vrije-diensten-page .vrije-dienst-card__date,
    .vrije-diensten-page .vrije-dienst-card__time,
    .vrije-diensten-page .vrije-dienst-card__meta,
    .vrije-diensten-page .vrije-dienst-card__note,
    .vrije-diensten-page .vrije-dienst-card__action {
        min-width: 0;
        max-width: 100%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1100px) {
    .medewerkers.rooster-cards-desktop .medewerkers-content section > .row {
        grid-template-columns: minmax(0, 1.25fr) minmax(64px, .55fr) minmax(0, 1fr) minmax(0, 1.45fr) !important;
    }
}

@media screen and (min-width: 769px) {
    .rooster-display-toggle {
        height: 32px;
        align-items: stretch;
    }

    .rooster-display-toggle__option {
        min-height: 0;
        height: 100%;
        padding: 0 10px;
        line-height: 1;
    }

    .sticky > .columns {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-areas:
            "calendar heading actions";
        column-gap: clamp(12px, 2vw, 24px);
        row-gap: 0;
        align-items: start;
        width: 100%;
        min-width: 0;
    }

    .sticky > .columns > #calendar-wrapper {
        grid-area: calendar;
    }

    .sticky > .columns > .aligncenter {
        grid-area: heading;
    }

    .sticky > .columns > div:nth-child(3) {
        grid-area: actions;
        width: 100%;
        min-width: 0;
    }

    .sticky > .columns > div:nth-child(3) .roostermenu {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-end;
        padding-top: 0;
    }

    .sticky > .columns > div:nth-child(3) .roostermenuitem {
        flex: 0 1 auto;
        width: auto;
        max-width: 100%;
    }

    .sticky > .columns > div:nth-child(3) .roostermenuitem > a.rstrbutton {
        width: auto;
        max-width: 100%;
    }

    .rooster,
    .roosteredit,
    .roosterrow,
    .roosterrow > .dienstcell,
    .roosterrow.topmarg20 > div {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .roosterrow > .dienstcell {
        width: auto;
        flex: 1 1 0;
        padding: clamp(10px, 1.2vw, 20px);
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .roosterrow.topmarg20 > div {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .roosterrow > .dienstcell select,
    .roosterrow > .dienstcell input,
    .roosterrow > .dienstcell textarea {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (min-width: 721px) and (max-width: 1120px) {
    .vrije-diensten-page .vrije-dienst-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) !important;
    }
}

@media screen and (max-width: 768px) {
    .contentcontainer.rooster-cards-desktop .medewerkers-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .roosterselect {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .roosterlink {
        flex: 1 1 0;
    }

    .roosterlink > a,
    .roosterlink.active {
        width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media screen and (max-width: 720px) {
    .vrije-diensten-filters {
        flex-wrap: wrap;
        margin-right: 0;
        overflow: visible;
    }

    .vrije-filter {
        flex: 1 1 140px;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .vrije-diensten-page .vrije-dienst-card {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* Modern calendars for the beta roster design; the classic roster keeps its original picker. */
#calendar-wrapper .ui-datepicker {
    box-sizing: border-box;
    width: 230px;
    max-width: 100%;
    padding: 12px;
    border: 1px solid #dbe3ed;
    border-radius: 16px;
    background: #f8fafc;
    box-shadow: 0 8px 24px rgba(36, 58, 91, 0.08);
    font-family: var(--font-body, "Graphik Web Regular Regular"), Arial, sans-serif;
}

#calendar-wrapper .ui-datepicker .ui-datepicker-header {
    position: relative;
    min-height: 32px;
    padding: 0;
    background: transparent;
}

#calendar-wrapper .ui-datepicker .ui-datepicker-title {
    margin: 0 34px;
    padding: 0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    line-height: 30px;
}

#calendar-wrapper .ui-datepicker .ui-datepicker-month {
    margin: 0;
    font-size: 15px;
}

#calendar-wrapper .ui-datepicker .ui-datepicker-year {
    color: #64748b;
    font-size: 15px;
}

#calendar-wrapper .ui-datepicker .ui-datepicker-prev,
#calendar-wrapper .ui-datepicker .ui-datepicker-next {
    top: 0;
    width: 30px !important;
    height: 30px;
    margin: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1.5px solid #106fe7;
    border-radius: 50%;
    background: #ffffff;
    color: #106fe7;
    text-align: center;
    transition: background-color .15s ease, color .15s ease;
}

#calendar-wrapper .ui-datepicker .ui-datepicker-prev {
    left: 0;
}

#calendar-wrapper .ui-datepicker .ui-datepicker-next {
    right: 0;
}

#calendar-wrapper .ui-datepicker .ui-datepicker-prev span,
#calendar-wrapper .ui-datepicker .ui-datepicker-next span {
    display: none;
}

#calendar-wrapper .ui-datepicker .ui-datepicker-prev::after,
#calendar-wrapper .ui-datepicker .ui-datepicker-next::after {
    width: 7px;
    height: 7px;
    padding: 0;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    color: inherit;
    display: block;
    flex: 0 0 auto;
    visibility: visible;
}

#calendar-wrapper .ui-datepicker .ui-datepicker-prev::after {
    content: "";
    transform: rotate(135deg);
}

#calendar-wrapper .ui-datepicker .ui-datepicker-next::after {
    content: "";
    transform: rotate(-45deg);
}

#calendar-wrapper .ui-datepicker .ui-datepicker-prev:hover,
#calendar-wrapper .ui-datepicker .ui-datepicker-next:hover {
    background: #106fe7;
    color: #ffffff;
}

#calendar-wrapper .ui-datepicker table {
    width: 100%;
    margin: 10px 0 0;
    border-collapse: separate;
    border-spacing: 3px 4px;
    table-layout: fixed;
    font-size: 13px;
}

#calendar-wrapper .ui-datepicker th,
#calendar-wrapper .ui-datepicker td {
    width: auto !important;
    height: auto;
    padding: 0 !important;
    text-align: center;
}

#calendar-wrapper .ui-datepicker th {
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}

#calendar-wrapper .ui-datepicker td .ui-state-default {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin: 0 auto;
    padding: 3px 0 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #1f2937;
    font-size: 14px;
    line-height: 25px;
    text-align: center;
    transition: background-color .15s ease, color .15s ease;
}

#calendar-wrapper .ui-datepicker td.ui-datepicker-current-day {
    background: transparent;
}

#calendar-wrapper .ui-datepicker td.ui-datepicker-current-day .ui-state-default {
    background: #106fe7;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(16, 111, 231, 0.25);
}

#calendar-wrapper .ui-datepicker td:has(a.ui-state-hover) {
    background: transparent;
}

#calendar-wrapper .ui-datepicker td:has(a.ui-state-hover) .ui-state-default {
    background: #e7f0ff;
    color: #106fe7;
}

#calendar-wrapper .ui-datepicker td.ui-datepicker-current-day:has(a.ui-state-hover) .ui-state-default {
    background: #106fe7;
    color: #ffffff;
}

#calendar-wrapper .ui-datepicker td.ui-datepicker-today {
    border: 0;
}

#calendar-wrapper .ui-datepicker td.ui-datepicker-today .ui-state-default {
    box-shadow: inset 0 0 0 1px #106fe7;
}

#calendar-wrapper .ui-datepicker td.ui-datepicker-current-day.ui-datepicker-today .ui-state-default {
    box-shadow: 0 3px 8px rgba(16, 111, 231, 0.25);
}

/* Shared beta-design action buttons. */
a.rstrbutton,
.roosterin,
.medewerkers button,
.diensten-overzicht button,
.eigendiensten button:not(.rooster-display-toggle__option):not(.vrije-filter),
.overnameruilknop,
.algemeen button,
.verzoeken button,
.vrijgeven button,
.import button,
.aanvullen button:not(.tablinks) {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 36px;
    max-width: 100%;
    padding: 8px 14px;
    overflow: visible;
    border: 1px solid #106fe7;
    border-radius: 10px;
    background: #ffffff;
    color: #106fe7;
    font: 600 14px / 1.15 var(--font-body, "Graphik Web Regular Regular"), Helvetica, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
    position: relative;
    z-index: auto;
    box-shadow: 0 1px 2px rgba(16, 111, 231, 0.08);
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

a.rstrbutton::before,
.roosterin::before,
.medewerkers button::before,
.diensten-overzicht button::before,
.eigendiensten button:not(.rooster-display-toggle__option):not(.vrije-filter)::before,
.overnameruilknop::before,
.algemeen button::before,
.verzoeken button::before,
.vrijgeven button::before,
.import button::before,
.aanvullen button:not(.tablinks)::before {
    display: none !important;
    content: none !important;
}

a.rstrbutton:hover,
a.rstrbutton.clicked,
a.rstrbutton:focus-visible,
.roosterin:hover,
.roosterin:focus-visible,
.medewerkers button:hover,
.medewerkers button:focus-visible,
.diensten-overzicht button:hover,
.diensten-overzicht button:focus-visible,
.eigendiensten button:not(.rooster-display-toggle__option):not(.vrije-filter):hover,
.eigendiensten button:not(.rooster-display-toggle__option):not(.vrije-filter):focus-visible,
.overnameruilknop:hover,
.overnameruilknop:focus-visible,
.algemeen button:hover,
.algemeen button:focus-visible,
.verzoeken button:hover,
.verzoeken button:focus-visible,
.vrijgeven button:hover,
.vrijgeven button:focus-visible,
.import button:hover,
.import button:focus-visible,
.aanvullen button:not(.tablinks):hover,
.aanvullen button:not(.tablinks):focus-visible {
    border-color: #106fe7;
    background: #106fe7;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(16, 111, 231, 0.2);
    transform: translateY(-1px);
}

a.rstrbutton:focus-visible,
.roosterin:focus-visible,
.medewerkers button:focus-visible,
.diensten-overzicht button:focus-visible,
.eigendiensten button:not(.rooster-display-toggle__option):not(.vrije-filter):focus-visible,
.overnameruilknop:focus-visible,
.algemeen button:focus-visible,
.verzoeken button:focus-visible,
.vrijgeven button:focus-visible,
.import button:focus-visible,
.aanvullen button:not(.tablinks):focus-visible {
    outline: 3px solid rgba(16, 111, 231, 0.25);
    outline-offset: 2px;
}

.sticky .roostermenuitem {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    line-height: 1.2;
}

.sticky .roostermenuitem > br {
    display: none;
}

.sticky .roostermenuitem > a.rstrbutton {
    width: 100%;
    margin: 0;
}

/* Softer table frame for the beta roster design. */
.rooster,
.roosteredit {
    border: 1px solid #dbe3ed;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(36, 58, 91, 0.08);
}

.rooster .roosterrow,
.roosteredit .roosterrow {
    border-color: #dbe3ed;
}

.rooster .dienstcell,
.roosteredit .dienstcell {
    border-right-color: #e1e8f0;
}

.rooster .dienstcell:last-child,
.roosteredit .dienstcell:last-child {
    border-right: 0;
}

.rooster .bordertop,
.rooster .roosterrow > .voorstelling,
.rooster .roosterrow > .diensttijd,
.roosteredit .bordertop,
.roosteredit .roosterrow > .voorstelling,
.roosteredit .roosterrow > .diensttijd,
.rooster .bordertb:nth-child(even),
.roosteredit .bordertb:nth-child(even) {
    border-top-color: #dbe3ed;
    border-bottom-color: #dbe3ed;
}

/* Keep individual performances recognisable without returning to black grid lines. */
.rooster .roosterrow:not(.print-header) > .dienstcell.voorstelling,
.roosteredit .roosterrow:not(.print-header) > .dienstcell.voorstelling {
    border-top: 1px solid #c2cfdd;
    background-image: none;
}

/* The outer frame already supplies the top border of the first data row. */
.rooster > input[type="hidden"] + .roosterrow > .dienstcell.voorstelling,
.roosteredit > input[type="hidden"] + .roosterrow > .dienstcell.voorstelling {
    border-top: 0;
}

@media screen and (max-width: 768px) {
    .rooster .roosterrow:not(.print-header),
    .roosteredit .roosterrow:not(.print-header) {
        border-color: #c5d3e1;
    }
}

@media screen and (min-width: 769px) {
    /* Keep every general-board row aligned while the message column gets the remaining width. */
    .algemeen.rooster-cards-desktop {
        --algemeen-columns: 200px clamp(150px, 9vw, 190px) minmax(0, 1fr);
    }

    .algemeen.rooster-cards-desktop section > .row,
    .algemeen.rooster-cards-desktop section > header {
        grid-template-columns: var(--algemeen-columns) !important;
    }

    .contentcontainer.algemeen.rooster-cards-desktop section > .row > .col:not(.commentbox) {
        padding: 10px !important;
    }
}

.algemeen.rooster-cards-desktop section > .row {
    border-color: #dbe3ed;
    background: #ffffff !important;
}

.algemeen.rooster-cards-desktop section > .row > .col {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
}

.algemeen.rooster-cards-desktop section > .row > .col:first-child {
    color: #106fe7;
    font-weight: 600;
}

.algemeen.rooster-cards-desktop section > .row > .col:nth-child(2) {
    color: #334155;
    font-weight: 600;
}

.contentcontainer.algemeen.rooster-cards-desktop section > .row > .commentbox {
    padding: 18px 24px !important;
    border-radius: 10px;
    background: #f4f8ff;
    color: #172554;
    line-height: 1.45;
}

.algemeen.rooster-cards-desktop .commentbox > .material-symbols-outlined {
    margin-top: 10px;
    color: #b83232;
    cursor: pointer;
}

@media screen and (min-width: 769px) {
    .eigendiensten.rooster-cards-desktop .eigen-acties-grid:not(.eigen-acties-grid--request) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .eigendiensten.rooster-cards-desktop .eigen-acties-grid:not(.eigen-acties-grid--request) button {
        padding-right: 10px;
        padding-left: 10px;
        white-space: nowrap;
        overflow-wrap: normal;
    }
}

/* Use the beta action-button style in the colleague-email dialog too. */
.email-collega-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.email-collega-modal__actions button {
    appearance: none;
    box-sizing: border-box;
    display: inline-flex;
    position: relative;
    z-index: 1;
    overflow: visible;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid currentColor;
    border-radius: 10px;
    background: #fff;
    color: #106fe7;
    font: 600 14px / 1.15 var(--font-body, "Graphik Web Regular Regular"), Helvetica, Arial, Verdana, sans-serif;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
    transition: background-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.email-collega-modal__actions button::before {
    display: none !important;
    content: none !important;
}

.email-collega-modal__actions button.email-collega-modal__cancel {
    border-color: #c0392b;
    color: #c0392b;
}

.email-collega-modal__actions button.email-collega-modal__send {
    border-color: #2c6e49;
    color: #2c6e49;
}

.email-collega-modal__actions button.email-collega-modal__cancel:hover,
.email-collega-modal__actions button.email-collega-modal__cancel:focus-visible {
    background: #c0392b;
    color: #fff;
}

.email-collega-modal__actions button.email-collega-modal__send:hover,
.email-collega-modal__actions button.email-collega-modal__send:focus-visible {
    background: #2c6e49;
    color: #fff;
}

.email-collega-modal__actions button:hover,
.email-collega-modal__actions button:focus-visible {
    box-shadow: 0 4px 10px rgba(15, 23, 42, .14);
    transform: translateY(-1px);
}

.email-collega-modal__actions button:focus-visible {
    outline: 3px solid rgba(16, 111, 231, .25);
    outline-offset: 2px;
}

.email-collega-modal__actions button:disabled {
    box-shadow: none;
    transform: none;
}

@media screen and (max-width: 520px) {
    .email-collega-modal__actions {
        justify-content: stretch;
    }

    .email-collega-modal__actions button {
        flex: 1 1 100%;
        min-width: 0;
    }
}

/* Keep the general-board instructions compact like the beta service note. */
.algemeen-instructies {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #737373;
}

.algemeen-instructies__heading {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #737373;
}

.algemeen-instructies__heading .material-symbols-outlined {
    flex: 0 0 auto;
    color: #99998a;
    font-size: 17px;
}

.algemeen-instructies__heading h2 {
    min-width: 0;
    margin: 0;
    color: #737373;
    font: 600 .9rem / 1.2 var(--font-body, "Graphik Web Regular Regular"), Helvetica, Arial, sans-serif;
    text-align: left;
}

.algemeen-instructies__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 14px;
    min-width: 0;
}

.algemeen-instructies__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    min-width: 0;
    padding: 0 16px;
    border: 0;
    border-left: 1px solid #dbe3ed;
    border-radius: 0;
    background: transparent;
    color: #737373;
}

.algemeen-instructies__item:first-child {
    padding-left: 0;
    border-left: 0;
}

.algemeen-instructies__item > .material-symbols-outlined {
    color: #106fe7;
    font-size: 18px;
    line-height: 1.2;
}

.algemeen-instructies__item strong {
    display: block;
    margin-bottom: 3px;
    color: #475569;
    font-size: .8rem;
    line-height: 1.2;
}

.algemeen-instructies__item p {
    margin: 0;
    font-size: .78rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.algemeen-instructies__item--important {
    grid-column: 1 / -1;
    padding: 14px 0 0;
    border-top: 1px solid #efd7ce;
    border-left: 0;
}

.algemeen-instructies__item--important strong {
    color: #8f3d2e;
}

.algemeen-instructies__item--important > .material-symbols-outlined {
    color: #b83232;
}

@media screen and (max-width: 720px) {
    .algemeen-instructies {
        gap: 8px;
    }

    .algemeen-instructies__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .algemeen-instructies__item,
    .algemeen-instructies__item:first-child {
        padding: 10px 0 0;
        border-top: 1px solid #dbe3ed;
        border-left: 0;
    }

    .algemeen-instructies__item:first-child {
        padding-top: 0;
        border-top: 0;
    }
}

/* Modern medewerkers: show the profile image first and use the mail action instead of an email column. */
.medewerkers.rooster-cards-desktop .medewerkers-content section > header > .col:nth-child(4),
.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(4) {
    display: none !important;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > header > .col:nth-child(1),
.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(1) {
    order: 2;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > header > .col:nth-child(2),
.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(2) {
    order: 1;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > header > .col:nth-child(3),
.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(3) {
    order: 3;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > header > .col:nth-child(5),
.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(5) {
    order: 4;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > header > .col:nth-child(6),
.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(6) {
    order: 5;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > header > .col:nth-child(7),
.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(7) {
    order: 6;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > header > .col:nth-child(8),
.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(8) {
    order: 7;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > header > .col:nth-child(9),
.medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(9) {
    order: 8;
}

@media screen and (min-width: 769px) {
    .medewerkers.rooster-cards-desktop:not(.medewerkers--admin) {
        --medewerkers-columns: minmax(64px, 72px) minmax(0, 1.35fr) minmax(0, .9fr) minmax(100px, .6fr) minmax(180px, 1.35fr) minmax(48px, 56px);
    }

    .medewerkers.rooster-cards-desktop.medewerkers--admin {
        --medewerkers-columns: minmax(64px, 72px) minmax(0, 1.35fr) minmax(0, .9fr) minmax(100px, .6fr) minmax(180px, 1.35fr) repeat(3, minmax(48px, 56px));
    }

    .medewerkers.rooster-cards-desktop .medewerkers-content section > .row {
        grid-template-columns: var(--medewerkers-columns) !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1100px) {
    .medewerkers.rooster-cards-desktop .medewerkers-content section > .row {
        grid-template-columns: minmax(64px, 72px) minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.45fr) !important;
    }
}

@media screen and (min-width: 1101px) {
    .medewerkers.rooster-cards-desktop .medewerkers-content section > .row > .col:nth-child(6) .vakantieline {
        white-space: nowrap;
        overflow-wrap: normal;
    }
}

@media screen and (max-width: 768px) {
    .medewerkers.rooster-cards-desktop .medewerkers-content section > .row {
        display: flex !important;
        flex-direction: column;
    }
}

/* Medewerkers: a compact, shared control layout for modern and classic views. */
.medewerkers-page-heading {
    min-height: 0 !important;
    margin: 0;
    padding: 14px 0 8px;
}

.medewerkers-page-heading > .aligncenter {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.medewerkers-page-heading h1 {
    margin: 0;
}

.contentcontainer.medewerkers {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 28px !important;
    overflow: visible !important;
}

.medewerkers-layout {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.medewerkers-content,
.medewerkers-filters {
    order: 0;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.medewerkers-content {
    order: 1;
    overflow: visible !important;
}

.medewerkers-filters {
    order: 0;
}

.medewerkers-content section {
    min-width: 0 !important;
}

.medewerkeradd {
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.medewerkeradd > a,
.medewerkeradd button {
    margin: 0 !important;
}

.medewerkeradd button {
    min-height: 38px;
}

.medewerkers-layout > .medewerkeradd {
    align-self: stretch;
    width: 100%;
    justify-content: flex-end;
}

.employee-list-toolbar {
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 16px;
}

.employee-list-search__form {
    flex: 1 1 auto;
    max-width: none;
}

.employee-list-search__controls input {
    min-height: 44px;
}

.employee-list-search__controls button {
    min-height: 44px;
}

.employee-list-size {
    margin-bottom: 0;
}

.medewerkers-filter-panel {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dbe3ed;
    border-radius: 12px;
    background: #f8fafc;
}

.medewerkers-filter-panel > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    box-sizing: border-box;
    cursor: pointer;
    color: #243b5a;
    font-weight: 700;
    list-style: none;
}

.medewerkers-filter-panel > summary::-webkit-details-marker {
    display: none;
}

.medewerkers-filter-panel > summary::after {
    margin-left: auto;
    color: #64748b;
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    line-height: 1;
    transition: transform .2s ease;
}

.medewerkers-filter-panel[open] > summary::after {
    transform: rotate(180deg);
}

.medewerkers-filter-panel > summary .material-symbols-outlined {
    color: #106fe7;
    font-size: 20px;
}

.medewerkers-filter-panel[open] > summary {
    border-bottom: 1px solid #dbe3ed;
}

.medewerkers-filter-panel form {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: start;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
    float: none !important;
}

.medewerkers-filter-panel .filter-group {
    min-width: 0;
    gap: 6px;
}

.medewerkers-filter-panel .filter-title {
    margin: 0 0 2px;
    color: #526276;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.medewerkers-filter-panel .filter-group > label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    margin: 0 !important;
    padding: 6px 9px;
    box-sizing: border-box;
    border: 1px solid #e1e8f0 !important;
    border-radius: 8px;
    background: #fff;
}

.medewerkers-filter-panel .filter-group > label:has(input):hover,
.medewerkers-filter-panel .filter-group > label:has(input):focus-within {
    border-color: #106fe7 !important;
}

.medewerkers-filter-panel .filter-group > label input {
    margin: 0 !important;
}

.medewerkers-filter-panel .filter-group > label > button {
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #243b5a;
    font: inherit;
    text-align: left;
}

.medewerkers-filter-panel .filter-group > label > button::before {
    display: none;
}

.medewerkers-filter-panel label.employee-type-filter--volunteer { border-left: 3px solid #22a06b !important; }
.medewerkers-filter-panel label.employee-type-filter--staff { border-left: 3px solid #3478d4 !important; }
.medewerkers-filter-panel label.employee-type-filter--manager { border-left: 3px solid #8a4bb8 !important; }

.medewerkers-filter-panel .filter-stats {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid #dbe3ed;
}

.medewerkers .row.medewerker-type--volunteer,
.medewerkers .row.medewerker-type--staff,
.medewerkers .row.medewerker-type--manager {
    border-left: 1px solid #e0e6ee !important;
}

.medewerkers.rooster-cards-desktop .medewerkers-content section > .row {
    box-shadow: 0 1px 4px rgba(19, 33, 60, .04);
}

@media screen and (max-width: 900px) {
    .medewerkers-page-heading {
        padding: 10px 0 6px;
    }

    .employee-list-toolbar {
        align-items: stretch;
    }

    .employee-list-search__controls {
        flex-wrap: wrap;
    }

    .employee-list-search__controls input {
        flex-basis: 100%;
    }

    .employee-list-size {
        align-self: flex-start;
    }
}

@media screen and (max-width: 560px) {
    .contentcontainer.medewerkers {
        padding-bottom: 16px !important;
    }

    .medewerkers-filter-panel form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .medewerkers-filter-panel .filter-stats {
        grid-column: auto;
    }

    .medewerkeradd {
        justify-content: flex-start;
    }

    .medewerkers-layout > .medewerkeradd {
        justify-content: flex-start;
    }

    .medewerkeradd > a,
    .medewerkeradd button {
        max-width: 100%;
    }
}

/* Medewerkers refinement: one clear column and compact filter chips. */
.medewerkers-page-heading--modern > .aligncenter {
    justify-content: flex-start;
    text-align: left;
}

.medewerkers-page-heading--modern h1 {
    text-align: left;
}

.contentcontainer.rooster-cards-desktop .medewerkers-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 14px;
}

.contentcontainer.rooster-cards-desktop .medewerkers-filters,
.contentcontainer.rooster-cards-desktop .medewerkers-content {
    width: 100% !important;
    max-width: none !important;
}

.medewerkers-filter-panel form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px 24px;
}

.medewerkers-filter-panel .filter-group {
    display: flex;
    flex: 1 1 220px;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    gap: 6px;
}

.medewerkers-filter-panel .filter-title {
    flex: 0 0 100%;
}

.medewerkers-filter-panel .filter-group > label {
    flex: 0 0 auto;
    width: auto;
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.medewerkers-filter-panel .filter-stats {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.medewerkers-filter-panel .filter-stats .filter-title {
    flex-basis: 100%;
}

.medewerkers-filter-panel .filter-stats .filter-stat-row {
    flex: 1 1 150px;
    min-width: 0;
}

@media screen and (max-width: 700px) {
    .medewerkers-filter-panel form {
        flex-direction: column !important;
        gap: 12px;
    }

    .medewerkers-filter-panel .filter-group,
    .medewerkers-filter-panel .filter-stats {
        width: 100%;
        flex: 1 1 auto;
    }

    .medewerkers-filter-panel .filter-stats .filter-stat-row {
        flex-basis: 100%;
    }
}

/* Shared modern page title treatment. */
.modern-page-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-width: 0;
    margin: 0 0 24px;
}

.modern-page-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    color: #1f3556;
    font: normal clamp(34px, 4vw, 50px) / 1 var(--font-heading, "BigNoodleTitling") !important;
    letter-spacing: .01em;
    text-align: left !important;
}

.modern-page-title .material-symbols-outlined {
    flex: 0 0 auto;
    color: #106fe7 !important;
    font-size: .8em !important;
}

.modern-page-heading__description {
    max-width: 760px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
}

/* Keep the section switcher identical on General and Documents. */
.algemeen-page__subnav,
.documents-page--modern .documents-page__subnav {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    padding: 4px;
    border: 1px solid #dbe3ed;
    border-radius: 10px;
    background: #f3f6fa;
    color: #8190a6;
    font: 14px / 1.2 var(--font-body, "Graphik Web Regular Regular"), Helvetica, Arial, sans-serif;
}

.documents-page--modern .documents-page__subnav {
    margin: 0;
}

.documents-page--modern .documents-page__subnav > a,
.documents-page--modern .documents-page__subnav > strong,
.algemeen-page__subnav > a,
.algemeen-page__subnav > strong {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 7px;
    white-space: nowrap;
}

.documents-page--modern .documents-page__subnav > strong,
.algemeen-page__subnav > strong {
    background: #fff;
    color: #1f3556;
    box-shadow: 0 1px 4px rgba(36, 58, 91, .1);
    font-weight: 700;
}

.documents-page--modern .documents-page__subnav > span,
.algemeen-page__subnav > span {
    display: none;
}

.documents-page--modern .documents-page__subnav > a,
.algemeen-page__subnav > a {
    color: #64748b;
    text-decoration: none;
}

.documents-page--modern .documents-page__subnav > a:hover,
.documents-page--modern .documents-page__subnav > a:focus-visible,
.algemeen-page__subnav > a:hover,
.algemeen-page__subnav > a:focus-visible {
    background: #eaf2fc;
    color: #106fe7;
}

@media screen and (max-width: 520px) {
    .algemeen-page__subnav,
    .documents-page--modern .documents-page__subnav {
        width: 100%;
    }

    .algemeen-page__subnav > a,
    .algemeen-page__subnav > strong,
    .documents-page--modern .documents-page__subnav > a,
    .documents-page--modern .documents-page__subnav > strong {
        flex: 1 1 0;
        justify-content: center;
    }
}

/* Shared title/month layout for service lists. */
.rooster-overzicht-sticky,
.diensten-overzicht-sticky {
    overflow: visible;
    padding: 20px 0 18px;
}

.rooster-overzicht-sticky > div > .aligncenter,
.diensten-overzicht-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px) minmax(0, 1fr);
    align-items: center;
    column-gap: 24px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.rooster-overzicht-sticky > div > .aligncenter > h1,
.diensten-overzicht-title {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 10px;
    min-width: 0;
    margin: 0;
    color: #1f3556;
    font: normal clamp(34px, 4vw, 50px) / 1 var(--font-heading, "BigNoodleTitling") !important;
    text-align: left !important;
}

.rooster-overzicht-sticky > div > .aligncenter > h1 .material-symbols-outlined,
.diensten-overzicht-title .material-symbols-outlined {
    flex: 0 0 auto;
    color: #106fe7 !important;
    font-size: .8em;
}

.rooster-overzicht-sticky .rooster-display-toggle {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    flex-wrap: nowrap;
    width: min(100%, 360px);
    margin: 10px 0 0;
}

.rooster-overzicht-sticky .rooster-display-toggle__option {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
}

.rooster-overzicht-sticky .rooster-overzicht-subtitle {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

.rooster-overzicht-sticky .rooster-month-picker {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-items: center;
    margin: 0;
}

.diensten-overzicht-period .rooster-month-picker {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: center;
    align-items: center;
    margin: 0;
}

.diensten-overzicht-period {
    display: contents;
}

.diensten-overzicht-title {
    grid-column: 1;
}

.diensten-overzicht-period .rooster-month-picker {
    grid-column: 2;
}

@media screen and (max-width: 700px) {
    .rooster-overzicht-sticky > div > .aligncenter,
    .diensten-overzicht-header {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 12px;
    }

    .rooster-overzicht-sticky > div > .aligncenter > h1,
    .diensten-overzicht-title,
    .rooster-overzicht-sticky .rooster-display-toggle,
    .rooster-overzicht-sticky .rooster-overzicht-subtitle,
    .rooster-overzicht-sticky .rooster-month-picker,
    .diensten-overzicht-period .rooster-month-picker {
        grid-column: 1;
        grid-row: auto;
    }

    .rooster-overzicht-sticky .rooster-month-picker,
    .diensten-overzicht-period .rooster-month-picker {
        justify-self: center;
    }
}

.algemeen-page__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: flex-start;
    gap: 20px;
    margin: 0 0 24px;
}

.algemeen-page__header > div:first-child {
    grid-column: 1;
    min-width: 0;
}

.algemeen-page__header .algemeen-page__subnav {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin: 0;
}

.algemeen-page__header h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #1f3556;
    font: normal clamp(34px, 4vw, 50px) / 1 var(--font-heading, "BigNoodleTitling");
    text-align: left;
}

.algemeen-page__header h1 .material-symbols-outlined {
    color: #106fe7;
    font-size: .8em;
}

.algemeen-page__header p {
    max-width: 760px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
}

@media screen and (max-width: 720px) {
    .algemeen-page__header {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 16px;
        margin-bottom: 20px;
    }

    .algemeen-page__header .algemeen-page__subnav {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Keep the modern page-size control identical to the classic control. */
.medewerkers.rooster-cards-desktop .employee-list-size {
    display: flex;
    flex: 0 0 110px;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    margin: 0;
}

.medewerkers.rooster-cards-desktop .employee-list-size span {
    margin: 0;
    white-space: nowrap;
}

.medewerkers.rooster-cards-desktop .employee-list-size select {
    width: 110px;
    min-width: 110px !important;
    min-height: 42px;
    height: 42px;
    margin: 0;
    padding: 8px 12px;
    box-sizing: border-box;
    text-align-last: right;
}

.rooster-empty-action {
    margin-bottom: 24px !important;
}

/* Use one consistent starting offset for every modern page shell. */
body.rooster-ui-redesign .content > .algemeen-page__header,
body.rooster-ui-redesign .content > .modern-page-heading,
body.rooster-ui-redesign .content > .form-container {
    margin-top: 28px !important;
}

body.rooster-ui-redesign .content > .medewerkers-page-heading--modern {
    margin-top: 28px !important;
    padding-top: 0 !important;
}

body.rooster-ui-redesign .content > .documents-page--modern,
body.rooster-ui-redesign .content > .settings-page--modern,
body.rooster-ui-redesign .content > .account-page,
body.rooster-ui-redesign .content > .add-page--modern,
body.rooster-ui-redesign .content > .match-page--modern,
body.rooster-ui-redesign .content > .import-page--modern,
body.rooster-ui-redesign .content > .release-page--modern,
body.rooster-ui-redesign .content > .trailer-check-page--modern,
body.rooster-ui-redesign .content > .aa-page--modern,
body.rooster-ui-redesign .content > .aa-result-page--modern,
body.rooster-ui-redesign .content > .schema-page--modern,
body.rooster-ui-redesign .content > .sticky.rooster-overzicht-sticky,
body.rooster-ui-redesign .content > .sticky.diensten-overzicht-sticky {
    margin-top: 28px !important;
    padding-top: 0 !important;
}

@media screen and (max-width: 700px) {
    body.rooster-ui-redesign .content > .algemeen-page__header,
    body.rooster-ui-redesign .content > .modern-page-heading,
    body.rooster-ui-redesign .content > .medewerkers-page-heading--modern,
    body.rooster-ui-redesign .content > .form-container,
    body.rooster-ui-redesign .content > .documents-page--modern,
    body.rooster-ui-redesign .content > .settings-page--modern,
    body.rooster-ui-redesign .content > .account-page,
    body.rooster-ui-redesign .content > .add-page--modern,
    body.rooster-ui-redesign .content > .match-page--modern,
    body.rooster-ui-redesign .content > .import-page--modern,
    body.rooster-ui-redesign .content > .release-page--modern,
    body.rooster-ui-redesign .content > .trailer-check-page--modern,
    body.rooster-ui-redesign .content > .aa-page--modern,
    body.rooster-ui-redesign .content > .aa-result-page--modern,
    body.rooster-ui-redesign .content > .schema-page--modern,
    body.rooster-ui-redesign .content > .sticky.rooster-overzicht-sticky,
    body.rooster-ui-redesign .content > .sticky.diensten-overzicht-sticky {
        margin-top: 20px !important;
    }
}
