/* Chrome 风格的标签页样式 */
.tab {
  position: relative;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
  font-weight: 500;
}

.tab:hover {
  color: #374151;
  background-color: rgba(59, 130, 246, 0.05);
}

.tab-active {
  color: #1f2937;
  background-color: white;
  border-bottom-color: #3b82f6 !important;
  border-bottom-width: 2px !important;
  border-bottom-style: solid !important;
  font-weight: 600;
}

.tab-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: white;
  z-index: 1;
}

.tab-inactive {
  color: #6b7280;
  border-bottom-color: transparent !important;
}

.tab-inactive:hover {
  color: #374151;
  border-bottom-color: rgba(59, 130, 246, 0.3) !important;
}

/* 标签页内容区域 */
.tab-content {
  background: white;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
}

/* 响应式调整 */
@media (max-width: 640px) {
  .tab {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .tab svg {
    width: 1rem;
    height: 1rem;
  }
}
