/* Typography Usage mixins */
:host {
  position: relative;
}
:host [role=listitem] {
  display: flex;
  justify-content: start;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
:host [role=listitem].text-below {
  flex-direction: column;
}
:host [role=listitem].lg {
  padding: 0 20px;
  font-family: var(--type-system-body-01-font-family);
  font-size: calc(var(--type-system-body-01-font-size) * 1px);
  line-height: calc(var(--type-system-body-01-line-height) * 1px);
  font-weight: var(--type-system-body-01-font-weight);
  letter-spacing: calc(var(--type-system-body-01-letter-spacing) * 1px);
  text-transform: var(--type-system-body-01-text-transform);
}
:host [role=listitem].lg .content-container {
  height: 30px;
  min-width: 30px;
}
:host [role=listitem].lg.vertical::after {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 36px;
  width: 1px;
  top: 40px;
  left: 36px;
}
:host [role=listitem].lg.horizontal::after {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  left: calc(50% + 16px + 16px);
  right: 0;
  top: 16px;
}
:host [role=listitem].lg.horizontal::before {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  right: calc(50% + 16px + 16px);
  left: 0;
  top: 16px;
}
:host [role=listitem].lg.horizontal.hide-labels::after {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  left: calc(50% + 16px + 8px);
  right: 0;
  top: 16px;
}
:host [role=listitem].lg.horizontal.hide-labels::before {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  right: calc(50% + 16px + 8px);
  left: 0;
  top: 16px;
}
:host [role=listitem].lg.horizontal.text-aside:not(.hide-labels)::after {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  left: auto;
  right: -10px;
  width: 10px;
  top: 16px;
}
:host [role=listitem].lg.horizontal.text-aside:not(.hide-labels)::before {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  top: 16px;
  left: -10px;
  right: auto;
  width: 10px;
}
:host [role=listitem].sm {
  padding: 0 20px;
  font-family: var(--type-system-label-01-font-family);
  font-size: calc(var(--type-system-label-01-font-size) * 1px);
  line-height: calc(var(--type-system-label-01-line-height) * 1px);
  font-weight: var(--type-system-label-01-font-weight);
  letter-spacing: calc(var(--type-system-label-01-letter-spacing) * 1px);
}
:host [role=listitem].sm .content-container {
  height: 24px;
  min-width: 24px;
}
:host [role=listitem].sm.vertical::after {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 20px;
  width: 1px;
  top: 34px;
  left: 32px;
}
:host [role=listitem].sm.horizontal::after {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  left: calc(50% + 12px + 16px);
  right: 0;
  top: 13px;
}
:host [role=listitem].sm.horizontal::before {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  left: 0;
  right: calc(50% + 12px + 16px);
  top: 13px;
}
:host [role=listitem].sm.horizontal.hide-labels::after {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  left: calc(50% + 12px + 8px);
  right: 0;
  top: 13px;
}
:host [role=listitem].sm.horizontal.hide-labels::before {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  right: calc(50% + 12px + 8px);
  left: 0;
  top: 13px;
}
:host [role=listitem].sm.horizontal.text-aside:not(.hide-labels)::after {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  top: 13px;
  left: auto;
  right: -10px;
  width: 10px;
}
:host [role=listitem].sm.horizontal.text-aside:not(.hide-labels)::before {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  top: 13px;
  left: -10px;
  right: auto;
  width: 10px;
}
:host [role=listitem] .content-container {
  border-radius: var(--tds-stepper-border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
:host [role=listitem] .content-container.error {
  border: 1px solid var(--tds-stepper-icon-step-border-color-warning);
  color: var(--tds-stepper-icon-step-color-warning);
  background-color: var(--tds-stepper-icon-step-background-warning);
}
:host [role=listitem] .content-container.success {
  background-color: var(--tds-stepper-icon-step-background-success);
  border: 1px solid var(--tds-stepper-icon-step-border-color-success);
  color: var(--tds-stepper-icon-step-color-success);
}
:host [role=listitem] .content-container.current {
  background-color: var(--tds-stepper-background-color-current);
  color: var(--tds-stepper-index-color-current);
  border: 1px solid var(--tds-stepper-border-color-current);
}
:host [role=listitem] .content-container.upcoming {
  background-color: var(--tds-stepper-background-color-upcoming);
  border: 1px solid var(--tds-stepper-border-color-upcoming);
  color: var(--tds-stepper-index-color-upcoming);
}
:host [role=listitem] .label {
  text-align: center;
}
:host [role=listitem] .label.lg {
  font-family: var(--type-system-body-01-font-family);
  font-size: calc(var(--type-system-body-01-font-size) * 1px);
  line-height: calc(var(--type-system-body-01-line-height) * 1px);
  font-weight: var(--type-system-body-01-font-weight);
  letter-spacing: calc(var(--type-system-body-01-letter-spacing) * 1px);
  text-transform: var(--type-system-body-01-text-transform);
}
:host [role=listitem] .label.sm {
  font-family: var(--type-system-label-01-font-family);
  font-size: calc(var(--type-system-label-01-font-size) * 1px);
  line-height: calc(var(--type-system-label-01-line-height) * 1px);
  font-weight: var(--type-system-label-01-font-weight);
  letter-spacing: calc(var(--type-system-label-01-letter-spacing) * 1px);
}
:host [role=listitem] .label.error {
  color: var(--tds-stepper-label-text-color-warning);
}
:host [role=listitem] .label.success {
  color: var(--tds-stepper-label-text-color-success);
}
:host [role=listitem] .label.current {
  color: var(--tds-stepper-label-text-color-current);
}
:host [role=listitem] .label.upcoming {
  color: var(--tds-stepper-label-text-color-upcoming);
}

:host(:last-of-type) [role=listitem].horizontal.text-aside {
  padding-right: 0;
  padding-left: 20px;
}
:host(:last-of-type) [role=listitem].horizontal.text-aside::before {
  content: " ";
  position: absolute;
  background-color: var(--tds-stepper-divider-line);
  height: 1px;
  width: 20px;
  left: -10px;
  right: auto;
  top: 16px;
}
:host(:last-of-type) [role=listitem].horizontal.text-aside.sm.hide-labels::before {
  top: 13px;
  width: 13px;
  left: 0;
  right: calc(50% + 20px);
}
:host(:last-of-type) [role=listitem].horizontal.text-aside.lg.hide-labels::before {
  top: 16px;
  width: 16px;
  left: 0;
  right: calc(50% + 20px);
}
:host(:last-of-type) [role=listitem].sm::after, :host(:last-of-type) [role=listitem].lg::after {
  display: none;
}
:host(:last-of-type) [role=listitem].sm.vertical::before {
  display: none;
}

:host(:first-of-type) [role=listitem].sm::before, :host(:first-of-type) [role=listitem].lg::before {
  display: none;
}