/* ========================================= */
/* Estilos para formulários de usuário (login, registro, perfil) */
/* ========================================= */

.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
    min-width: 250px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.submit-container {
    text-align: center;
    margin-top: 2rem;
}

.submit {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.submit:hover {
    background-color: #0056b3;
}

.link-text {
    display: block;
    margin-top: 1rem;
    text-align: center;
    color: #007BFF;
    text-decoration: none;
}

.error-message {
    color: #dc3545;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

/* Estilo para a caixa de rolagem dos termos de uso */
.terms-scroll-container {
    height: 150px;
    padding: 1rem;
    border: 1px solid #ccc;
    background-color: #f8f9fa;
    overflow-y: scroll;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: 0.5rem;
}