/* TabItem Molecule */
.tab-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 100%;
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-normal);
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-bottom: var(--border-width-2) solid transparent;
  cursor: pointer;
  transition: all var(--duration-150) var(--easing-out);
  flex-shrink: 0;
  white-space: nowrap;
}

.tab-item:hover:not(:disabled):not(.tab-item-active) {
  color: var(--text-primary);
  border-bottom-color: var(--border-default);
}

.tab-item-active {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);  /* Medium weight for active */
  border-bottom-color: var(--color-primary);
}

.tab-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
