.wk-file-preview-fallback-renderer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: var(--wk-sp-6);
}

/* 文件卡片 */
.wk-file-preview-fallback-renderer__card {
  display: flex;
  align-items: center;
  width: 400px;
  max-width: 100%;
  padding: var(--wk-sp-3) var(--wk-sp-5);
  background: var(--wk-bg-surface);
  border: 1px solid var(--wk-border-default);
  border-radius: var(--wk-r-full);
  gap: var(--wk-sp-3);
}

/* 文件图标 */
.wk-file-preview-fallback-renderer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--wk-text-secondary);
  flex-shrink: 0;
}

/* 文件信息 */
.wk-file-preview-fallback-renderer__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--wk-sp-1);
}

.wk-file-preview-fallback-renderer__name {
  font-size: var(--wk-text-size-md);
  font-weight: 600;
  color: var(--wk-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wk-file-preview-fallback-renderer__size {
  font-size: var(--wk-text-size-sm);
  color: var(--wk-text-tertiary);
}

/* 下载按钮 */
.wk-file-preview-fallback-renderer__download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--wk-sp-2);
  padding: var(--wk-sp-2) var(--wk-sp-4);
  border: none;
  background: var(--wk-brand-primary);
  color: var(--wk-text-inverse);
  border-radius: var(--wk-r-full);
  cursor: pointer;
  font-size: var(--wk-text-size-md);
  font-weight: 500;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.wk-file-preview-fallback-renderer__download-btn:hover {
  opacity: 0.9;
}

.wk-file-preview-fallback-renderer__download-btn:active {
  opacity: 0.8;
}

.wk-file-preview-fallback-renderer__download-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 旋转动画 */
.wk-file-preview-fallback-renderer__spinner {
  animation: wk-fallback-spin 1s linear infinite;
}

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

/* 提示信息 */
.wk-file-preview-fallback-renderer__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--wk-sp-2);
  margin-top: var(--wk-sp-4);
  color: var(--wk-text-tertiary);
  font-size: var(--wk-text-size-sm);
}
