/* Estilo da página de login */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #121212; /* Preto fosco */
    font-family: Arial, sans-serif;
    position: relative;
}

/* Remove ou comenta se não quiser a logo no fundo */
body::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('../img/logo_background_sem_branco.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08; /* mais suave no preto fosco */
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.login-box {
    background-color: #1e1e1e; /* caixa escura */
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #f5f5f5; /* texto claro */
}

/* Mensagem de erro transparente inicialmente */
.error-text {
    color: transparent;
    opacity: 0;
    font-size: 14px;
    margin-bottom: 10px;
    transition: opacity 0.3s, color 0.3s;
}

label {
    display: block;
    text-align: left;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ddd; /* texto dos labels */
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 16px;
    background-color: #111;
    color: #f5f5f5;
}

button {
    width: 90%;
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    margin: 0 auto;
    display: block;
}

button:hover {
    background-color: #218838;
}

p {
    margin-top: 20px;
    color: #ccc;
}

a {
    color: #4da3ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.version {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 10px;
}
