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

* {
  box-sizing: border-box;
}

.trend-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.outer {
  display: flex;
  width: fit-content;
  flex-direction: column;
  /* This is a hack to make the badge appear above the content */
  position: relative;
  top: -20px;
  transform: translateX(-50%);
}

.badges {
  display: flex;
  justify-content: end;
  padding-bottom: 4px;
  min-height: 20px;
}

.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:focus {
            outline: none;
}

.wrapper.activated {
            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:hover {
                        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:active {
            border-color: var(--normal-pressed-border-color);
            background-color: var(--normal-pressed-background-color);
}

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

.wrapper:disabled {
            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.disabled {
            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 {
  appearance: none;

  display: flex;
  flex-direction: column-reverse;
  width: fit-content;
  color: var(--instrument-regular-secondary-color);

  border-radius: 6px;
  border: 1px solid var(--instrument-frame-tertiary-color);
  background: var(--instrument-frame-primary-color);

  padding: 8px;
  gap: 8px;
}

.compact .content {
    display: none;
  }

.compact .bar-container {
    width: 48px;
    height: 96px;
  }

.header {
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-outline-color);
}

.header .percent {
    font-family: var(--global-typography-font-family);
    font-weight: var(
    --global-typography-instrument-value-large-font-weight-regular
  );
    font-size: var(--global-typography-instrument-value-large-font-size);
    line-height: var(--global-typography-instrument-value-large-line-height);
    letter-spacing: var(
    --global-typography-instrument-value-large-letter-spacing
  );
    font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
  }

.header .percent-symbol {
    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;
  }

.value {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  padding-top: 4px;

  font-family: var(--global-typography-font-family);

  font-weight: var(--global-typography-instrument-unit-font-weight);

  font-size: var(--global-typography-instrument-unit-font-size);

  line-height: var(--global-typography-instrument-unit-line-height);

  font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
}

.value .current-value {
    font-family: var(--global-typography-font-family);
    font-weight: var(
    --global-typography-instrument-value-regular-font-weight-active
  );
    font-size: var(--global-typography-instrument-value-regular-font-size);
    line-height: var(--global-typography-instrument-value-regular-line-height);
    font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
  }

.value .divider {
    padding-left: 4px;
    padding-right: 4px;
  }

.value .max-value {
    font-family: var(--global-typography-font-family);
    font-weight: var(
    --global-typography-instrument-value-regular-font-weight-regular
  );
    font-size: var(--global-typography-instrument-value-regular-font-size);
    line-height: var(--global-typography-instrument-value-regular-line-height);
    font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
  }

.bar-container {
  width: 100%;
  position: relative;
  height: 70px;
  border-radius: 2px;
  border: 1px solid var(--instrument-frame-tertiary-color);
  background: var(--instrument-frame-secondary-color);
  overflow: hidden;
}

.bar {
  position: absolute;
  border-top: var(--element-inactive-color) 2px solid;
  background-color: var(--automation-medium-fuel);
  top: calc((1 - var(--percent)) * (100% - 2px) + 1px);
  bottom: 1px;
  left: 1px;
  right: 1px;
}

.tag {
  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-neutral-color);
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
`;
export {
  compentStyle as default
};
//# sourceMappingURL=automation-tank.css.js.map
