/* 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 */
}


.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;

  /* Awal tampil */
  opacity: 1;
  visibility: visible;

  /* Transisi untuk efek smooth */
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Ketika loading hilang */
.loading-screen.hide {
  opacity: 0;
  visibility: hidden;
}



/* Animasi untuk ikon setir */
.steering-wheel {
  color: #fa0915;
  /* Warna ikon */
  animation: rotate 2s linear infinite;
  /* Rotasi kontinu */
}

/* Ukuran ikon responsif */
.steering-wheel i {
  font-size: 50px;
  /* Default ukuran ikon */
}

@media (min-width: 576px) {

  /* Untuk tablet atau layar lebih besar */
  .steering-wheel i {
      font-size: 70px;
  }
}

@media (min-width: 992px) {

  /* Untuk desktop */
  .steering-wheel i {
      font-size: 90px;
  }
}

/* Animasi rotasi */
@keyframes rotate {
  0% {
      transform: rotate(0deg);
  }

  100% {
      transform: rotate(360deg);
  }
}

/* Styling teks Loading... */
.loading-text {
  font-size: 16px;
  /* Default ukuran teks */
  margin-top: 10px;
  color: #333;
}

@media (min-width: 576px) {

  /* Untuk tablet */
  .loading-text {
      font-size: 18px;
  }
}

@media (min-width: 992px) {

  /* Untuk desktop */
  .loading-text {
      font-size: 20px;
  }
}




.footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: #ffffff;
            /* Latar putih */
            z-index: 1030;
            /* Tetap di atas elemen lainnya */
            padding: 10px 0;
            border-top: 1px solid #e0e0e0;
            /* Garis atas yang tipis */
            box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
            /* Efek bayangan lembut */
        }

        .footer .nav-link {
            color: #6c757d;
            /* Warna teks default */
            text-decoration: none;
        }

        .footer .nav-link.active {
            color: #007bff;
            /* Warna menu aktif */
            font-weight: bold;
        }


        @media (max-width: 768px) {
            .footer .nav-link {
                font-size: 10px;
                /* Ukuran font lebih kecil untuk layar kecil */
            }

            .footer i {
                font-size: 20px;
                /* Ikon sedikit lebih kecil */
            }
        }