/* =====================================
   BARRA ALERTAS MUNICIPAIS - MODERNA
===================================== */

.cat-alert-bar-full {
    width: 100%;
    padding: 12px 20px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #f4b400;
}

/* Fundo animado normal */
.cat-alert-bar-full.normal {
    background: linear-gradient(-45deg, #0f3d4c, #145c6f, #0f3d4c);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
}

/* Fundo frio */
.cat-alert-bar-full.cold {
    background: linear-gradient(-45deg, #1c3b57, #2a6f97, #1c3b57);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

/* Fundo calor */
.cat-alert-bar-full.heat {
    background: linear-gradient(-45deg, #7a1e00, #d84315, #7a1e00);
    background-size: 400% 400%;
    animation: gradientMove 10s ease infinite;
}

/* Fundo vento */
.cat-alert-bar-full.wind {
    background: linear-gradient(-45deg, #37474f, #546e7a, #37474f);
    background-size: 400% 400%;
    animation: gradientMove 8s ease infinite;
}

/* Fundo chuva */
.cat-alert-bar-full.rain {
    background: linear-gradient(-45deg, #0a3d5b, #146680, #0a3d5b);
    background-size: 400% 400%;
    animation: gradientMove 10s ease infinite;
    position: relative;
}

.cat-alert-bar-full.rain::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="10" height="10" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="0" x2="2" y2="10" stroke="rgba(255,255,255,0.3)" stroke-width="1"/></svg>');
    background-repeat: repeat;
    background-size: 10px 10px;
    animation: rainMove 0.8s linear infinite;
    pointer-events: none;
}

@keyframes rainMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 10px; }
}

/* Animação gradiente */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Itens */
.cat-alert-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    z-index: 2;
}

/* Ícone animado */
.cat-icon {
    font-size: 18px;
    display: inline-block;
    animation: iconPulse 2s infinite ease-in-out;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Mobile */
@media (max-width: 768px) {
    .cat-alert-bar-full {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}
