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

.expanded-visually-hidden {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  outline: none;
  cursor: pointer;
  width: auto;
  height: auto;
  text-decoration: none;
  display: block;
  box-sizing: border-box;
  box-shadow: none;
  text-shadow: none;
  overflow: visible;
  transform: none;
  transition: none;
}

.expanded-visually-hidden:focus {
    outline: none;
  }

.expanded-visually-hidden::-moz-focus-inner {
    border: 0;
    padding: 0;
  }

.expanded-visually-hidden {
            cursor: pointer;
}

.expanded-visually-hidden:focus {
            outline: none;
}

.expanded-visually-hidden .expanded-icon-container {
            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);
}

.expanded-visually-hidden.activated .expanded-icon-container {
            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) {

.expanded-visually-hidden:hover .expanded-icon-container {
                        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));
            }
}

.expanded-visually-hidden:active .expanded-icon-container {
            border-color: var(--flat-pressed-border-color);
            background-color: var(--flat-pressed-background-color);
}

.expanded-visually-hidden:focus-visible .expanded-icon-container {
            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;
}

.expanded-visually-hidden:disabled .expanded-icon-container {
            border-color: var(--flat-disabled-border-color);
            background-color: var(--flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-flat-disabled-color) !important;
}

.expanded-visually-hidden.disabled .expanded-icon-container {
            border-color: var(--flat-disabled-border-color);
            background-color: var(--flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-flat-disabled-color) !important;
}

.expanded-visually-hidden:disabled {
            cursor: not-allowed;
}

.expanded-visually-hidden.disabled {
            cursor: not-allowed;
}

.expanded-visually-hidden {
  display: inline-flex;
  height: var(--app-components-system-button-touch-target-size);
  padding: 0px var(--app-components-system-menu-padding-horizontal);
  align-items: center;
  flex-shrink: 0;
}

.expanded-visually-hidden .expanded-inner-wrapper {
    display: flex;
    position: relative;
    height: var(--app-components-system-button-visual-target);
    padding: 0px var(--app-components-system-menu-padding-horizontal);
    align-items: center;
  }

.expanded-visually-hidden .expanded-inner-wrapper::before {
    box-sizing: border-box;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin-top: auto;
    margin-bottom: auto;
    display: block;
    height: 16px;
    width: 1px;
    border-radius: 1px;
    background: var(--border-divider-color);
  }

.expanded-visually-hidden .expanded-inner-wrapper::after {
    box-sizing: border-box;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin-top: auto;
    margin-bottom: auto;
    display: block;
    height: 16px;
    width: 1px;
    border-radius: 1px;
    background: var(--border-divider-color);
  }

.expanded-visually-hidden .expanded-icon-container {
    display: flex;
    padding: 0px var(--app-components-system-button-padding);
    align-items: center;
    gap: var(--app-components-system-button-icon-spacing);
    align-self: stretch;
    border-radius: var(--app-components-system-button-border-radius);
    border: 1px solid var(--flat-enabled-border-color);
    background: var(--flat-enabled-background-color);
    color: var(--on-flat-neutral-color);
  }

.system-button--actions {
  display: flex;
  gap: 0;
}

.multiple-icons {
  display: flex;
}

/* apply custom styling to the button component when using more then one icon in the icon slot */

.system-button--actions obc-button:last-child::part(leading) {
  min-width: fit-content;
}

.system-button--actions obc-button:last-child .multiple-icons {
  padding: 0px var(--ui-components-button-padding-horizontal);
  gap: var(--app-components-system-button-icon-spacing);
}

.system-button--actions obc-button:last-child .multiple-icons > * {
  width: var(--ui-components-button-icon-size);
  height: var(--ui-components-button-icon-size);
  flex-shrink: 0;
}

.system-button--actions obc-button:last-child::part(visible-wrapper) {
  display: grid !important;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

/* Remove borders between segments */

.system-button--actions obc-button + obc-button::part(visible-wrapper) {
  border-left: none !important;
}

.icon {
  width: var(--ui-components-button-icon-size);
  height: var(--ui-components-button-icon-size);
  flex-shrink: 0;
}
`;
export {
  compentStyle as default
};
//# sourceMappingURL=system-button.css.js.map
