/*
  *custom tampilan
*/

.menu-item {
  display: block;
  padding: 10px 15px;
  padding-right: 200px;
  margin-left: 16px;
  text-decoration: none;
  color: rgb(167, 177, 194);
  background-color: rgb(47, 64, 80);
  margin-bottom: 5px;
  margin-top: 4px;
  border-radius: 4px;
  white-space: nowrap; 
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.menu-item:hover {
  color: white; 
  background-color: rgb(41, 56, 70); 
}

#searchInput {
  border-radius: 5px; 
  width: 260px; 
  margin-left: 7px;
}

.nav-tabs > li > a
{
  padding-top: 6px; 
  padding-bottom: 4px;
}

/* melebarkan side bar*/
body.canvas-menu.mini-navbar nav.navbar-static-side {
  width: 280px;
}

body {
  background-color: #FFFFFF !important;
}

table.dataTable tbody th, table.dataTable tbody td {
  padding: 4px 6px; /* e.g. change 8x to 4px here */
}

/* override transparant background fixed header*/
table.dataTable thead {
  background: #F5F5F6 !important;
}

table.dataTable tfoot tr th{
  padding: 5px !important;
  border: none;
}

/*
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  border-top: 1px solid #e7eaec;
  line-height: 1.42857;
  padding: 5px !important;
  vertical-align: top;
}

table.dataTable td {
  font-size: 11.5px;
}

.dataTables_info, .dataTables_length, .dataTables_length select{ 
  font-size: 11px !important;
}

.dropdown-item:focus, .dropdown-item:hover{
  background-color:#1ab394 !important;
  border-color: #18a689;
  color: #FFFFFF;
}

.table > thead > tr > th, 
.table > thead > tr > td {
  background-color: #fff !important;
  font-size: 13px;
}
*/
.text-approved {
  color: #239B56;
}
.bg-defaultprogram {
  background-color: #edffc1;
}

/* Per-user dark theme: keep custom widgets readable alongside the base template. */
body.user-dark-mode .dt-button-collection,
body.user-dark-mode .dt-button-collection .dropdown-menu,
body.user-dark-mode .dropdown-menu.dt-button-collection {
  color: #e5eaf2 !important;
  background: #202a38 !important;
  border: 1px solid #45546a !important;
}
body.user-dark-mode .dt-button-collection .dt-button,
body.user-dark-mode .dt-button-collection a,
body.user-dark-mode .dt-button-collection button,
body.user-dark-mode .dt-button-collection label {
  color: #e5eaf2 !important;
  background: #202a38 !important;
  border-color: #45546a !important;
  text-shadow: none !important;
}
body.user-dark-mode .dt-button-collection .dt-button:hover,
body.user-dark-mode .dt-button-collection a:hover,
body.user-dark-mode .dt-button-collection button:hover {
  color: #fff !important;
  background: #304057 !important;
}
body.user-dark-mode .dataTables_wrapper .dt-button,
body.user-dark-mode .dataTables_wrapper button.dt-button,
body.user-dark-mode .dataTables_wrapper a.dt-button {
  color: #e5eaf2 !important;
  background: #2a3749 !important;
  border-color: #526176 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
body.user-dark-mode .dataTables_wrapper .dt-button:hover,
body.user-dark-mode .dataTables_wrapper button.dt-button:hover,
body.user-dark-mode .dataTables_wrapper a.dt-button:hover {
  color: #fff !important;
  background: #384960 !important;
  border-color: #71839b !important;
}
body.user-dark-mode .dataTables_wrapper .dataTables_filter input,
body.user-dark-mode .dataTables_wrapper .dataTables_length select,
body.user-dark-mode .dataTables_wrapper select,
body.user-dark-mode .dataTables_wrapper input:not([type="checkbox"]):not([type="radio"]),
body.user-dark-mode .dataTables_wrapper textarea {
  color: #edf2f7 !important;
  background: #182230 !important;
  border-color: #45546a !important;
}
body.user-dark-mode table.dataTable thead,
body.user-dark-mode table.dataTable thead th,
body.user-dark-mode table.dataTable thead td {
  color: #e5eaf2 !important;
  background: #263345 !important;
}
body.user-dark-mode table.dataTable tbody tr:hover,
body.user-dark-mode table.dataTable tbody tr:hover > *,
body.user-dark-mode .table-hover > tbody > tr:hover > * {
  color: #f1f5f9 !important;
  background-color: #304057 !important;
}
body.user-dark-mode table.dataTable tbody tr.selected,
body.user-dark-mode table.dataTable tbody tr.selected > *,
body.user-dark-mode table.dataTable tbody > tr.dt-row-selected,
body.user-dark-mode table.dataTable tbody > tr.dt-row-selected > *,
body.user-dark-mode .table > tbody > tr.selected > * {
  color: #f8fafc !important;
  background-color: #155e75 !important;
}
body.user-dark-mode table.dataTable tbody tr.selected:hover > *,
body.user-dark-mode table.dataTable tbody > tr.dt-row-selected:hover > * {
  color: #fff !important;
  background-color: #0e7490 !important;
}
body.user-dark-mode .select2-dropdown,
body.user-dark-mode .select2-container--default .select2-selection,
body.user-dark-mode .select2-container--bootstrap .select2-selection,
body.user-dark-mode .select2-container--bootstrap4 .select2-selection {
  color: #e5eaf2 !important;
  background: #182230 !important;
  border-color: #45546a !important;
}
body.user-dark-mode .select2-results__option,
body.user-dark-mode .select2-container--default .select2-selection__rendered,
body.user-dark-mode .select2-container--bootstrap .select2-selection__rendered,
body.user-dark-mode .select2-container--bootstrap4 .select2-selection__rendered {
  color: #e5eaf2 !important;
}
body.user-dark-mode .select2-results__option--highlighted,
body.user-dark-mode .select2-results__option[aria-selected="true"] {
  color: #fff !important;
  background: #304057 !important;
}
body.user-dark-mode .nav-tabs > li > a,
body.user-dark-mode .nav-tabs > li.active > a,
body.user-dark-mode .nav-tabs > li.active > a:hover,
body.user-dark-mode .nav-tabs > li.active > a:focus {
  color: #dce5f0 !important;
  background: #202a38 !important;
  border-color: #354255 !important;
}
.appearance-theme-control { display: flex; align-items: center; gap: 12px; }
.appearance-theme-label { margin: 0; }
.appearance-theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 68px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  color: #475569;
  background: #e2e8f0;
  cursor: pointer;
}
.appearance-theme-switch .fa { z-index: 1; font-size: 14px; }
.appearance-theme-switch .appearance-theme-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f4c95d;
  transition: transform .18s ease;
}
.appearance-theme-switch.is-dark .appearance-theme-thumb {
  background: #a9c7ef;
  transform: translateX(34px);
}
body.user-dark-mode .appearance-theme-switch { color: #e5eaf2; background: #263345; border-color: #526176; }

.dt-button.buttons-columnVisibility {
  background-color: #7ebdb0;
  color: white;
}
 
.dt-button.buttons-columnVisibility.active {
  background-color: #1ab394;
}

/* untuk field info */
.text-secondary {
  color: #009a4f !important;
}

.bg-beige {
  background-color: #F5F5DC !important;
}

.modal-xxxl {
  max-width: 1250px;
  top: -10px;
}

