/*
 * SPDX-FileCopyrightText: 2025 Siemens AG
 *
 * SPDX-License-Identifier: MIT
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
/*
* SPDX-FileCopyrightText: 2025 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* SPDX-FileCopyrightText: 2025 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* SPDX-FileCopyrightText: 2025 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
:host {
  display: block;
  position: relative;
  width: 24rem;
  height: -moz-fit-content;
  height: fit-content;
}
:host .progress-container {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}
:host .label {
  margin: 0.5rem 0 0.25rem 0;
}
:host .helper-text {
  display: flex;
  align-items: center;
  margin: 0.25rem 0px;
  gap: 0.25rem;
  color: var(--theme-progress-indicator-helper--color);
}
:host .helper-text ix-icon {
  margin: 0.125rem;
  color: var(--theme-progress-indicator-helper-icon--color);
}
:host .helper-text.success {
  color: var(--theme-progress-indicator-helper-success--color);
}
:host .helper-text.success ix-icon {
  color: var(--theme-progress-indicator-helper-icon-success--color);
}
:host .helper-text.error {
  color: var(--theme-progress-indicator-helper-error--color);
}
:host .helper-text.error ix-icon {
  color: var(--theme-progress-indicator-helper-icon-error--color);
}
:host .helper-text.info {
  color: var(--theme-progress-indicator-helper-info--color);
}
:host .helper-text.info ix-icon {
  color: var(--theme-progress-indicator-helper-icon-info--color);
}
:host .helper-text.warning {
  color: var(--theme-progress-indicator-helper-warning--color);
}
:host .helper-text.warning ix-icon {
  color: var(--theme-progress-indicator-helper-icon-warning--color);
}
:host .helper-text.paused {
  color: var(--theme-progress-indicator-helper-paused--color);
}
:host .helper-text.paused ix-icon {
  color: var(--theme-progress-indicator-helper-icon-paused--color);
}
:host .helper-text .text.align-left {
  text-align: start;
}
:host .helper-text .text.align-right {
  text-align: end;
}
:host .helper-text .text.align-center {
  text-align: center;
}
:host .progress-indicator {
  display: flex;
  flex-direction: column;
}
:host .progress-indicator.text-center {
  align-items: center;
}
:host .progress-indicator.text-left {
  align-items: flex-start;
}
:host .progress-indicator.text-right {
  align-items: flex-end;
}
:host .progress-indicator {
  --ix-progress-indicator-margin: 0.5rem 0;
  height: 100%;
}
:host .progress-indicator.xs {
  --ix-progress-indicator-height: 0.125rem;
  --ix-progress-indicator-margin: 0.25rem 0;
}
:host .progress-indicator.sm {
  --ix-progress-indicator-height: 0.25rem;
  --ix-progress-indicator-margin: 0.375rem 0;
}
:host .progress-indicator.md {
  --ix-progress-indicator-height: 0.5rem;
}
:host .progress-indicator.lg {
  --ix-progress-indicator-height: 1rem;
}
:host .progress-indicator.xl {
  --ix-progress-indicator-height: 1.5rem;
}
:host .progress-indicator {
  --ix-progress-indicator-color: var(
    --theme-progress-indicator-fill--background
  );
}
:host .progress-indicator.success {
  --ix-progress-indicator-color: var(
    --theme-progress-indicator-fill-success--background
  );
}
:host .progress-indicator.error {
  --ix-progress-indicator-color: var(
    --theme-progress-indicator-fill-error--background
  );
}
:host .progress-indicator.info {
  --ix-progress-indicator-color: var(
    --theme-progress-indicator-fill-info--background
  );
}
:host .progress-indicator.warning {
  --ix-progress-indicator-color: var(
    --theme-progress-indicator-fill-warning--background
  );
}
:host .progress-indicator.paused {
  --ix-progress-indicator-color: var(
    --theme-progress-indicator-fill-paused--background
  );
}

:host(.linear) .progress-indicator.xs {
  --ix-progress-indicator-height: 0.125rem;
}
:host(.linear) .progress-indicator.sm {
  --ix-progress-indicator-height: 0.25rem;
}
:host(.linear) .progress-indicator.md {
  --ix-progress-indicator-height: 0.5rem;
}
:host(.linear) .progress-indicator.lg {
  --ix-progress-indicator-height: 1rem;
}
:host(.linear) .progress-indicator.xl {
  --ix-progress-indicator-height: 1.5rem;
}
:host(.linear) .linear-progress-container {
  width: 100%;
  height: var(--ix-progress-indicator-height);
  background-color: var(--theme-progress-indicator-track--background);
  border-radius: 2px;
  overflow: hidden;
  margin: var(--ix-progress-indicator-margin, 0.5rem 0);
}
:host(.linear) .linear-progress-container.success {
  background-color: var(--theme-progress-indicator-track-success--background);
}
:host(.linear) .linear-progress-container.error {
  background-color: var(--theme-progress-indicator-track-error--background);
}
:host(.linear) .linear-progress-container.info {
  background-color: var(--theme-progress-indicator-track-info--background);
}
:host(.linear) .linear-progress-container.warning {
  background-color: var(--theme-progress-indicator-track-warning--background);
}
:host(.linear) .linear-progress-container.paused {
  background-color: var(--theme-progress-indicator-track-paused--background);
}
:host(.linear) .progress {
  width: 100%;
  height: 100%;
  position: relative;
}
:host(.linear) .progress-bar {
  height: 100%;
  background-color: var(--ix-progress-indicator-color);
  transition: width 0.3s ease;
}
:host(.linear) .linear-slot {
  min-width: 2.25rem;
}

:host(.circular) .circular-progress-container {
  --ix-progress-indicator-track-color: var(
    --theme-progress-indicator-track--background
  );
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.25rem;
  margin: var(--ix-progress-indicator-margin, 0.5rem 0);
}
:host(.circular) .circular-progress-container.align-left {
  justify-content: flex-start;
}
:host(.circular) .circular-progress-container.align-center {
  justify-content: center;
}
:host(.circular) .circular-progress-container.align-right {
  justify-content: flex-end;
}
:host(.circular) .circular-progress-container.success {
  --ix-progress-indicator-track-color: var(
    --theme-progress-indicator-track-success--background
  );
}
:host(.circular) .circular-progress-container.error {
  --ix-progress-indicator-track-color: var(
    --theme-progress-indicator-track-error--background
  );
}
:host(.circular) .circular-progress-container.info {
  --ix-progress-indicator-track-color: var(
    --theme-progress-indicator-track-info--background
  );
}
:host(.circular) .circular-progress-container.warning {
  --ix-progress-indicator-track-color: var(
    --theme-progress-indicator-track-warning--background
  );
}
:host(.circular) .circular-progress-container.paused {
  --ix-progress-indicator-track-color: var(
    --theme-progress-indicator-track-paused--background
  );
}
:host(.circular) .slotted-container {
  height: 100%;
}
:host(.circular) .slotted-container.slotted-container-inside {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}