body {color: var(--gray-dark) !important;}
.hide, .mapson {display: none;}


.form-control {
    display: block;
    width: 100%;
    /*height: calc(1.5em + .75rem + 2px);*/
    padding: 12px 10px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='0 0 12 12'%3e%3cpath d='M12 6a6 6 0 1 1-12 0 6 6 0 0 1 12 0zM6.93 4.412 6.58 7.64H5.42l-.35-3.228h1.86zM6 8.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.25);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

form .row, form .row + .row {margin-top: 0; margin-bottom: 15px;}
.cus-form .row, .cus-form .row + .row {margin-top: 0; margin-bottom: 15px;}
.cus-form-no-margin .row, .cus-form-no-margin .row + .row {margin-top: 0; margin-bottom: 0;}

.cus-alternate {background-color: #eee;}
.table > thead > tr > th {font-family: "Roboto", Helvetica, Arial, sans-serif;}
.btn {padding: 12px 15px;}
.btn-auto {width: auto !important; min-width: unset;}
textarea {height: 150px;}

div:where(.swal2-container) div:where(.swal2-popup) {font-size: 1.5rem !important;}

fieldset {border: 1px solid #ddd; padding: 15px;}
legend {display: inline-block; width: auto; padding: 10px; font-weight: bold;}

.cus-compact-table {width: 100%; border-collapse: collapse; font-size: 14px;}
.cus-compact-table th, .cus-compact-table td {padding: 5px !important; font-size: 14px !important;}
.cus-compact-table .btn {padding: 5px 10px;}

.cus-compact-table thead th {
    position: sticky;
    top: 0;
    background-color: #fff; /* of een kleur die past bij je design */
    z-index: 2; /* zodat de header boven de rijen blijft */
    border-bottom: 2px solid #ddd;
}

/* Eventueel: scrollbare container rond de tabel */
.table-scroll-container {
    max-height: 600px; /* pas aan naar wens */
    overflow-y: auto;
}

.badge {font-size: 1.5rem;}


/* Basis wrapper */
.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-collapse: separate;
}

/* Tekst of iconen vóór input */
.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 2rem;
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-right: 0; /* sluit mooi aan op input */
    border-radius: 0.25rem 0 0 0.25rem;
}

code {font-size: 14px;}

.table > tbody > tr > th, .table > tbody > tr > td, .table > tfoot > tr > th, .table > tfoot > tr > td {padding: 10px 5px 10px;}
.cus-btn-inline {width: auto !important; display: inline-block !important; min-width: unset !important;}




@media (min-width: 576px) {
    .table > thead > tr > th {padding: 10px 5px 10px; text-align: left;}
}

@media (min-width: 1200px) {
    * + .btn {margin-top: 0;}
}