/* Styles pour les panneaux Type de bien et Localisation dans les résultats */
/* Reprend exactement le même style que le formulaire principal */

/* Styles pour le panneau Type de bien - Version résultats */
.hektor-type-bien-results-container {
    padding: 4px 0;
    text-align: left;
    z-index: 999999;
    position: relative;
}

/* Forcer l'alignement à gauche pour le panneau Type de bien */
#dropdown-type-bien-results .hektor-panel-content {
    text-align: left !important;
}

/* Instruction CSS globale pour aligner les éléments de la liste à gauche */
.hektor-panel-content {
    text-align: start;
}

#dropdown-type-bien-results .ubiflow-search-field {
    text-align: left !important;
}

/* Chaque option dans le panneau Type de bien */
.hektor-type-bien-results-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 12px;
    margin: 1px 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    color: #ffffff;
    transition: all 0.2s ease;
    position: relative;
    min-height: 32px;
    line-height: 1.4;
}

.hektor-type-bien-results-option:hover {
    /*background-color: #333333;*/
    color: #ffffff;
}

/* Styles des radio buttons dans les panneaux Type de bien */
.hektor-type-bien-results-option input[type="radio"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

/* Styles pour le panneau Localisation - Version résultats */
.hektor-localisation-results-container {
    padding: 4px 0;
    text-align: left;
    z-index: 999999;
    position: relative;
}

/* Forcer l'alignement à gauche pour le panneau Localisation */
#dropdown-localisation-results .hektor-panel-content {
    text-align: left !important;
}

#dropdown-localisation-results .ubiflow-search-field {
    text-align: left !important;
}

/* Chaque option dans le panneau Localisation */
.hektor-localisation-results-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 12px;
    margin: 1px 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    color: #ffffff;
    transition: all 0.2s ease;
    position: relative;
    min-height: 32px;
    line-height: 1.4;
}

.hektor-localisation-results-option:hover {
    /*background-color: #333333;*/
    color: #ffffff;
}

.hektor-localisation-results-option:hover {
    /*background-color: #333333;*/
    color: #ffffff;
}

/* Styles des radio buttons dans les panneaux Localisation */
.hektor-localisation-results-option input[type="radio"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

/* Empêcher tout déplacement du formulaire de recherche */
.hektor-search-form,
.hektor-resultats-filters {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}

/* Empêcher le scroll automatique */
html {
    scroll-behavior: auto !important;
}

/* Styles génériques pour tous les panneaux de résultats */
#dropdown-type-bien-results,
#dropdown-localisation-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    border: 1px solid #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    /* max-height: 300px; - Supprimé pour hauteur automatique */
    /* overflow-y: auto; - Supprimé, plus besoin de scroll */
}

#dropdown-type-bien-results.active,
#dropdown-localisation-results.active {
    display: block;
}

/* Conteneurs pour les options - Hauteur automatique */
.hektor-type-bien-results-container,
.hektor-localisation-results-container {
    /* max-height: 200px; - Supprimé pour hauteur automatique */
    /* overflow-y: auto; - Supprimé, plus besoin de scroll */
    padding: 10px;
}