form {
    max-width: 100%;
    margin: 1 em;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 1em;
    background-color: #f9f9f9;
}

form div {
    margin-bottom: 1em;
}

form .gender-selection {
    .title {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
    }
    
    .gender-option {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }
    
    .gender-option label {
        margin-left: 8px;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;

    label {
        margin-bottom: 8px;
        font-weight: bold;
    }

    input[type="text"] {
        padding: 6px;
        font-size: 12px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
}


.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="radio"] {
    padding: 6px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%; /* Ensures the input fields take full width */
}

.form-field input[type="radio"] {
    width: auto;
    margin-right: 8px;
}

form input[type="radio"] {
    width: auto;
}

form button {
    padding: 0.7em;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 0.3em;
    cursor: pointer;
    font-size: 1em;
}

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