:root {
    --bs-btn-bg: #6f42c1;
}
.login-container {
    max-width: 600px;
    padding: 0 15px 15px;
    min-height: 500px;
}

.login-background {
    background-image: url("/images/background.png");
    background-size: cover;
    background-position: center;
}

#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-dark2.png");
}

main:has(> .with-background) {
    background-color: #f2f2f2;
    background-repeat: no-repeat;
    background-size: cover;
}

.with-background {
    background-color: #f2f2f2;
    background-size: cover;
    background-position: center;
    background-position: center;
    backdrop-filter: /*blur(5px)*/ brightness(70%);
    height: 100% !important;
}

.with-background-black {
    background-color: #f2f2f2;
    /* background-size: cover;
    background-position: center;*/
    background-position: center;
    backdrop-filter: /*blur(5px)*/ brightness(70%);
    height: 100% !important;
}

    .with-background .logo {
        content: url("/images/logo-dark2.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);
}


@font-face {
    font-family: 'Frutiger Light', sans-serif;
    src: url('../fonts/Frutiger Light.ttf') format('truetype'); /* Ajusta la ruta y el formato según tu fuente */
}

body {
    font-family: 'Frutiger Light', sans-serif;
}

label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

    .table-grid > div {
        display: flex;
        flex-direction: column;
    }

.shadow-logo {
    box-shadow: 5px 0.5rem 0.3rem rgba(0, 0, 0, 0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
}

.form-control-plaintext {
    padding: 0.375rem 0.75rem!important;
}

html {
    overflow-y: hidden
}

.bi.bi-backspace {
    color: #C32B7F;
}