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

:host {
  display: block;
}

.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  background: transparent;
  height: var(
    --menu-navigation-components-pivot-item-icon-pivot-item-touch-target-size
  );
  border: none;
  padding: 0px
    var(
      --menu-navigation-components-pivot-item-icon-pivot-item-margin-horizontal
    );
  flex-shrink: 0;
  position: relative;
}

.wrapper {
            cursor: pointer;
}

.wrapper:focus {
            outline: none;
}

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

.wrapper.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) {

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

.wrapper:active .visible-wrapper {
            border-color: var(--flat-pressed-border-color);
            background-color: var(--flat-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(--flat-disabled-border-color);
            background-color: var(--flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-flat-disabled-color) !important;
}

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

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

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

.wrapper {
  width: 100%;
  flex: 1;
}

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

.wrapper .visible-wrapper {
    display: flex;
    height: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-visual-target-size
    );
    padding: 0px
      var(
        --menu-navigation-components-pivot-item-icon-pivot-item-padding-horizontal
      );
    align-items: center;
    width: 100%;
    border-radius: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-border-radius
    );
  }

.wrapper.direction-horizontal .visible-wrapper {
    justify-content: center;
  }

.wrapper.selected {
    cursor: initial;
  }

.wrapper.selected:hover .visible-wrapper,.wrapper.selected:enabled .visible-wrapper {
      background: transparent;
    }

.wrapper .icon-label-container {
    display: flex;
    align-items: center;
    flex-direction: row;
  }

.wrapper .icon {
    width: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-icon-size
    );
    height: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-icon-size
    );
    color: var(--on-flat-neutral-color);
  }

:is(.wrapper .icon)::slotted(*) {
      width: 100%;
      height: 100%;
    }

.wrapper:not(.has-leading-icon) .icon {
    display: none;
  }

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

.wrapper.selected:not(.disabled) .icon {
      color: var(--on-amplified-active-color);
    }

.wrapper .label {
    font-family: var(--font-family-main);
    font-weight: var(--global-typography-ui-body-font-weight);
    font-size: var(--global-typography-ui-body-font-size);
    line-height: var(--global-typography-ui-body-line-height);
    font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
    color: var(--on-flat-active-color);
    display: flex;
    padding: 0px var(--menu-navigation-components-table-item-label-spacing);
    justify-content: center;
    align-items: center;
  }

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

.wrapper:not(.has-label) .label {
    display: none;
  }

.wrapper.has-leading-icon:not(.has-label) {
    width: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-touch-target-size
    );
  }

.wrapper.selected.direction-horizontal .selected-container {
    height: 100%;
    width: 100%;
    position: absolute;
  }

.wrapper.selected.direction-horizontal .active-tab-stroke {
    height: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-height-active-tab
    );
    flex-shrink: 0;
    align-self: stretch;
    border-radius: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-border-radius-active-tab
    );
    border: 1px solid var(--on-amplified-active-color);
    background: var(--on-amplified-active-color);
    transition: opacity 0.2s ease;
    position: absolute;
    left: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-margin-active-tab
    );
    right: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-margin-active-tab
    );
    bottom: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-padding-bottom-horizontal-stack
    );
  }

.wrapper.selected.direction-horizontal.disabled .active-tab-stroke {
    border-color: var(--on-amplified-disabled-color);
    background: var(--on-amplified-disabled-color);
  }

.wrapper.selected.direction-vertical .selected-container {
    height: 100%;
    width: 100%;
    position: absolute;
  }

.wrapper.selected.direction-vertical .active-tab-stroke {
    width: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-height-active-tab
    );
    flex: 1 0 0;
    border-radius: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-border-radius-active-tab
    );
    border: 1px solid var(--on-amplified-active-color);
    background: var(--on-amplified-active-color);
    transition: opacity 0.2s ease;
    position: absolute;
    left: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-padding-bottom-horizontal-stack
    );
    top: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-margin-active-tab
    );
    bottom: var(
      --menu-navigation-components-pivot-item-icon-pivot-item-margin-active-tab
    );
  }

.wrapper.selected.direction-vertical.disabled .active-tab-stroke {
    border-color: var(--on-amplified-disabled-color);
    background: var(--on-amplified-disabled-color);
  }

.container:has(.wrapper.selected) .active-tab-stroke {
  opacity: 1;
}
`;
export {
  compentStyle as default
};
//# sourceMappingURL=pivot-item.css.js.map
