.login-container {
    max-width: 350px;
    padding: 15px;
}

.login-background {
    background-image: url("/images/background.jpg");
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(5px) brightness(70%);
}

#sidebar-toggler {
    position: absolute;
    left: 100%;
    bottom: 25px;
    z-index: 99;
}

#sidebar-offcanvas-toggler {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 99;
}

nav .active {
    color: black !important;
}

.nav-pills .nav-link:hover {
    color: var(--bs-emphasis-color) !important;
}

.nav-pills .nav-link:active {
    color: var(--bs-black) !important;
    background: var(--bs-primary-bg-subtle) !important;
}

#loader {
    position: absolute;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-content: center;
    color: var(--bs-primary);
    background-color: rgba(0, 0, 0, 0.5);
}

#loader > div {
    width: 5rem;
    height: 5rem;
}

html[data-bs-theme="dark"] .logo {
    content: url("/images/logo-dark.png");
}

main:has(> .with-background) {
    background-image: url("/images/background2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.with-background {
    backdrop-filter: blur(3px) brightness(70%);
}

.with-background .logo {
    content: url("/images/logo-dark.png");
}

.swal-footer {
    display: flex;
    justify-content: space-around;
}

table a {
    color: var(--bs-body-color);
}

.table-group-divider {
    border-top-color: var(--bs-primary);
}

label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-grid {
    padding: 0;
    display: flex;
    gap: 1rem;
    width: fit-content;
}

.table-grid th {
    white-space: nowrap;
}

.table-grid table {
    margin: 0;
}

.table-grid table td {
    height: 55px;
    vertical-align: middle;
}

.table-grid > div {
    box-shadow: var(--bs-box-shadow);
    display: flex;
    flex-direction: column;
}


/*noinspection CssNoGenericFontName*/
label:has(~ :is(input, select)[data-val-required]):after, label[required]:after {
    content: '\F151'; /* bi-asterisk */
    font-family: bootstrap-icons;
    font-size: .7rem;
    margin: .3rem;
    vertical-align: text-top;
    color: var(--bs-danger);
}

.is-modified {
    background-color: var(--bs-warning-bg-subtle);
}