/* Reset de margens e paddings para garantir um estilo limpo */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo do body */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #e0e0e0; /* Fundo cinza claro */
    color: #333; /* Cor do texto padrão */
    margin: 0;
}

/* Estilo da container de login */
.login-container {
    background: #fff; /* Branco */
    border: 2px solid #001f4d; /* Azul */
    padding: 2rem 2rem 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 320px;
    text-align: center;
}

/* Estilo do título */
.login-container h2 {
    color: #001f4d; /* Azul escuro */
    margin-bottom: 1rem;
    font-weight: bold;
}

/* Estilo das labels */
.login-container label {
    font-size: 1.1rem;
    color: #333; /* Cor do texto das labels */
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
}

/* Estilo dos inputs */
.login-container input[type="text"], 
.login-container input[type="password"],
.login-container button {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    margin-bottom: 1rem; /* Espaçamento entre os inputs e o botão */
}

/* Estilo do foco nos inputs */
.login-container input[type="text"]:focus, 
.login-container input[type="password"]:focus {
    border-color: #001f4d; /* Azul escuro ao focar */
    box-shadow: 0 0 5px rgba(0, 31, 77, 0.5);
}

/* Estilo do botão */
.login-container button {
    background: #001f4d; /* Azul escuro */
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 1.1rem;
    padding: 1rem;
}

/* Estilo do hover no botão */
.login-container button:hover {
    background: #ff0000; /* Vermelho ao passar o mouse */
    transform: scale(1.03);
}

/* Estilo da logo */
.login-container .logo {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
}

/* Estilo da mensagem de erro */
.error-message {
    font-size: 14px;
    color: red;
    margin-bottom: 1rem;
    text-align: center;
}

/* Centralizar a mensagem de sucesso ou erro */
.erro, .sucesso {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    font-size: 16px;
    border-radius: 8px;
    text-align: center;
    width: 80%;
    max-width: 500px;
    z-index: 9999;
    display: none;
}


