/**
 * Fichier  : /ott/vod/assets/css/sidebar/triggers.css
 * Fonction : styles des boutons de navigation sidebar
 */


/* ==================================================
   CONTAINER
================================================== */

#video-sidebar .triggers {
    width: 100%;
}

#video-sidebar .triggers {
    display: flex;
    justify-content: center;
}


/* ==================================================
   INNER WRAPPER
================================================== */

#video-sidebar .triggers .inner {
    position: relative;
}

#video-sidebar .triggers .inner {
    width: 100%;
    padding: 8px;
}

#video-sidebar .triggers .inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

#video-sidebar .triggers .inner {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.08),
            rgba(255,255,255,0.03)
        );
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 10px 30px rgba(0,0,0,0.30);
}


/* ==================================================
   BUTTONS
================================================== */

#video-sidebar .triggers .inner button {
    position: relative;
    isolation: isolate;
    flex: 1;
    cursor: pointer;
}

#video-sidebar .triggers .inner button {
    padding: 14px 18px;
}

#video-sidebar .triggers .inner button {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
}

#video-sidebar .triggers .inner button {
    font-family: 'content-font';
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: rgba(255,255,255,0.72);
}

#video-sidebar .triggers .inner button {
    transition:
        background .15s ease-in-out,
        border-color .15s ease-in-out,
        color .15s ease-in-out,
        transform .15s ease-in-out,
        box-shadow .15s ease-in-out;
}


/* ==================================================
   HOVER
================================================== */

#video-sidebar .triggers .inner button:hover:not(.active) {
    background:
        linear-gradient(
            135deg,
            rgba(255,95,45,0.16),
            rgba(255,145,0,0.08)
        );

    border-color: rgba(255,120,0,0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 3px 10px rgba(255,90,0,0.10);
}

#video-sidebar .triggers .inner button:hover:not(.active) {
    color: #fff;
}

/* ==================================================
   ACTIVE STATE
================================================== */

#video-sidebar .triggers .inner button.active {
    z-index: 2;
    color: #fff !important;
    background:
        linear-gradient(
            135deg,
            #8e0e00 0%,
            #c91f16 30%,
            #e9401b 65%,
            #ff7b00 100%
        );

    border-color: rgba(255,120,0,0.22);
    box-shadow:
        0 8px 24px rgba(233,64,27,0.35),
        0 0 18px rgba(255,123,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.18);
}


/* ==================================================
   ACTIVE GLOW
================================================== */

#video-sidebar .triggers .inner button.active::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.16),
            transparent
        );
    pointer-events: none;
}


/* ==================================================
   INTERACTIONS
================================================== */

#video-sidebar .triggers .inner button:active {
    transform: scale(0.97);
}

#video-sidebar .triggers .inner button:focus-visible {
    outline: none;

    box-shadow:
        0 0 0 3px rgba(255,123,0,0.25);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media screen and (max-width: 768px) {

    #video-sidebar .triggers .inner {
        padding: 6px;
    }

    #video-sidebar .triggers .inner {
        gap: 6px;
    }

    #video-sidebar .triggers .inner button {
        padding: 12px 10px;
    }

    #video-sidebar .triggers .inner button {
        font-size: 0.82rem;
    }

}