/* Rotes Menü */
.menue-rot { background-color: #b00020; }
.menue-rot .nav-link.active { font-weight: 600; border-bottom: 2px solid #fff; }

:root { --bs-link-color-rgb: 150, 0, 28; --bs-link-hover-color-rgb: 110, 0, 20; }

/* Menü-Schalter ohne JavaScript 
.menue-schalter { position: absolute; opacity: 0; width: 1px; height: 1px; }
.menue-schalter + label { cursor: pointer; }
.menue-schalter:focus-visible + label { outline: 3px solid #fff; }
@media (max-width: 1199.98px) {
    .menue-schalter:checked ~ .menue-inhalt { display: block; }
}*/

/* Menü-Schalter ohne JavaScript */
.menue-schalter {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.menue-schalter + label {
    cursor: pointer;
}

.menue-schalter:focus-visible + label {
    outline: 3px solid #fff;
}

@media (max-width: 1199.98px) {
    .navbar .menue-inhalt {
        display: none;
    }

    .navbar .menue-schalter:checked ~ .menue-inhalt {
        display: block;
        flex-basis: 100%;
    }
}



.mandant-logo { max-height: 2.5rem; max-width: 7rem; object-fit: contain; vertical-align: middle; border-radius: .25rem; }
.navbar .mandant-logo { background: #fff; padding: 2px; }

.sortier-knopf { background: none; border: 0; padding: 0; font-weight: 600; white-space: nowrap; color: inherit; }
.sortier-knopf span { font-size: .75em; opacity: .6; }

.modal.d-block { overflow-y: auto; }
.modal-content > form { display: flex; flex-direction: column; flex: 1 1 auto; }

.kennzahl { border-top: 4px solid #b00020; }

.validation-message { color: var(--bs-danger); font-size: .875em; }
.invalid { border-color: var(--bs-danger) !important; }

h1:focus { outline: none; }

/* Touch-Geräte: größere Bedienflächen */
@media (pointer: coarse) {
    .btn-sm { min-height: 2.5rem; }
    .sortier-knopf { min-height: 2.5rem; }
}

#blazor-error-ui {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 2000;
    background: #fff3cd; padding: .75rem 1rem; box-shadow: 0 -1px 4px rgba(0,0,0,.2);
}
