@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family:  'Open Sans', sans-serif;
    box-sizing: border-box;
}

:root{
    --grey: #F1F0F6;
    --dark-grey:#f8f4f4;
    --light:#fff;
    --dark:#000;
    --green:#81D43A;
    --light-green:#f0fae7;
    --blue: #FC3856;
    --light-blue:#D0E4FF;
    --dark-blue:#0C5FCD;
    --red:#1775f1;
}

body{
    background-color: var(--grey);

}
a{
    text-decoration: none;
}
li{
    list-style: none;
}


/*sidebar*/
#sidebar{
    position: fixed;
    max-width: 260px;
    width: 100%;
    background-color: var(--light);
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    transition: all .3s ease;
}
#sidebar.hide{
    max-width: 60px;
    z-index: 200;
}
#sidebar.hide:hover{
    max-width: 260px;
}
#sidebar::-webkit-scrollbar{
    display: none;
}
#sidebar .brand{
    font-size: 24px;
    display: flex;
    align-items: center;
    height: 60px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    transition: all .3s ease;
    padding:  0 6px;
    color: var(--blue);
}
.adim{
    color: var(--blue);
}
#sidebar .icon{
    min-width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 6px;
}
#sidebar .icon-right{
    margin-left: auto;
    transition: all .3s ease;
}
#sidebar .side-menu{
    margin: 36px 0;
    padding: 0 20px;
}
#sidebar.hide:hover .side-menu{
    padding: 0 20px;
}
#sidebar.hide .side-menu{
    padding: 0 6px;
}
#sidebar .side-menu a{
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--dark);
    padding: 12px 16px 12px 0;
    transition: all .3s ease;
    border-radius: 10px;
    margin: 4px 0;
    
    
}
#sidebar .adim{
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--dark);
    padding: 12px 16px 12px 0;
    transition: all .3s ease;
    border-radius: 10px;
    margin: 4px 0;
}

#sidebar .side-menu>li> a:hover{
    background-color: var(--grey);
}
#sidebar .side-menu>li> a.active .icon-right{
    transform: rotateZ(90deg);
}
#sidebar .side-menu>li> a.active,
#sidebar .side-menu>li> a.active:hover{
    background-color: var(--blue);
    color: var(--light);
}
#sidebar .dividir{
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dark-grey);
    transition: all .3s ease;
}
#sidebar.hide:hover .dividir{
    text-align: left;
}
#sidebar.hide .dividir{
    text-align: center;
}
#sidebar .side-dropdown{
    padding-left: 48px;
    max-height: 0;
    overflow-y: hidden;
    transition: all .15 ease;
}
#sidebar .side-dropdown.show{
    max-height: 1000px;
}
#sidebar .side-dropdown a:hover{
    color: var(--blue);
}
#sidebar .ads{
    width:100%;
    padding: 20px;
}
#sidebar.hide .ads{
    display: none;
}
#sidebar .ads .wrapper{
    background: var(--grey);
    border-radius: 10px;
    padding: 20px;
}
#sidebar .btn-upgrad{
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    color: var(--light);
    background: var(--blue);
    transition: all .3s ease;
    border-radius: 5px;
    font-weight: 500;
    margin-bottom: 12px;
}
#sidebar .btn-upgrad a{
    color: var(--light);
}
#sidebar .btn-upgrad:hover{
    background: rgb(207, 3, 3) ;
}
#sidebar .ads .wrapper p{
    font-size: 12px;
    color: var(--dark-grey);
    text-align: center;
}
#sidebar .ads .wrapper p span{
    font-weight: 700;
}



/*content*/
#content{
    position: relative;
    width: calc(100% - 260px);
    left: 260px;
    transition: all .3s ease;
}
#sidebar.hide + #content{
    width: calc(100% - 60px);
    left: 60px;
}
nav{
    background: var(--light);
    height: 64px;
    padding:0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 28px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
}
nav .toggler-sidebar{
    font-size: 18px;
    cursor: pointer;
}
nav form{
    max-width: 400px;
    width: 100%;
    margin: auto;
}
nav .form-group{
    position: relative;
}
nav .form-group input{
    width: 100%;
    outline: none;
    padding: 10px 36px 10px 16px;
    background: var(--grey);
    border: none;
    border-radius: 8px;
    transition: all .3s ease;
}
nav .form-group input:focus{
    box-shadow: 0 0 0 1px var(--red), 0 0 0 4px var(--dark-blue);
}
nav .form-group .icon{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right: 16px;
    color: var(--dark-grey);
}

