/* Se carga desde _organismo-corecc.blade.php después de style.css: afina sus reglas sin !important */

/* Sin x-cloak, cada región aparece abierta en la primera pintada, antes de que arranque Alpine */
[x-cloak] {
  display: none !important;
}

/* El modal de grabaciones no usa .modal de Bootstrap: su background blanco con !important borraba el color de la cabecera */
.corecc-video__fondo {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 23, .78);
}

.corecc-video__panel {
  width: 100%;
  max-width: 800px;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}

.corecc-video__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem 1rem;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, .12);
}

.corecc-video__titulo {
  flex-grow: 1;
  margin: 0;
  background: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.corecc-video__cerrar {
  flex: none;
  padding: .3rem .5rem;
  border: 0;
  border-radius: 4px;
  background: none;
  color: #475569;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.corecc-video__cerrar:hover {
  background: rgba(15, 23, 42, .08);
  color: #0f172a;
}

.corecc-video__cerrar:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

.corecc-video__marco {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.corecc-video__marco iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
