@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
    font-family: "Poppins", sans-serif !important;
}

#map { position: absolute; top: 0; bottom: 0; width: 100%; z-index: -1;}

.mapboxgl-ctrl-bottom-left{
    display: none;
}
.mapboxgl-ctrl-bottom-right{
    display: none;
}



#custom-page{
    font-family: "Poppins", sans-serif !important;
    background-color: #292929;
}

.custom-card {
    font-family: "Poppins", sans-serif !important;
    background-color: #1F1F1F;
    box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.37);
    -webkit-box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.37);
    -moz-box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.37);
    color:white !important;
}

.custom-shadow{
    box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.37);
    -webkit-box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.37);
    -moz-box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.37);
}

.custom-hr {
    display: block;
    height: 2px;
    border: 0;
    border-top: 3px solid #525252;
    margin: 1em 0;
    padding: 0;
}

.bg-gradient-primary {
    background-color: #39539e !important;
    background-image: none !important;
}

.bg-custom-dark{
    background-color: #292929 !important;
    color:white !important;
}

.dropdown-hover{
    background-color: #292929 !important;
    color:white !important;
}

.btn-info{
    background-color: #39539e !important;
}
.swal2-styled.swal2-confirm{
    background-color: #39539e !important;
}

.input-group.input-group-dynamic .form-control {
    background-color: #292929 !important;
    background-image: linear-gradient(0deg, #39539e 2px, rgba(156, 39, 176, 0) 0), linear-gradient(0deg, #292929 1px, rgba(209, 209, 209, 0) 0) !important;
    padding-left: 10px !important;
    color: white !important;
}

.dropdown .dropdown-menu::before {
    content:none !important;
}

#dropdownd.show {
    margin-top: 3.813rem !important;
    margin-right:8px !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color:transparent !important;
  }

.select2-results__option:hover{
    background-color: #414040 !important;
}
.select2-dropdown{
    background-color: #292929 !important;
    border: 0 !important;
    box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.37);
    -webkit-box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.37);
    -moz-box-shadow: 1px 1px 7px 0px rgba(0,0,0,0.37);
    color: white !important;
}

.select2-container {
    min-width: 100%;
}

.select2-results__option {
    padding-right: 20px;
    vertical-align: middle;
}
.select2-results__option:before {
    content: "";
    display: inline-block;
    position: relative;
    height: 20px;
    width: 20px;
    border: 2px solid #e9e9e9;
    border-radius: 4px;
    background-color: #fff;
    margin-right: 20px;
    vertical-align: middle;
}
.select2-results__option[aria-selected=true]:before {
    font-family:fontAwesome;
    content: "\f00c";
    color: #FFF;
    background-color: #39539E;
    border: 0 !important;
    display: inline-block;
    padding-left: 3px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    background-color: #39539E !important;
    border: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    color:white !important;
}

.select2-container--default .select2-selection--multiple {
    background-color: #141414 !important;
    border: 0px solid #aaa !important;
    border-radius: 4px;
    cursor: text;
    color:white !important;
  }

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #FFF;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0202d8;
    color: #FFF;
}
.select2-container--default .select2-selection--multiple {
    margin-bottom: 10px;
}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-radius: 4px;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #f77750;
    border-width: 2px;
}
.select2-container--default .select2-selection--multiple {
    border-width: 2px;
}
.select2-container--open .select2-dropdown--below {
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.select2-selection .select2-selection--multiple:after {
    content: 'hhghgh';
}
/* select with icons badges single*/
.select-icon .select2-selection__placeholder .badge {
    display: none;
}

.select-icon .select2-results__option:before,
.select-icon .select2-results__option[aria-selected=true]:before {
    display: none !important;
/* content: "" !important; */
}
.select-icon  .select2-search--dropdown {
    display: none;
}

.select2-search__field{
    color:white !important;
}

.dropdown-item:hover{
    background-color: #414040 !important;
}

/* start: Avatar */
.avatar-group {
    display: flex;
    align-items: center;
    justify-content: center;
}
.avatar {
    position: relative;
    transition: .2s;
    height: 38px !important;
    width:38px !important;
    font-size: 14px !important;
}
.avatar:not(:first-child) {
    margin-left: -1.5rem;
}
.avatar:hover {
    z-index: 1;
    /* transform: translateY(-.5rem); */
}
.avatar-name {
    position: absolute;
    bottom: calc(100% + .5rem);
    left: 50%;
    transform: translateX(-50%);
    padding: .5rem .75rem;
    border-radius: .25rem;
    background-color: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: .875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: .2s;
}
.avatar-name::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: .5rem solid;
    border-color: rgba(0, 0, 0, .7) transparent transparent;
}
.avatar:hover .avatar-name {
    opacity: 1;
    visibility: visible;
}
.avatar img {
    width: 4rem;
    height: 4rem;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .1);
}
/* end: Avatar */
.dt-info{
    padding-left:10px !important;
    color:white !important;
    font-weight: bold;
}

table#example.dataTable tbody tr:hover {
    background-color: #383838 !important;
}

table#example.dataTable tbody tr:hover > .sorting_1 {
    background-color: #383838 !important;
}

table#table_device.dataTable tbody tr:hover {
    background-color: #383838 !important;
}

