/* Progress tracker styles - integrated with chat messages */
.progress-tracker {
  padding: 18px 20px;
  margin: 15px 20px 25px;
  max-width: 90%;
}

.progress-bar-container {
  height: 10px;
  background-color: rgba(233, 236, 239, 0.7);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.progress-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s ease-in-out, background-color 0.5s;
  background: linear-gradient(135deg, #8BBF9F, #74A987);
  position: relative;
  overflow: hidden;
}

.progress-bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.5) 50%, 
    rgba(255, 255, 255, 0) 100%);
  animation: shimmer 1.2s infinite;
}

.progress-details {
  margin-top: 12px;
}

.progress-details h3 {
  margin: 0 0 10px 0;
  font-size: 1.05rem;
  color: #1e40af;
  font-weight: 600;
}

.progress-details p {
  margin: 5px 0;
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.5;
}

.destination {
  font-weight: normal;
}

.progress-details .document-link {
  margin-top: 15px;
}

/* Animation keyframes for the progress bar shimmer effect */
@keyframes shimmer {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(200%);
  }
}

.document-link a {
  display: inline-block;
  padding: 8px 16px;
  background-color: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.document-link a:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}
