@charset "UTF-8";

/* ===== Reset dasar ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  line-height: 1.5;
  height: 100vh;
  width: 100%;
  color: var(--color);
}

/* ===== Heading & text ===== */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

/* ===== List ===== */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ===== Link ===== */
a {
  text-decoration: none;
  color: inherit;
}

/* ===== Media ===== */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Table ===== */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ===== Hidden ===== */
[hidden] {
  display: none;
}

/* ===== Smooth scroll (opsional) ===== */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  height: 100%;
  margin: 0;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg);
  font-size: 14px;
  font-family: "Google Sans", sans-serif;
  color: var(--color);
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease;
}

/* Animasi Background Bulatan */
.bg-animate {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent), var(--primary));
  filter: blur(80px);
  animation: move 20s infinite alternate;
  opacity: 0.3;
}

@keyframes move {
  from {
    transform: translate(-10%, -10%);
  }
  to {
    transform: translate(20%, 20%);
  }
}
#wrapper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#header {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0px 25px;
  border-bottom: solid 1px var(--border);
}
#header .header-right {
  margin-left: auto;
}

#sidebar.active ~ #content-wrapper {
  margin-left: 0;
  transition: margin-left 0.5s ease;
}
#content-wrapper {
  margin-left: var(--w-sidebar);
  height: 100vh;
  overflow: hidden;
  transition: margin-left 0.5s ease;
}

#sidebar {
  width: var(--w-sidebar);
  height: 100vh;
  background: var(--bg-sidebar);
  position: fixed;
  left: 0;
  transition: transform 0.5s ease;
  transform: translateX(0);
  will-change: transform;
}

#sidebar.active {
  transform: translateX(calc(-1 * var(--w-sidebar)));
  transition: transform 0.5s ease;
  will-change: transform;
}

/* HEADER */
#sidebar .sidebar-header {
  padding: 40px 20px 50px;
  text-align: center;
}

.sidebar-header .foto {
  width: 100px;
  height: 100px;
  padding: 3px;
  margin: auto;
  border-radius: 50%;
  background: var(--bg-foto-sidebar);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header img {
  width: 100%;
}

.sidebar-header .user {
  color: var(--color-sidebar);
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease;
}

.sidebar-header .user h3 {
  font-size: 1.2rem;
  margin-top: 10px;
  text-transform: uppercase;
}

.sidebar-header .email {
  font-size: 0.75rem;
  font-style: italic;
}

/* MENU */
.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-sidebar);
  transition: 0.2s;
}

.sidebar-menu li a:hover {
  background: var(--bg-sidebar-hover);
}

.sidebar-menu li.active a {
  background: var(--bg-sidebar-active);
  color: var(--color-sidebar-active);
}

.menu-title {
  padding: 15px 20px 5px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-sidebar);
  color: var(--color-sidebar-title);
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease;
}

.sidebar-menu i {
  font-size: 1.2rem;
}

/* SCROLL */
#sidebar .sidebar-list {
  height: calc(100vh - 235px);
  padding-bottom: 30px !important;
}

.simplebar-scrollbar:before {
  background: rgba(0, 0, 0, 0.6);
}

.simplebar-track.simplebar-vertical {
  width: 6px;
}

/* SUB MENU */
li.list-menu.has-sub {
  position: relative;
}
.has-sub .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background: var(--bg-sidebar-active);
}

.has-sub.open .sub-menu {
  max-height: 500px;
  transition: max-height 0.3s ease;
}

.has-sub .bx.bxs-right-arrow.arrow {
  margin-left: auto;
  transition: transform 0.8s ease;
  font-size: 0.7rem;
}

.has-sub.open .bx.bxs-right-arrow.arrow {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.sub-menu li a {
  font-size: 0.75rem;
  padding: 8px 20px 8px 45px;
  gap: 3px !important;
}
.sub-menu li a .bx {
  font-size: 0.8rem;
}

/* CONTENT */

#content {
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 25px;
}
.content {
  width: 100%;
}
.content-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-title);
  background-color: var(--bg-title-content);
  padding: 0px 25px 0px 25px;
  height: 60px;
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease;
}
.content-title i.bx {
  font-size: 1.5rem;
  margin: 0px;
  padding: 0px;
  display: block;
  line-height: 1;
}
.content-title h1 {
  font-size: 1.5rem;
  text-transform: uppercase;
  padding: 0px;
  margin: 0px;
  font-weight: 700;
  font-family: var(--font-sidebar);
  letter-spacing: 4px;
}

