/* Estilos generales del formulario */
#nf-form-1-cont {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ocultar elementos innecesarios */
#nf-form-1-cont .nf-before-form,
#nf-form-1-cont .nf-before-field,
#nf-form-1-cont .nf-after-field,
#nf-form-1-cont .nf-after-form,
#nf-form-1-cont .nf-form-hp,
#nf-form-1-cont .nf-response-msg,
#nf-form-1-cont .nf-debug-msg,
#nf-form-1-cont .nf-input-limit,
#nf-form-1-cont .nf-error-wrap,
#nf-form-1-cont .nf-before-form-content,
#nf-form-1-cont .nf-after-form-content {
    display: none !important;
}

/* Texto de campos requeridos */
#nf-form-1-cont .nf-form-fields-required {
    color: #2B4D59;
    text-align: center;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

#nf-form-1-cont .nf-form-fields-required .ninja-forms-req-symbol {
    color: #FF5A5F;
}

/* Contenedores de campos */
#nf-form-1-cont .nf-field-container {
    margin-bottom: 20px;
}

/* Etiquetas */
#nf-form-1-cont .nf-field-label label {
    display: block;
    color: #2B4D59;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

#nf-form-1-cont .nf-field-label .ninja-forms-req-symbol {
    color: #FF5A5F;
}

/* Inputs y selects */
#nf-form-1-cont input[type="text"],
#nf-form-1-cont input[type="tel"],
#nf-form-1-cont select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    background-color: #FFFFFF;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333333;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin-top: 5px;
}

/* Placeholder color */
#nf-form-1-cont input::placeholder {
    color: #999999;
}

/* Estilos específicos para selects */
#nf-form-1-cont select {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

/* Hover y focus para los campos */
#nf-form-1-cont input:focus,
#nf-form-1-cont select:focus {
    outline: none;
    box-shadow: 0 0 0 2px #7CB7C7;
}

/* Botón de envío */
#nf-form-1-cont input[type="submit"] {
    background-color: #7CB7C7;
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 30px auto 0;
    width: auto;
    min-width: 250px;
    text-align: center;
    transition: background-color 0.3s ease;
}

#nf-form-1-cont input[type="submit"]:hover {
    background-color: #6A9DAB;
}

/* Cambiar texto del botón de submit */

#nf-field-4-wrap input[type="submit"]::after {
    content: 'Contactar por WhatsApp';
    text-indent: 0;
    display: block;
    line-height: normal;
}

/* Eliminar el div vacío después del select */
#nf-form-1-cont select + div {
    display: none;
}

/* Ajustes para las opciones de los select */
#nf-form-1-cont select option {
    color: #333333;
    padding: 10px;
}

/* Ajustes responsivos */
@media screen and (max-width: 600px) {
    #nf-form-1-cont {
        padding: 15px;
    }
    
    #nf-form-1-cont input[type="submit"] {
        width: 100%;
        min-width: auto;
    }
}