/* ----------------------------- */
/*        VARIABLES GLOBALES     */
/* ----------------------------- */

:root {
    --flq-color-brand: 203deg, 70%, 53% !important;
}

/* ----------------------------- */
/*            LOGO              */
/* ----------------------------- */

.atv-logo {
    font-weight: 700;
    font-size: large;
}

/* ----------------------------- */
/*     CONTENU VIDÉO MODAL       */
/* ----------------------------- */

.atv-video-content {
    width: 1060px !important;
}

.atv-video-content iframe {
    width: 100%;
    height: 500px;
}

/* ----------------------------- */
/*     SEARCH BUTTON POSITION    */
/* ----------------------------- */

.flq-search-content .flq-search-btn {
    top: 27px;
}

/* ----------------------------- */
/*       DROPDOWN RECHERCHE      */
/* ----------------------------- */

#ajax-search-results {
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 8px 0;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    animation: dropdownFade .25s ease;
}

#ajax-search-results:empty {
    display: none;
}

/* Liste */
.ajax-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ----------------------------- */
/*     ÉLÉMENTS DU DROPDOWN      */
/* ----------------------------- */

.ajax-search-item {
    position: relative;
    transition: background .25s ease, transform .15s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.ajax-search-item:last-child {
    border-bottom: none;
}

/* Barre colorée animée */
.ajax-search-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #45b4ff;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .25s ease;
}

/* Hover */
.ajax-search-item:hover {
    transform: translateX(4px);
}

.ajax-search-item:hover::before {
    transform: scaleY(1);
}

/* ----------------------------- */
/*            LIENS              */
/* ----------------------------- */

#ajax-search-results li a {
    display: block;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 12px 18px;
    text-decoration: none;
}

#ajax-search-results li a:hover {
    color: #45b4ff;
}

/* ----------------------------- */
/*            LOADER             */
/* ----------------------------- */

.ajax-loader {
    width: 40px;
    height: 40px;
    margin: 20px auto;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: #45b4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Rotation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
