/**
 * Styles pour la bannière d'alerte de maintenance
 * 
 * @author KYXAR
 * @copyright 2026 KYXAR
 */
/* Force le conteneur parent à afficher correctement la bannière */
#wrapper .kmaintenance-alert-banner,
.kmaintenance-alert-banner {
    background-color: #ff9800;
    background: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%);
    color: #ffffff;
    padding: 15px 0;
    text-align: center;
    position: relative;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid #e65100;
    width: 100% !important;
    display: block !important;
    clear: both !important;
    float: none !important;
    margin: 0 !important;
    left: 0;
    right: 0;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    order: -9999 !important;
}
/* Empêcher le parent d'utiliser flex sur cette div */
.kmaintenance-alert-banner::before {
    content: '';
    display: block;
    clear: both;
}
.kmaintenance-alert-banner::after {
    content: '';
    display: block;
    clear: both;
}
.kmaintenance-alert-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.kmaintenance-alert-content i.material-icons {
    font-size: 28px;
    color: #ffffff;
    animation: pulse 2s ease-in-out infinite;
}
.kmaintenance-alert-message {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
/* Responsive */
@media (max-width: 768px) {
    .kmaintenance-alert-banner {
        padding: 12px 10px;
    }
    .kmaintenance-alert-content {
        flex-direction: column;
        gap: 10px;
    }
    .kmaintenance-alert-content i.material-icons {
        font-size: 24px;
    }
    .kmaintenance-alert-message {
        font-size: 14px;
    }
}
