import { css } from "lit";
const componentStyle = css`
          * {
            -webkit-tap-highlight-color: transparent;
          }

:host {
  display: inline-block;
}

* {
  box-sizing: border-box;
}

.wrapper {
  position: relative;
  user-select: none;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  box-sizing: border-box;
}

.linear-wrapper {
  display: flex;
  height: var(--ui-components-button-touch-target-size);
  min-width: var(--ui-components-button-touch-target-size);
  align-items: center;
}

.linear-wrapper.regular {
            cursor: pointer;
}

.linear-wrapper.regular:focus {
            outline: none;
}

.linear-wrapper.regular .visible-wrapper {
            border-color: var(--normal-enabled-border-color);
            background-color: var(--normal-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--normal-enabled-border-color);
            --base-background-color: var(--normal-enabled-background-color);
}

.linear-wrapper.regular.activated .visible-wrapper {
            border-color: var(--normal-activated-border-color);
            background-color: var(--normal-activated-background-color);
            --base-border-color: var(--normal-activated-border-color);
            --base-background-color: var(--normal-activated-background-color);
}

@media (hover:hover) {

.linear-wrapper.regular:hover .visible-wrapper {
                        border-color: color-mix(in srgb, var(--normal-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--normal-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

.linear-wrapper.regular:active .visible-wrapper {
            border-color: var(--normal-pressed-border-color);
            background-color: var(--normal-pressed-background-color);
}

.linear-wrapper.regular:focus-visible .visible-wrapper {
            outline-color: var(--border-focus-color);
            outline-width: var(--global-size-spacing-border-weight-focusframe);
            outline-style: solid;
            border-color: var(--container-global-color);
            z-index: 1;
}

.linear-wrapper.regular:disabled .visible-wrapper {
            border-color: var(--normal-disabled-border-color);
            background-color: var(--normal-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-normal-disabled-color) !important;
}

.linear-wrapper.regular.disabled .visible-wrapper {
            border-color: var(--normal-disabled-border-color);
            background-color: var(--normal-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-normal-disabled-color) !important;
}

.linear-wrapper.regular:disabled {
            cursor: not-allowed;
}

.linear-wrapper.regular.disabled {
            cursor: not-allowed;
}

.linear-wrapper.regular .button-text {
    color: var(--on-normal-active-color);
  }

.linear-wrapper.regular .visible-wrapper ::slotted([slot="leading-icon"]),.linear-wrapper.regular .visible-wrapper ::slotted([slot="trailing-icon"]) {
    color: var(--on-normal-neutral-color);
  }

.linear-wrapper.flat {
            cursor: pointer;
}

.linear-wrapper.flat:focus {
            outline: none;
}

.linear-wrapper.flat .visible-wrapper {
            border-color: var(--flat-enabled-border-color);
            background-color: var(--flat-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--flat-enabled-border-color);
            --base-background-color: var(--flat-enabled-background-color);
}

.linear-wrapper.flat.activated .visible-wrapper {
            border-color: var(--flat-activated-border-color);
            background-color: var(--flat-activated-background-color);
            --base-border-color: var(--flat-activated-border-color);
            --base-background-color: var(--flat-activated-background-color);
}

@media (hover:hover) {

.linear-wrapper.flat:hover .visible-wrapper {
                        border-color: color-mix(in srgb, var(--flat-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--flat-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

.linear-wrapper.flat:active .visible-wrapper {
            border-color: var(--flat-pressed-border-color);
            background-color: var(--flat-pressed-background-color);
}

.linear-wrapper.flat:focus-visible .visible-wrapper {
            outline-color: var(--border-focus-color);
            outline-width: var(--global-size-spacing-border-weight-focusframe);
            outline-style: solid;
            border-color: var(--container-global-color);
            z-index: 1;
}

.linear-wrapper.flat:disabled .visible-wrapper {
            border-color: var(--flat-disabled-border-color);
            background-color: var(--flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-flat-disabled-color) !important;
}

.linear-wrapper.flat.disabled .visible-wrapper {
            border-color: var(--flat-disabled-border-color);
            background-color: var(--flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-flat-disabled-color) !important;
}

.linear-wrapper.flat:disabled {
            cursor: not-allowed;
}

.linear-wrapper.flat.disabled {
            cursor: not-allowed;
}

.linear-wrapper.flat .button-text {
    color: var(--on-flat-active-color);
  }

.linear-wrapper.flat .visible-wrapper ::slotted([slot="leading-icon"]),.linear-wrapper.flat .visible-wrapper ::slotted([slot="trailing-icon"]) {
    color: var(--on-flat-neutral-color);
  }

.linear-wrapper.raised {
            cursor: pointer;
}

.linear-wrapper.raised:focus {
            outline: none;
}

.linear-wrapper.raised .visible-wrapper {
            border-color: var(--raised-enabled-border-color);
            background-color: var(--raised-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--raised-enabled-border-color);
            --base-background-color: var(--raised-enabled-background-color);
}

.linear-wrapper.raised.activated .visible-wrapper {
            border-color: var(--raised-activated-border-color);
            background-color: var(--raised-activated-background-color);
            --base-border-color: var(--raised-activated-border-color);
            --base-background-color: var(--raised-activated-background-color);
}

@media (hover:hover) {

.linear-wrapper.raised:hover .visible-wrapper {
                        border-color: color-mix(in srgb, var(--raised-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--raised-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

.linear-wrapper.raised:active .visible-wrapper {
            border-color: var(--raised-pressed-border-color);
            background-color: var(--raised-pressed-background-color);
}

.linear-wrapper.raised:focus-visible .visible-wrapper {
            outline-color: var(--border-focus-color);
            outline-width: var(--global-size-spacing-border-weight-focusframe);
            outline-style: solid;
            border-color: var(--container-global-color);
            z-index: 1;
}

.linear-wrapper.raised:disabled .visible-wrapper {
            border-color: var(--raised-disabled-border-color);
            background-color: var(--raised-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-raised-disabled-color) !important;
}

.linear-wrapper.raised.disabled .visible-wrapper {
            border-color: var(--raised-disabled-border-color);
            background-color: var(--raised-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-raised-disabled-color) !important;
}

.linear-wrapper.raised:disabled {
            cursor: not-allowed;
}

.linear-wrapper.raised.disabled {
            cursor: not-allowed;
}

.linear-wrapper.raised .button-text {
    color: var(--on-raised-active-color);
  }

.linear-wrapper.raised .visible-wrapper ::slotted([slot="leading-icon"]),.linear-wrapper.raised .visible-wrapper ::slotted([slot="trailing-icon"]) {
    color: var(--on-raised-neutral-color);
  }

.visible-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--ui-components-button-visual-size);
  padding: 0 var(--ui-components-button-padding-horizontal);
  border-radius: var(--ui-components-button-border-radius-top-left)
    var(--ui-components-button-border-radius-top-right)
    var(--ui-components-button-border-radius-bottom-right)
    var(--ui-components-button-border-radius-bottom-left);
  width: 100%;
  box-sizing: border-box;
}

.linear-label-icon-container {
  display: flex;
  padding: 0 var(--ui-components-button-padding-horizontal);
  align-items: center;
}

.button-text {
  font-family: var(--font-family-main);
  font-weight: var(--global-typography-ui-button-font-weight);
  font-size: var(--global-typography-ui-button-font-size);
  line-height: var(--global-typography-ui-button-line-height);
  font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 var(--ui-components-button-label-spacing);
}

.visible-wrapper ::slotted([slot="leading-icon"]),
.visible-wrapper ::slotted([slot="trailing-icon"]) {
  width: var(--ui-components-button-icon-size);
  height: var(--ui-components-button-icon-size);
  flex-shrink: 0;
}

.visible-wrapper ::slotted([slot="leading-icon"]) {
  padding:;
}

.visible-wrapper.alert {
  border: 2px solid var(--alert-alarm-color);
}

.linear-progress-container {
  display: flex;
  width: 100%;
  padding: var(
      --ui-components-progressbars-progress-button-linear-padding-vertical-bar,
      2px
    )
    var(
      --ui-components-progressbars-progress-button-linear-padding-horizontal-bar,
      2px
    );
}

.linear-progress-bar {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  height: var(
    --ui-components-progressbars-progress-button-linear-bar-height,
    4px
  );
  align-items: flex-start;
  align-self: stretch;
  border-radius: 8px;
  background: var(--container-backdrop-color);
}

.linear-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--instrument-enhanced-secondary-color);
  border-radius: 2px;
  transition: width 0.3s ease-in-out;
}

.linear-progress-indeterminate {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--instrument-enhanced-secondary-color);
  border-radius: 2px;
  animation: linear-indeterminate-slide 1.5s ease-in-out infinite;
}

@keyframes linear-indeterminate-slide {
  0% {
    transform: translateX(-100%);
  }
  60% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.circular-wrapper {
            cursor: pointer;
}

.circular-wrapper:focus {
            outline: none;
}

.circular-wrapper .circular-visible-wrapper {
            border-color: var(--flat-enabled-border-color);
            background-color: var(--flat-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--flat-enabled-border-color);
            --base-background-color: var(--flat-enabled-background-color);
}

.circular-wrapper.activated .circular-visible-wrapper {
            border-color: var(--flat-activated-border-color);
            background-color: var(--flat-activated-background-color);
            --base-border-color: var(--flat-activated-border-color);
            --base-background-color: var(--flat-activated-background-color);
}

@media (hover:hover) {

.circular-wrapper:hover .circular-visible-wrapper {
                        border-color: color-mix(in srgb, var(--flat-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--flat-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

.circular-wrapper:active .circular-visible-wrapper {
            border-color: var(--flat-pressed-border-color);
            background-color: var(--flat-pressed-background-color);
}

.circular-wrapper:focus-visible .circular-visible-wrapper {
            outline-color: var(--border-focus-color);
            outline-width: var(--global-size-spacing-border-weight-focusframe);
            outline-style: solid;
            border-color: var(--container-global-color);
            z-index: 1;
}

.circular-wrapper:disabled .circular-visible-wrapper {
            border-color: var(--flat-disabled-border-color);
            background-color: var(--flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-flat-disabled-color) !important;
}

.circular-wrapper.disabled .circular-visible-wrapper {
            border-color: var(--flat-disabled-border-color);
            background-color: var(--flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-flat-disabled-color) !important;
}

.circular-wrapper:disabled {
            cursor: not-allowed;
}

.circular-wrapper.disabled {
            cursor: not-allowed;
}

.circular-wrapper {
  min-width: var(--global-size-spacing-touch-target-min);
  min-height: var(--global-size-spacing-touch-target-min);
  position: relative;
  background: transparent;
  border: none;
  padding: var(--ui-components-icon-button-padding-vertical) 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.circular-icon-container {
  position: relative;
  height: var(--ui-components-icon-button-visual-target-size);
  min-width: var(--ui-components-icon-button-visual-target-size);
  display: flex;
  align-items: center;
  justify-content: center;
}

.circular-visible-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-sizing: border-box;
  z-index: 2;
}

.circular-progress-svg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

obc-circular-progress {
  position: absolute;
  width: calc(
    var(--ui-components-icon-button-visual-target-size) +
      var(--ui-components-progressbars-progress-button--circular-bar-weight) *
      2 + 2px
  );
  height: calc(
    var(--ui-components-icon-button-visual-target-size) +
      var(--ui-components-progressbars-progress-button--circular-bar-weight) *
      2 + 2px
  );
  pointer-events: none;
  z-index: 1;
}

.circular-alert-svg {
  position: absolute;
  width: calc(
    var(--ui-components-icon-button-visual-target-size) +
      var(--ui-components-progressbars-progress-button--circular-bar-weight) *
      2 + 2px
  );
  height: calc(
    var(--ui-components-icon-button-visual-target-size) +
      var(--ui-components-progressbars-progress-button--circular-bar-weight) *
      2 + 2px
  );
  pointer-events: none;
  z-index: 1;
}

.circular-alert-ring {
  stroke: var(--alert-alarm-color);
}

.circular-visible-wrapper ::slotted([slot="icon"]) {
  width: var(--ui-components-icon-button-icon-size);
  height: var(--global-size-spacing-icon-icon-size-regular);
  color: var(--on-flat-neutral-color);
  z-index: 1;
  position: relative;
}

.circular-label {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-regular);
  font-size: var(--global-typography-ui-label-font-size);
  line-height: var(--global-typography-ui-label-line-height);
  font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
  position: relative;
  white-space: nowrap;
  text-align: center;
  color: var(--element-neutral-color);
}

.wrapper.linear-wrapper.disabled {
  cursor: not-allowed;
}

.wrapper.linear-wrapper.disabled .visible-wrapper ::slotted([slot="leading-icon"]),.wrapper.linear-wrapper.disabled .visible-wrapper ::slotted([slot="trailing-icon"]) {
    color: var(--on-normal-disabled-color);
  }

.wrapper.linear-wrapper.disabled .button-text {
    color: var(--on-normal-disabled-color);
  }
`;
export {
  componentStyle as default
};
//# sourceMappingURL=progress-button.css.js.map
