/* TV PLAY V1.91 — unificar documentos y mejorar experiencia desde Inicio.
   1. Ya soy cliente mantiene su ancla / textos / botones, pero al entrar desde
      encabezado o enlace no se deja ver la sección de FAQ por debajo.
   2. Visor de información legal en la misma página, con fallback a URL directa.
   3. Cierre mantiene estilo V1.90 con nuevo título más breve. */

#clientes.customer-simple {
  min-height: calc(100svh + 24px);
  background: #091626 !important;
  background-image: none !important;
}

/* Visor accesible de información: el contenido legal se mantiene en páginas
   individuales y el iframe solo presenta su versión sin header/foot duplicados. */
.tvplay-info-dialog:not([open]) { display: none !important; }

.tvplay-info-dialog {
  box-sizing: border-box;
  color: #f2f9ff;
  position: fixed;
  inset: 0;
  width: min(960px, calc(100% - 32px));
  height: min(91svh, 950px);
  max-height: 91svh;
  max-width: none;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(82,146,197,.78);
  border-radius: 19px;
  overflow: hidden;
  background: #091626;
  box-shadow: 0 28px 100px rgba(0,5,18,.69);
  flex-direction: column;
}

.tvplay-info-dialog[open] { display: flex; }
.tvplay-info-dialog::backdrop {
  background: rgba(2,8,23,.78);
  backdrop-filter: blur(7px);
}
.tvplay-info-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 0 0 auto;
  padding: 14px 22px;
  background: #0d1d32;
  border-bottom: 1px solid rgba(80,119,162,.44);
}
.tvplay-info-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-size: 14px;
  font-weight: 760;
  color: #eff9ff;
}
.tvplay-info-identity img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 36px;
}
.tvplay-info-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tvplay-info-close {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 11px 16px;
  min-height: 43px;
  border: 1px solid rgba(91,152,197,.55);
  border-radius: 10px;
  background: #183759;
  color: #f0faff;
  font-size: 13px;
  font-weight: 740;
  cursor: pointer;
}
.tvplay-info-close:hover {
  background: #22517a;
  border-color: #7bd3f2;
}
.tvplay-info-close:focus-visible {
  outline: 3px solid #70dff3;
  outline-offset: 3px;
}
.tvplay-info-close-mark {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.tvplay-info-frame {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: #091626;
  border: none;
}
.tvplay-info-foot {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px 22px 13px;
  border-top: 1px solid rgba(72,112,156,.42);
  background: #0c1a2f;
}
.tvplay-info-foot-note {
  color: #aabfd5;
  font-size: 12px;
  line-height: 1.5;
}
.tvplay-info-open-full {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: #8ee9f7;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
  font-weight: 700;
}
.tvplay-info-open-full:hover { color: #e5fcff; }
.tvplay-info-loading {
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 9px;
  padding: 8px 15px;
  color: #b8d6e9;
  background: #102c48;
  font-size: 12px;
  pointer-events: none;
}
.tvplay-info-loading[hidden] {display:none !important;}

@media (max-width: 600px) {
  #clientes.customer-simple {min-height: calc(100svh + 12px);}
  .tvplay-info-dialog {
    width: calc(100% - 12px);
    height: calc(100svh - 18px);
    max-height: calc(100svh - 18px);
    border-radius: 13px;
  }
  .tvplay-info-head {padding: 10px 12px; gap: 8px;}
  .tvplay-info-identity {gap: 8px; font-size: 12px;}
  .tvplay-info-identity img {width: 30px;height: 30px;flex-basis: 30px;}
  .tvplay-info-close {padding: 10px 11px;min-height: 42px;font-size: 11.5px;gap: 6px;}
  .tvplay-info-foot {padding: 10px 12px;gap: 10px;flex-wrap: wrap;}
  .tvplay-info-foot-note {font-size: 11px;}
  .tvplay-info-open-full {font-size: 11px;}
}
@media (prefers-reduced-motion: reduce) {
  .tvplay-info-close {transition: none;}
}
