/*! Copyright 2026 Fonticons, Inc. - https://webawesome.com/license */
import { css } from "lit";
var zoomable_frame_styles_default = css`:host {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: var(--wa-border-radius-m);
}
#frame-container {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% / var(--zoom));
  height: calc(100% / var(--zoom));
  transform: scale(var(--zoom));
  transform-origin: 0 0;
}
#iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
  user-select: none;
  -webkit-user-select: none;
}
#controls {
  display: flex;
  position: absolute;
  bottom: 0.5em;
  align-items: center;
  font-weight: var(--wa-font-weight-semibold);
  padding: 0.25em 0.5em;
  gap: 0.5em;
  border-radius: var(--wa-border-radius-s);
  background: #000b;
  color: white;
  font-size: min(12px, 0.75em);
  user-select: none;
  -webkit-user-select: none;
}
#controls:dir(ltr) {
  right: 0.5em;
}
#controls:dir(rtl) {
  left: 0.5em;
}
#controls button {
  display: flex;
  align-items: center;
  padding: 0.25em;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}
#controls button:focus {
  outline: none;
}
#controls button:focus-visible {
  outline: var(--wa-focus-ring);
  outline-offset: var(--wa-focus-ring-offset);
}
#controls button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
#controls span {
  min-width: 4.5ch;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
`;
export {
  zoomable_frame_styles_default as default
};