table#table_device.dataTable tbody tr:hover > .sorting_1 {
    background-color: #383838 !important;
}

.card-media{
    background-color: #1F1F1F !important;
    color:white;
}

.file-ic:hover {
    background-color: #2b2a2a;
}

.file-ic-detail:hover {
    background-color: #2b2a2a;
}

.page-file-text{
    color:#39539E;
}

.page-file-text:hover{
    color:#fff;
}

.highcharts-credits{
    display: none;
}

.highcharts-background{
    display: none;
}

.highcharts-title{
    fill:white !important;
    display:none;
}


.highcharts-axis-title{
    fill:white !important;
}

.highcharts-axis-labels > text{
    fill:white !important;
}

.highcharts-a11y-proxy-element{
    opacity: none !important;
    background-color: red !important;
    color:white !important;
}
 /* Popup modal styles */
 .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1050; /* Set higher z-index */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Black background with transparency */
    display: flex;
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
}

.modal-content-filter {
    background-color: #2b2a2a !important; /* Warna abu-abu untuk background modal */
    padding: 20px;
    border: 0px solid #888;
    width: 35%; /* Set the width to 50% of the viewport */
    max-width: 600px; /* Optionally, set a maximum width */
    border-radius: 10px; /* Membuat 4 sudut modal menjadi melengkung */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Memberikan sedikit shadow untuk tampilan elegan */
    transform: translate(-50%, -50%);
    position: absolute;
    top: 40%;
    left: 50%;
}

.modal-content-filter label {
    display: block; /* Ensure the label is on its own line */
    font-size: 16px;
    margin-bottom: 10px; /* Add space below label */
    color: #fff;
}

.modal-content-filter input {
    background-color: #141414;
    color: #e9e9e9;
    display: block; /* Ensure the input is on its own line */
    width: 100%; /* Make input fill the available width */
    padding: 10px; /* Add padding to input */
    margin-bottom: 20px; /* Add space below the input */
    font-size: 16px; /* Make font size consistent */
    border-radius: 5px; /* Slightly rounded input edges */;
    border: 1px solid #888; /* Add a border to the input */
}

.modal-content-filter .button-container {
    text-align: right; /* Align buttons to the right */
    margin-top: 20px; /* Add margin on top for spacing */
}

.modal-content-filter button {
    padding: 10px 20px; /* Make buttons larger and more comfortable to click */
    margin-left: 10px; /* Add space between the close and OK buttons */
    border: none;
    background-color: #fff; /* Dark background color for buttons */
    color: #39539E; /* White text for contrast */
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px; /* Slightly rounded button edges */
}


.close {
    background-color: #e74c3c; /* Red close button */
}

#yearOk, #yearMonthOk, #fullDateOk {
    background-color: #39539e; /* Green OK button */
    color: #fff;
}

/* Sidenav styles */
.g-sidenav-show .sidenav {
    z-index: 1040; /* Set z-index lower than modal */
}
select {
    background-color: #39539e; /* Warna background hitam */
    font-family: "Poppins", sans-serif !important;
    color: #fff; /* Warna teks putih agar terlihat di background hitam */
    border: 1px solid #39539e; /* Opsional, untuk batas */
    padding: 0 35px; /* Opsional, untuk padding dalam */
    border-radius: 5px; /* Opsional, untuk membuat sudut lebih lembut */
    width: auto; /* Atur lebar otomatis atau sesuai kebutuhan */
    height: 38px;
}

.highcharts-legend-item text {
    fill: #FFF !important; /* Mengubah warna teks menjadi putih */
}

.notifications-container {
    max-height: 350px;
    overflow-y: auto;
    background-color: #292929; /* Background hitam untuk kontainer */
}

/* Gaya untuk scrollbar */
.notifications-container::-webkit-scrollbar {
    width: 8px; /* Lebar scrollbar */
}

.notifications-container::-webkit-scrollbar-thumb {
    background-color: white; /* Warna scrollbar */
    border-radius: 10px; /* Sudut scrollbar */
}

.notifications-container::-webkit-scrollbar-track {
    background: black; /* Warna track scrollbar */
}

.modal-scrollable {
    max-height: 300px; /* Sesuaikan tinggi maksimum sesuai kebutuhan */
    overflow-y: auto;  /* Scroll vertikal jika konten melebihi batas */
    padding-right: 5px; /* Opsional: memberikan ruang untuk scrollbar */
  }
  
  .modal-scrollable::-webkit-scrollbar {
    width: 8px; /* Lebar scrollbar untuk browser berbasis WebKit */
  }
  
  .modal-scrollable::-webkit-scrollbar-thumb {
    background: #555; /* Warna scrollbar */
    border-radius: 4px; /* Membuat scrollbar lebih halus */
  }
  
  .modal-scrollable::-webkit-scrollbar-thumb:hover {
    background: #777; /* Warna scrollbar saat di-hover */
  }
  
  .modal-scrollable::-webkit-scrollbar-track {
    background: #1F1F1F; /* Warna jalur scrollbar */
  }

  .highcharts-data-table {
    display: none !important;
}
.highcharts-menu-item:nth-child(10) {
    display: none !important;
}

.highcharts-credits {
    display: none !important;
}
