body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f9f9f9; /* Fundo claro */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    width: 90%; /* Ajuste a largura conforme necessário */
    /*max-width: 1200px; Largura máxima do container */
    overflow: hidden; /* Garante que os cantos arredondados funcionem */
}

.image-section {
    flex: 0.5; /* 60% do espaço para a imagem */
    background-image: url('../../imagens/fundo-cadastro.png'); /* Substitua pelo nome da sua imagem */
    background-size: cover;
    background-position: center;
    min-height: 400px; /* Altura mínima para a seção da imagem */
}

.form-section {
    flex: 0.5; /* 40% do espaço para o formulário */
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-section h2 {
    color: #333;
    margin-bottom: 30px;
    text-align: left;
    font-size: 2.2em;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

.form-group input {
    width: calc(100% - 24px);
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

button {
    background-color: #28a745; /* Cor verde */
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #218838;
}

.password-constraints {
    margin-top: 8px;
    color: #777;
    font-size: 0.9em;
}

.checkmark::before {
    content: "\2713"; /* Código Unicode para o símbolo de check */
    color: #28a745;
    margin-right: 5px;
}

/* Estilos para telas menores */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .image-section {
        flex: 1;
        min-height: 200px; /* Altura mínima menor em telas pequenas */
    }

    .form-section {
        flex: 1;
        padding: 30px;
    }

    .form-section h2 {
        text-align: center;
    }
}
