@import url('https://fonts.cdnfonts.com/css/poppins');

/* style all */
*{
    font-family: 'Poppins', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}

:root {
    --primary-color: #f3f4f7;
    --sidebar-bg-color: #3375F4;
    --sidebar-text-color: #FFFFFF;
    --content-bg-color: #ffffff;
    --content-text-color: #0f357b;
    --analytics-text-color:#000000;
    --footer-color: #0f357b;
    --link-footer:#3375F4;
}

.dark-theme{
    --primary-color:#15202B;
    --sidebar-bg-color:#192734;
    --sidebar-text-color:#8899A6;
    --content-bg-color:#22303c;
    --content-text-color:#8899A6;
    --analytics-text-color:#8899A6;
    --footer-color: #22303c;
    --link-footer: #FFFFFF;

}

li{
    list-style: none;
}

html{
    overflow-x: hidden;
}

body{
    display: flex;    /* flex box */
    min-height: 100vh;    /* view for height => supaya tinggiya memenuhi screen dari layarnya */
    background-color: var(--primary-color);
    overflow-x: hidden;
}
/* style all */

/* Side Bar */
#side-bar{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: var(--sidebar-bg-color) ;
    width: 80px;
    height: 100%;
    padding: 30px 20px;
    display: flex; 
    flex-direction: column;
    transition: all ease-out .5s;
}

#side-bar::-webkit-scrollbar {
	display: none;
}

#side-bar.active {
    width: 260px;
    padding: 18px 20px;
    gap: 20px;
    overflow-x: hidden;
}

#side-bar .sidebar-header{
    display: flex;
    width: 100%;
    gap: 15px;
    padding: 0;
}

#side-bar .icon{
    width: 50px;
    height: 60px;
    background-color: var(--background-color3);
    transition: .3s;
    opacity: 0;
}

#side-bar.active .icon{
    opacity: 1;
    transition-delay: .2s;
}

#side-bar .sidebar-header h4{
    font-size: 12px;
    height: 61px;
    display: flex;
    align-items: center;
    color: var(--sidebar-text-color);
    font-weight: 600;
    transition: .5s;
    opacity: 0;
}

#side-bar.active .sidebar-header h4{
    opacity: 1;
    transition-delay: .2s;
}


#side-bar .sidebar-header .toogle-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    width: 45px;
    height: 50px;
    font-size: 25px;
    padding-left: 10px;
    color: var(--sidebar-text-color);
    text-align: center;
    cursor: pointer;
    transition: .5s;
}

#side-bar.active .sidebar-header .toogle-btn{
    display: flex;
    align-items: center;
    padding: 0px;
    left: 95%
}


.nav-sidebar{
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0;
}

.nav-sidebar ul{
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-left: 5px;
    color: var(--content-bg-color);
    list-style: none;
    
}

.list-item {
    display: flex;
    align-items: center;
    gap: 20px;
} 

#side-bar h5{
    color: var(--sidebar-text-color);
    display: none;
}

#side-bar.active h5{
    display: block;
}

li .list-item .icon2{
    display: flex;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--background-color3);
}


li .list-item .description {
    font-weight: 500;
    font-size: 15px;
    color: var(--sidebar-text-color);
    cursor: pointer;
    font-weight: 400;
    display: none;
    transition: opacity .3s;

}

#side-bar.active li .list-item .description {
    pointer-events: auto;
    display: block;
    transition-delay: calc(.1s * var(--i));
}

#side-bar .nav-sidebar li a{
    text-decoration: none;
}


#side-bar ul li a:hover{
    background: #0f357b;
    transition: all ease-in .2s;
    border-radius: 15px;
    padding: 10px;
}
/* Side Bar */

/* Content */
#content{
    position: relative;
    width: calc(100% - 80px);
    left: 80px;
    transition: all ease-in .3s;
}

#side-bar.active ~ #content {
    width: calc(100% - 260px);
    left: 260px;
    transition: all ease-in-out .5s;
}


#content .head-main{
    display: flex;
    align-items: center;
    grid-gap: 30px;
    color: var(--content-text-color);
    padding: 20px;
    /* position: sticky;
    top: 0;
    left: 0; */
}

#content .head-main .bx.bx-menu{
    cursor: pointer;
}

#content .head-main #icn {
    width: 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#content .head-main .logoo{
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

#content .head-main .logoo .font{
    width: 70px;
    font-size: 13px;
    justify-content: center;
    font-weight: 300;
}

#content .head-main .logoo .font .jayapura{
    font-weight: 600;
}

#content .head-main .team4 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 45px;
    border-radius: 50%;
    background-color: var(--content-text-color);
}

#content .head-main .profile{
    width: 40px;
	height: 40px;
	object-fit: cover;
}

#content .main_content{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 35px;
    gap: 45px;
}

.main_content .dash-head{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.main_content .dash-head h3{
    font-size: 23px;
    font-weight: 600;
    color: var(--content-text-color);
}

.filt{
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 5px;
}

.filt select{
    background-color: var(--primary-color);
    border: 0.5px solid #c0c0c0;
    height: 30px;
    width: 90px;
    border-radius: 9px;
    color:var(--content-text-color);
    font-size: 13px;
    font-weight: 500;
}

.filt button{
    height: 28px;
    width: 90px;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 100;

}

#content .main_content .card-score {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    justify-items: center;
    grid-gap: 30px;
}

#content .main_content .card-score .box-scorecard{
    display: flex;
    align-items: center;
    width: 230px;
    padding: 24px;
    border-radius: 20px;
    background: var(--content-bg-color);
    gap: 30px;
    box-shadow: 8px 8px var(--sidebar-bg-color);
}

