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

.wrapper {
  box-sizing: border-box;
  display: flex;
  width: var(--ui-components-check-button-touch-target-size);
  min-height: var(--ui-components-icon-button-touch-target-size);
  padding: var(--ui-components-icon-button-padding-vertical) 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  user-select: none;
  background-color: transparent;
  border: none;
}

.wrapper {
            cursor: pointer;
}

.wrapper:focus {
            outline: none;
}

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

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

@media (hover:hover) {

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

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

.wrapper: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;
}

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

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

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

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

.visible-wrapper {
  box-sizing: border-box;
  display: flex;
  height: var(--ui-components-check-button-visual-size);
  min-width: var(
    --ui-components-toggle-button-icon-toggle-button-horizontal-item-touch-target-size
  );
  width: 100%;
  padding: 4px 0;
  border-radius: var(--ui-components-icon-check-button-border-radius);
  position: relative;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.icon {
  color: var(--on-indent-neutral-color);
  width: var(--ui-components-icon-check-button-icon-size);
  height: var(--ui-components-icon-check-button-icon-size);
  flex-shrink: 0;
}

.label-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.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;
  color: var(--element-active-color);
  text-align: center;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  text-wrap: nowrap;
}

:is(.wrapper.state-checked .visible-wrapper) {
            border-color: var(--selected-enabled-border-color);
            background-color: var(--selected-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--selected-enabled-border-color);
            --base-background-color: var(--selected-enabled-background-color);
}

:is(.wrapper.state-checked .visible-wrapper):focus {
            outline: none;
}

.activated:is(.wrapper.state-checked .visible-wrapper) {
            border-color: var(--selected-activated-border-color);
            background-color: var(--selected-activated-background-color);
            --base-border-color: var(--selected-activated-border-color);
            --base-background-color: var(--selected-activated-background-color);
}

@media (hover:hover) {

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

:is(.wrapper.state-checked .visible-wrapper):active {
            border-color: var(--selected-pressed-border-color);
            background-color: var(--selected-pressed-background-color);
}

:is(.wrapper.state-checked .visible-wrapper):focus-visible {
            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;
}

:is(.wrapper.state-checked .visible-wrapper):disabled {
            border-color: var(--selected-disabled-border-color);
            background-color: var(--selected-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-selected-disabled-color) !important;
}

.disabled:is(.wrapper.state-checked .visible-wrapper) {
            border-color: var(--selected-disabled-border-color);
            background-color: var(--selected-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-selected-disabled-color) !important;
}

.wrapper.state-checked .icon {
  color: var(--on-selected-active-color);
}

.wrapper.state-checked .label {
  color: var(--element-active-color);
  font-family: var(--font-family-main);
  font-weight: var(--global-typography-ui-label-active-font-weight);
  font-size: var(--global-typography-ui-label-active-font-size);
  line-height: var(--global-typography-ui-label-active-line-height);
  font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
}

.wrapper.disabled,
.wrapper.disabled .visible-wrapper {
  cursor: not-allowed;
}

.wrapper.disabled .icon {
  color: var(--on-flat-disabled-color);
}

.wrapper.disabled .label {
  color: var(--on-flat-disabled-color);
}

.wrapper.state-checked.disabled .visible-wrapper {
  border-color: var(--selected-disabled-border-color);
  background-color: var(--selected-disabled-background-color);
  cursor: not-allowed;
}

.wrapper.state-checked.disabled .icon {
  color: var(--on-selected-disabled-color);
}

.wrapper.state-checked.disabled .label {
  color: var(--on-flat-disabled-color);
}

.wrapper.state-checked:focus-visible .visible-wrapper,
.wrapper.state-unchecked:focus-visible .visible-wrapper {
  border: 1px solid var(--border-silhouette-color);
  outline: var(--global-size-spacing-border-weight-focusframe) solid
    var(--border-focus-color);
}

.wrapper.has-alert:focus-visible .visible-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border: calc(
      var(--global-size-spacing-border-weight-alertframe) -
        calc(var(--global-size-spacing-border-weight-alertframe) / 2) - 1px
    )
    solid var(--alert-alarm-color);
  border-radius: calc(
      var(--app-components-alert-frame-border-radius-top-left) - 1px
    )
    calc(var(--app-components-alert-frame-border-radius-top-right) - 1px)
    calc(var(--app-components-alert-frame-border-radius-bottom-right) - 1px)
    calc(var(--app-components-alert-frame-border-radius-bottom-left) - 1px);
}

:is(.wrapper.has-alert:not(:focus-visible):hover,.wrapper.has-alert:not(:focus-visible):active) .visible-wrapper {
      border-color: var(--alert-alarm-color);
    }

.wrapper.has-alert .visible-wrapper {
  border: calc(var(--global-size-spacing-border-weight-alertframe) / 2) solid
    var(--alert-alarm-color);
  outline: calc(var(--global-size-spacing-border-weight-alertframe) / 2) solid
    var(--alert-alarm-color);
}
`;
export {
  componentStyles as default
};
//# sourceMappingURL=icon-check-button.css.js.map
