/* Règles maison antérieures à la charte, encore utilisées par les scripts (autocomplétion, .hide/.show, SIRET). */

.hide {
    display: none;
}

.show {
    display: block;
}

form#search-form {
    z-index: 1000;
}

#suggestions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 180px;
    overflow-y: auto;
    position: absolute;
    top: 100%; /* juste sous l'input */
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#suggestions-list li {
    padding: 8px 12px;
    cursor: pointer;
}

#suggestions-list li:hover {
    background-color: #f0f0f0;
}

#suggestions {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 180px;
    overflow-y: auto;
    position: absolute;
    top: 100%; /* juste sous l'input */
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#suggestions li {
    padding: 8px 12px;
    cursor: pointer;
}

#suggestions li:hover {
    background-color: #f0f0f0;
}

ul.adresse-suggestions {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 180px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 1000;
    top: 100%;
    left: 0;
}

ul.adresse-suggestions .suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
}

ul.adresse-suggestions .suggestion-item:hover {
    background-color: #f0f0f0;
}

.ck-editor__editable {
    min-height: 200px;
}

.siret-loader {
    position: absolute;
    right: 10px;
    color: #000;
    pointer-events: none;
}