.table-cell-scroll {
    overflow: scroll;
    white-space: break-spaces;
    height: 200px;
    width: 220px;
}

#nbBaseToast {
    position:fixed;
    top:0;
    right:0;
}

.dropdown-menu {
    overflow: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.hide {
    display: none !important;
}

.navbar {
    background-color: var(--ng-color-secondary);
    min-height: 56px;
}
.nav-link i {
    width: 21px;
}
.navbar-brand {
    display: flex;
}
.th-table-search-id {
    width: 150px;
}

.th-table-action {
    min-width: 100px;
    max-width: 200px;
}

.form-table-search-input {
    width: 150px;
}

.cursor-pointer {
    cursor: pointer;
}

.form-floating .required::after {
    content: " *";
    color: red;
    font-weight: bold;
}

label:has(+ input[required])::after,
label:has(~ input[required])::after,
label:has(+ select[required])::after,
label:has(~ select[required])::after,
label:has(+ textarea[required])::after,
label:has(~ textarea[required])::after {
    content: " *";
    color: red;
    margin-left: 2px;
}

.form-check:has(input[required]) label::after,
.form-group:has(input[required]) label::after, /* für ältere Bootstrap-Versionen */
.mb-3:has(input[required]) label::after {
    content: " *";
    color: red;
    margin-left: 2px;
}

.dataTable input:not(:placeholder-shown):not([type="checkbox"]):not([type="radio"]):not([type="date"]),
.dataTable textarea:not(:placeholder-shown) {
    /* Setzt einen blauen Rahmen (wie Bootstrap Primary/Focus) */
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

/* Speziell für <select>-Elemente, die einen Wert ungleich leer haben */
.dataTable select:not(:has(option[value=""]:checked)) {
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

.card .autoComplete_wrapper > input {
    width: 100% !important; /* !! Notfalls mit !important arbeiten */
    /* Optional: Fügen Sie 'max-width: 100%;' hinzu, falls nötig */
}

#divAutocompletePassengers .autoComplete_wrapper {
    width: 100% !important; /* !! Notfalls mit !important arbeiten */
}

#colAutocompleteFlight .autoComplete_wrapper {
    width: 100% !important;
}
