/* Estilo para a mensagem de erro */
.error-message {
    color: #ff6b6b; /* Vermelho claro mais visível no tema escuro */
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    animation: fadeIn 1s ease-out;
}

/* Animação fadeIn */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo geral do body */
body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1325;
    color: #ffffff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container do formulário */
.container {
    background-color: #2b1d3b;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 380px;
    transition: all 0.3s ease;
}

.container:hover {
    transform: scale(1.05);
}

/* Título do formulário */
h2 {
    text-align: center;
    color: #e0b3ff;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Campos de entrada */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #3a204e;
    border-radius: 8px;
    font-size: 16px;
    background-color: #1a1325;
    color: #ffffff;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #9d4edd;
    background-color: #2b1d3b;
    outline: none;
}

/* Botão de login */
button {
    width: 100%;
    padding: 12px;
    background-color: #9d4edd;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #7b2cbf;
}

/* Links (ex: Esqueceu a senha?) */
a {
    text-decoration: none;
    color: #e0b3ff;
    font-size: 14px;
    text-align: center;
    display: block;
    margin-top: 15px;
}

a:hover {
    text-decoration: underline;
}
