.login-container {
    max-width: 400px;
    margin: 8vh auto 0;
}

.login-container h1 {
    text-align: center;
    margin-bottom: 1rem;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.6rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

button {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

button[type="button"] {
    background-color: #6c757d;
}

button:hover {
    background-color: #0056b3;
}

.form-group-buttons {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.form-group input[type="checkbox"] {
    width: auto;
}

ul {
    list-style-position: inside;
}

.error-messages {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.error-messages h2 {
    margin-bottom: 1rem;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}