/* Styles pour les alertes système */
.alert-section {
    margin: 1.5rem 0;
}

/* Container pour grouper plusieurs alertes */
.alert-section .container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Espace entre les alertes */
}

.alert-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border-left: 4px solid #ff5e62;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

/* Style pour les alertes de priorité différente */
.alert-box[data-priority="1"] {
    background: #fff8f8;
    border-left-color: #ff5e62;
}

.alert-box[data-priority="2"] {
    background: #f0f8ff;
    border-left-color: #2F80ED;
}

.alert-box[data-priority="3"] {
    background: #f0fff4;
    border-left-color: #78C744;
}

.alert-content {
    flex-grow: 1;
    color: #333;
}

.alert-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    color: #222;
}

.alert-title .alert-icon {
    margin-right: 0.5rem;
    font-size: 1.4rem;
}

.alert-text {
    font-size: 1rem;
    opacity: 0.9;
    color: #444;
}

.alert-btn {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 1rem;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Style pour les boutons selon la priorité */
.alert-box[data-priority="1"] .alert-btn {
    color: #ff5e62;
}

.alert-box[data-priority="2"] .alert-btn {
    color: #2F80ED;
}

.alert-box[data-priority="3"] .alert-btn {
    color: #78C744;
}

/* Animation subtile pour les alertes importantes */
@keyframes subtle-pulse {
    0% {
        border-left-width: 4px;
    }
    50% {
        border-left-width: 6px;
    }
    100% {
        border-left-width: 4px;
    }
}

.alert-box[data-priority="1"] {
    animation: subtle-pulse 2s infinite;
}

/* Pour les écrans mobiles */
@media (max-width: 768px) {
    .alert-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        border-left-width: 0;
        border-top: 4px solid #ff5e62;
    }
    
    .alert-box[data-priority="1"] {
        border-top-color: #ff5e62;
    }
    
    .alert-box[data-priority="2"] {
        border-top-color: #2F80ED;
    }
    
    .alert-box[data-priority="3"] {
        border-top-color: #78C744;
    }
    
    .alert-btn {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
    
    .alert-title {
        justify-content: center;
    }
    
    @keyframes subtle-pulse {
        0% {
            border-top-width: 4px;
        }
        50% {
            border-top-width: 6px;
        }
        100% {
            border-top-width: 4px;
        }
    }
} 