.policy-container {
  padding: 50px 15px;
}

.policy-container h1 {
  margin-bottom: 30px;
  font-weight: 700;
}
.clarification-card {
  display: flex;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background-color: #f8f9fc;
  margin-bottom: 20px;
  overflow: hidden;
}
.clarification-date {
  background-color: #e9ecef;
  width: 180px;
  min-width: 180px;
  padding: 16px;
  font-weight: 500;
  text-align: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 14px;
}
.clarification-body {
  padding: 16px;
  flex-grow: 1;
}
.clarification-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
  color: #5f6f8e;
}
.clarification-comment {
  background: #fff;
  border: 1px solid #dee2e6;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 14px;
}

a:hover {
  color: #861f41;
}

#custom-toaster {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1055;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Base toast */
.toast {
  position: relative;
  padding: 14px 22px;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateX(120%) scale(0.9);
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  animation-duration: 0.6s;
}

/* Entry animation */
.toast.show {
  opacity: 1;
  transform: translateX(0) scale(1);
  animation: bounceInRight 0.6s ease;
}

/* Exit animation */
.toast.hide {
  opacity: 0;
  transform: translateX(120%) scale(0.9);
}

/* SUCCESS special animation */
.toast.success {
  background: #28a745;
  animation:
    bounceInRight 0.6s ease,
    successPulse 1.2s ease forwards;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
  }

  40% {
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(40, 167, 69, 0.8);
  }

  70% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.6);
  }
}

/* ERROR special animation */
.toast.error {
  background: #dc3545;
  animation:
    bounceInRight 0.6s ease,
    errorShake 0.7s ease,
    errorFlash 1.2s infinite;
}

@keyframes errorShake {
  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-6px);
  }

  80% {
    transform: translateX(6px);
  }
}

@keyframes errorFlash {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.6);
  }

  50% {
    box-shadow: 0 0 20px rgba(220, 53, 69, 1);
  }
}

/* INFO & WARNING */
.toast.info {
  background: #17a2b8;
  animation: pulseBlue 2s infinite;
}

.toast.warning {
  background: #ffc107;
  color: #000;
  animation: pulseYellow 2s infinite;
}

/* Close button */
.toast .close-btn {
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.toast .close-btn:hover {
  transform: rotate(180deg) scale(1.2);
}

/* Progress bar */
.toast::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  animation: progress linear forwards;
}

/* Animations */
@keyframes progress {
  from {
    width: 100%;
  }

  to {
    width: 0;
  }
}

@keyframes bounceInRight {
  0% {
    opacity: 0;
    transform: translateX(100%) scale(0.8);
  }

  60% {
    opacity: 1;
    transform: translateX(-20px) scale(1.05);
  }

  80% {
    transform: translateX(10px) scale(0.97);
  }

  100% {
    transform: translateX(0) scale(1);
  }
}

/* .dt-search {
            margin-bottom: 15px;
            margin-top: 15px;
            float: inline-end;
         } */
/* container full width */
/* make search wrapper full width */
/* search wrapper */
/* wrapper full width */
.dt-search {
  width: 100%;
  float: none !important;
  position: relative;
  margin: 16px 0px 16px;
}

/* hide label */
.dt-search label {
  font-size: 0;
  display: block;
}

/* input styling */
.dt-search input {
  width: 100% !important;
  height: 48px;
  border-radius: 10px;
  padding: 0 140px 0 16px; /* space for button */
  font-size: 15px;
  border: 1px solid #dfe3e8;
}

/* fake button */
.dt-search::after {
  content: "Search";
  position: absolute;
  right: 4px;
  top: 4px;
  height: 40px;
  width: 120px;
  background: #7f1d44;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  pointer-events: none;
}

/* pagination wrapper center */
.dataTables_wrapper .dt-paging {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

/* base button */
.dt-paging-button {
  min-width: 38px;
  height: 38px;
  border-radius: 10px !important;
  border: none !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 500;
  transition: 0.25s;
}

/* hover */
.dt-paging-button:hover {
  transform: translateY(-2px);
  background: #f3f5f7 !important;
}

/* active */
.dt-paging-button.current {
  background: #7f1d44 !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(178, 31, 59, 0.35);
}

/* disabled */
.dt-paging-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* .dt-info {
            margin-top: 15px;
            float: inline-start;
         } */

.dt-paging {
  margin-top: 15px;
  float: inline-end;
}

@keyframes pulseBlue {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(23, 162, 184, 0.6);
  }

  50% {
    box-shadow: 0 0 20px rgba(23, 162, 184, 0.9);
  }
}

@keyframes pulseYellow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
  }

  50% {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.9);
  }
}

#calculationBox p {
  font-size: 15px !important;
  color: #000 !important;
  line-height: 1.6;
}

.scroll-cell {
  max-width: 150px;
  /* adjust as needed */
  overflow-x: auto;
  white-space: nowrap;
}

/* Optional: add a little padding for scroll bar visibility */
.scroll-cell::-webkit-scrollbar {
  height: 6px;
}

thead.primary-header {
  background-color: #3f4042 !important;
  /* UPSIDA primary brand shade */
  color: #ffffff !important;
}

thead.primary-header {
  background-color: #3f4042 !important;
}

thead.primary-header th {
  color: #ffffff !important;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
}
.info-card:hover {
  background: #f9fbff;
  border-color: #c9d7f5;
  transform: translateY(-2px);
}
.info-card h6 {
  font-weight: 600;
  margin: 0;
  color: #444;
}
.info-card p {
  margin: 0;
  color: #000;
}

.content-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.content-section p,
.content-section li {
  font-size: 16px;
  line-height: 1.7;
}

.content-section ul {
  padding-left: 20px;
}

.content-section li {
  margin-bottom: 10px;
}
