/**
 * FWLink-Farben für Badges und Utilities.
 * Früher direkt in bootstrap.min.css (v5.0.2) eingetragen, vor dem Update auf Bootstrap 5.3.3.
 */
.badge.bg-primary,
.bg-primary.badge {
    background-color: #948500 !important;
    color: #fff !important;
}

.badge.bg-secondary,
.bg-secondary.badge {
    background-color: #919091 !important;
    color: #fff !important;
}

.badge.bg-danger,
.bg-danger.badge {
    background-color: #ff0000 !important;
    color: #fff !important;
}

/* Flash-Toasts: dezentes Overlay über dem Inhalt, kein Layout-Shift */
main > #Notifications {
    position: fixed;
    top: calc(var(--fwlink-navbar-height, 3.5rem) + 0.35rem);
    left: 0;
    right: 0;
    z-index: 1090;
    padding: 0 1rem !important;
    pointer-events: none;
    margin: 0;
    min-height: 0;
}

main > #Notifications:empty {
    height: 0;
    padding: 0 !important;
    overflow: visible;
}

main > #Notifications .fwlink-flash-toast {
    pointer-events: auto;
    max-width: 36rem;
    margin: 0 auto;
    padding: 0.45rem 2rem 0.45rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.35;
    border: 0;
    border-radius: 0.375rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
    opacity: 0.96;
}

main > #Notifications .fwlink-flash-toast .btn-close {
    padding: 0.55rem;
    opacity: 0.65;
}

main > #Notifications .fwlink-flash-toast.alert-success {
    background-color: rgba(212, 237, 218, 0.97);
    color: #0f5132;
}

main > #Notifications .fwlink-flash-toast.alert-danger {
    background-color: rgba(248, 215, 218, 0.97);
    color: #842029;
}

main > #Notifications .fwlink-flash-toast-title {
    font-weight: 600;
}

/* Doppelprüfung Ziel-URL: normal unterhalb des Eingabefelds (darf Layout verschieben) */
.fwlink-target-status .alert {
    margin-bottom: 0;
}