.content-body {
  margin-top: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-content) !important;
}

.box {
  background-color: var(--bg-content);
  padding: 25px;
  font-family: var(--font-sidebar);
  width: 100%;
  position: relative;
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease;
  border: 1px solid var(--border-content);
  box-shadow: var(--shadow-title-content) !important;
}

.box .box-header {
  margin: -25px -25px 25px -25px;
  border-bottom: solid 5px var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
}

.box .box-header .box-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.box .box-header .box-title .bx {
  font-size: 2rem;
}

.btn-tutup {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 10px;
  color: #ffffff;
  margin-left: auto;
  top: 10px;
  border-radius: 50% !important;
  background-color: #ff004c;
  border-color: #ff004c;
  box-shadow: 0px 0px 10px 5px 2px rgba(0, 0, 0, 0.1);
}
.btn-tutup:hover {
  background-color: #c10037;
  border-color: #c10037;
}
.btn-tutup > i.bx {
  font-size: 1.8rem;
}

.filter-data {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

/* kiri fix 10% */
.filter-kiri {
  flex: 0 0 120px;
  max-width: 120px;
}

/* kanan fix 35% dan selalu di kanan */
.filter-kanan {
  flex: 0 0 50%;
  max-width: 50%;
  margin-left: auto; /* kunci ke kanan */
}

/* tengah isi sisa */
.filter-tengah {
  flex: 1 1 auto;

  /* isi selalu dari kanan */
  display: flex;
  justify-content: flex-end;
  gap: 10px; /* kalau ada banyak item */
}

/* biar input kanan full */
.filter-kanan .input-group {
  width: 100%;
}

/* tombol add tetap */
#btn-add {
  flex: 0 0 auto;
  white-space: nowrap;
}

.btn {
  border-radius: 0px !important;
  transition: all 0.3s ease-in-out;
  font-weight: 600;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 1px;
  font-family: var(--font-sidebar) !important;
}
.btn.btn-icon {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

.btn.btn-img {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

.btn.btn-img > img {
  height: 24px;
}

.btn.btn-icon i {
  font-size: 1rem;
  transform: skew(-7deg);
}
.form-control,
.form-select {
  border-radius: 0px !important;
  border-color: var(--border);
  background-color: var(--bg-input);
  transition: all 0.3s ease-in-out;
  color: var(--color);
  letter-spacing: 0.75px;
  font-weight: 300;
}

select.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml;utf8,<svg fill='%230d6efd' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.form-control::placeholder {
  color: var(--color-placeholder);
  font-size: 0.9rem;
  font-style: italic;
}
.form-control::-webkit-input-placeholder {
  color: var(--color-placeholder);
}

.form-control:-ms-input-placeholder {
  color: var(--color-placeholder);
}

.form-control::-ms-input-placeholder {
  color: var(--color-placeholder);
}

/* .form-control:focus::placeholder {
  color: var(--color-placeholder-active);
}

.form-control:focus::-webkit-input-placeholder {
  color: var(--color-placeholder-active);
}

.form-control:focus:-ms-input-placeholder {
  color: var(--color-placeholder-active);
}

.form-control:focus::-ms-input-placeholder {
  color: var(--color-placeholder-active);
} */

.form-control:focus,
.form-select:focus {
  box-shadow: none;
  border-color: var(--border-active);
  background-color: var(--bg-input-focus);
  color: var(--color);
}

.form-label {
  color: var(--color);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-style: italic;
  margin-bottom: 3px;
}

/* item pertama */

.list-check {
  padding-bottom: 30px;
}

.checkbox:first-child {
  border-bottom: solid 1px var(--border);
  border-top: solid 1px var(--border);
}
.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 15px;
  letter-spacing: 1px;
  padding: 15px 0;
}

/* sembunyikan checkbox asli */
.checkbox input {
  display: none;
}

/* kotak custom */
.checkmark {
  width: 25px;
  height: 25px;
  border: 2px solid var(--border);
  border-radius: 7px;
  position: relative;
}

/* saat dicentang */
.checkbox input:checked + .checkmark {
  background-color: var(--success);
  border-color: var(--success);
}

/* icon centang */
.checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 1px;
  width: 7px;
  height: 17px;
  border: solid white;
  border-width: 0 2px 4px 0;
  transform: rotate(30deg);
}

