/* 上传卡片 */
.upload-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-card:active {
  transform: scale(0.98);
}

/* 上传内容区域 */
.upload-content {
  width: 100%;
  aspect-ratio: 3/4;
  background: #eee;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* 上传占位符 */
.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 24px;
}

.upload-icon {
  width: 40%;
  aspect-ratio: 1;
  height: auto;
}

/* 上传的图片 */
.upload-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 标题 */
.upload-title {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  text-align: center;
  line-height: 1.2;
}

/* 加载动画 */
.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgb(0 0 0 / 10%);
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
