/* ==========================================================
   PORTAL DAS JORNADAS CIENTÍFICAS
   Universidade Jean Piaget de Angola
   Ficheiro: dashboard.css
   ========================================================== */

/*==========================================================
  DASHBOARD
==========================================================*/

.dashboard{

    padding:40px 0;

    background:var(--background);

    min-height:100vh;

}

/*==========================================================
  HEADER
==========================================================*/

.dashboard-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:35px;

    flex-wrap:wrap;

    gap:20px;

}

.dashboard-title h2{

    margin-bottom:8px;

    color:var(--primary);

}

.dashboard-title p{

    color:var(--text-light);

}

/*==========================================================
  CARDS
==========================================================*/

.dashboard-card{

    background:#FFF;

    border-radius:var(--radius);

    padding:25px;

    box-shadow:var(--shadow-sm);

    transition:.3s;

    height:100%;

    border-left:5px solid var(--gold);

}

.dashboard-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow-lg);

}

.dashboard-card-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.dashboard-card-header i{

    width:60px;

    height:60px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(200,154,50,.10);

    color:var(--gold);

    font-size:1.5rem;

}

.dashboard-card h3{

    font-size:2rem;

    margin-bottom:5px;

    color:var(--primary);

}

.dashboard-card p{

    margin:0;

    color:var(--text-light);

}

/*==========================================================
  WIDGET
==========================================================*/

.dashboard-widget{

    background:#FFF;

    border-radius:var(--radius);

    padding:25px;

    box-shadow:var(--shadow-sm);

    margin-bottom:30px;

}

.dashboard-widget h4{

    margin-bottom:20px;

    color:var(--primary);

}

/*==========================================================
  SIDEBAR
==========================================================*/

.dashboard-sidebar{

    background:var(--primary);

    min-height:100vh;

    color:#FFF;

    padding:25px;

}

.dashboard-sidebar .logo{

    text-align:center;

    margin-bottom:40px;

}

.dashboard-sidebar .logo img{

    width:90px;

}

.dashboard-menu{

    margin:0;

    padding:0;

}

.dashboard-menu li{

    list-style:none;

    margin-bottom:8px;

}

.dashboard-menu a{

    display:flex;

    align-items:center;

    gap:15px;

    padding:14px 18px;

    border-radius:8px;

    color:#DDD;

    transition:.3s;

}

.dashboard-menu a:hover{

    background:rgba(255,255,255,.08);

    color:#FFF;

}

.dashboard-menu .active{

    background:var(--gold);

    color:#FFF;

}

.dashboard-menu i{

    width:22px;

    font-size:1.1rem;

}

/*==========================================================
  PERFIL
==========================================================*/

.dashboard-profile{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:35px;

}

.dashboard-profile img{

    width:60px;

    height:60px;

    border-radius:50%;

    object-fit:cover;

}

.dashboard-profile h5{

    color:#FFF;

    margin-bottom:3px;

}

.dashboard-profile small{

    color:#DDD;

}

/*==========================================================
  ACTIVIDADES
==========================================================*/

.activity{

    display:flex;

    gap:15px;

    margin-bottom:18px;

}

.activity-icon{

    width:45px;

    height:45px;

    border-radius:50%;

    background:rgba(200,154,50,.10);

    display:flex;

    justify-content:center;

    align-items:center;

    color:var(--gold);

}

.activity-content h6{

    margin-bottom:5px;

    color:var(--primary);

}

.activity-content small{

    color:var(--text-light);

}

/*==========================================================
  ESTATÍSTICAS
==========================================================*/

.stats{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

}

/*==========================================================
  GRÁFICOS
==========================================================*/

.chart-box{

    background:#FFF;

    border-radius:var(--radius);

    padding:25px;

    box-shadow:var(--shadow-sm);

}

.chart-box canvas{

    width:100%!important;

}

/*==========================================================
  ALERTAS
==========================================================*/

.alert-box{

    padding:18px 20px;

    border-left:5px solid var(--gold);

    background:#FFF8E8;

    border-radius:var(--radius);

    margin-bottom:20px;

}

/*==========================================================
  RESPONSIVO
==========================================================*/

@media(max-width:992px){

    .dashboard-sidebar{

        min-height:auto;

    }

}

@media(max-width:768px){

    .dashboard-header{

        flex-direction:column;

        align-items:flex-start;

    }

    .dashboard-profile{

        flex-direction:column;

        text-align:center;

    }

    .stats{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .dashboard{

        padding:20px 0;

    }

    .dashboard-card{

        padding:20px;

    }

    .dashboard-widget{

        padding:20px;

    }

}