.input-group .input-group-text {
  background-color: var(--bg-input-focus) !important;
  border-color: var(--border) !important;
  color: var(--color);
}
.input-group .form-control,
.input-group .form-select,
.input-group .input-group-text,
.input-group .btn {
  border-radius: 0 !important;
}

.form-input {
  border: solid 1px var(--border);
  padding: 20px;
}

.title-form {
  margin-bottom: 20px;
  border-bottom: solid 1px var(--border);
  padding-bottom: 5px;
}

.title-form h2 {
  font-family: var(--font-sidebar);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sub-title-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  height: 30px;
  margin-bottom: 15px;
}

.sub-title-form h3 {
  font-family: var(--font-sidebar);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.isi-form-input {
  margin-top: 35px;
}
.title-menu-permissions {
  height: 30px;
  display: flex;
  align-items: center;
  background-color: var(--bg-title-menu-permissions) !important;
  padding: 0px 15px;
  transform: skew(-12deg);
  border-radius: 7px;
}
.title-menu-permissions h2 {
  font-size: 1rem;
  margin: 0px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.isi-form-input .list-checkbox.menu .checkbox {
  border: none !important;
}
.list-checkbox.menu {
  margin-top: 20px;
}
.list-checkbox.menu .checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  letter-spacing: 1px;
  padding: 10px 0;
}

.list-checkbox.menu .label-text {
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.list-checkbox.menu .action {
  padding-left: 30px;
}
.list-checkbox.menu .action .label-text {
  font-size: 0.8rem;
  text-transform: capitalize;
  letter-spacing: 1px;
  font-style: italic;
}

.list-checkbox.menu .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 7px;
  position: relative;
}

.list-checkbox.menu .checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 7px;
  height: 12px;
  border: solid white;
  border-width: 0 1px 2px 0;
  transform: rotate(25deg);
}

.btn-show-password {
  background-color: var(--bg-input) !important;
  border: 1px solid var(--border-btn-show-password) !important;
  display: flex !important;
  color: var(--color-btn-show-password);
}

.btn-show-password:hover {
  background-color: var(--bg-hover-btn-show-password) !important;
  color: var(--color-btn-show-password-hover) !important;
}
.btn-show-password .bx {
  font-size: 1.4rem;
}
.select2-container--bootstrap-5
  .select2-selection--single
  .select2-selection__rendered {
  color: var(--color) !important;
}

.select2-container--bootstrap-5
  .select2-selection--single
  .select2-selection__placeholder {
  color: var(--color-placeholder);
  font-size: 0.9rem;
  font-style: italic;
}

.select2-container--bootstrap-5 .select2-selection.select2-selection--single {
  border-color: var(--border) !important;
  box-shadow: none !important;
  border-radius: 0px;
  background-color: var(--bg-input) !important;
  color: var(--color) !important;
}
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
  box-shadow: none !important;
  border-color: var(--border-active) !important;
  background-color: var(--bg-input-focus) !important;
  color: var(--color) !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
  background-color: var(--bg-dropdown-select2);
  border-color: var(--border) !important;
  backdrop-filter: blur(15px);
  color: var(--color);
  border-radius: 0px;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
  background-color: var(--pastel-hijau) !important;
  color: var(--color-pastel-hijau) !important;
}

.select2-container--bootstrap-5 .select2-results__option--selected {
  background-color: var(--border-pastel-hijau) !important;
  color: var(--color-pastel-hijau) !important;
}

.select2-container--bootstrap-5 .select2-search__field {
  box-shadow: none !important;
  border-radius: 0px !important;
  border-color: var(--border) !important;
  background-color: var(--bg-input) !important;
  color: var(--color) !important;
}
.select2-container--bootstrap-5 .select2-selection:focus,
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
  border-color: var(--border-active) !important;
}
/* ================= DATATABLES INFO ================= */

.dt-info {
  font-style: italic;
  font-weight: 300;
  margin-left: 10px !important;
}

