.yk-steps {
  display: flex;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 14px;
  color: var(--gray);
  list-style: none;
}
.yk-steps--horizontal {
  flex-direction: row;
}
.yk-steps--vertical {
  flex-direction: column;
}
.yk-steps__step {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 0;
}
.yk-steps--horizontal .yk-steps__step {
  flex-direction: column;
  align-items: flex-start;
}
.yk-steps--vertical .yk-steps__step {
  flex-direction: row;
  gap: 12px;
  min-height: 72px;
}
.yk-steps--clickable .yk-steps__step {
  cursor: pointer;
}
.yk-steps__head {
  display: flex;
  align-items: center;
  width: 100%;
}
.yk-steps--vertical .yk-steps__head {
  flex-direction: column;
  width: auto;
}
.yk-steps__icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 14px;
  border: 1px solid var(--gray3);
  border-radius: 50%;
  color: var(--gray6);
  background-color: var(--bgColor1);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.yk-steps__icon svg {
  width: 14px;
  height: 14px;
}
.yk-steps__line {
  flex: 1;
  margin: 0 8px;
  height: 1px;
  background-color: var(--gray3);
}
.yk-steps--vertical .yk-steps__line {
  flex: 1;
  margin: 8px 0;
  width: 1px;
  height: auto;
}
.yk-steps__content {
  margin-top: 8px;
  min-width: 0;
}
.yk-steps--vertical .yk-steps__content {
  margin-top: 2px;
  flex: 1;
}
.yk-steps__title {
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gray8);
}
.yk-steps__description {
  margin-top: 4px;
  font-size: 12px;
  color: var(--gray5);
}
.yk-steps__step--process .yk-steps__icon {
  border-color: var(--pcolor);
  color: #ffffff;
  background-color: var(--pcolor);
}
.yk-steps__step--process .yk-steps__title {
  color: var(--pcolor);
}
.yk-steps__step--finish .yk-steps__icon {
  border-color: var(--pcolor);
  color: var(--pcolor);
}
.yk-steps__step--finish .yk-steps__line {
  background-color: var(--pcolor);
}
.yk-steps__step--finish .yk-steps__title {
  color: var(--gray);
}
.yk-steps__step--error .yk-steps__icon {
  border-color: var(--ecolor);
  color: #ffffff;
  background-color: var(--ecolor);
}
.yk-steps__step--error .yk-steps__title {
  color: var(--ecolor);
}
.yk-steps--s .yk-steps__icon {
  width: 22px;
  height: 22px;
  font-size: 12px;
}
.yk-steps--l .yk-steps__icon {
  width: 32px;
  height: 32px;
}
