/**
 * FlexModifier - Search Form Styles
 * Mejoras sutiles para el formulario de FlexMLS
 */

/* ========================================
   CONTENEDOR PRINCIPAL
======================================== */

/* Formulario de búsqueda - Mejorar solo visualmente */
.flexmls_connect__search,
.flexmls_connect__search_new,
.flexmls_connect__search_new_horizontal {
    width: 100% !important;
    max-width: 100% !important;
    background: white !important;
    padding: 1.5rem !important;
    margin: 1rem 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

/* Ocultar título del formulario */
.flexmls_connect__search_new_title {
    display: none !important;
}

/* ========================================
   CAMPOS DE BÚSQUEDA - MEJORAS SUTILES
======================================== */

/* Labels más modernos */
.flexmls_connect__search_field label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.25rem !important;
}

/* Inputs y Selects modernos */
.flexmls_connect__search_field input[type="text"],
.flexmls_connect__search_field select {
    padding: 0.625rem 0.875rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0.5rem !important;
    font-size: 14px !important;
    background: white !important;
    color: #1f2937 !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
}

.flexmls_connect__search_field input[type="text"]:focus,
.flexmls_connect__search_field select:focus {
    border-color: #1D305E !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
    outline: none !important;
}

/* Select2 mejorado */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #e5e7eb !important;
    border-radius: 0.5rem !important;
    padding: 0.375rem !important;
    min-height: 42px !important;
    background: white !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #1D305E !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* ========================================
   BOTONES
======================================== */

/* Botón Submit - Limpio y moderno */
.flexmls_connect__search_new_submit,
input.flexmls_connect__search_new_submit[type="submit"],
.flexmls_connect__search_new_links input[type="submit"] {
    padding: 0.75rem 2rem !important;
    background: #1D305E !important;
    color: white !important;
    border: none !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-shadow: none !important;
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25) !important;
    -webkit-box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25) !important;
    -moz-box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25) !important;
}

.flexmls_connect__search_new_submit:hover,
input.flexmls_connect__search_new_submit[type="submit"]:hover {
    background: #0f1e3d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3) !important;
}

/* Enlaces */
.flexmls_connect__search_new_links {
    margin-top: 1rem !important;
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
}

.flexmls_connect__search_new_links a {
    color: #1D305E !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.flexmls_connect__search_new_links a:hover {
    color: #0f1e3d !important;
    text-decoration: underline !important;
}

