transduck-desktop/src/styles/common.css
/* 全局卡片样式 */
.main-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: none;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* 卡片头部样式 */
.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #eaedf0;
  padding: 20px;
}

.card-body {
  margin-top: 20px;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon {
  font-size: 2rem;
  color: #4361ee;
  background-color: rgba(67, 97, 238, 0.1);
  padding: 12px;
  border-radius: 12px;
}

/* 表单元素样式 */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 500;
  color: #4a5568;
}

.form-label i {
  margin-right: 8px;
  color: #4361ee;
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border: 1px solid transparent;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  gap: 8px;
}

.btn i {
  font-size: 1.1rem;
}

.btn-primary {
  background-color: #4361ee;
  color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
  background-color: #3a56d4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
}

.btn-success {
  background-color: #10b981;
  color: #ffffff;
}

.btn-success:hover:not(:disabled) {
  background-color: #0ea371;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-outline-danger {
  color: #ef4444;
  border-color: #ef4444;
  background-color: transparent;
}

.btn-outline-danger:hover {
  background-color: #ef4444;
  color: #ffffff;
}

.btn-outline-primary {
  color: #4361ee;
  border-color: #4361ee;
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: #4361ee;
  color: #ffffff;
}

/* 状态卡片样式 */
.status-card {
  background-color: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 结果卡片样式 */
.result-card {
  margin-top: 24px;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.result-card.success {
  background-color: #f0fdf4;
  border: 1px solid #dcfce7;
}

.result-card.error {
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
}

/* 动画效果 */
.spin {
  animation: spin 1.2s linear infinite;
}

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

/* 响应式调整 */
@media (max-width: 768px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .header-icon {
    margin-bottom: 12px;
  }
}