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

:host {
  display: inline-block;
}

.wrapper {
  position: relative;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--app-components-notification-button-touch-target-size);
  min-width: var(--app-components-notification-button-touch-target-size);
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  box-sizing: border-box;
  cursor: pointer;
}

.wrapper.enhanced:focus {
  outline: none;
}

.wrapper.enhanced: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.enhanced .visible-wrapper {
  border-color: var(--notification-enabled-border-color);
  background-color: var(--notification-enabled-background-color);
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
}

.wrapper.flat {
            cursor: pointer;
}

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

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

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

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

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

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

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

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

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

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

.wrapper.normal {
            cursor: pointer;
}

.wrapper.normal:focus {
            outline: none;
}

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

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

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

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

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

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

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

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

.visible-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  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);
}

.wrapper.flat .visible-wrapper {
  height: var(--ui-components-icon-button-visual-target-size);
  min-width: var(--ui-components-icon-button-visual-target-size);
}

.wrapper.has-counter .visible-wrapper {
  height: var(--app-components-notification-button-visual-target-size);
  min-width: var(--app-components-notification-button-visual-target-size);
  padding: 0 var(--app-components-notification-button-padding-horizontal);
  gap: var(--app-components-notification-button-counter-spacing);
}

.wrapper.is-active:not(.has-counter):not(.flat) .visible-wrapper {
  height: var(--app-components-notification-button-visual-target-size);
  min-width: var(--app-components-notification-button-visual-target-size);
  padding: 0 var(--app-components-notification-button-padding-horizontal);
}

.wrapper.enhanced .visible-wrapper {
  border-color: var(--instrument-starboard-primary-color);
  background: var(--instrument-starboard-primary-color);
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--ui-components-icon-button-icon-size);
  height: var(--global-size-spacing-icon-icon-size-regular);
}

obi-notification-advice,
obi-notification-advice-active {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

::slotted([slot="icon"]) {
  width: 100%;
  height: 100%;
  color: inherit;
  flex-shrink: 0;
}

.count-label {
  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;
  line-height: 1;
  white-space: nowrap;
}

.wrapper.flat obi-notification-advice {
  color: var(--on-flat-neutral-color);
}

.wrapper.flat.is-active obi-notification-advice-active {
  color: var(--instrument-starboard-primary-color);
}

.wrapper.normal obi-notification-advice,
.wrapper.normal obi-notification-advice-active {
  color: var(--instrument-starboard-primary-color);
}

.wrapper.normal .count-label {
  color: var(--on-normal-active-color);
}

.wrapper.enhanced obi-notification-advice-active {
  color: var(--on-notification-active-color);
}

.wrapper.enhanced .count-label {
  color: var(--on-alarm-active-color);
}
`;
export {
  componentStyle as default
};
//# sourceMappingURL=advice-button.css.js.map