/* ================= PAGINATION ================= */

.dataTables_paginate {
  padding-right: 10px;
  padding-bottom: 10px;
}

.dataTables_paginate .pagination .page-item .page-link {
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: var(--color);
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
}

.dataTables_paginate .pagination .page-item.disabled .page-link {
  background-color: var(--transparan) !important;
  color: var(--color-disabled) !important;
  border-color: var(--border) !important;
  pointer-events: none;
}

.dataTables_paginate .pagination .page-item.active .page-link {
  background-color: var(--bg-input) !important;
  color: var(--color) !important;
  border-color: var(--border) !important;
}

.dataTables_paginate .pagination .page-item.active .page-link:focus,
.dataTables_paginate .pagination .page-item.active .page-link:focus-visible {
  box-shadow: none !important;
}

.dataTables_paginate .pagination .page-item .page-link:focus,
.dataTables_paginate .pagination .page-item .page-link:focus-visible,
.dataTables_paginate .pagination .page-item .page-link:hover {
  background-color: #c7e1ff !important;
  color: #1f4f99 !important;
  border-color: var(--border-pastel-biru) !important;
  box-shadow: none !important;
}
.dt-length {
  display: none !important;
}
#table_wrapper > .row:first-child {
  display: none !important;
}
#table_wrapper .dataTables_info {
  padding-top: 10px !important;
  font-family: var(--font-sidebar) !important;
  font-weight: 200 !important;
  font-size: 0.7rem;
}
#table_wrapper .dataTables_paginate {
  margin-left: auto;
  display: flex !important;
  justify-content: flex-end !important;
  padding: 10px 0px 0px 0px !important;
}
.table,
.table thead,
.table thead th,
.table tbody td {
  border-color: var(--border);
}
table.table-dalam > tbody > tr,
table.table-dalam > tbody > tr > td {
  border-color: transparent !important;
}

.table thead th {
  background: var(--th-bg);
  text-align: center !important;
  color: var(--th-color);
  text-transform: uppercase;
  letter-spacing: 0.75px;
}
.table tbody td {
  background: var(--td-bg);
  color: var(--td-color);
  font-weight: 300;
  letter-spacing: 0.75px;
}

.text-center {
  text-align: center !important;
}

.align-middle {
  vertical-align: middle !important;
}
.swal2-popup {
  font-family: var(--font-sidebar) !important;
  padding: 30px 10px 20px 10px !important;
}

.swal2-popup .swal2-icon {
  border-width: 0px !important;
  margin-top: 0px !important;
  width: 70px !important;
  height: 70px !important;
  padding: 0px !important;
  margin-bottom: 0px !important;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
}

.swal2-popup .swal2-icon .swal2-icon-content img {
  width: 70px !important;
  height: 70px !important;
}
.swal2-popup .swal2-title {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.swal2-popup .swal2-html-container {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
}

.swal2-popup .swal2-actions {
  padding: 0px !important;
  margin-bottom: 10px !important;
}

.swal2-popup .swal2-actions button {
  border-radius: 0px !important;
  border: none !important;
  padding: 7px 25px 5px 25px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  font-style: italic !important;
  letter-spacing: 1px !important;
  font-size: 0.9rem !important;
  border-radius: 25px !important;
  box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.09) !important;
  transition: all 0.3s ease-in-out !important;
}

.swal2-popup .swal2-actions button.swal2-confirm {
  background-color: var(--pastel-hijau) !important;
  color: var(--color-pastel-hijau) !important;
  border-color: var(--border-pastel-hijau) !important;
}

.swal2-popup .swal2-actions button.swal2-cancel {
  background-color: var(--pastel-merah) !important;
  color: var(--color-pastel-merah) !important;
  border-color: var(--border-pastel-merah) !important;
}

.swal2-popup .swal2-actions button.swal2-cancel:hover {
  background-color: color-mix(
    in srgb,
    var(--pastel-merah) 80%,
    #fff
  ) !important;
  border-color: color-mix(
    in srgb,
    var(--border-pastel-merah) 80%,
    #fff
  ) !important;
  color: var(--color-pastel-merah) !important;
}

