.cloud-vgp-desktop-menu-shell[hidden] {
  display: none;
}

.cloud-vgp-desktop-menu-shell {
  position: fixed;
  left: 50%;
  z-index: 9998;
  width: min(
    1180px,
    calc(100vw - 32px)
  );
  opacity: 0;
  transform: translate(-50%, -6px);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.cloud-vgp-desktop-menu-shell.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.cloud-vgp-desktop-menu-panel {
  max-height: calc(100vh - 100px);
  overflow: auto;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  box-shadow:
    0 24px 70px rgb(15 23 42 / 22%);
}

.cloud-vgp-captured-menu {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  transform: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cloud-vgp-menu-loading,
.cloud-vgp-menu-error {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.cloud-vgp-menu-error {
  flex-direction: column;
  gap: 0.75rem;
}

.cloud-vgp-menu-error a {
  color: hsl(var(--primary));
  font-weight: 700;
  text-decoration: underline;
}

.cloud-vgp-desktop-menu-panel
button[data-cloud-vgp-desktop-tab] {
  cursor: pointer;
}

@media (max-width: 1023px) {
  .cloud-vgp-desktop-menu-shell {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cloud-vgp-desktop-menu-shell {
    transition: none;
  }
}
