@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@keyframes open {

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    background: url('../images/map-indonesia.png') center center no-repeat, url('../images/bg-kanan-atas.png') top right no-repeat, url('../images/bg-kanan-bawah.png') bottom right no-repeat, url('../images/bg-kiri-bawah.png') bottom left no-repeat, url('../images/bg-kiri-atas.png') top left no-repeat;
    background-attachment: fixed;
    background-size: cover, auto, auto, auto, auto;
    color: #636b6f;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    margin: 0;
    position: fixed;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    overflow-x: hidden;
    display: block;
}

:root
{
    --blue: #287bff;
    --white: #fff;
    --grey: #f5f5f5;
    --black1: #222;
    --black2: #999;
}

/* mainmenu */

input{
    /*display: none;*/
    /* visibility: hidden; */
}

.slide {
    height: 100vh;
    z-index: 101;
    width: 237px;
    position: absolute;
    background-color: #fff;
    transition: 0.5s ease;
    transform: translateX(-237px);
    top: 0px;
    overflow-x: hidden;
}

.slide h3 {
    position: absolute;
    left: 20px;
    top: 10px;
    font-weight: bold;
    color: #063A69;
}

.slide {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    overflow-y: auto;
}

.slide::-webkit-scrollbar {
    width: 4px;
    background: transparent;
    position: absolute;
    z-index: 999;
}

.slide::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    transition: all 0.3s ease;
    min-height: 20px;
}

.slide::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slide::-webkit-scrollbar-track {
    background: transparent;
}

.slide.active
{
    width: 238px;
    border-right: #000000 solid 1px;
    /* overflow: hidden; */
    /* transition: all ease-out .5s; */
    overflow-y: auto;
    background-color: var(--white);
    z-index: 10001;
    display: flex;
    left: 0;
}

