.stage-card-with-tabs {
  position: relative;
  overflow: visible;
  padding: 1.25rem;
}

/* 调整带tabs的卡片中圆形数字图标的位置 */
.stage-card-with-tabs .stage-number {
  top: -15px;
  left: 20px;
  z-index: 4;
}

/* 确保带tabs的卡片中图标样式与普通卡片一致 */
.stage-card-with-tabs .stage-icon {
  width: 70px;
  height: 70px;
  background-color: #f0f7ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.stage-card-with-tabs .stage-icon i {
  font-size: 2rem;
  color: #00476b;
  transition: all 0.3s ease;
}

/* 确保带tabs的卡片中图标hover效果与普通卡片一致 */
.stage-card-with-tabs:hover .stage-icon {
  background-color: #00476b;
  transform: scale(1.1);
}

.stage-card-with-tabs:hover .stage-icon i {
  color: white;
  transform: scale(1.2);
}

.stage-tabs {
  position: absolute;
  top: 0;
  right: 10px;
  display: flex;
  border-bottom: none;
  margin: 0;
}

.stage-tab {
  padding: 4px 10px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-right: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 12px;
  color: #666;
  transition: all 0.3s ease;
  border-radius: 4px 0 0 4px;
}

.stage-tab:last-child {
  border-right: 1px solid #ddd;
  border-radius: 0 4px 4px 0;
}

.stage-tab:first-child {
  border-radius: 4px 0 0 4px;
}

.stage-tab:hover {
  background: #e0e0e0;
  color: #3498db;
}

.stage-tab.active {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.stage-tab-contents {
  position: relative;
  min-height: 80px;
}

.stage-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.stage-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}