/***********************************************************************
*
* UPSistemas
* Central de Segurança
*
***********************************************************************/


/***********************************************************************
*
* 1 - LAYOUT
*
***********************************************************************/

.ups-container{

    padding:20px;

}

.ups-space{

    margin-bottom:20px;

}

.panel-seguranca{

    border:1px solid #e8e8e8;

    border-radius:8px;

    box-shadow:none;

}

.panel-seguranca>.panel-heading{

    border-bottom:1px solid #ececec;

    background:#fff;

}

.panel-seguranca>.panel-body{

    padding:20px;

}



/***********************************************************************
*
* 2 - DASHBOARD
*
***********************************************************************/

/***********************************************************************
* DASHBOARD
***********************************************************************/

.ups-dashboard{

    display:flex;

    gap:18px;

    margin-bottom:25px;

}

.ups-metric{

    flex:1;

    background:#fff;

    border:1px solid #e8e8e8;

    border-radius:8px;

    padding:18px;

    transition:.25s;

}

.ups-metric:hover{

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    border-color:#2196F3;

}

.ups-metric-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

}

.ups-metric-number{

    font-size:30px;

    font-weight:700;

    color:#333;

}

.ups-metric-icon{

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    font-size:20px;

}

.ups-metric-title{

    font-size:15px;

    font-weight:600;

    color:#444;

}

.ups-metric-description{

    margin-top:4px;

    font-size:12px;

    color:#999;

}

/***********************************************************************
*
* 3 - TOOLBAR
*
***********************************************************************/

.ups-toolbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

}

.ups-toolbar-left h4{

    margin:0;

    font-weight:500;

    color:#333;

}

.ups-toolbar-right{

    color:#888;

    font-size:12px;

}



/***********************************************************************
*
* 4 - PESQUISA
*
***********************************************************************/

.ups-search{

    margin-bottom:20px;

}

.ups-search .input-group-addon{

    background:#fff;

}

.ups-search input{

    height:40px;

    box-shadow:none;

}

.ups-search input:focus{

    border-color:#2196F3;

}



/***********************************************************************
*
* 5 - PAINÉIS
*
***********************************************************************/

.panel-flat{

    border-radius:8px;

}

.panel-flat>.panel-heading{

    padding:18px 20px;

}

.panel-flat>.panel-heading>.panel-title{

    font-size:16px;

    font-weight:600;

}

.panel-flat>.panel-body{

    padding:20px;

}

/***********************************************************************
*
* 6 - TABELA
*
***********************************************************************/

.ups-table{

    width:100%;

    margin-bottom:0;

    border-collapse:collapse;

}

.ups-table thead{

    background:#fafafa;

}

.ups-table thead th{

    padding:14px 12px;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:.5px;

    color:#666;

    border-bottom:2px solid #ececec;

    white-space:nowrap;

}

.ups-table tbody td{

    padding:16px 12px;

    vertical-align:middle;

    border-top:1px solid #f3f3f3;

}

.ups-table tbody tr{

    transition:background .2s ease;

}

.ups-table tbody tr:hover{

    background:#fafcff;

}

.ups-table td code{

    background:#f7f7f7;

    color:#555;

    border:1px solid #ececec;

    padding:3px 8px;

    border-radius:4px;

}

.ups-table .usuario{

    font-weight:600;

    color:#2d2d2d;

    display:block;

}

.ups-table .dispositivo{

    display:block;

    font-weight:600;

}

.ups-table .sistema{

    display:block;

    margin-top:3px;

    color:#888;

    font-size:11px;

}

.ups-table .atividade-data{

    display:block;

    color:#999;

    font-size:11px;

}

.ups-table .atividade-hora{

    display:block;

    font-size:13px;

    font-weight:600;

}



/***********************************************************************
*
* 7 - BOTÕES
*
***********************************************************************/

.ups-actions{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:6px;

}

.ups-actions .btn{

    width:32px;

    height:32px;

    padding:0;

    border-radius:4px;

}

.ups-actions .btn i{

    font-size:14px;

}

.btn-default{

    background:#fff;

    border-color:#ddd;

}

.btn-default:hover{

    background:#f5f5f5;

}

.btn-info{

    background:#2196F3;

    border-color:#2196F3;

}

.btn-warning{

    background:#ffb300;

    border-color:#ffb300;

    color:#fff;

}

.btn-danger{

    background:#e53935;

    border-color:#e53935;

}



/***********************************************************************
*
* 8 - LABELS
*
***********************************************************************/

.label-online{

    display:inline-block;

    padding:4px 10px;

    border-radius:20px;

    background:#e8f5e9;

    color:#2e7d32;

    font-weight:600;

    font-size:11px;

}

.label-expirado{

    display:inline-block;

    padding:4px 10px;

    border-radius:20px;

    background:#fff8e1;

    color:#ef6c00;

    font-weight:600;

    font-size:11px;

}

.label-bloqueado{

    display:inline-block;

    padding:4px 10px;

    border-radius:20px;

    background:#ffebee;

    color:#c62828;

    font-weight:600;

    font-size:11px;

}



/***********************************************************************
*
* 9 - EMPTY STATE
*
***********************************************************************/

.ups-empty{

    text-align:center;

    padding:60px 20px;

    color:#999;

}

.ups-empty i{

    font-size:52px;

    display:block;

    margin-bottom:18px;

    color:#d5d5d5;

}

.ups-empty h4{

    margin-bottom:10px;

    font-weight:600;

}

.ups-empty p{

    margin:0;

}



/***********************************************************************
*
* 10 - BADGES
*
***********************************************************************/

.ups-badge{

    display:inline-block;

    padding:3px 8px;

    border-radius:20px;

    background:#f5f5f5;

    color:#555;

    font-size:11px;

}



/***********************************************************************
*
* 11 - RESPONSIVO
*
***********************************************************************/

@media(max-width:991px){

    .ups-card{

        margin-bottom:15px;

    }

}

@media(max-width:768px){

    .ups-toolbar{

        flex-direction:column;

        align-items:flex-start;

        gap:10px;

    }

    .ups-table{

        min-width:900px;

    }

}

@media(max-width:480px){

    

    .ups-card-number{

        font-size:22px;

    }
    
    

}

@media(max-width:1200px){

    .ups-dashboard{

        flex-wrap:wrap;

    }

    .ups-metric{

        min-width:220px;

    }

}