.swal2-popup .swal2-actions button.swal2-confirm:hover {
  background-color: color-mix(
    in srgb,
    var(--pastel-hijau) 80%,
    #fff
  ) !important;
  border-color: color-mix(
    in srgb,
    var(--border-pastel-hijau) 80%,
    #fff
  ) !important;
  color: var(--color-pastel-hijau) !important;
}

/* ================= MASK LOADING ================= */

.mask-loading {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 9999999;
  background-color: var(--bg-loading);
}

.mask-loading .loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.mask-loading .loading span {
  display: block;
  height: 15px;
  width: 15px;
  background: var(--color-start);
  margin: 0 5px;
  border-radius: 10px;
  animation: upDown 1.5s infinite;
}

.mask-loading .loading span:first-child {
  animation-delay: 0.15s;
}

.mask-loading .loading span:nth-child(2) {
  animation-delay: 0.3s;
}

.mask-loading .loading span:nth-child(3) {
  animation-delay: 0.45s;
}

.mask-loading .loading span:nth-child(4) {
  animation-delay: 0.6s;
}

.mask-loading .loading span:last-child {
  animation-delay: 0.75s;
}

/* ================= UP DOWN ANIMATION ================= */

@keyframes upDown {
  0% {
    height: 15px;
    background: var(--color-start);
  }
  50% {
    height: 60px;
    background: var(--color-mid);
  }
  100% {
    height: 15px;
    background: var(--color-end);
  }
}

/* ================= SPINNER LOADER ================= */

.bg-loader {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 9999999;
  background-color: var(--bg-loading);
}

.bg-loader .loader {
  width: 48px;
  height: 48px;
  border: 5px solid var(--bg-spinner);
  border-bottom-color: var(--color-spinner);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ================= ROTATION ANIMATION ================= */

@keyframes rotation {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.croppie-container {
  position: relative !important;
}
/* CROPPIE CSS */
.cr-boundary {
  border-radius: 10px !important;
  margin: 0px !important;
  background-color: #000;
}
.cr-slider-wrap {
  background-color: #00000018;
  width: 100% !important;
  display: flex;
  padding: 5px 10px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0px !important;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1000;
}

/* WRAPPER */
.cr-slider-wrap .cr-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
  outline: none;
}

/* ===================== */
/* TRACK */
/* ===================== */

/* Chrome, Edge, Safari */
.cr-slider-wrap .cr-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

/* Firefox */
.cr-slider-wrap .cr-slider::-moz-range-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

/* IE/Edge lama */
.cr-slider-wrap .cr-slider::-ms-track {
  height: 4px;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

/* ===================== */
/* THUMB (tombol bulat) */
/* ===================== */

/* Chrome */
.cr-slider-wrap .cr-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #e7e7e7;
  cursor: pointer;
  margin-top: -6px; /* supaya center di track */
}

/* Firefox */
.cr-slider-wrap .cr-slider::-moz-range-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #e7e7e7;
  border: none;
  cursor: pointer;
}

/* IE */
.cr-slider-wrap .cr-slider::-ms-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #e7e7e7;
  cursor: pointer;
}

.cr-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid #ffffff74 !important;
}

/* GRID overlay */
.cr-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* garis grid */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 1px, transparent 1px);

  /* ukuran kotak grid */
  background-size: 33.33% 33.33%; /* rule of thirds */
}
.cr-overlay {
  background: transparent !important;
}

/* buat masking dari viewport */
.cr-viewport {
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
}

.w-25 {
  width: 25% !important;
}

/* CSS MODAL  */
.modal-content {
  background-color: var(--bg-modal);
  border-radius: 15px;
}
.modal-header {
  border: 0px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px !important;
  background-color: var(--bg-modal-header);
  border-radius: 15px 15px 0px 0px;
}

.modal-content.hijau .modal-header {
  background-color: var(--success) !important;
}

.modal-content.hijau .modal-header .modal-title {
  color: #ffffff !important;
}
.modal-body {
  padding: 20px !important;
}
.btn-close-modal {
  background-color: var(--danger) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  width: 30px;
  height: 30px;
  color: #fff !important;
  transition: all 0.3s ease-in-out;
  transform: skew(-7deg);
  border-radius: 7px !important;
}
.btn-close-modal:hover {
  background-color: color-mix(
    in srgb,
    var(--danger) 80%,
    #ffffff 20%
  ) !important;
}

