form .form-label {
    color: #999;
    font-size: 12px;
    margin: 0;
}

/* 1) Zorg dat clicks op de <th> van de filter-rij niet doorgegeven worden */
#ordersTable.dataTable thead tr.filter-row th {
    pointer-events: none;
}

/* 2) Maar geef ze wél terug aan de form-elementen erin */
#ordersTable.dataTable thead tr.filter-row th * {
    pointer-events: auto;
}

.brand-logo {
    max-height: 20px;
    margin: 8px;
    margin-top: 4px;
    opacity: 0.8;
}


.brand-logo:hover {
    opacity: 1;
}

#notificationsList .read {
    opacity: 0.5;
}



/* 1) Zorg dat html/body geen onnodige scroll hebben en ruimte houden voor de footer */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0 0 3.5rem 0;
    /* bottom padding = hoogte van je footer */
    overflow-x: hidden;
}

/* 2) Pagina-structuur: flex-column zodat de login-container de vrije ruimte oppakt */
.login-page {
    display: flex;
    flex-direction: column;

}

/* 3) Container voor de login-box */
.login-container {
    flex: 1;
    /* vult de ruimte boven de footer */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: clamp(2rem, 10vh, 6rem);
}

/* 4) De login-box zelf (ongewijzigd) */
.login-box {
    background-color: #f8f9fa;
    padding: 2rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    min-width: 300px;
    max-width: 50vw;
    width: 100%;
}

/* 5) Logo binnen de box */
.login-logo {
    width: 4rem;
    height: auto;
}

/* 6) Fixed footer */
.login-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -0.3rem 0.6rem rgba(0, 0, 0, 0.05);
    padding: 2rem 1rem;
    z-index: 999;
    text-align: center;
    font-size: 0.875rem;
}

.no-wa {
    cursor: pointer;
}

/* Maak de offcanvas hoger en scrollbaar */
.offcanvas-top {
    --bs-offcanvas-height: 99vh;
    /* 90% van je viewport */
}

/* Zorg dat de body binnen de offcanvas scrollt */
.offcanvas-top .offcanvas-body {
    overflow-y: auto;
}

#edit_components-repeater>div {
    margin: 0;
    padding: 0.5rem;
    border-radius: 0.5rem;

}

#edit_components-repeater>div:nth-of-type(odd) {
    background-color: rgb(248, 249, 250);
}

#edit_components-repeater .remove-component-btn {
    height: 100%;
    padding-top: 0;
}

#edit_components-repeater .form-check-input {
    cursor: pointer;
}

#edit_components-repeater .col-auto {
    flex: 0 0 auto;
    width: auto;
    border-left: 1px solid #ccc;
    height: 24px;
    padding: 0 20px;
}

.navbar .username {
    font-size: 11px;
}

td.select-checkbox {
    vertical-align: middle !important;
}

td.select-checkbox::before {
    vertical-align: middle !important;
    margin-top: 0 !important;
    transform: translateY(2px);
    /* of 3px, fijn afstellen */
}

