/* Embed do painel de votação na home / TV Câmara */
.container-sessao-ativa,
.container-sessao-ativa2,
.container-sessao-ativa3 {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border-radius: 0.5rem;
  background: #001028;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.22),
    0 12px 40px rgba(0, 0, 0, 0.45);
}

.container-sessao-ativa .responsive-iframe,
.container-sessao-ativa2 .responsive-iframe,
.container-sessao-ativa3 .responsive-iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: auto !important;
  right: auto !important;
  width: 1280px !important;
  height: 720px !important;
  max-width: none !important;
  border: none !important;
  transform-origin: top left !important;
}

.painel-embed-wrap {
  position: relative;
  width: 100%;
}

.painel-fullscreen-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.painel-fullscreen-btn:hover,
.painel-fullscreen-btn:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.painel-fullscreen-exit {
  display: none;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  background: rgba(0, 16, 40, 0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1023px) {
  .painel-fullscreen-btn {
    display: inline-flex;
  }
}

.painel-embed-wrap.is-fullscreen .container-sessao-ativa,
.painel-embed-wrap.is-fullscreen .container-sessao-ativa2,
.painel-embed-wrap.is-fullscreen .container-sessao-ativa3 {
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100dvh !important;
  aspect-ratio: auto !important;
  border-radius: 0;
  box-shadow: none;
}

.painel-embed-wrap.is-fullscreen .painel-fullscreen-btn {
  display: none;
}

.painel-embed-wrap.is-fullscreen .painel-fullscreen-exit {
  display: inline-flex;
}

.painel-embed-wrap:fullscreen,
.painel-embed-wrap:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background: #001028;
}
