


.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%);
    
}
@keyframes curtainClose {
    from {
        max-height: 500px;
    }

    to {
        max-height: 0;
    }
}

@keyframes curtainOpen {
    from {
        max-height: 0;
    }

    to {
        max-height: 500px; 
    }
}


.responsiveBell {
    position: fixed;
    top: 20px;
}

@media (width<575px){
    .responsiveBell {
        position: fixed;
        top: 70px;
    }
}

.responsiveTooth {
    position: fixed;
    top: 100px;
}

@media (width<575px) {
    .responsiveTooth {
        position: fixed;
        top: 150px;
    }
}



.contentContainer {
    overflow: hidden; 
    max-height: 0;
    transition: max-height 0.5s ease-in-out; 
}

    .contentContainer.show {
        max-height: 1000px; 
    }

    .contentContainer.hide {
        max-height: 0;
    }

.contentContainerFiltro {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

    .contentContainerFiltro.show {
        max-height: 1000px;
    }

    .contentContainerFiltro.hide {
        max-height: 0;
    }

/* Clase para evitar la animación en el inicio */
.no-animation {
    transition: none; /* Desactiva la transición */
}


.modal-xxl {
    max-width: 90%;
}

.modal-dialog.modal-xxl .modal-content {
    padding: 20px; 
}



span.is-invalid {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}

#sidebar-toggler {
    position: absolute;
    left: 100%;
    bottom: 25px;
    z-index: 99;
}

textarea:empty {
    height: 20px; 
}

#sidebar-offcanvas-toggler {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1021;
}

nav .active {
    color: black !important;
}


.tlf {
    -moz-appearance: textfield;
    background-color: aqua;
}

.tlf::-webkit-inner-spin-button,
.tlf::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



.nav-pills .nav-link:hover {
    color: var(--bs-emphasis-color) !important;
}

.custom-button {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, red, transparent);
    border-radius: 50%;
    border: none;
    outline: none;
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
}

.custom-button:hover {
    opacity: 1;
}

.panelAlerta {
    background-color: var(--bs-body-bg-translucent);
}


.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 {
    height: 100vh;
    background-image: url("/images/background2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}


.with-background-black {
    height: 100vh;
    background-image: url("/images/FONDO_oscuro.png");
    background-repeat: no-repeat;
    background-size: cover;
}


.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 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.table-grid > div {
    display: flex;
    flex-direction: column;
}

.select2-container--bootstrap-5 .select2-selection--single:focus {
    border-color: rgb(98, 157, 244);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.example-tooltip {
    position: relative;
}

    .example-tooltip:hover::after {
        content: url('/images/Ejemplo.PNG');
        display: block;
        position: absolute;
        top: 30px; /* Ajusta la posición vertical según sea necesario */
        right: -150px; /* Ajusta la posición horizontal según sea necesario */
        border: 2px solid var(--bs-primary); /* Ajusta el color del borde según tu botón primario */
        border-radius: 5px; /* Ajusta el radio del borde según sea necesario */
       
    }

.txtWatsapp {
    resize: none;
    height: 80px !important;
}


.whatsapp-buttons{
    padding: 10px 0;
}

.whatsapp-buttons button{
    width: 100%;
}


.image-curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

    .image-curtain img {
        max-width: 100%;
        height: auto;
        border: none;
        border-radius: 0;
    }

@media(width <= 1645px) {
    .aside-responsive {
        position: fixed;
        z-index: 88;
        right: 20px;
        overflow-y: auto;
        top: 180px;
        height: 100vh;
    }
    .archivos-responsive{
        margin-bottom:250px;
    }
}

@media(width < 1136px) {
    #botonAtrasPedido {
        width: 100%
    }
}

#cabeceraEstados {
    width: 50%;
}
@media(width < 1952px) {
    #cabeceraEstados {
        width: 100%;
        margin-bottom: 0.5em;
    }

    #cabeceraBotones {
        width: 100%;
    }

    #contendorRelleno {
        width: 33%;
    }
}
@media(width < 895px) {

    #cabeceraEstados {
        flex-direction:column;
        align-items:center;
        gap: 0.5em;
    }
    
}

.bell-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: yellow;
    color: black;
    border-radius: 50%;
    padding: 4px 7px;
    font-size: 12px;
    font-weight: bold;
}