.modal-title {
    color: #2c3e50;
    font-weight: bold;
}

.producto-info-modal {
    border-left: 4px solid #3498db;
}

.alert-info {
    border-color: #3498db;
    background-color: #e8f4f8;
}

#btn-enviar-notificacion {
    background-color: #27ae60;
    border-color: #27ae60;
}

#btn-enviar-notificacion:hover {
    background-color: #229954;
    border-color: #229954;
}

.glyphicon-spin {
    animation: spin 1s infinite linear;
}

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

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Estilos responsivos para el modal */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
    }
    
    .producto-info-modal .col-md-3,
    .producto-info-modal .col-md-9 {
        text-align: center;
        margin-bottom: 10px;
    }
}

/* Animación del botón de notificación */
.btn-notificar-stock {
    transition: all 0.3s ease;
}

.btn-notificar-stock:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Estilos para el formulario del modal */
#formNotificacionStock .form-group {
    margin-bottom: 20px;
}

#formNotificacionStock label {
    font-weight: 600;
    color: #2c3e50;
}

#formNotificacionStock .help-block {
    color: #7f8c8d;
    font-size: 12px;
    margin-top: 5px;
}

/* Personalización del checkbox */
#formNotificacionStock .checkbox label {
    font-weight: normal;
    color: #34495e;
    font-size: 14px;
}

/* Estilos para mensajes de estado */
#modal-mensaje .alert {
    margin-bottom: 0;
    border-radius: 4px;
}

/* Mejoras visuales para la información del producto */
.producto-info-modal {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

.producto-info-modal img {
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

/* Estilos para el estado loading */
#btn-enviar-notificacion:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(5deg); }
    20%, 40%, 60%, 80% { transform: rotate(-5deg); }
}

/* Animación de carga */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Efecto hover para las tarjetas de sala */
.sala-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3) !important;
}

#tablaNotificaciones thead th {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#tablaNotificaciones thead th:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
}

#tablaNotificaciones thead th:hover::after {
    content: " ↕";
    color: #666;
}