.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9); /* Light overlay */
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

#loader {
  width: 4.8px;
  height: 4.8px;
  display: block;
  margin: 20px auto;
  position: relative;
  border-radius: 4px;
  color: #115109;
  background: currentColor;
  box-sizing: border-box;
  animation: animloader 0.3s 0.3s linear infinite alternate;
}
#loader::after,
#loader::before {
  content: "";
  box-sizing: border-box;
  width: 4.8px;
  height: 4.8px;
  border-radius: 4px;
  background: currentColor;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 15px;
  animation: animloader 0.3s 0.45s linear infinite alternate;
}
#loader::after {
  top: -15px;
  animation-delay: 0s;
}

@keyframes animloader {
  0% {
    width: 4.8px;
  }
  100% {
    width: 48px;
  }
}

.custom-text-grey {
  color: #808080;
}

.custom-bg-sidebar {
  background-color: #4e73df;
  background-image: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  background-size: cover;
}

.custom-bg-sidebar-header {
  background-color: #4e73df;
  background-size: cover;
}

/* Toast */
.colored-toast.swal2-icon-success {
  background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
  background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
  background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
  background-color: #0dcaf0 !important;
}

.colored-toast.swal2-icon-question {
  background-color: #87adbd !important;
}

.colored-toast .swal2-title {
  color: white;
}

.colored-toast .swal2-close {
  color: white;
}

.colored-toast .swal2-html-container {
  color: white;
}
/* Toast end */

#focal_history_dt {
  width: 100%;
  border-collapse: collapse;
}

#focal_history_dt th,
#focal_history_dt td {
  width: 12.5%; /* Each column will take up an equal part of the table width */
  text-align: center;
  padding: 8px;
  border: 1px solid #ddd;
}

#focal_history_dt th {
  background-color: #3498db;
  color: white;
  font-weight: bold;
}

#focal_history_dt td {
  background-color: #f8f9fa;
  font-size: 14px;
}

.view_upload_btn_dt,
.regenerate_btn_dt {
  width: 90px; /* Set the width as needed */
}
.custom-bg-default {
  background: #c1c1c1 !important;
  border-color: #c1c1c1 !important;
}
.custom-bg-default:hover,
.custom-bg-default:focus,
.custom-bg-default:disabled {
  color: #ffffff !important;
  background: #c1c1c1 !important;
  border-color: #c1c1c1 !important;
}

/* TIMELINE */
.tracking-list {
  /* border: 1px solid #e5e5e5; */
  background: #fff;
  border-radius: 10px;
}

.tracking-list .tracking-item:first-child {
  font-weight: 700;
}

.tracking-item {
  border-left: 2px solid #e5e5e5;
  position: relative;
  padding: 2rem 1.5rem 0.5rem 2.5rem;
  font-size: 0.9rem;
  margin-left: 3rem;
  min-height: 5rem;
}

.tracking-item:last-child {
  padding-bottom: 4rem;
}

.tracking-item .tracking-date {
  margin-bottom: 0.5rem;
}

.tracking-item .tracking-date span {
  color: #888;
  font-size: 85%;
  padding-left: 0.4rem;
}

.tracking-item .tracking-content {
  padding: 0.5rem 0.8rem;
  background-color: #f4f4f4;
  border-radius: 0.5rem;
}

.tracking-item .tracking-content span {
  display: block;
  color: #888;
  font-size: 85%;
}

.tracking-item .tracking-icon {
  line-height: 2.6rem;
  position: absolute;
  left: -1.3rem;
  width: 2.6rem;
  height: 2.6rem;
  text-align: center;
  border-radius: 50%;
  font-size: 1.1rem;
  /* background-color: #e5e5e5; */
  /* color: #fff; */
  /* background-color: #d2f4e8; */
}

.tracking-bg-success {
  background-color: #d2f4e8;
}

.tracking-icon-success {
  color: #0f6848;
}

.tracking-bg-fail {
  background-color: #f8d7da;
}

.tracking-icon-fail {
  color: #78261f;
}

.tracking-item .tracking-icon {
  color: #fff;
  font-size: 1rem;
  padding-top: 12;
}

.tracking-item .tracking-icon i {
  padding-top: 12px;
  /* color: #0f6848; */
}

.tracking-item .tracking-content span {
  text-align: left;
  text-justify: inter-word;
  display: block;
}

.status-desc-content {
  text-align: left;
  text-justify: inter-word;
  display: block;
  font-size: 1.1rem !important;
}

@media (min-width: 992px) {
  .tracking-item {
    margin-left: 11rem;
  }
  .tracking-item .tracking-date {
    position: absolute;
    left: -11rem;
    width: 8.5rem;
    text-align: right;
  }
  .tracking-item .tracking-date span {
    display: block;
  }
  .tracking-item .tracking-content {
    padding: 0;
    background-color: transparent;
  }
}
/* TIMELINE END */

/* Custom offcanvas style to position it within the modal */
.custom-offcanvas {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 300px;
  max-width: 90%;
  height: calc(100% - 40px);
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1055;
  padding: 1rem;
  display: none;
}

.offcanvas-header {
  background-color: #48abf7;
  color: #fff;
}

.custom-offcanvas .offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-offcanvas .offcanvas-body {
  overflow-y: auto;
  max-height: calc(100% - 60px);
}

#offcanvasRight {
  width: 35rem !important;
}
/* Custom offcanvas style to position it within the modal END*/

/* Datatable page entry text */
div .dt-length .dt-input {
  margin-right: 5px !important;
}
/* Datatable page entry text END*/

/* Client-side Feedback Button */
@keyframes pump {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pumping-button {
  animation: pump 1.5s infinite;
  background-color: transparent; /* Transparent background for outline style */
  color: #007bff; /* Primary color for text */
  padding: 14px 30px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px; /* Rounded design for modern feel */
  border: 2px solid #007bff; /* Outline primary color */
  cursor: pointer;
  text-decoration: none;
  box-shadow: none; /* Removed shadow for cleaner outline style */
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.pumping-button:hover {
  background-color: #007bff; /* Filled primary color on hover */
  color: #fff; /* White text on hover */
  transform: scale(1.1); /* Slightly larger scale */
}

.pumping-button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.5);
}
/* Client-side Feedback Button END*/

/* certificate loader */
.cert-loader-wrapper {
  position: absolute;
  inset: 0;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.cert-loader {
  width: 60px;
  height: 60px;
  border: 6px solid #dee2e6;
  border-top: 6px solid #0d6efd;
  border-radius: 50%;
  animation: cert-spin 1s linear infinite;
}

@keyframes cert-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#cert_viewer {
  position: relative;
  min-height: 85vh;
}

.modal-xxl {
  max-width: 1500px !important;
}
