table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
  bottom: .5em;
}

/* Gaya untuk pop-up */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.alert-container {
    text-align: center;
}

.alert {
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
  color: #fff;
  background-color: #d9534f;
  border-color: #db3a35;
}

.alert-warning {
  color: #fff;
  background-color: #f0ad4e;
  border-color: #e79b31;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f9fb;
  transition: opacity 0.75s, visibility 0.75s;
}

.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader::after {
  content: "";
  width: 75px;
  height: 75px;
  border: 15px solid #dddddd;
  border-top-color : #ff8700;
  border-radius: 50%;
  animation: loading 0.75s ease infinite;
}

@keyframes loading {
  from{
    transform : rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

/* Custom styling for the option values */
option {
  background-color: #f2f2f2;
}

.table-container {
  width: 100%;
  overflow: scroll;
  border: 1px solid #fff;
}

/* Basic styling for the table */
.table-container table {
  width: 100%;
  border-collapse: collapse;
}

.table-container th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
}

.table-container th {
  background-color: #f2f2f2;
}

.table-container th:nth-child(1),
.table-container td:nth-child(1){
  position: sticky;
  border: #f2f2f2;
  left: 0;
  z-index: 2;
}

.table-container th:nth-child(1){
  background: #f2f2f2;
}

.table-container td:nth-child(1){
  background: #fff;
}