/* ==========================================================
   CRM GESTOR - DASHBOARD ISOLADO

   NÃO USAR ESTE ARQUIVO PARA CADASTRO DE VENDEDORES
   OU PREFERÊNCIAS.
   ========================================================== */


#dslCrmGestorApp .crm-g-dash-page{
    width:100%;
    max-width:1560px;
    margin:0 auto;
}


#dslCrmGestorApp .crm-g-dash-loading{
    padding:40px;
    color:#667085;
    text-align:center;
}


#dslCrmGestorApp .crm-g-dash-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}


#dslCrmGestorApp .crm-g-dash-head h1{
    margin:0 0 5px;
    color:#182230;
    font-size:30px;
    line-height:1.15;
    font-weight:750;
    letter-spacing:-.4px;
}


#dslCrmGestorApp .crm-g-dash-head p{
    margin:0;
    color:#667085;
    font-size:14px;
}


/* KPI */

#dslCrmGestorApp .crm-g-dash-kpis{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:13px;
    margin-bottom:16px;
}


#dslCrmGestorApp .crm-g-dash-kpi{
    min-width:0;
    min-height:108px;
    display:flex;
    align-items:center;
    gap:13px;
    padding:16px;
    border:1px solid #dfe6ee;
    border-radius:14px;
    background:#fff;
    box-shadow:0 2px 7px rgba(16,24,40,.035);
}


#dslCrmGestorApp .crm-g-dash-kpi-icon{
    width:44px;
    height:44px;
    flex:0 0 44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    font-size:17px;
    font-weight:750;
}


#dslCrmGestorApp .crm-g-dash-kpi-icon.blue{
    background:#e8f2ff;
    color:#1475e4;
}


#dslCrmGestorApp .crm-g-dash-kpi-icon.green{
    background:#e5f7ef;
    color:#159a67;
}


#dslCrmGestorApp .crm-g-dash-kpi-icon.purple{
    background:#f0ebff;
    color:#7656dd;
}


#dslCrmGestorApp .crm-g-dash-kpi-icon.orange{
    background:#fff2d9;
    color:#e98a00;
}


#dslCrmGestorApp .crm-g-dash-kpi small{
    display:block;
    margin-bottom:6px;
    color:#53627a;
    font-size:12px;
    font-weight:650;
}


#dslCrmGestorApp .crm-g-dash-kpi strong{
    display:block;
    color:#111827;
    font-size:23px;
    line-height:1;
    font-weight:760;
}


#dslCrmGestorApp .crm-g-dash-kpi strong.crm-g-dash-money{
    font-size:18px;
    line-height:1.15;
}


/* PAINÉIS */

#dslCrmGestorApp .crm-g-dash-grid{
    display:grid;
    gap:16px;
    margin-bottom:16px;
}


#dslCrmGestorApp .crm-g-dash-grid-main{
    grid-template-columns:
        minmax(0,1.45fr)
        minmax(330px,.9fr);
}


#dslCrmGestorApp .crm-g-dash-grid-three{
    grid-template-columns:
        repeat(3,minmax(0,1fr));
}


#dslCrmGestorApp .crm-g-dash-panel{
    min-width:0;
    overflow:hidden;
    border:1px solid #dfe6ee;
    border-radius:14px;
    background:#fff;
    box-shadow:0 2px 7px rgba(16,24,40,.03);
}


#dslCrmGestorApp .crm-g-dash-panel > header{
    min-height:55px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 18px;
    border-bottom:1px solid #e8edf3;
}


#dslCrmGestorApp .crm-g-dash-panel > header h2{
    margin:0;
    color:#182230;
    font-size:15px;
    font-weight:720;
}


#dslCrmGestorApp .crm-g-dash-panel > header span{
    color:#667085;
    font-size:12px;
}


#dslCrmGestorApp .crm-g-dash-panel-body{
    min-height:145px;
    padding:18px;
}


#dslCrmGestorApp .crm-g-dash-panel-body.no-pad{
    padding:0;
}


/* BARRAS */

#dslCrmGestorApp .crm-g-dash-bars{
    display:flex;
    flex-direction:column;
    gap:16px;
}


#dslCrmGestorApp .crm-g-dash-bar-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:7px;
    color:#475467;
    font-size:13px;
}


#dslCrmGestorApp .crm-g-dash-bar-top strong{
    color:#182230;
}


#dslCrmGestorApp .crm-g-dash-bar-track{
    height:8px;
    overflow:hidden;
    border-radius:999px;
    background:#eef2f6;
}


#dslCrmGestorApp .crm-g-dash-bar-track i{
    display:block;
    height:100%;
    border-radius:999px;
    background:#2378da;
}


/* TABELAS */

#dslCrmGestorApp .crm-g-dash-table-wrap{
    width:100%;
    overflow:auto;
}


#dslCrmGestorApp .crm-g-dash-table{
    width:100%;
    border-collapse:collapse;
    font-size:12.5px;
}


#dslCrmGestorApp .crm-g-dash-table th{
    padding:12px 14px;
    border-bottom:1px solid #e8edf3;
    background:#f8fafc;
    color:#667085;
    font-size:11px;
    font-weight:700;
    text-align:left;
    text-transform:uppercase;
}


#dslCrmGestorApp .crm-g-dash-table td{
    padding:13px 14px;
    border-bottom:1px solid #edf1f5;
    color:#344054;
}


#dslCrmGestorApp .crm-g-dash-table tbody tr:last-child td{
    border-bottom:0;
}


#dslCrmGestorApp .crm-g-dash-empty{
    min-height:115px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
    color:#667085;
    font-size:13px;
    text-align:center;
}


/* RESPONSIVIDADE */

@media(max-width:1350px){

    #dslCrmGestorApp .crm-g-dash-kpis{
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

}


@media(max-width:1050px){

    #dslCrmGestorApp .crm-g-dash-grid-main,
    #dslCrmGestorApp .crm-g-dash-grid-three{
        grid-template-columns:1fr;
    }

}


@media(max-width:900px){

    #dslCrmGestorApp .crm-g-dash-kpis{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


@media(max-width:540px){

    #dslCrmGestorApp .crm-g-dash-head{
        display:block;
    }

    #dslCrmGestorApp .crm-g-dash-head .crm-g-btn{
        margin-top:14px;
    }

    #dslCrmGestorApp .crm-g-dash-kpis{
        grid-template-columns:1fr;
    }

}