.scorecard{
    width: 40px;
    height: 40px;
    background-color: var(--sidebar-bg-color);
    border-radius: 100%;
    padding: 5px;
}

.value{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.value label{
    font-size: 11px;
    font-weight: bold;
    color: var(--content-text-color);
}

.value span{
    font-size: 25px;
    font-weight: 500;
    color: var(--content-text-color);
}

.chart{
    display: flex;
    justify-content: center;
}

.chart-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
        "c1 c1 c2 c2"
        "c3 c3 c3 c4";
    gap: 35px;
    max-height: 100%;
    width: 100%;
}

.c{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--content-bg-color);
    padding: 10px;
    border-radius: 10px;
    gap: 7px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.c label {
    color: var(--content-text-color);
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

.c:nth-child(1){
    grid-area: c1;
}


.c:nth-child(2){
    grid-area: c2;
}

.c:nth-child(3){
    grid-area: c3;
}

.c:nth-child(4){
    grid-area: c4;
}

.c .chart_wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c canvas {
    width: 100% !important;
    height: 100% !important;
}

.modal.c canvas {
    width: initial !important;
    height: initial !important;
}

.c #piechart {
    height: auto !important;
    margin-top: 15px;
}
/*
.c #chartproduct {
    width: 100%;
    max-height: 90vb;
} */

/* 
styling to set table width */
.dataTables_wrapper{
    width: 95%;
}

.dataTables_length label{
    font-size: 13px;
}

.dataTables_length select{
    padding: 5px;
    max-height: 30px;
    font-size: 13px;
    margin-bottom: 10px;
    border: 2px solid var(--analytics-text-color) !important;
    color: var(--analytics-text-color);
}

.dataTables_filter label{
    font-size: 13px;
    margin-bottom: 10px;
}

.dataTables_filter input{
    padding: 5px;
    max-height: 30px;
    font-size: 13px;
    border: 2px solid var(--analytics-text-color) !important;
}

.c table {
    /* border: 1px solid #0f357b; */
    background-color: #0c337b;
}

.c td {
    font-size: 13px;
    background-color: #3375F4;
    font-weight: 600;
    color: #000000;
    /* color: var(--content-bg-color); */
}

.c .sorting_1{
    background-color: #0c337b;
}


.c th {
    color: #ffffff;
    font-size: 14px;
    width: 30%;
}

.dataTables_wrapper .dataTables_info{
    color: var(--analytics-text-color) !important;
    font-weight: 500;
}

.dataTables_wrapper .dataTables_paginate{
    color: var(--analytics-text-color) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button{
    font-weight: 500;
    font-size: 13px;
    color: var(--analytics-text-color) !important;
}


.dataTables_wrapper .dataTables_paginate .paginate_button.disabled{
    color: var(--analytics-text-color) !important;
}

.dataTables_info {
    font-size: 13px;
}

.text_center {
    text-align: center;
}

.title-menu h3 {
    font-size: 23px;
    font-weight: 600;
    color: var(--content-text-color);
}

.main_content .analytics-box {
    display: block;
    width: 100%;
    padding: 24px;
    border-radius: 20px;
    background: var(--content-bg-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.analytics1 h4{
    color: var(--analytics-text-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.analytics-box p {
    color: var(--analytics-text-color);
    font-size: 16px;
}

.main_content .analytics-box .analytics1 {
    text-align: center;
    margin-bottom: 50px;
    border-radius: 30px;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
}

.card{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.card canvas{
    width: 100% !important;
    height: auto !important;
}

#chartbartotal{
    margin-bottom: 10px;
}

#chartlinetotal{
    margin-bottom: 10px;
}

.main_content .analytics-box .problem {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    width: 100%;
}

table th {
    width:15%;
}

table th, td{
    color: var(--analytics-text-color);
}

.C-R .judul-cr {
    text-align: center;
    color: var(--analytics-text-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.conc-recom {
    margin-bottom: 25px;
}

.conc-recom, .conc-recom2 {
    padding: 40px;
    padding-top: 20px;
    text-align: justify;
    border-radius: 20px;
    background: var(--content-bg-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.conc-recom ol {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.conc-recom li {
    list-style: inherit;
    color: var(--analytics-text-color);
}

.conc-recom2 li {
    list-style: inherit;
    color: var(--analytics-text-color);
}


.footer{
    width: 100%;
    display: grid;
    margin: 0 1px;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "f1 f2";
    padding: 30px 30px 20px;
    background-color: var(--footer-color);
    border-radius: 20px 20px 0 0;
}

.cite{
    font-size: 18px;
    grid-area: f1;
    align-content: center;
    color: var(--sidebar-text-color);
}

.media{
    grid-area: f2;
}

.socialIcn{
    display: flex;
    justify-content: end;
    gap: 10px;
}

.socialIcn a{
    text-decoration: none;
    padding: 5px 10px 5px 10px;
    background-color: var(--sidebar-bg-color);
    border-radius: 100%;
}

.socialIcn a i{
    color: var(--sidebar-text-color);
    transition: 0.5s;
}


.socialIcn a:hover{
    background-color: var(--content-bg-color);
    transition: 0.5s;
}

.socialIcn a:hover i{
    color: var(--link-footer);
    transition: 0.5s;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 30px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: var(--primary-color); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    padding: 20px;
    background-color: white;
    border: 1px solid #888;
    width: 80%;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
  }
  
  /* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
  }
  
  /* Add Animation */
  .modal-content, #caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #b9acac;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }

