/* --- Reseteo y COnfiguracion --- */
body {    padding: 0 0 45px 0;}
a {  color: #60146d;  text-decoration: none !important; cursor: pointer;}
a:hover {    color: #49454a;!important; }
.text-ipanel { color: #60146d !important; }
.small, small {font-size: .8em;}
.bg-ipanel {background-color: #3d3d3d !important;}
/* --- Menu Sitio --- */
li.list-group-item {     padding: 12px 0;}

/* Estilo del overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo negro con 60% de opacidad */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Encima de otros elementos */
}

/* Contenedor central */
.content {
    text-align: center;
    color: white; /* Texto blanco */
}

/* Spinner circular */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; /* Gris claro */
    border-top: 5px solid #9d1395; /* Azul Bootstrap */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto; /* Centrado horizontal */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Animación para los puntos intermitentes */
.dots {
    display: inline-block;
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}

.dots span:nth-child(1) {
    animation: blink 1.5s infinite;
}

.dots span:nth-child(2) {
    animation: blink 1.5s infinite 0.2s;
}

.dots span:nth-child(3) {
    animation: blink 1.5s infinite 0.4s;
}


/* --- Fin Menu Sitio --- */
picture {
    max-height: 175px;
    display: block;
    overflow: hidden;
    width: 100%;
}
picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.in {    color: #21b707;}
.pass {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .375rem 0.75rem .375rem .75rem;
}
.accordion-button:not(.collapsed) {
    color: #444444;
    background-color: #fff;
    box-shadow: none;
}
.rounded {border-radius: 15px;}

.input-group-text {
    display: flex;
    align-items: center;
    padding: .375rem .75rem;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    background-color: #3d3d3d;
    border: 1px solid #3d3d3d;
    border-radius: .375rem;
}


.confcorte { padding: 2rem 0;}
/* Tus estilos CSS */

.calendar-table { width: 100%; border-collapse: collapse; }
.calendar-table th, .calendar-table td { text-align: center; padding: 8px; border: 1px solid #dee2e6; }
.calendar-table thead th { background-color: #f8f9fa; }

/* CLAVE AQUÍ: Aumentamos la especificidad y usamos !important */
/* Asegúrate que estos selectores apuntan a las celdas td dentro del tbody de la tabla */
.calendar-table tbody td.status-disponible { background-color: #d4edda !important; color: #155724 !important; } /* Verde claro */
.calendar-table tbody td.status-ocupada { background-color: #f8d7da !important; color: #721c24 !important; } /* Rojo claro */
.calendar-table tbody td.status-mantenimiento { background-color: #fff3cd !important; color: #856404 !important; } /* Amarillo claro */
.calendar-table tbody td.status-bloqueada { background-color: #e2e3e5 !important; color: #6c757d !important; } /* Gris claro */

/* Puedes mantener la regla general para cursor si lo deseas, pero asegúrate que no sobrescriba el background */
.calendar-table tbody td { cursor: pointer; }

/* Estilos para leyenda */
.legend-item { display: inline-flex; align-items: center; margin-right: 15px; }
.legend-item i { margin-right: 5px; font-size: 1.2em; }
.legend-item.status-disponible i { color: #28a745; }
.legend-item.status-ocupada i { color: #dc3545; }
.legend-item.status-mantenimiento i { color: #ffc107; }
.legend-item.status-bloqueada i { color: #6c757d; }