/* app_design/css/disponibilidad.css */

#calendario-container {
    position: relative;
    min-height: 200px; /* Para que el spinner tenga espacio */
}

.spinner-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    border-radius: 0.3rem;
}

#tabla-calendario th, #tabla-calendario td {
    vertical-align: middle;
    min-width: 100px;
}

#tabla-calendario thead th {
    background-color: #343a40;
    color: white;
    position: sticky;
    top: 0;
    z-index: 5;
}

.slot {
    padding: 0.5rem;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.slot.disponible {
    background-color: #198754; /* Verde de Bootstrap */
    color: white;
    cursor: pointer;
}

.slot.disponible:hover {
    background-color: #157347;
    transform: scale(1.05);
}

.slot.ocupado {
    background-color: #6c757d; /* Gris de Bootstrap */
    color: white;
    cursor: not-allowed;
    opacity: 0.65;
}

.leyenda .badge {
    font-size: 0.9rem;
    padding: 0.5em 0.7em;
}
