@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --color-main: #044923;

    --scroll:#009846;
    --scroll-hover:#009688;
  --tran-05: all 0.5s ease;

  --tombole:#032b15;
  --tombolaktive:#125f35;

}

* {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

#sidebar-toggle {
    display: none;
}

.body-label {
    position: fixed;
    height: 100%;
    width: calc(100% - 280px);
    z-index: 30;
    right: -100%;
    top: 0;
}

#sidebar-toggle:checked~.sidebarx {
    left: -100%;
}


#sidebar-toggle:checked~.main-content .header {
    left: 0%;
    width: 100%;
    right: 0;
}

#sidebar-toggle:checked~.main-content {
    margin-left: 0;
}

.sidebarx {
    width: 280px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    padding: 1rem 1.5rem;
    background: var(--color-main);
    color: #fff;
    z-index: 20;
    transition: left 300ms;
    overflow-x: hidden;
    overflow-y: auto;

}



.sidebar-brand {
    height: 70px;
}

.brand-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-icons span {
    font-size: 1.5rem;
    margin-left: .5rem;
}

.sidebar-user {
    margin: 1rem 0rem 1rem 0rem;
    text-align: center;
}

.sidebar-user .img {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  
}


.sidebar-user .img::before{
    content:''; /*tampilkan teks tanpa bisa dideteksi cursor mouse*/
    position: absolute;
    transform-origin: bottom right;
    top:-50%;
    left:-50%;
    width: 120px;
    height: 120px;
    background: linear-gradient(0deg, transparent, #45f3ff, #45f3ff);
    animation: animasie 5s linear infinite;
    animation-delay:-2.5s;
}

.sidebar-user .img::after{
    content:''; /*tampilkan teks tanpa bisa dideteksi cursor mouse*/
    position: absolute;
    transform-origin: bottom right;
    top:-50%;
    left:-50%;
    width: 120px;
    height: 120px;
    background: linear-gradient(0deg, transparent, #45f3ff, #45f3ff);
    animation: animasie 5s linear infinite;
}

.sidebar-user img{
    position: absolute;
    object-fit: cover;
    width: 115px;
    z-index: 99;
}

@keyframes animasie{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}


.animasix{
    animation: blinker 3s linear infinite;

}
@keyframes blinker {
    50% {
      opacity: 0.7;
    }
  }

.sidebar-user h3 {
    font-size: 1rem;
}

.sidebar-user span {
    font-size: .8rem;
}




.sidebar-menu {
    margin-top: 3rem;

}

.menu-head {
    text-transform: uppercase;
    color: #8da2fb;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: .8rem;
}

.sidebar-menu ul {
    margin-bottom: 1.5rem;
}

.sidebar-menu li a {
    padding: .9rem;

}

.sidebar-menu li {
    border-radius: 20px;
    transition: background-color 0.5s linear;

}

.sidebar-menu li:hover {
    background-color:  #0c8c96;
    /* background:  linear-gradient(0deg, transparent, #1e929b, #0c8c96); */


}

.sidebar-menu li a {
    color: #efefef;
    font-size: .9rem;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sidebar-menu li a span {
    font-size: 1.5rem;
    display: inline-block;
    margin-right: .8rem;
}

.header {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #efefef;
    padding: 1rem 1.5rem;
    position: fixed;
    left: 280px;
    width: calc(100% - 280px);
    top: 0;
    z-index: 11;
    background: #fff;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
}

.menu-toggle label {
    height: 60px;
    width: 60px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    border-radius: 50%;
}

.header-icons span {
    display: inline-block;
    margin-left: .7rem;
    font-size: 1.4rem;
}


.menu-toggle label:hover {
    background: #efefef;
}

.main-content {
    margin-left: 280px;
    transition: margin-left 300ms;
}

main {
    padding: 1.5rem;
    background: #f1f5f9;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
}

.page-header {
    display: flex;
    justify-content: space-between;
}

.header-actions button {
    outline: none;
    color: #fff;
    background: #5850ec;
    border: none;
    padding: .6rem 1rem;
    margin-left: 1rem;
    border-radius: 3px;
    font-weight: 600;
}

.header-actions button span {
    font-size: 1.2rem;
    margin-right: .6rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3rem;
    margin-top: 2rem;
}

.card-single {
    background: #fff;
    padding: 1rem;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.card-flex {
    display: grid;
    grid-template-columns: 70% auto;
    align-items: center;
}

.card-head span {
    display: block;
    text-transform: uppercase;
    color: #555;
    font-size: .9rem;
}

.card-head small {
    font-weight: 600;
    color: #555;
}

.card-info h2 {
    font-size: 2.2rem;
    color: #333;
}

.card-chart span {
    font-size: 5rem;
}

.card-chart.success span {
    color: seagreen;
}

.card-chart.danger span {
    color: tomato;
}

.card-chart.yellow span {
    color: orangered;
}

.jobs-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: auto 66%;
    grid-gap: 3rem;
}

.analytics-card {
    background: #fff;
    padding: 1.5rem;
}

.analytics-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.analytics-head span {
    font-size: 1.5rem;
}

.analytics-chart small {
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 1rem;
}

.chart-circle {
    height: 150px;
    width: 150px;
    border-left: 10px solid transparent;
    border-right: 10px solid #5850ec;
    border-bottom: 10px solid #5850ec;
    border-top: 10px solid #5850ec;
    display: grid;
    place-items: center;
    margin: auto;
    border-radius: 50%;
    margin-bottom: 3rem;
}

.analytics-card button {
    display: block;
    padding: .6rem 1rem;
    width: 100%;
    height: 45px;
    background: #5850ec;
    color: #fff;
    border: 1px solid #5850ec;
    border-radius: 3px;
}

.jobs h2 small {
    color: #5850ec;
    font-weight: 600;
    display: inline-block;
    margin-left: 1rem;
    font-size: .9rem;
}

.jobs table {
    border-collapse: collapse;
    margin-top: 1rem;
    overflow-x: auto;
}

span.indicator {
    background: #c9f7f5;
    height: 10px;
    width: 10px;
    border-radius: 50%;
}

span.indicator.even {
    background: #fff4de;
    height: 10px;
    width: 10px;
    border-radius: 50%;
}

.jobs td div {
    background: #fff;
    margin-bottom: .8rem;
    height: 60px;
    display: flex;
    align-items: center;
    padding: .5rem;
    font-size: .85rem;
    color: #444;
    font-weight: 500;
}

table button {
    background: #8da2fb;
    color: var(--tombole);
    border: 1px solid #8da2fb;
    padding: .5rem;
    border-radius: 3px;
}

.table-responsive {
    overflow: auto;
    padding: 10px;

}

.table-responsive tr { 
    line-height: 24px; 
}


.icon-menu {
    cursor: pointer;
}

.list-icon-menu {
    z-index: 40;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-color:#8da2fb;
}

.img-user {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    object-fit: fill;
}

.name-user{
    margin-left: 20px;
    font-size:0.8em;
    text-overflow: ellipsis;
}
.waktu-user{
    margin-left: 20px;
    font-size:0.7em;
    text-overflow: ellipsis;
}

.menu-app li.active{
    background-color: var(--tombolaktive) ;
    border-radius: 20px;
}
.menu-app li.active:hover{
    background-color: var(--tombole);
}

.dropdown-container {
    display: none;
    background-color: #262626;
    padding-left: 8px;
  }


footer{
    background: var(--color-main);
    color: #fff;
}

@media only screen and (max-width: 1124px) {
    .sidebarx {
        left: -100%;
        z-index: 30;
    }

    .main-content {
        margin-left: 0;
    }

    .header {
        left: 0;
        width: 100%;
    }

    #sidebar-toggle:checked~.sidebarx {
        left: 0;
    }

    #sidebar-toggle:checked~.body-label {
        right: 0;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .cards {
        grid-template-columns: 100%;
    }

    .jobs-grid {
        grid-template-columns: 100%;
    }

    .page-header {
        display: block;
    }

    .header-actions {
        margin-top: 1rem;
        text-align: right;
    }

    .header-actions button:first-child {
        margin-left: 0rem;
    }
}




.sidebarx::-webkit-scrollbar {
    z-index: 999;
    width: 10px;
    transition: var(--tran-05);
  }
  
  /* Handle */
  .sidebarx::-webkit-scrollbar-thumb {
    background:var(--scroll);
  }
  
  /* Handle on hover */
  .sidebarx::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-hover);
  }