body {
  background: url("/assets/images/auth_bg.png");
}

.step-item:after,
.step-item:before {
  background: #8b8b8b;
}

.steps-green {
  --tblr-steps-color: #037967 !important;
}

.step-item.active:before {
  background: #037967 !important;
}

.btn-primary {
  background-color: #037967 !important;
  border-color: #037967 !important;
}

.btn-primary:hover {
  background-color: #037967 !important;
  border-color: #037967 !important;
}

.btn-outline-primary {
  color: #037967 !important;
  border-color: #037967 !important;
}

.btn-outline-primary:hover {
  color: #fff !important;
  background-color: #037967 !important;
  border-color: #037967 !important;
}

/* Tampilan default (desktop) */
#step-text {
  display: inline-block;
  /* Menampilkan teks pada desktop */
  margin-top: 1em;
}

/* add * symbol in first input required */
.required label:first-child::after {
  content: " *";
  color: red;
}

.required-btn a:first-child::after {
  content: " *";
  color: red;
}

.required-doc span:first-child::after {
  content: " *";
  color: red;
}

.logout-text {
  display: inline-block;
}

.card-custom {
  background-color: white;
  position: relative;
  margin-top: 50px;
  /* Jarak dari atas */
}

.logout-btn {
  position: absolute;
  top: -20px;
  /* Posisi setengah lingkaran di atas card */
  right: -20px;
  /* Posisi setengah lingkaran di kanan card */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #dc3545;
  /* Warna merah untuk tombol logout */
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logout-btn:hover {
  background-color: #c82333;
  /* Warna merah lebih gelap saat hover */
}

.form-control,
.form-select {
  border-left: 5px solid #037967 !important;
}

.notification {
  position: fixed;
  top: 2.3em;
  left: 50%;
  width: 100%;
  max-width: 400px;
  transform: translateX(-50%);
  padding: 1em 20px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  animation: fadeOut 10s forwards;
  overflow: hidden;
  /* Untuk memastikan pseudo-element tidak keluar dari border radius */
}

/* Border bottom animasi */
.notification::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  animation: borderSlide 10s linear forwards;
}

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

.notification-success::after {
  background-color: #155724;
}

.notification-error {
  background-color: #f8d7da;
  border-color: #721c24;
  color: #721c24;
}

.notification-error::after {
  background-color: #721c24;
}

.notification-warning {
  background-color: #fff3cd;
  border-color: #856404;
  color: #856404;
}

.notification-warning::after {
  background-color: #856404;
}

.notification-info {
  background-color: #d1ecf1;
  border-color: #0c5460;
  color: #0c5460;
}

.notification-info::after {
  background-color: #0c5460;
}

.alert-b {
  position: relative;
  padding: 1em 1.25em;
  margin-bottom: 1em;
  color: var(--tblr-alert-color);
  background-color: #f8f9fa;
  border-radius: 0.25em;
}

.alert-b {
  border-left: 0 !important;
  border-top: 0 !important;
  border-bottom: 0.25em solid !important;
}

.alert-info {
  color: #0c5460;
  border-color: #c7d9c7 !important;
}

.alert-info .alert-title,
.alert-info .alert-icon {
  color: #0c5460;
}


@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    display: none;
  }
}

@keyframes borderSlide {
  0% {
    width: 100%;
    right: auto;
    left: 0;
  }

  100% {
    width: 0%;
    right: auto;
    left: 0;
  }
}


.label-doc-position {
  display: flex;
  width: 80%;
  justify-content: space-between;
}

#format_dikti_table th {
  white-space: nowrap;
  background: #f8f9fa;
}

#format_dikti_table td {
  vertical-align: middle;
}

.dt-buttons.btn-group {
  float: right !important;
  margin-left: auto;
}

.dataTables_filter {
  float: left !important;
  margin-bottom: 1rem;
}

.dataTables_filter label {
  display: flex;
  align-items: center;
}

.dataTables_filter input {
  margin-left: 10px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 0 10px;
  width: 200px;
}

/* Style untuk tombol export */
.dt-buttons {
  float: right !important;
  margin-left: 10px;
  color: #fff;
}

.dt-buttons .btn {
  margin-left: 5px;
}

#dt-length-1 {
  margin-right: 0.5em;
}

.dt-search {
  margin-bottom: 1rem;
  text-align: right;
}

.dt-info {
  margin-top: 0.5em;
}

.dt-paging {
  margin-top: 1em;
}

/* Tampilan mobile */
@media (max-width: 767.98px) {
  .dataTables_filter {
    width: 100%;
    margin-bottom: 10px;
  }

  .dataTables_filter input {
    width: 100%;
  }

  .dt-buttons {
    float: none !important;
    text-align: right;
    margin-top: 10px;
  }

  #link-stream span {
    /* none first span */
    display: none;
  }

  .label-doc-position {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .notification {
    top: 2.2em;
    max-width: 80vw;
  }

  #finished-illustration {
    width: 100px;
  }

  .logout-btn {
    right: 10px;
  }

  .logout-text {
    display: none;
  }

  #step-text {
    display: none;
    /* Menyembunyikan teks pada mobile */
  }

  #step-icon {
    margin-top: 1em;
    display: inline-block;
    /* Menampilkan icon pada mobile */
  }
}

/* Tampilan tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  #link-stream span {
    /* none first span */
    display: none;
  }

  .label-doc-position {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .notification {
    top: 2.2em;
  }

}

/* Tampilan desktop */
@media (min-width: 992px) {

  .modal-lg,
  .modal-xl {
    --tblr-modal-width: 90vw !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  #link-stream span {
    /* none first span */
    display: none;
  }

  .label-doc-position {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

}