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

.wrapper {
  position: relative;
  user-select: none;
  padding: 0;
  background: transparent;
  width: fit-content;
  height: var(--ui-components-button-touch-target-size);
  appearance: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  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;
}

.wrapper {
            cursor: pointer;
}

.wrapper:focus {
            outline: none;
}

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

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

@media (hover:hover) {

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

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

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

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

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

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

.wrapper.full-width {
    width: 100%;
  }

.wrapper.full-width .visible-wrapper {
      width: 100%;
      justify-content: space-between;
    }

.wrapper .visible-wrapper {
    box-sizing: border-box;
    height: 40px;
    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);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: calc(var(--ui-components-button-padding-horizontal) * 2);
    padding-right: var(--ui-components-button-padding-horizontal);
  }

.wrapper .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--global-size-spacing-icon-icon-size-regular);
    width: var(--global-size-spacing-icon-icon-size-regular);
    color: var(--integration-on-normal-neutral-color);
  }

.wrapper .icon {
    height: var(--global-size-spacing-icon-icon-size-regular);
    width: var(--global-size-spacing-icon-icon-size-regular);
    color: var(--integration-on-normal-neutral-color);
  }

.wrapper.disabled .icon,.wrapper.disabled .icon-container,.wrapper.disabled .label {
    color: var(--integration-on-normal-disabled-color);
  }

.wrapper .label {
    padding-left: var(--ui-components-button-label-spacing);
    padding-right: var(--ui-components-button-label-spacing);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

.placeholder:is(.wrapper .label) {
      color: var(--integration-on-normal-neutral-color);
    }

.wrapper select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    appearance: none;
    appearance: base-select;
    opacity: 0;
  }

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

::picker(select) {
  appearance: base-select;
  border: none;
  min-width: var(--ui-components-context-menu-menu-width);
  border-radius: 12px;
  background: var(--integration-container-global-color);
  box-shadow: var(--shadow-floating);
  padding: 4px;

  overflow-y: auto;
}

.wrapper.open-top select::picker(select) {
  position-area: block-start span-inline-end;
}

.wrapper option:not(.fleet-option) {
  min-height: var(
    --menu-navigation-components-navigation-item-touch-target-size
  );
  padding: 0px
    var(--menu-navigation-components-navigation-item-padding-horizontal);
  border-radius: var(
    --menu-navigation-components-navigation-item-border-radius
  );
}

:is(.wrapper option:not(.fleet-option)) {
            border-color: var(--integration-flat-enabled-border-color);
            background-color: var(--integration-flat-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--integration-flat-enabled-border-color);
            --base-background-color: var(--integration-flat-enabled-background-color);
}

:is(.wrapper option:not(.fleet-option)):focus {
            outline: none;
}

.activated:is(.wrapper option:not(.fleet-option)) {
            border-color: var(--integration-flat-activated-border-color);
            background-color: var(--integration-flat-activated-background-color);
            --base-border-color: var(--integration-flat-activated-border-color);
            --base-background-color: var(--integration-flat-activated-background-color);
}

@media (hover:hover) {

:is(.wrapper option:not(.fleet-option)):hover {
                        border-color: color-mix(in srgb, var(--integration-flat-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--integration-flat-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

:is(.wrapper option:not(.fleet-option)):active {
            border-color: var(--integration-flat-pressed-border-color);
            background-color: var(--integration-flat-pressed-background-color);
}

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

.disabled:is(.wrapper option:not(.fleet-option)) {
            border-color: var(--integration-flat-disabled-border-color);
            background-color: var(--integration-flat-disabled-background-color);
            cursor: not-allowed;
            color: var(--integration-on-flat-disabled-color) !important;
}

.wrapper option:not(.fleet-option) {
  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(--integration-on-flat-active-color);

  display: flex;
  flex-direction: row;
  align-items: center;
}

:is(.wrapper option:not(.fleet-option)) .icon {
    color: var(--integration-on-flat-neutral-color);
  }

:is(.wrapper option:not(.fleet-option)) .text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
  }

:is(.wrapper option:not(.fleet-option)) .text-container .label {
    padding-left: 0;
    padding-right: 0;
  }

:is(.wrapper option:not(.fleet-option)) .status {
    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(--integration-on-flat-neutral-color);
  }

:is(.wrapper option:not(.fleet-option)):disabled {
    color: var(--integration-on-flat-disabled-color);
  }

:is(.wrapper option:not(.fleet-option)):disabled .icon {
      color: var(--integration-on-flat-disabled-color);
    }

:is(.wrapper option:not(.fleet-option)):disabled .status {
      color: var(--integration-on-flat-disabled-color);
    }

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

:is(.wrapper option:not(.fleet-option)):checked:focus {
            outline: none;
}

.activated:is(.wrapper option:not(.fleet-option)):checked {
            border-color: var(--integration-selected-activated-border-color);
            background-color: var(--integration-selected-activated-background-color);
            --base-border-color: var(--integration-selected-activated-border-color);
            --base-background-color: var(--integration-selected-activated-background-color);
}

@media (hover:hover) {

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

:is(.wrapper option:not(.fleet-option)):checked:active {
            border-color: var(--integration-selected-pressed-border-color);
            background-color: var(--integration-selected-pressed-background-color);
}

:is(.wrapper option:not(.fleet-option)):checked: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 option:not(.fleet-option)):checked:disabled {
            border-color: var(--integration-selected-disabled-border-color);
            background-color: var(--integration-selected-disabled-background-color);
            cursor: not-allowed;
            color: var(--integration-on-selected-disabled-color) !important;
}

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

:is(.wrapper option:not(.fleet-option)):checked {
    color: var(--integration-on-selected-active-color);
    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;
}

:is(.wrapper option:not(.fleet-option)):checked .icon {
      color: var(--integration-on-selected-active-color);
    }

:is(.wrapper option:not(.fleet-option)):checked .label {
      color: var(--integration-on-selected-active-color);
    }

:is(.wrapper option:not(.fleet-option)):checked .status {
      /* Keep status typography, but swap to the selected neutral color. */
      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(--integration-on-selected-neutral-color);
    }

:is(.wrapper option:not(.fleet-option)):checked:disabled {
      color: var(--integration-on-selected-disabled-color);
    }

:is(.wrapper option:not(.fleet-option)):checked:disabled .icon {
        color: var(--integration-on-selected-disabled-color);
      }

:is(.wrapper option:not(.fleet-option)):checked:disabled .status {
        color: var(--integration-on-selected-disabled-color);
      }

:is(.wrapper option:not(.fleet-option))::checkmark {
    display: none;
  }

.wrapper option.fleet-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 !important;
}

:is(.wrapper option.fleet-option)::checkmark {
    display: none;
  }
`;
export {
  compentStyle as default
};
//# sourceMappingURL=integration-dropdown-button.css.js.map
