/* Barra de carregamento */
.loading-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%; /* Largura total */
    height: 5px;
    background: linear-gradient(45deg, rgba(11, 153, 94, 1), #9DD0D4, rgba(11, 153, 94, 0.8), white);
    background-size: 400% 400%;
    animation: gradient 5s ease infinite;
    z-index: 1000;
    transform: translateX(100%); /* Inicia fora da tela à direita */
    display: none;
    transition: transform 1.5s ease; /* Suave ao entrar */
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.loading-bar.active {
    display: block; /* Mostra a barra */
    transform: translateX(0); /* Move para a posição inicial (0%) */
}

.loading-bar.finished {
    transform: translateX(-100%); /* Move para fora da tela à esquerda */
    transition: transform 0.5s ease; /* Suave ao sair */
}