/* Estilo da página de login */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f3f3;
    font-family: Arial, sans-serif;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('../img/logo_background.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    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: white;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* Mensagem de erro transparente inicialmente */
.error-text {
    color: transparent; /* Inicialmente invisível */
    opacity: 0; /* Começa com opacidade 0 */
    font-size: 14px;
    margin-bottom: 10px;
    transition: opacity 0.3s, color 0.3s; /* Transição suave para a mensagem */
}

label {
    display: block;
    text-align: left;
    margin-bottom: 10px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

button {
    width: 90%; /* Define uma largura de 90% da caixa de login */
    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;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.version {
    font-size: 0.7em; /* Reduz a fonte pela metade */
    color: rgba(0, 0, 255, 0.3); /* Aumenta a opacidade para 60% */
    text-align: center;
    margin-top: 10px;
}
