src/components/downloads/DownloadCenter.css
.download-center {
  width: 100%;
}

.version-select-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 页面切换动画已删除 */

/* 安装模式选择动画已删除 */

/* 按钮悬停动画 */
.install-option button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
}

/* 页面切换动画已删除 */

/* 实例检测状态动画 */
.loading {
  animation: pulse 0.8s infinite;
}

/* 输入框聚焦动画 */
.input:focus,
.select:focus {
  transform: scale(1.02);
  transition: transform 0.1s ease;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 卡片悬停动画 */
.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease;
}

/* 进度条动画 */
.progress {
  animation: progressSlide 0.25s ease-out;
}

/* 日志容器动画 */
.log-container {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.25s ease-out;
}

.log-line {
  white-space: pre-wrap;
  line-height: 1.5;
  padding: 2px 0;
  animation: fadeInLeft 0.15s ease-out;
}

/* 按钮动画 */
.btn {
  transition: all 0.15s ease;
  position: relative;
  overflow: hidden;

  /* 防止动画时字体模糊 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(0);
}

/* 复选框动画 */
.checkbox {
  transition: all 0.15s ease;
}

.checkbox:checked {
  animation: checkboxBounce 0.15s ease;
}

/* 链接悬停动画 */
.link {
  transition: all 0.15s ease;
  position: relative;
}

.link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* 状态图标动画 */
.text-success svg,
.text-error svg,
.text-warning svg {
  animation: iconBounce 0.25s ease-out;
}

/* 加载旋转动画 */
.loading-spinner {
  animation: spin 0.5s linear infinite;
}

/* 页面切换动画关键帧已删除 */

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes checkboxBounce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes iconBounce {
  0% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes progressSlide {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* 响应式动画调整 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 确保圆角设计一致性 */
.rounded-xl {
  border-radius: 1rem;
}

.card {
  border-radius: 0.75rem;
}

/* 服务选择区域 */
.service-info {
  flex-grow: 1;
}

/* 增强进度条对比度 */
.progress-primary {
  --progress-color: hsl(var(--p));
}

.progress-success {
  --progress-color: hsl(var(--su));
}

.progress-info {
  --progress-color: hsl(var(--in));
}

/* 网格布局动画已删除 */

/* 表单元素聚焦增强 */
.form-control:focus-within {
  transform: scale(1.01);
  transition: transform 0.1s ease;
}

/* 卡片标题动画 */
.card-title {
  position: relative;
  overflow: hidden;
}

.card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, hsl(var(--p)), hsl(var(--s)));
  transition: width 0.25s ease;
}

.card:hover .card-title::after {
  width: 100%;
}

/* 暗色模式表单控件修复 - 已移至全局主题文件 */