.slide > ul{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}
.slide > ul > li {
    position: relative;
    width: 100%;
    list-style: none;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.slide > ul > li > ul > li {
    position: relative;
    width: 100%;
    list-style: none;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.slide a {
    width: 100%;
}

/* toggle */
.toggle {
    position: absolute;
    height: 45px;
    width: 45px;
    z-index: 10000001;
    cursor: pointer;
    top: 15px;
    left: 20px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) ;
    transition-duration: 0.5s;
}
.toggle .common {
    position: absolute;
    height: 4px;
    width: 35px;
    background-color: crimson;
    transition: 0.3s;
    border-radius: 50px;
}

.toggle .top_line{
    top: 30%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.toggle .middle_line{
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.toggle .bottom_line{
    top: 70%;
    left: 50%;
    transform: translate(-50%,-50%);
}

input:checked ~ .toggle{
    height: 25px;
    width: 25px;
    top: 5px;
    left: 200px;
    transition-duration: 0.5s;
}

input:checked ~ .toggle .top_line{
    left: 2px;
    top: 11px;
    width: 20px;
    transform: rotate(45deg);
}

input:checked ~ .toggle .middle_line{
    opacity: 0;
    transform: translateX(20px);
}

input:checked ~ .toggle .bottom_line{
    left: 2px;
    top: 11px;
    width: 20px;
    transform: rotate(-45deg);
}

input:checked ~ .slide {
    transform: translateX(0px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5) ;
}

/* main content */
.main
{
    position: absolute;
    width: 100%;
    min-height: 100%;
    /* transition: 0.5s; */
    /* overflow: hidden; */
    top: 10px;
}

.content {
    position: relative;
    width: 100%;
    padding: 10px;
    align-items: center;
    box-shadow: 0 0 10px rgba(4, 0, 255, 0.3) ;
}

.header {
    position: relative;
    width: 100%;
    padding: 0 10px 0 10px;
    align-items: center;
    box-shadow: 0 0 10px rgba(4, 0, 255, 0.3) ;
}

.row > ul {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 2px;
    top: 0;
    left: 0;
    width: 100%;

}

.row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

.main .row {
    width: 100%;
}

.full-height {
    height: 100vh;
}

.flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.top-right {
    position: absolute;
    right: 10px;
    top: 18px;
}

.title {
    font-size: 84px;
}

.links > a {
    color: #636b6f;
    padding: 0 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.m-b-md {
    margin-bottom: 30px;
}


.card-dongker {
    background: #063A69;
    color: #fff;
    border: none;
    margin-bottom: 10px;
}
.chart-box {
    text-align: center;
    /* overflow: hidden; */
    width: 175px;
    height: 175px;
    }
.chart-box canvas {

    width: 100%;
    margin: auto;
}
.grafik_batang canvas{
    width: 100%;
    margin: auto;
}

.ket_grafik_batang {
    position: relative;
    top: -220px;
    left: 590px;
}

.login-box {
    position: absolute;
    right: -335px;
    top: 0;
    z-index: 2;
    background: #063A69;
    height: 100vh;
    padding: 20px;
    border-radius: 20px 0 0 20px;
    width: 350px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all .5s;
}
.login-box.open {
    right: 0;
}
.login-box::after {
    content: '';
    display: block;
    position: fixed;
    background: #000;
}
.login-box .btn-enter {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 24px;
    margin-left: -40px;
    background: #063A69;
    padding: 2px 8px;
    border-radius: 90px;
}
.logo-admin img{
    height: 100px;
    margin-right: 10px;
}
.logo-admin .title {
    font-size: 20px;
    font-weight: bold;
}
.logo-admin .subtitle {
    font-size: 10px;
    color: #fff;
    background: #2C83D2;
    padding: 2px 4px;
    border-radius: 3px;
}
.bg-primary {
    background: #063A69;
}
.card-text.small {
    font-size: 10px;
}
.logo {
    max-height: 100px;
}
.logo-smaller {
    max-height: 50px;
}
.avatar img{
    max-height: 100%;
    margin-right: 10px;
}

.btn-dongker {
    background: #063A69;
    color: #ffffff;
    border-radius: 50px;
    width: 100%;
}
.btn-dongker:hover {
    background: #063A69;
    color: #fff;
}

.btn-pills {
    border-radius: 50px;
}
.btn-warning {
    background-color: #fd7e14;
}
.bg-light-grey {
    background-color: #f2f2f2 !important;
}

.font-tebal {
	font-weight:550;
}
.font-tebala {
	font-weight:700;
}
.font-hitam {
	color:#000;
}
.hd_caput {
	padding:5pt;
	background: #063A69;
    color: #fff;
	border-radius:40px;
	font-weight:500;
}
.hd_caputa {
	padding-top:25px;
	height:80px;
	width:80px;
	background: #063A69;
    color: #fff;
	border-radius:40px;
	font-weight:500;
	font-size:18pt!important;
}
.tbl_caput {
	font-size:11pt;
	border-spacing: 5px;
	border-collapse: separate;
}
.isi_caput {
	padding:5pt;
	color:#000;
	background: #c0c0c0;
	font-weight:500;
	text-align:center;
	border-radius:40px;
}
.isi_caputa {
	padding-top:4px;
	height:30px;
	width:30px;
	color:#fff;
	background: #063A69;
	font-weight:500;
	text-align:center;
	border-radius:40px;
}

/* .main .topbar */
.topbar
{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;

}

.dashboard-title {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}
.dashboard-title h1 {
    font-weight: bold;
    font-size: 64px;
}
.dashboard-title h2 {
    font-size: 16px;
    display: inline-block;
    color: #fff;
    background: #2C83D2;
    padding: 4px 8px;
    border-radius: 5px;
}
.dashboard-title h3 {
    margin-top: 30px;
    font-size: 20px;
    font-weight: bold;
}
.table {
    background-image: linear-gradient(to right, #e6f2ff, #99ccff);
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
    justify-content: center;
    width: 100%;
}

.table thead th {
    background-color: rgba(0, 0, 0, 0.1);
    font-weight: 800;
    text-align: center;
    justify-content: center;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.3);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.1);
}
.table tbody td {
    background-color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.table-striped tbody tr:nth-of-type(odd) td {
    background-color: rgba(230, 242, 255, 0.7);
}

.table-hover tbody tr:hover td {
    background-color: rgba(0, 123, 255, 0.1);
}
.table td {
    text-decoration: none;
    color: #000000;
}

.table td a {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
}
.timeline {
    font-weight: bold;
    text-decoration: none;
    background-image: linear-gradient(to right, #e6f2ff, #aad5fd);
    padding: 10px;
    border-radius: 5px;
}

.user
{
    position: relative;
    min-width: 40px;
    height: 40px;
    /* overflow: hidden; */
    cursor: pointer;
}
.user img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grafik_batang {
    height: 275px;
    width: 100%;
}

.ring_bell {
    position: relative;
    left: 40px;
    z-index: 100001
}

.ring_bell i{
    position: relative;
    left: 20px;
}

.ring_bell .badge {
    position: relative;
    right: 15px;
}


.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Styling Badge */
/* .badge {
    font-size: 0.8rem;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    padding: 0;
} */

/* Notification Item Hover */
.notification-item a {
    transition: all 0.3s ease;
}

.notification-item a:hover {
    background-color: #f8f9fa;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

/* General Text Styling */
.dropdown-menu .text-muted {
    font-size: 0.85rem;
}

.dropdown-header h6 {
    font-size: 0.95rem;
    font-weight: bold;
}

/* Remove Default Bullets */
ul.dropdown-menu {
    list-style: none;
    /* Menghapus bullets */
    padding-left: 0;
}

/* Bell Icon Hover Effect */
#navbarDropdown {
    transition: transform 0.2s ease;
}

#navbarDropdown:hover {
    transform: scale(1.1);
}

/* Scrollbar for Long Content */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
@media (max-width: 991px) {
    .modal-xl {
        --bs-modal-width: 90%;
    }
    .user
    {
        min-width: 40px;
    }
    .navigasi
    {
        left: -300px;
    }
    .navigasi.active
    {
        width: 300px;
        left: 0;
    }

    .cardBox
    {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 480px)
{
    body {
        overflow-x: hidden;
    }

    .main {
        left: 5px;
    }
    .cardBox
    {
        grid-template-columns: repeat(1,1fr);
    }
    .cardHeader h2
    {
        font-size: 20px;
    }
    .user
    {
        min-width: 40px;
    }
    .navigasi
    {
        width: 100%;
        left: -100%;
        z-index: 1000;
    }
    .navigasi.active
    {
        width: 100%;
        left: 0;
    }
    .toggle
    {
        z-index: 1000001;
        top: 28px;
    }
    .toggle.active
    {
        position: fixed;
        /* right: 238px; */
        left: initial;
    }

    .overlay {overflow-y: auto;}
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }

    .avatar {
        position: relative;
        align-items: center;
        justify-items: center;
        left: 25px;
    }

    .avatar img{
        height: 50px;
    }

    .ring_bell {
        position: relative;
        top: 15px;
        left: 70px;
        z-index: 101;
    }

    .ring_bell .badge {
        position: relative;
        right: 20px
    }

    .grafik_batang {
        position: relative;
        width: 500px;
        height: 100%;
        left: -50px;
    }

    .chart-box canvas {

        position: relative;
        height: 90px;
        width: 100%;
    }
}
