
.min-height-2-lines {
    min-height: calc(2em * var(--bs-body-line-height));
    /*line-height: var(--bs-body-line-height);*/
}

.form-control.invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    background-color: #fff5f5;
}

    .form-control.invalid:focus {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
    }

/* Voor invalid labels/text */
.validation-message,
.text-muted.invalid,
.form-label.invalid {
    color: #dc3545 !important;
    font-weight: 500;
}

.form-check-input-lg {
    transform: scale(1.5);
    margin: 0.5rem;
}

.list-group-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
}

.text-red {
    color: #dc3545 !important;
}

/* Klikbare breadcrumb-links altijd in de linkkleur tonen (niet alleen bij hover) */
.breadcrumb-item a {
    color: var(--bs-primary);
}

/* HtmlEditor (Quill) laten aansluiten op de form-controls */
.html-editor .ql-toolbar.ql-snow {
    border-color: var(--bs-border-color);
    border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
}

.html-editor .ql-container.ql-snow {
    border-color: var(--bs-border-color);
    border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
}

.html-editor .ql-toolbar .ql-header {
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

/* Alle toolbarknoppen in de tekstkleur van het thema (zelfde als de form-labels); hover/actief blijft Quills blauw (die regels zijn specifieker) */
.html-editor .ql-toolbar button {
    color: var(--bs-body-color);
}

    .html-editor .ql-toolbar button .ql-stroke {
        stroke: var(--bs-body-color);
    }

    .html-editor .ql-toolbar button .ql-fill {
        fill: var(--bs-body-color);
    }

.html-editor .ql-editor {
    min-height: 220px;
}

.html-editor .ql-editor h2 {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

    .html-editor .ql-editor h2:first-child {
        margin-top: 0;
    }

/* Custom background colors */
.bg-light-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-primary-rgb), 0.5) !important;
}

.btn-move {
    margin: 0.25rem !important;
}

    .btn-move:disabled {
        background-color: #e9ecef !important;
        border-color: #e9ecef !important;
        color: #6c757d !important;
        opacity: 0.8;
    }

    .btn-move.btn-soft-success:disabled {
        background-color: #e9ecef !important;
        border-color: #e9ecef !important;
        color: #6c757d !important;
    }

    .btn-move.btn-soft-danger:disabled {
        background-color: #e9ecef !important;
        border-color: #e9ecef !important;
        color: #6c757d !important;
    }