.modal-header .modal-title {
  display: flex;
  gap: 10px;
  text-transform: uppercase;
  font-weight: 700;
  align-items: center;
  font-size: 1.2rem;
  font-family: var(--font-sidebar) !important;
  color: var(--color-modal-header);
}

.modal-footer {
  border-color: var(--border-modal-footer);
  background-color: var(--bg-modal-header);
}

.modal-header .modal-title .bx {
  font-size: 1.7rem;
}

.modal-content.hijau .modal-body {
  background-color: var(--success-light) !important;
}

.modal-content.hijau .modal-body .form-control {
  border-color: var(--border-pastel-hijau) !important;
  color: var(--color-pastel-hijau) !important;
}
.modal-content.hijau .modal-body .form-label {
  color: var(--color-pastel-hijau) !important;
}
.btn-modal {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

.btn-modal .btn {
  border-radius: 20px !important;
}
.no-rab {
  width: 100%;
  height: 60px;
  border: solid 1px var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
}

.no-rab p {
  margin: 0px;
  padding: 0px;
  font-family: var(--font-sidebar);
  letter-spacing: 1px;
  font-weight: 200;
  font-style: italic;
}
.text-right {
  text-align: right !important;
}

.switch-tema {
  display: flex;
  align-items: center;
  gap: 10px;
}
.switch-tema p {
  font-style: italic;
  text-transform: uppercase;
  margin: 0px;
  padding: 0px;
}
.switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transform: skew(-17deg);
}

/* hanya checkbox di dalam .switch */
.switch input[type="checkbox"] {
  display: none;
}

.switch .slide-toggle {
  display: block;
  position: relative;
  flex: none;
  width: 60px;
  height: 30px;
  border-radius: 30px;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  z-index: 1;
}

/* pseudo elements */
.switch .slide-toggle::before,
.switch .slide-toggle::after {
  content: " ";
  display: block;
  position: absolute;
  top: 1px;
  border-radius: 30px;
  height: 28px;
  background-color: transparent;
  transform: translate3d(0, 0, 0);
  transition: 0.2s cubic-bezier(0, 1.1, 1, 1.1);
}

.switch .slide-toggle::before {
  z-index: -1;
  width: 48px;
  right: 1px;
  transform: scale(1);
}

.switch .slide-toggle::after {
  z-index: 1;
  width: 28px;
  left: 1px;
  box-shadow: 0 1px 4px 0.5px rgba(0, 0, 0, 0.25);
  background-color: #48494d;
}

/* kondisi checked */
.switch input:checked + .slide-toggle {
  background-color: var(--bg-toggle-slide);
}

.switch input:checked + .slide-toggle::before {
  transform: scale(0);
}

.switch input:checked + .slide-toggle::after {
  transform: translate3d(29px, 0, 0);
  background-color: #f7f7f7;
}

.menu-toggle {
  width: 26px;
  height: 21px;
  position: relative;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--color-menu-span);
  left: 0;
  transition: 0.5s;
}

/* posisi garis */
.menu-toggle span:nth-child(1) {
  top: 0;
}
.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* saat active (jadi X) */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: auto;
  top: 50%;
}

.btn-setting {
  font-size: 2rem;
  color: var(--color);
  margin: 0px !important;
  padding: 0px !important;
  background-color: transparent !important;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px !important;
  transform: scale(1);
  box-shadow: none;
  box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.09);
}
.btn-setting:active,
.btn-setting:focus {
  border-color: transparent !important;
}
.btn-setting:hover {
  font-size: 2rem;
  color: var(--bg-sidebar-hover);
  background-color: transparent !important;
  transform: scale(1.05);
}