nav  .nev-link{
    position: relative;
}
nav  .nev-link .icon{
    font-size: 18px;
    color: var(--dark);
}
nav  .nev-link .badge{
   position: absolute;
   top: -12px;
   right: -12px;
   width: 20px;
   height: 20px; 
   border-radius: 50%;
   border: 2px solid var(--light);
   background: var(--blue);
   display: flex;
   justify-content: center;
   align-items: center;
   color: var(--light);
   font-size: 10px;
   
}
nav .dividir{
    width: 1px;
    background: var(--grey);
    height: 14px;
    display: block;
}
nav .profil{
    position: relative;
}
nav .profil img{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}
nav .profil .perfil-link{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--light);
    padding: 10px 0;
    box-shadow: 4px  4px 16px rgb(0, 0, 0, .1);
    border-radius: 10px;
    width: 160px;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;

}
nav .profil .perfil-link.show {
    opacity: 1;
    pointer-events: visible;  
    top:  100%;

}
nav .profil .perfil-link a{
    padding: 10px 16px;
    display: flex;
    grid-gap: 10px;
    font-size: 14px;
    color: var(--dark);
    align-items: center;
    transition: all .3s ease;
}
nav .profil .perfil-link a:hover{
    background: var(--grey);
}

main{
    width: 100%;
    padding: 36px 20px 20px 20px;
}
main .titulo{
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px ;
}
main .breacrumbs{
    display: flex;
    grid-gap: 6px;
}
main .breacrumbs li,main .breacrumbs a{
    font-size: 14px;
}
main .breacrumbs li a{
    color: var(--blue);
}
main .breacrumbs li a.active,
main .breacrumbs li.dividir{
    color: var(--dark-grey);
    pointer-events: none;
}

main .info-data{
    margin-top: 36px;
    grid-gap: 10px;
}
main .cerd{
    background: var(--light);
    box-shadow: 4px 4px 16px rgb(151, 147, 147);
    border-radius: 10px; 
    padding: 15px;
    height: 150px;

}
main .cerd .head{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 80px;

}
main .cerd .head p{
    font-size: 14px;

}
main .cerd .head .icon{
    font-size: 20px;
    color: var(--green);
}
main .cerd .head .icon.down{
    color: var(--red);
}
main .cerd .progress{
    display: block;
    position: relative;
    overflow-y: hidden; 
    margin-bottom:4px ;
}
main .cerd .progress::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--red);
    width:var(--value) ;
}
main .data{
    grid-gap: 20px;
}
main .data .conten-data{
    background: var(--light);
}
main  .conten-data .herad{
    display: flex;
    justify-content: space-between;
    align-items: center;

}
main  .conten-data .herad .menu{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
main  .conten-data .herad .menu .icon{
    cursor: pointer;
}
main  .conten-data .herad .menu-link{
    position: absolute;
    top:calc(100% + 10px);
    right: 0;
    width: 140px;
    background: var(--light);
    border-radius: 10px;
    box-shadow: 4px 4px 16px rgb(151, 147, 147);
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
}
main  .conten-data .herad .menu-link.show{
    top: 100%;
    opacity: 1;
    pointer-events: visible;
}
main  .conten-data .herad .menu-link a{
    display: block;
    padding: 6px 16px;
    font-size: 14px;
    color: var(--dark);
    transition: all .3s ease;
}
main  .conten-data .herad .menu-link a:hover{
    background: var(--grey);
}
main .chat-box{
    max-height:400px;
    overflow-y:auto;
}

main .chat-box .dia{
    text-align: center;
    border-bottom: 10px;
}
main .chat-box .dia span{
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: var(--light-blue);
    color: var(--red);
    font-size: 12px;
    font-weight: 600;
}
main .chat-box .msg img{
    width: 28px;
    height: 28px;
    border-radius: 50%;
}
main .chat-box .msg{
    display: flex;
    grid-gap: 8px;
    align-items: flex-start;
}
main .chat-box .perfil .username{
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}
main .chat-box .perfil .time{
    font-size: 12px;
    color: var(--dark-grey);
}
main .chat-box .chat p{
    font-size: 14px;
    padding: 6px 10px;
    display: inline-block;
    max-width: 240px;
    line-height: 150%;
   
}
main .chat-box .msg:not(.me) .chat p{
    border-radius: 0 6px 6px 6px;
    background: var(--red);
    color: var(--light);
}
main .chat-box .msg.me{
    justify-content: flex-end;
}
main .chat-box .msg.m .perfil{
    text-align: right;
}
main .chat-box .msg.me p{
    background: var(--grey);
    border-radius: 8px 0 8px 8px;
}
main .form-group{
    width: 100%;
    display: flex;
    grid-gap: 10px;
}
main .form-group input{
    flex-grow: 1;
    padding: 10px 16px;
    background: var(--grey);
}

/* tabelas*/
