/* Basic Dots, Fade & Pulse Animations */
.pulse {
  animation: pulse 1.3s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.4;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.4;
  }
}

.fade {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dots::after {
  content: "...";
  animation: dots 1.4s steps(3, end) infinite;
}

@keyframes dots {

  0%,
  20% {
    content: "";
  }

  40% {
    content: ".";
  }

  60% {
    content: "..";
  }

  80%,
  100% {
    content: "...";
  }
}

/* Dot Sizes */
.h-4 {
  height: 16px;
}

.w-4 {
  width: 16px;
}

/* Rounded */
.rounded-full {
  border-radius: 999px;
}

/* Background Colors */
.bg-green-500 {
  background-color: #22c55e;
  /* green */
}

.bg-blue-600 {
  background-color: #2563eb;
  /* blue */
}

.bg-gray-300 {
  background-color: #d1d5db;
  /* gray */
}

/* Text Colors */
.text-green-600 {
  color: #16a34a;
}

.text-blue-700 {
  color: #1d4ed8;
}

.text-gray-600 {
  color: #4b5563;
}

/* Font weight */
.font-semibold {
  font-weight: 600;
}

/* Progress bar transition */
#progressBar {
  transition: width 0.5s ease;
}

/* ///document review  */

/* Fade animation */
.fade {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse animation */
.pulse {
  animation: pulse 1.3s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.4;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.4;
  }
}

/* Dots animation */
.dots::after {
  content: "...";
  animation: dots 1.4s steps(3, end) infinite;
}

@keyframes dots {

  0%,
  20% {
    content: "";
  }

  40% {
    content: ".";
  }

  60% {
    content: "..";
  }

  80%,
  100% {
    content: "...";
  }
}

/* -------- CONTAINER CARD -------- */
.container-card {
  max-width: 700px;
  margin: 75px auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* -------- HEADINGS -------- */
/* .heading-xl {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
  color: #1f2937;
} */
.sub-text {
  text-align: center;
  color: #4b5563;
  margin-bottom: 32px;
}

/* -------- UPLOAD BOX -------- */
.upload-box {
  border: 2px dashed #d1d5db;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-bottom: 32px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.upload-input {
  width: 100%;
  display: block;
  cursor: pointer;
  color: #374151;
}

/* -------- BUTTON -------- */
.btn-upload {
  width: 100%;
  background: #2563eb;
  color: white;
  padding: 12px 0;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-upload:hover {
  background: #1d4ed8;
}

/* -------- LOADER -------- */
#loaderBox {
  margin-top: 40px;
}

/* Progress Bar */
.progress-wrapper {
  width: 100%;
  background: #e5e7eb;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #2563eb;
  border-radius: 999px;
  transition: width 0.5s ease;
}

/* Status Rows */
.status-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.status-dot {
  width: 16px;
  height: 16px;
  background: #d1d5db;
  border-radius: 50%;
}

/* Active dot */
.status-dot.active {
  background: #2563eb;
}

.status-text {
  color: #4b5563;
  margin-bottom: 0px !important;
}

/* AI Message output */
#aiMessages {
  margin-top: 24px;
  color: #1d4ed8;
  font-weight: 600;
}

/* Error box */
#errorBox {
  margin-top: 16px;
  background: #fee2e2;
  color: #dc2626;
  padding: 14px;
  border-radius: 10px;
}

.hidden {
  display: none;
}

/* <!-- Add Custom Styles review page  --> */
.use-policy {
  margin: 20px 0;
  padding: 15px;
  background: #eef6ff;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  text-align: left;
}

.use-policy p {
  font-size: 11pt !important;
  margin-bottom: 1px;
}

.use-policy ul {
  font-size: 11pt !important;
  list-style-type: disc;
  padding-left: 20px;
}