@media (max-width: 768px) {
  form {
    padding: 15px;
  }
  input,
  select,
  textarea {
    font-size: 18px; /* lebih besar untuk jari */
    padding: 14px;
  }

  table#dt {
    display: none;
  }

  /* Sembunyikan kontrol DataTables di HP */
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate {
    display: none !important;
  }

  .mobile-card {
    background: #f9f4ec;
    border: 1px solid #d2b48c;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }
  .mobile-card h5 {
    margin-bottom: 0.5rem;
    color: #502e1b;
  }
  .mobile-card h6 {
    font-weight: bold;
  }
  .mobile-card small {
    color: #6c757d;
  }

  .btn-setoran {
    width: 35px;
    height: 35px;
  }

  .card-elegan {
    padding: 1rem;
    margin-top: 20px;
  }

  .form-label {
    font-size: 0.9rem;
  }

  h4 {
    font-size: 1.3rem;
  }
}

.autocomplete-suggestions {
  position: absolute;
  z-index: 1050;
  background: #fff;
  width: 100%;
  max-height: 150px;
  overflow-y: auto;
}

.autocomplete-suggestions div {
  padding: 8px;
  cursor: pointer;
}

.autocomplete-suggestions div:hover {
  background: #f0f0f0;
}

#spinner {
  display: none;
}

body {
  /*background-color: #f3efe6;*/ /* warna krem lembut */
  color: #3e2723;
  font-family: "Segoe UI", sans-serif;
  transition: background 0.5s, color 0.5s;
  background: linear-gradient(to right, #f5e6ca, #f0d9b5); /* warna pasir hangat */
}

.card {
  background-color: #fff;
  border: 1px solid #e0c9a6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  border-radius: 12px;
}

.audio-player {
  width: 100%;
}

h4,
h6 {
  color: #4e3629; /* Coklat tua */
}

.btn-primary {
  background-color: #3e8e41; /* Warna hijau zamrud khas Timur Tengah */
  color: white;
  border: 2px solid #ffd700; /* Border emas yang elegan */
  border-radius: 5px; /* Sudut bulat dengan sentuhan halus */
  /*font-family: 'Georgia', serif; /* Font serif klasik untuk kesan mewah */
  //padding: 12px 24px; /* Padding untuk ukuran tombol yang elegan */
  text-align: center;
  /*text-transform: uppercase;  /* Huruf kapital untuk kesan kuat */
  font-weight: bold;
  /*letter-spacing: 1px;  /* Spasi huruf untuk memberi kesan lebih elegan */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08); /* Shadow untuk dimensi */
  transition: all 0.3s ease; /* Efek transisi untuk interaksi */
}

.btn-primary:hover {
  background-color: #2d6a2f; /* Warna hijau sedikit lebih gelap saat hover */
  border-color: #ffd700; /* Border tetap emas */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Shadow lebih kuat saat hover */
  transform: translateY(-2px); /* Efek mengangkat tombol */
}

.btn-primary:active {
  background-color: #265b2b;  /* Warna hijau lebih gelap saat aktif */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);  /* Shadow lebih halus saat klik */
  transform: translateY(2px);  /* Efek tombol lebih rendah saat aktif */
}

.btn-success {
  background-color: #c49b66;
  border: none;
}

.btn-success:hover {
  background-color: #a67c44;
  border-color: #ffd700; /* Border tetap emas */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Shadow lebih kuat saat hover */
  transform: translateY(-2px); /* Efek mengangkat tombol */
}

.btn-danger {
  background-color: #8d6e63;
  border: none;
}

.btn-danger:hover {
  background-color: #6f4e43;
}

table.table {
  background-color: #dac4a3; /* Warna krem muda, menyatu dengan tema */
}

table.table tbody tr {
  background-color: #fbf6ec; /* Sedikit lebih gelap */
}

table.table tbody tr:hover {
  background-color: #f1e3cb; /* Saat hover */
}

table th {
  background-color: #e0c9a6;
  color: #3e2723;
  border-bottom: 2px solid #c49b66;
}

table.dataTable {
  background-color: #faf3e0; /* warna krem lembut */
  border-radius: 8px;
  overflow: hidden;
}

table.dataTable thead {
  background-color: #e0c9a6;
  color: #3e2723;
  font-weight: bold;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: #c49b66;
  color: #fff !important;
  border-radius: 6px;
  margin: 2px;
  padding: 6px 12px;
  border: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #4e944f !important;
  font-weight: bold;
}

.dataTables_wrapper .dataTables_info {
  color: #3e2723;
}

.dataTables_wrapper .dataTables_filter input {
  border-radius: 6px;
  border: 1px solid #c49b66;
  padding: 4px 8px;
}

div.dataTables_wrapper {
  overflow-x: auto;
  width: 100%;
}

audio {
  background-color: #fcefd9;
  border-radius: 8px;
  padding: 4px;
}

.badge.bg-success {
  background-color: #4e944f !important;
}

.badge.bg-warning {
  background-color: #c49b66 !important;
  color: #fff;
}

.badge.bg-danger {
  background-color: #8d6e63 !important;
}

.text-brown {
  color: #5e3c2c;
}

.btn-pagination {
  background-color: #c49b66;
  color: white;
  border: none;
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 14px;
  margin: 0 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.btn-pagination:hover {
  background-color: #a77e43;
}

.btn-pagination:disabled {
  background-color: #e0c9a6;
  cursor: not-allowed;
  color: #fff7f0;
}

/*
.btn-ikon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 20px;
}
*/

.btn-container {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  flex-wrap: wrap; /* Agar tombol bisa turun ke baris baru di layar kecil */
}

.btn-setoran {
  width: 40px;
  height: 30px;
  padding: 8px 0;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12%;
  font-size: 18px;
  text-align: center;
  background-color: #4e944f;
  color: white;
  text-decoration: none;
  padding: 0;
}

.btn-setoran:hover {
  background-color: #0056b3; /* Efek hover */
}

.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-container .tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: #c49b66;
  color: #fff;
  text-align: center;
  padding: 6px;
  border-radius: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* posisi di atas tombol */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

#mobile-search {
  margin-bottom: 15px;
}
#pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
#pagination button {
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  background-color: #d2b48c;
  color: #fff;
  font-weight: bold;
}
#pagination button.active {
  background-color: #3e8e41;
}
#pagination button:hover {
  background-color: #a67c44;
}

.d-none {
  display: none !important;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #fdfcfb; /* warna soft */
  font-size: 16px;
  box-sizing: border-box;
  transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #d4a373; /* warna coklat soft Timur Tengah */
  background-color: #fffaf3;
  box-shadow: 0 0 8px rgba(212, 163, 115, 0.4);
}
