/* Estilos básicos para o formulário de login e registro */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
}
h2 {
    margin-bottom: 25px;
    color: #333;
}
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}
input[type="email"],
input[type="password"] {
    width: calc(100% - 20px); /* 100% menos o padding */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box; /* Garante que padding não aumente a largura */
}
button {
    background-color: #4CAF50; /* Verde padrão para login/registro */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
}
button:hover {
    background-color: #45a049;
}
.links {
    margin-top: 20px;
}
.links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9em;
}
.links a:hover {
    text-decoration: underline;
}
/* Estilos para mensagens flash */
.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 0.9em;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}
.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}