/* 自定义工具类和动画 */
.content-auto {
  content-visibility: auto;
}
.card-shadow {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0.5px;
  background-color: rgba(34, 197, 94, 0.3);
  transform: translateX(-50%);
}
.timeline-dot {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  transform: translateX(-50%);
  border: 4px solid white;
  z-index: 10;
}
.progress-animation {
  animation: progress 1.5s ease-out forwards;
}
@keyframes progress {
  from { width: 0; }
  to { width: var(--progress-width, 100%); }
}
.modal-fade-in {
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 图片模态框样式 */
#image-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
#image-modal.active {
  opacity: 1;
  visibility: visible;
}
#modal-image {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  margin: 0 auto;
}
#image-caption {
  margin-top: 10px;
  color: white;
  font-size: 16px;
}
#modal-image {
  transition: transform 0.3s ease;
}