/* ==========================================================
   STREAMCORE R174C
   Premium playout selector polish
   CSS only
   ========================================================== */


/* ----------------------------------------------------------
   Premium toolbar feel
   ---------------------------------------------------------- */

.scp7-toolbar{
    backdrop-filter:blur(10px);
    box-shadow:
        0 12px 36px rgba(0,0,0,.18),
        inset 0 1px rgba(255,255,255,.03);
}


/* ----------------------------------------------------------
   Playout channel picker
   ---------------------------------------------------------- */

.scp7-channel-picker{
    position:relative;

    border-color:rgba(92,118,158,.42);
    background:
        linear-gradient(
            180deg,
            rgba(15,27,44,.98),
            rgba(8,18,31,.98)
        );

    box-shadow:
        inset 0 1px rgba(255,255,255,.03),
        0 8px 24px rgba(0,0,0,.16);

    transition:
        border-color .14s ease,
        box-shadow .14s ease,
        background .14s ease;
}

.scp7-channel-picker:hover{
    border-color:rgba(138,82,230,.52);
    box-shadow:
        inset 0 1px rgba(255,255,255,.03),
        0 12px 28px rgba(64,24,120,.16);
}

.scp7-channel-picker:focus-within{
    border-color:rgba(155,91,247,.72);
    box-shadow:
        0 0 0 2px rgba(145,73,238,.14),
        0 12px 28px rgba(64,24,120,.20);
}

.scp7-channel-picker label small{
    color:#97a4b7;
    font-weight:750;
}

.scp7-channel-picker select{
    appearance:auto;
    -webkit-appearance:menulist;
    -moz-appearance:menulist;

    color:#f1f5fb !important;
    background-color:transparent !important;

    text-shadow:none;
    caret-color:#f1f5fb;

    font-size:11px;
    font-weight:760;
    line-height:1.2;
}

.scp7-channel-picker select:focus,
.scp7-channel-picker select:active{
    color:#ffffff !important;
    background-color:transparent !important;
    outline:none;
}

/* Critical fix: native dropdown list items must have explicit colors */
.scp7-channel-picker select option{
    color:#eaf0f8 !important;
    background:#0d1522 !important;
}

.scp7-channel-picker select option:hover,
.scp7-channel-picker select option:focus,
.scp7-channel-picker select option:checked{
    color:#ffffff !important;
    background:#5b2fb2 !important;
}

.scp7-channel-picker select optgroup{
    color:#aebbd0 !important;
    background:#0a111c !important;
    font-style:normal;
    font-weight:800;
}

/* Firefox */
@-moz-document url-prefix(){
    .scp7-channel-picker select{
        color:#f1f5fb !important;
        background:#101928 !important;
    }

    .scp7-channel-picker select option{
        color:#eef3fa !important;
        background:#101928 !important;
    }
}


/* ----------------------------------------------------------
   Search field / action button premium feel
   ---------------------------------------------------------- */

.scp7-search input{
    border-color:rgba(87,108,139,.42);
    background:
        linear-gradient(
            180deg,
            rgba(14,25,40,.98),
            rgba(8,17,30,.98)
        );

    box-shadow:
        inset 0 1px rgba(255,255,255,.02);
}

.scp7-search input:focus{
    border-color:rgba(150,88,243,.64);
    box-shadow:
        0 0 0 2px rgba(145,73,238,.12);
}

.scp7-toolbar .scp7-btn,
.scp7-btn{
    box-shadow:
        0 8px 18px rgba(0,0,0,.16);
}


/* ----------------------------------------------------------
   Tabs premium
   ---------------------------------------------------------- */

.scp7-tabs{
    box-shadow:
        inset 0 1px rgba(255,255,255,.02),
        0 8px 26px rgba(0,0,0,.10);
}

.scp7-tabs button{
    transition:
        background .14s ease,
        color .14s ease,
        box-shadow .14s ease,
        transform .14s ease;
}

.scp7-tabs button:hover{
    transform:translateY(-1px);
}

.scp7-tabs button.active{
    background:
        linear-gradient(
            180deg,
            rgba(118,61,211,.30),
            rgba(88,42,164,.24)
        );
}


/* ----------------------------------------------------------
   Panels
   ---------------------------------------------------------- */

.scp7-panel{
    box-shadow:
        0 10px 30px rgba(0,0,0,.13),
        inset 0 1px rgba(255,255,255,.02);
}


/* ----------------------------------------------------------
   Main workspace selector (R173)
   ---------------------------------------------------------- */

.sc-shell.client .workspace-select{
    box-shadow:
        0 8px 22px rgba(0,0,0,.14),
        inset 0 1px rgba(255,255,255,.02);
}

.sc-shell.client .workspace-select:focus,
.sc-shell.client .workspace-select:focus-visible{
    outline:none;
    box-shadow:
        0 0 0 2px rgba(145,73,238,.13),
        0 8px 22px rgba(0,0,0,.14);
}

.sc-mt-menu-r168c.sc-r173-unified-menu{
    box-shadow:
        0 28px 72px rgba(0,0,0,.60),
        inset 0 1px rgba(255,255,255,.03);
}

.sc-mt-menu-r168c .sc-r173-channel-row{
    box-shadow:
        inset 0 1px rgba(255,255,255,.02);
}

.sc-mt-menu-r168c .sc-r173-channel-row:hover{
    box-shadow:
        inset 0 1px rgba(255,255,255,.02),
        0 6px 18px rgba(82,33,155,.12);
}


/* ----------------------------------------------------------
   Responsive guard
   ---------------------------------------------------------- */

@media(max-width:860px){
    .scp7-channel-picker{
        min-height:50px;
    }

    .scp7-channel-picker select{
        font-size:12px;
    }

    .sc-mt-menu-r168c.sc-r173-unified-menu{
        max-height:min(72vh,580px);
    }
}

@media(max-width:420px){
    .scp7-channel-picker{
        padding-left:8px;
        padding-right:8px;
    }

    .scp7-channel-picker label small{
        font-size:8px;
    }
}