.intable-info {
    max-width: 300px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-slot .preview {
    /* lege src opvangen en icoon tonen: */
}

.image-slot .preview[src=""] {
    font-family: "Font Awesome 5 Free";
    /* of jouw FA-font */
    font-weight: 900;
    font-size: 2rem;
    color: #777;
    /* centreer icoon: */
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f067";
    /* unicode voor fa-plus in FA5 */
}


body {
    /* fallback voor oude browsers */
    background-color: #ffffff;

    /* subtiel radial gradient, lichtgrijs in het centrum naar wit aan de randen */
    background-image: radial-gradient(circle at center,
            #f8f9fa 10%,
            #ffffff 90%);
}


button.notifications-mark-all-read {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    color: #495057;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}


main.container {
    background-color: white;
    border-radius: 6px;
}


.navbar.offcanvas-header {
    padding: 15px;
    border: 0;
}

.offcanvas-body .buttonbar {
    background-image: radial-gradient(circle at center,
            #f8f9fa 10%,
            #ffffff 90%);
    box-shadow:
        0 1px 1px rgba(0, 0, 0, 0.04),
        0 3px 6px rgba(0, 0, 0, 0.06);

}

.offcanvas-header {
    background-image: radial-gradient(circle at center,
            #f8f9fa 40%,
            #ffffff 60%);
}

/* -------------------------------------------------------------
   Generic DataTable styling for all .datatable-clean tables
--------------------------------------------------------------*/

/* Kolomzoekvelden */
.datatable-clean thead input {
    width: 100%;
    padding: .25rem .35rem;
    font-size: .85rem;
    line-height: 1.2;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
    background-color: #fff;
    color: #333;
}

.datatable-clean thead .search-disabled input {
    display: none;
}

/* Onderbalk (info + paginering) */
.dt-bottom .dataTables_info {
    padding-top: .35rem;
    font-size: .85rem;
    color: #555;
}

/* Lengte-selector */
.dt-bottom .dataTables_length label {
    margin: 0;
    font-size: .85rem;
    color: #555;
}

.dt-bottom .dataTables_length select.form-select,
.dt-bottom .dataTables_length select {
    padding: .15rem 1.7rem .15rem 1.2rem;
    font-size: .875rem;
    height: calc(1.6rem + 2px);
    border-radius: .25rem;
    border: 1px solid rgba(0, 0, 0, .15);
}

/* Responsive optische balans */
@media (max-width: 768px) {
    .datatable-clean thead input {
        font-size: .8rem;
    }

    .dt-bottom .dataTables_info {
        font-size: .8rem;
    }
}

/* DataTables bottom bar – laat Bootstrap .row het werk doen */
.dataTables_wrapper .dt-bottom {
    padding-top: .35rem;
    /* GEEN display:flex hier */
}

.dataTables_wrapper .dt-bottom .dataTables_info {
    padding-top: .2rem;
    color: #6b7280;
}

.dataTables_wrapper .dt-bottom .dataTables_length label {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.dataTables_wrapper .dt-bottom .dataTables_length select {
    padding: .15rem 1.7rem .15rem 1.2rem;
    font-size: .875rem;
    height: calc(1.6rem + 2px);
}

/* duw de paginering naar rechts binnen de rechter kolom */
.dataTables_wrapper .dt-bottom .dataTables_paginate {
    margin-left: auto;
}

.dataTables_info {
    display: none;
}


#planning-repeater .btn-close {
    top: 5px;
    right: 5px;
}


.formcheck-wrapper {
    height: 100%;
    padding-top: 6px;
    padding-bottom: 2px;
}


.page-header--bar {
    background: #f6f7fb;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: .5rem;
    padding: .5rem .75rem;
}




/* Brede containers op grote schermen */
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1800px;
        width: 92vw;
    }
}

/* Kleinere schermen altijd full-width */
@media (max-width: 1200px) {
    .container,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 100%;
    }
}




/* Basis voor alle "grote" app-tabellen */
.table-app {
    font-size: 0.84rem;      /* ~13–13.5px, net boven de 12.x die je wilde */
}

.table-app th,
.table-app td {
    padding: 0.45rem 0.6rem;
    vertical-align: top;
}

/* Subtiele zebra + hover */
.table-app tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.015);
}
.table-app tbody tr:hover {
    background-color: rgba(33, 37, 41, 0.05);
}

/* Filter inputs in thead */
.table-app thead input,
.table-app thead select {
    width: 100%;
    padding: 0.25rem 0.35rem;
    font-size: 0.8rem;
    line-height: 1.2;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

/* DataTables bottom-bar generiek */
.dt-bottom .row {
    align-items: center;
}
.dt-bottom .dataTables_info {
    padding-top: 0.35rem;
}
.dt-bottom .col-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.dt-bottom .col-right .dataTables_length {
    flex: 0 0 auto;
}
.dt-bottom .col-right .dataTables_paginate {
    margin-left: auto;
}

.dataTables_length label {
    margin: 0;
    font-size: 13px;
    color: #555;
}
.dataTables_length select.form-select,
.dataTables_length select {
    padding: 0.15rem 1.7rem 0.15rem 1.2rem;
    font-size: 0.875rem;
    height: calc(1.6rem + 2px);
}


.order-id {
    font-size: 12.6px;      /* of 13px als je wilt matchen met titel */
    line-height: 1.2;
}