.btn-setting .bx {
  margin: 0px !important;
  padding: 0px !important;
}
.wrapper-pengaturan {
  width: 100%;
  overflow-x: none;
  overflow-y: auto;
  height: calc(100vh - 105px);
}
.judul-pengaturan {
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
  width: 100%;
}
.judul-pengaturan .icon-user {
  width: 130px;
  padding: 3px;
  margin: auto;
  border-radius: 50%;
  background: var(--bg-foto-sidebar);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.judul-pengaturan .icon-user img {
  margin: 0 auto;
}
.judul-pengaturan h1 {
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
}
.judul-pengaturan h2 {
  font-size: 1.2rem;
  font-weight: 400;
}

.judul-pengaturan h3 {
  font-size: 0.9rem;
  font-weight: 300;
  font-style: italic;
}
.deskripsi-pengaturan p {
  margin-bottom: 20px;
  text-align: justify;
  line-height: 1.7;
  font-weight: 300;
}

.tab-content {
  padding: 0px 35px 0px 25px;
}

.pengaturan > .row > .col-md-2 > .navigasi-tabs {
  border-left: solid 1px var(--border);
  height: calc(100vh - 105px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 10px 0px 20px;
}

.pengaturan > .row > .col-md-2 > .navigasi-tabs > .btn-group-vertical {
  gap: 20px;
}

.pengaturan > .row > .col-md-2 > .navigasi-tabs > .btn-group-vertical > .btn {
  border-radius: 35px !important;
  font-style: normal !important;
  font-weight: 700;
  transform: skew(-17deg) scale(1);
  box-shadow: none;
}

.pengaturan
  > .row
  > .col-md-2
  > .navigasi-tabs
  > .btn-group-vertical
  > .btn:hover {
  transform: skew(-17deg) scale(1.06);
  box-shadow: 0px 0px 7px 3px rgba(0, 0, 0, 0.11);
}

.info-list {
  width: 500px;
}

.info-list .item {
  padding: 7px 15px;
  background-color: var(--bg-list-item);
  margin: var(--margin-list-item);
  border: 1px solid var(--border-list-item);
}

.info-list .item .label {
  font-family: var(--font-sidebar);
  font-weight: 300;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-list-item);
}

.info-list .item .value {
  flex: 1;
}

.input-group.def .form-control:disabled {
  padding-left: 0px !important;
  padding-top: 0px;
  font-weight: 400;
  border: none !important;
  background-color: transparent !important;
  font-size: 1.1rem;
}

.input-group.def .btn.btn-pastel-hijau {
  border: none !important;
  background-color: transparent !important;
  display: flex;
  padding: 0px !important;
  color: var(--color);
  transform: scale(1);
}
.input-group.def .btn.btn-pastel-hijau:hover {
  transform: scale(1.07);
  color: var(--bg-spinner);
}

.input-group.def .btn.btn-pastel-hijau .bx {
  font-size: 1.7rem;
}
.hide {
  display: none !important;
}
.form-pengaturan {
  width: 500px;
  padding: 15px;
  border: solid 1px var(--border);
}

.form-pengaturan .judul-form-pengaturan {
  margin-bottom: 15px;
  border-bottom: solid 1px var(--border);
  padding-bottom: 5px;
}

.form-pengaturan .judul-form-pengaturan h2 {
  font-size: 1.1rem;
  font-family: var(--font-sidebar);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.fade-slide {
  opacity: 0;
  transform: translateY(-15px);
  transition: all 0.3s ease;
}

.fade-slide.show {
  opacity: 1;
  transform: translateY(0);
}

/* CROPPIE CSS */

.croppie-container {
  position: relative !important;
}

.cr-boundary {
  border-radius: 10px !important;
  margin: 0px !important;
  background-color: #000;
}
.cr-slider-wrap {
  background-color: #00000018;
  width: 100% !important;
  display: flex;
  padding: 5px 10px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0px !important;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1000;
}

/* WRAPPER */
.cr-slider-wrap .cr-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
  outline: none;
}

/* ===================== */
/* TRACK */
/* ===================== */

/* Chrome, Edge, Safari */
.cr-slider-wrap .cr-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

/* Firefox */
.cr-slider-wrap .cr-slider::-moz-range-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

/* IE/Edge lama */
.cr-slider-wrap .cr-slider::-ms-track {
  height: 4px;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

/* ===================== */
/* THUMB (tombol bulat) */
/* ===================== */

/* Chrome */
.cr-slider-wrap .cr-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #e7e7e7;
  cursor: pointer;
  margin-top: -6px; /* supaya center di track */
}

/* Firefox */
.cr-slider-wrap .cr-slider::-moz-range-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #e7e7e7;
  border: none;
  cursor: pointer;
}

