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

:host {
  display: inline-flex;
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  line-height: 0;
  pointer-events: none;
  --obc-poi-selection-frame-corner-size: 8px;
  --obc-poi-selection-frame-corner-stroke: 1.5px;
  --obc-poi-selection-frame-corner-radius: 3.5px;
}

:host([type="indicator"][state="regular"]),
:host([type="indicator"][state="flat"]) {
  width: 31px;
  height: 31px;
}

:host([type="button"]) {
  width: 39px;
  height: 39px;
}

:host([type="enhanced"]) {
  width: 55px;
  height: 55px;
  --obc-poi-selection-frame-corner-size: 9px;
}

:host([type="indicator"][state="alert"]) {
  width: 35px;
  height: 35px;
}

:host([type="indicator"]),
:host([type="button"][state="flat"]) {
  --obc-poi-selection-frame-corner-size: 7px;
}

:host([type="button"][state="flat"]) {
  width: 31px;
  height: 31px;
}

:host([type="button"][state="alert"]) {
  width: 43px;
  height: 43px;
}

:host([type="enhanced"][state="flat"]) {
  width: 43px;
  height: 43px;
  --obc-poi-selection-frame-corner-size: 8px;
}

:host([type="enhanced"][state="alert"]) {
  width: 59px;
  height: 59px;
  --obc-poi-selection-frame-corner-size: 10px;
}

:host([state="none"]) .frame {
  display: none;
}

.frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

:host([custom-mode]) .frame {
  display: flex;
  align-items: center;
  justify-content: center;
}

:host([custom-mode]) .corner-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.corner-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.corner {
  position: absolute;
  width: var(--obc-poi-selection-frame-corner-size, 8px);
  height: var(--obc-poi-selection-frame-corner-size, 8px);
  box-sizing: border-box;
  border: 0 solid white;
  border-width: 0;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 100%));
}

:host([custom-mode]) .corner {
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  will-change: transform;
  transition: transform
    var(--obc-poi-selection-frame-corner-motion-duration, 72ms) linear;
}

@media (prefers-reduced-motion: reduce) {
  :host([custom-mode]) .corner {
    transition: none;
  }
}

.corner.tl {
  top: 0;
  left: 0;
  border-top-width: var(--obc-poi-selection-frame-corner-stroke, 1.5px);
  border-left-width: var(--obc-poi-selection-frame-corner-stroke, 1.5px);
  border-top-left-radius: var(--obc-poi-selection-frame-corner-radius, 3.5px);
}

.corner.tr {
  top: 0;
  right: 0;
  border-top-width: var(--obc-poi-selection-frame-corner-stroke, 1.5px);
  border-right-width: var(--obc-poi-selection-frame-corner-stroke, 1.5px);
  border-top-right-radius: var(--obc-poi-selection-frame-corner-radius, 3.5px);
}

.corner.bl {
  bottom: 0;
  left: 0;
  border-bottom-width: var(--obc-poi-selection-frame-corner-stroke, 1.5px);
  border-left-width: var(--obc-poi-selection-frame-corner-stroke, 1.5px);
  border-bottom-left-radius: var(
    --obc-poi-selection-frame-corner-radius,
    3.5px
  );
}

.corner.br {
  right: 0;
  bottom: 0;
  border-right-width: var(--obc-poi-selection-frame-corner-stroke, 1.5px);
  border-bottom-width: var(--obc-poi-selection-frame-corner-stroke, 1.5px);
  border-bottom-right-radius: var(
    --obc-poi-selection-frame-corner-radius,
    3.5px
  );
}

:host([custom-mode]) .corner.tl {
  transform: translate3d(
    calc(var(--obc-poi-selection-frame-custom-width, 31px) / -2),
    calc(var(--obc-poi-selection-frame-custom-height, 31px) / -2),
    0
  );
}

:host([custom-mode]) .corner.tr {
  transform: translate3d(
    calc(
      var(--obc-poi-selection-frame-custom-width, 31px) / 2 -
        var(--obc-poi-selection-frame-corner-size, 8px)
    ),
    calc(var(--obc-poi-selection-frame-custom-height, 31px) / -2),
    0
  );
}

:host([custom-mode]) .corner.bl {
  transform: translate3d(
    calc(var(--obc-poi-selection-frame-custom-width, 31px) / -2),
    calc(
      var(--obc-poi-selection-frame-custom-height, 31px) / 2 -
        var(--obc-poi-selection-frame-corner-size, 8px)
    ),
    0
  );
}

:host([custom-mode]) .corner.br {
  transform: translate3d(
    calc(
      var(--obc-poi-selection-frame-custom-width, 31px) / 2 -
        var(--obc-poi-selection-frame-corner-size, 8px)
    ),
    calc(
      var(--obc-poi-selection-frame-custom-height, 31px) / 2 -
        var(--obc-poi-selection-frame-corner-size, 8px)
    ),
    0
  );
}
`;
export {
  componentStyle as default
};
//# sourceMappingURL=poi-selection-frame.css.js.map
