/* Password style  */
.password-input-container {
  position: relative;
}

.password-input-container input[type="password"] {
  padding-right: 35px; /* Untuk memberi ruang untuk ikon */
}

.show-password-btn {
  position: absolute;
  right: 10px; /* Atur posisi tombol "Show Password" di sisi kanan */
  top: 50%; /* Atur posisi tombol secara vertikal di tengah */
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

.show-password-btn i {
  font-size: 1rem;
}

.table-sm thead th {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

table.dataTable.table-sm .sorting:before, table.dataTable.table-sm .sorting_asc:before, table.dataTable.table-sm .sorting_desc:before{
  top:12px;
}

table.dataTable.table-sm .sorting:after, table.dataTable.table-sm .sorting_asc:after, table.dataTable.table-sm .sorting_desc:after{
  top:12px;
}


.form-control[readonly] {
  background-color: #e9ecef;
  /* Warna abu-abu sesuai dengan tema Bootstrap */
  opacity: 1;
  /* Menghilangkan transparansi */
}



.vertical-collpsed .vertical-menu .user-profile .user-name{
  display: none;
}

.vertical-collpsed .vertical-menu .user-profile .user-title{
  display: none;
}

.vertical-collpsed .vertical-menu .user-profile .avatar-lg{
  height: 3rem;
  width: 3rem;
}


.select2-selection__clear {
  position: absolute;
  right: 25px; /* Sesuaikan posisi agar tidak terhalang */
  z-index: 2; /* Pastikan berada di atas elemen lain */
  cursor: pointer;
}

.table-responsive {
  overflow-x: auto !important;
  position: relative;
}

.table-responsive .dropdown {
  position: absolute;
  z-index: 1000;
}



.loading-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050; /* above Bootstrap modal */
}