/*
============================================================
Copyright Pascal Evrard - Agence afondlacom' - 2026
Site : spasfrance.fr
Fichier : styles du moteur de recherche interne
============================================================
*/

#popup-search-box .box-inner-wrap {
    position: relative;
}

#popup-search-submit {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-size: 24px;
    margin-left: 15px;
    padding: 0;
}

#popup-search-submit:hover {
    opacity: 0.7;
}

.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 600px;
    margin: 20px auto 0;
    background-color: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 20;
}

.search-results.is-open {
    display: block;
}

.search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results ul li {
    border-bottom: 1px solid #eeeeee;
}

.search-results ul li:last-child {
    border-bottom: none;
}

.search-results ul li a {
    display: block;
    padding: 14px 20px;
    color: #1a1a1a;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.search-results ul li a:hover {
    background-color: #f5f5f5;
}

.search-results-empty {
    margin: 0;
    padding: 14px 20px;
    color: #666666;
    font-size: 15px;
}
