@keyframes flash {
    0%, 50% { opacity: 1; }
    25%, 75% { opacity: 0.7; }
}

.alert-flash {
    animation: flash 2s infinite;
}

.alert-danger.alert-flash {
    border-width: 3px;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

/* Modal animations */
@keyframes modalPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.safety-modal .modal-content {
    animation: modalPulse 2s infinite;
}

.safety-modal .modal-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    text-align: center;
}

.safety-modal .modal-body {
    background: #fff5f5;
}

.warning-icon {
    font-size: 3rem;
    animation: flash 1.5s infinite;
}

.danger-stats {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.danger-stats .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f5c6cb;
}

.danger-stats .stat-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.danger-stats .stat-label {
    font-weight: 600;
    color: #721c24;
}

.danger-stats .stat-value {
    font-weight: bold;
    color: #dc3545;
}

.risk-list {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.risk-list ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.risk-list li {
    margin-bottom: 5px;
    color: #856404;
}

.risk-list li:last-child {
    margin-bottom: 0;
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.action-buttons .btn {
    min-width: 120px;
}