/* ——————————————————————————————————————————————————————————   */
/*  container principal (sidebar ─ offcanvas)                   */

.sf_live_sidebar {
    --sf_live_background:  rgb(40,40,60);


    user-select      : none;
    height           : var(--sidebar_height);

    margin-top       : var(--navbar_height);

    background-color : black;
    padding          : 0;
    margin-left      : 0;
    margin-bottom    : 0;


    background-color : var(--sf_live_background);

    border           : 3px solid var(--gray_background) !important;    /* !important, para fazer valer isso aqui  */

    transition       : transform 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out;
}


.sf_live_sidebar.gone {
    display: none;
}

.sf_live_sidebar_body {
    display         : flex;
    flex-direction  : column;

    padding-top     : 0px;
    margin-top      : 0px;
}


/* ——————————————————————————————————————————————————————————   */
/* dashboard: container —— (header, shadowforce)                */

/* ordem do divs */
.sf_live_dashboard.order_0 { order: 0; }
.sf_live_dashboard.order_1 { order: 1; }


/* ——————————————————————————————————————————————————————————   */
/*  header — container de [label, Select]                       */

.sf_live_dashboard_header {

    display         : flex;
    justify-content : center;
    visibility      : visible;

    margin-top      : 5px;
    margin-bottom   : 8px;
}

.sf_live_dashboard_header.gone {
    visibility: hidden;
}


/* ─── label antes do select */
.sf_live_dashboard_header_label {

    white-space     : pre;       /* mostrar espaços do children, em vez de ignorar */
    font-weight     : bold;
    font-size       : small;
    color           : white;
    margin-right    : 20px;
}


/* ─── shadowforce no dashboard */
.shadowforce.at_live_sidebar {
    user-select   : none ;

    width         :  100% !important;

    opacity       : 1;
    visibility    : visible;

    transition    : opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;

    /* emulando g-0 */

    margin-right  : 0;
    margin-left   : 0;
    row-gap       : 0;
    column-gap    : 0;
    padding       : 0;

    border-bottom : 2px solid darkgray;

}

.shadowforce.at_live_sidebar.gone {
    opacity     : 0;
    visibility: hidden;
}


/* sem dados */
.shadowforce_no_data {

    display          : block;
    text-align       : center;
    font-family      : var(--font_family_default);

    background-color : black;
    color            : white;

    font-weight      : bold;
    width            : 70%;
    border-radius    : 20px;

}


/* ─── dropdowns dmc ─── */
.sf_live_dash_select,
.sf_live_dash_select_dropdown,
.sf_live_dash_select_input,
.sf_live_dash_select_input_label {

    font-family     : var(--font_family_default);
    font-weight     : bold;
    color           : black;
    user-select     : none;
}

.sf_live_dash_select_input_label {
    color: #eceeef;
}

.sf_live_dash_select_input::placeholder {
    font-weight : bold    !important;
    color       : black !important;
}

.sf_live_dash_select_input {
    margin-top          : 0;
    min-height          : 1.5em !important;
    height              : 1.5em !important;

}


/* ——————————————————————————————————————————————————————————   */
/*      ajuste dos elementos de acordo com o tamanho da tela    */

@media screen and (min-width: 1601px)
{
    .sf_live_sidebar          { width        : var(--sidebar_w4) !important; }
    .layout_visible.shifted   { margin-right : var(--sidebar_w4) !important; }
}


@media screen and (min-width: 1201px) and (max-width: 1600px)
{
    .sf_live_sidebar         { width        : var(--sidebar_w3) !important; }
    .layout_visible.shifted  { margin-right : var(--sidebar_w3) !important; }
}


@media screen and (min-width: 1025px) and (max-width: 1200px)
{
    .sf_live_sidebar         { width        : var(--sidebar_w2) !important; }
    .layout_visible.shifted  { margin-right : var(--sidebar_w2) !important; }
}


@media (max-width: 1024px)
{
    .sf_live_sidebar_body    { display : none; }
    .sf_live_sidebar         { width        : var(--sidebar_w1) !important; }
    .layout_visible.shifted  { margin-right : var(--sidebar_w1) !important; }

}