/* POSSIÇÃO DE ONDE FICA CENTRALIZADO O LOGIN */ 

body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
   background-size: cover;
}

/* POSSIÇÃO DE ONDE FICA CENTRALIZADO O LOGIN */ 


/* MOVIMENTAÇÃO DO FUNDO INICIO */

body {
    margin: auto;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: auto;
    background: linear-gradient(315deg, rgba(101,0,94,1) 3%, rgba(60,132,206,1) 38%, rgba(48,238,226,1) 68%, rgba(255,25,25,1) 98%);
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.wave {
    background: rgb(255 255 255 / 25%);
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 12em;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.wave:nth-of-type(2) {
    bottom: -1.25em;
    animation: wave 18s linear reverse infinite;
    opacity: 0.8;
}

.wave:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave 20s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}

/* MOVIMENTAÇÃO DO FUNDO FIM */






.container {
    padding: 20px;
    width: 100%;
    max-width: 450px;
}

.formulario {
    background: rgba(255, 255, 255, 0.95); /* Fundo branco semi-transparente */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.formulario h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
}

.formulario input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box; 
    font-size: 16px;
}

.formulario button, .botao-logout {
    width: 100%;
    padding: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
    text-decoration: none; /* Para o bot茫o de logout */
    display: inline-block;
}

.formulario button:hover, .botao-logout:hover {
    background-color: #0056b3;
}

.formulario p {
    margin-top: 20px;
}

.formulario a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.formulario a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.mensagem-status {
    color: #dc3545;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Estilo para o painel (Dashboard) */
.painel {
    background-color: #e9f7ef;
    border: 1px solid #14804a;
}
.painel h2 {
    color: #14804a;
}
.painel p {
    color: #333;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 600px) {
    body {
        /* Remove o fundo fixo em dispositivos m贸veis para melhor performance */
        background-attachment: scroll; 
    }
    .container {
        padding: 10px;
    }
    .formulario {
        padding: 30px 20px;
    }
}