/* IE */
.cr-slider-wrap .cr-slider::-ms-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #e7e7e7;
  cursor: pointer;
}

.cr-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid #ffffff74 !important;
}

/* GRID overlay */
.cr-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* garis grid */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 1px, transparent 1px);

  /* ukuran kotak grid */
  background-size: 33.33% 33.33%; /* rule of thirds */
}
.cr-overlay {
  background: transparent !important;
}

/* buat masking dari viewport */
.cr-viewport {
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
}
.btn-copy {
  padding: 3px 5px;
  font-size: 0.8rem;
  margin: 0px;
}

.btn-copy .bx {
  font-size: 0.9rem !important;
}

.table-dalam td {
  border: none !important;
  padding: 0 !important;
  vertical-align: top !important;
  word-break: break-word;
}

/* CSS UNTUK CRUD LIBRARY JS  */
.text-tidak-valid {
  letter-spacing: 1px;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--color-error);
  font-weight: 300;
}
.ul-multi-error {
  width: 100%;
  top: 100%;
  padding: 10px 15px;
  margin-top: 3px;
  width: 100%;
  z-index: 9999;
  position: absolute;
  background-color: var(--bg-ul-multi-error);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  list-style: none;
}
.ul-multi-error li {
  padding: 3px 0px;
  color: var(--danger);
  font-size: 0.75rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  font-style: italic;
  font-weight: 500;
}
.dataTables_empty {
  font-weight: 200;
  font-style: italic;
  font-size: 0.7rem;
  text-align: center;
}

td.td-nama {
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 2px !important;
}

.aktif {
  background-color: var(--pastel-hijau);
  color: var(--color-pastel-hijau);
  padding: 3px 15px;
  border-radius: 5px;
  font-weight: 400;
  font-style: italic;
}
.non-aktif {
  background-color: var(--pastel-merah);
  color: var(--color-pastel-merah);
  padding: 3px 15px;
  border-radius: 5px;
  font-weight: 400;
  font-style: italic;
}
.nama {
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 2px !important;
}
td.parent-menu {
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 2px !important;
  font-size: 0.9rem;
}

.table-dalam {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  font-family: "Roboto Condensed", serif;
  position: relative;
}
.table-dalam > .table {
  width: 100%;
}

.table-dalam h1 {
  font-size: 1.3rem;
  margin: 0px;
}

.table-dalam > table > tbody > tr > td {
  border: none;
  padding: 3px 5px;
  letter-spacing: 1px;
  font-weight: 300;
  white-space: nowrap;
}

.table-dalam > table > tbody > tr > td > .form-control {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.table-dalam .btn-group-sm .btn {
  font-size: 0.7rem;
}

.table-dalam-3 {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  font-family: "Roboto Condensed", serif;
  position: relative;
}

.table-dalam-3 h1 {
  font-size: 1.3rem;
  margin: 0px;
}

.table-dalam-3 > table > tbody > tr > td {
  border: none;
  padding: 3px 5px;
  letter-spacing: 1px;
  font-weight: 300;
  vertical-align: top;
}

.table-dalam-3 > table > tbody > tr > td > .form-control {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.table-dalam-3 .btn-group-sm .btn {
  font-size: 0.7rem;
}

.table-dalam-3 > table > tbody > tr td:nth-child(2) {
  white-space: nowrap;
}
.btn-control {
  position: absolute;
  bottom: 5px;
  right: 5px;
}
.bs-switch {
  width: 100%; /* atau sesuaikan dengan kebutuhan */
  display: inline-block;
  text-align: center;
  margin: 0px 10px;
  margin: 0 auto;
}

.toggle {
  border-radius: 20px !important;
  box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  margin-left: 0px;
  margin-right: 0px;
}

.toggle .toggle-on,
.toggle .toggle-off {
  text-align: center;
}
.toggle .toggle-handle {
  border-radius: 0px !important;
}

.toggle.btn {
  margin-left: 0px;
  margin-right: 0px;
}
.toggle.btn .toggle-on {
  background-color: var(--pastel-hijau) !important;
  color: var(--color-pastel-hijau) !important;
}
.toggle.btn .toggle-off {
  background-color: var(--pastel-merah) !important;
  color: var(--color-pastel-merah) !important;
}
