.fade-in { animation: fadeIn 0.5s ease-out; }
.slide-up { animation: slideUp 0.5s ease-out forwards; opacity: 0; transform: translateY(20px); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

.carousel-img {
    transition: opacity 1.5s ease-in-out;
    opacity: 0;
    position: absolute;
    inset: 0;
}
.carousel-img.active {
    opacity: 1;
    z-index: 1;
}

.btn-paint-fill {
    position: relative;
    overflow: hidden;
    border: none;
}
.btn-paint-fill::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(90deg, #D95D39, #F0A202, #6B9080, #1D3557, #B05C6E, #D95D39);
    background-size: 200% 200%;
    animation: moveColors 4s linear infinite; 
    z-index: 0;
    transition: height 0.3s ease-out, border-radius 0.3s ease;
    border-radius: 50% 50% 0 0 / 20px 20px 0 0; 
}
.btn-paint-fill:hover:not(.filling)::before {
    height: 12%; 
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-paint-fill.filling::before {
    height: 110%; 
    border-radius: 0;
    transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1), border-radius 1.5s ease;
}
.btn-paint-fill > span { position: relative; z-index: 1; }
@keyframes moveColors { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

/* Faixa que rola na horizontal sem exibir a barra: abas do painel e filtros de unidade. */
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 8px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 8px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }
