.sec-login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.login-div {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.modallog {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.imgPerson {
  height: 6em;
}

.inputLogin{
  display: flex;
  height: 2.9em;
  flex-direction: row;
  align-items: center;
  box-sizing: content-box;
}

.imgLogin{
  height: auto;
  max-height: 3em;
  max-width: 100%;
}

.titleLogin, .appName, .textLoginFr, .textLoginSg{
  font-size: 3em;
  color: beige;
  font-style: oblique;
  font-weight: unset;
  font-family: sans-serif;
  text-align: center;
  max-width: 100%;
  word-wrap: break-word;
  width: 650px;
}

.loginLeft{
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: auto;
  position: relative;
  padding: 20px;
  height: 100vh;
}

.loginText{
  display: contents;
}

.logoLogin {
  top: 5%;
  position: absolute;
  left: 5%;
  max-width: 10em;
}

.img-lis{
  background-color: transparent;
  border: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.generallogin {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-around;
  background-color: #0000003b;
  width: 90%;
  height: 80%;
  max-width: 500px;
  padding: 20px;
  border-radius: 10px;
}

.titule {
  display: block;
}
.modal-license {
  background-color: #00000021;
}
.inputuser {
  border-radius: 20px;
  text-align: center;
  border: none;
  color: black;
  background-color: white;
  width: 70%;

}
.inputuser:hover {
  /* box-shadow: inset 0px 0px 1px 3px #f7f7f7; */
  color: black;
}
.inputuser:focus {
  color: black;
  background-color: white;
}

.row-information {
  height: auto;
}

.imgLogin{
  height: 3em;
}

.register-popup{
  flex-direction: column;
  align-items: center;
  display:flex;
}
.row-information
{
    height: auto;
}

.sec-licenses
{
    padding: 0px;
}
.div-lis
{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}
.modal-lis
{
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    height: auto;
    background-color: #0000003d;
}

.row.navbar {
  position: relative;
  z-index: 1000; /* Mayor que 999 */
}

.navbar{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: nowrap;
}

.navbar .col-sm-8{
  width: max-content;
}

.row-log
{
    height: 250px;
    width: 250px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 150px;
    margin: 0;
}
.center-img
{
    width: auto;
}
.img-lis
{
    width: 100%;
}
.group-lis
{
    margin: 0;
}
.col-right-logo
{
    height: 30vh;
}
.ir
{
    width: 60px;
    height: 60px;
    background-color: bisque;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    cursor: pointer;
    transition: all 300ms ease;
}
.ir:hover{
    transform: scale(1.1);
    border-color: black;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}
@media screen and (min-width: 1280px), screen and (min-width: 1080px){
  .channel-style{
    position: relative;
    width: 8em;
    height: 5.5em;
  }
  .img-style{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    margin: 0!important;
    color: #FFFFFF;
    text-align: center;
    display: grid;
    width: 12em;
  }
}

@media screen and (min-width: 1920px), screen and (min-width: 1792px) {
  .channel-style{
    position: relative;
    width: 10em;
    height: 8.5em;
  }
  .img-style{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    margin: 0!important;
    color: #FFFFFF;
    text-align: center;
    display: grid;
  }
}

.block{
  display: block !important;
}

.hidden {
  display: none;
}

.custom-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto; /* Altura fija */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 27vh;
}

.carousel-item {
  flex: 0 0 100%;
  height: 100%; /* Asegura que ocupe toda la altura del contenedor */
  background-size: cover; /* Escala la imagen de fondo para cubrir todo el contenedor */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
}

.carousel-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.publicidad-home-top{
  margin: 20px 0;
}

.publicidad-home-top,
.publicidad-home-bottom {
  display: none; /* Oculta inicialmente */
}

.publicidad-home-top.active,
.publicidad-home-bottom.active {
  display: block; /* Solo muestra si tiene contenido */
  height: 5.5em; /* Aplica altura fija */
}

.no-scroll {
  overflow: hidden !important;
}

/* Contenedor del buscador */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  z-index: 1000;
}

.search-left {
  width: 90%;
  height: 100%;
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  overflow: auto;
}

/* Encabezado del buscador */
.search-header {
  width: 100%;
  margin-bottom: 20px;
}

.search-input-container {
  display: flex;
  align-items: center;
  background-color: #333;
  border-radius: 30px;
  padding: 10px 15px;
  width: 100%;
}

.search-icon {
  font-size: 20px;
  color: #888;
  margin-right: 10px;
}

.custom-input {
  flex-grow: 1;
  background: none;
  border: none;
  outline: none;
  color: white;
  font-size: 18px;
  padding: 10px;
  border-bottom: solid 1px #888;
  box-shadow: none;
}

.custom-input::placeholder {
  color: #888;
}

.close-btn {
  background-color: #ff4c4c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-left: 10px;
}

.close-btn:hover {
  background-color: #ff1a1a;
}

/* Contenedor de resultados */
.search-results {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columnas */
  grid-template-rows: auto;
  grid-auto-rows: 1fr; /* Filas automáticas */
  gap: 10px;
  overflow-y: auto; /* Scroll dinámico */
  padding: 10px;
  background-color: #222;
  border-radius: 10px;
  box-sizing: border-box;
  width: 95%; /* Ajustable según el diseño */
  height: 100%;
  justify-items: center;
}

/* Elementos individuales */
.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #333;
  border: 1px solid #444;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
  height: 12em;
  width: 15em;
}

.result-item:hover {
  background-color: #444;
  transform: scale(1.05);
}

.result-item img {
  width: 50%;
  height: 80%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 5px;
}

/* Estilo al pasar el cursor o enfocar */
.result-item:hover,
.result-item:focus {
  background-color: #555;
  transform: scale(1.05);
  border-color: #007bff;
}

/* Estilo del texto (nombre del canal o contenido) */
.channel {
  font-size: 14px;
  color: white;
  margin-top: 10px;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  display: block;
  max-width: 100%;
}

/* ---------------------- carrousel -------------- */
.swiper-container {
  width: 100%;
  margin: auto;
  overflow: hidden;
  padding: 10px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-button-prev,
.swiper-button-next {
  background-color: #2c2c2c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #444;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  height: 45%;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #007bff;
  color: white;
  transform: translateY(-2px);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.5);
}

/* ---------------------------------------- NavBar -------------------------- */
.ott-navbar {
  background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 10px;
}

.nav-item {
  display: inline-block;
}

.nav-btn {
  width: max-content;
  background-color: #007bff;
  border: none;
  padding: 10px 15px;
  color: white;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Arial', sans-serif;
}

.nav-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.nav-btn.active {
  background-color: #00ccff;
}

.nav-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}

.logout {
  background-color: #dc3545;
}

.logout:hover {
  background-color: #b02a37;
}

/* Estilos para íconos de Font Awesome */
.fas {
  font-size: 16px;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* catchup modal style */


#catchupModal {
  position: relative;  /* Asegura que el modal tenga un contexto para el botón de cierre */
}

.catchup-date-container{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

#catchupModalCloseButton {
  border: none;
  border-radius: 100%;
  background-color: #ff0000;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  width: 2.5em;
  height: 2.5em;
}

#catchupModalCloseButton:hover {
  background-color: #ff00008e;
  color: rgb(255, 255, 255);  /* Cambiar el color al pasar el mouse sobre el botón */
}

.catchup-modal {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.95);
  z-index: 9999;
  padding: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catchup-grid {
  display: grid;
  grid-template-columns: 30% 70%;
  grid-template-rows: auto 1fr;
  gap: 1em;
  width: 90%;
  height: 90%;
  color: white;
}

.catchup-title {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.5em;
}

.catchup-dates {
  width: 95%;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  gap: 1em;
}

.catchup-dates button {
  background: #444;
  border: none;
  color: white;
  padding: 0.5em 1em;
  border-radius: 0.5em;
  cursor: pointer;
  transition: background 0.2s;
}

.catchup-dates button:hover,
.catchup-dates button.selected {
  background: #0af;
}

.catchup-channel-list {
  grid-column: 1;
  grid-row: 2;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.catchup-channel-list .channel-item {
  display: flex;
  align-items: center;
  background: #333;
  padding: 0.5em;
  border-radius: 0.5em;
  cursor: pointer;
  transition: background 0.2s;
}

.catchup-channel-list .channel-item:hover,
.catchup-channel-list .channel-item.focus {
  background: #0af;
}

.catchup-channel-list img {
  height: 3em;
  width: 3em;
  object-fit: contain;
  margin-right: 1em;
}

.catchup-event-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 10px;
  grid-auto-rows: 20em;
  justify-items: center;
  overflow-y: scroll;
}

.catchup-event-list .event-card {
  background: #222;
  padding: 1em;
  border-radius: 0.5em;
  width: 12em;
  height: 8em;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s;
}

.catchup-event-list .event-card:hover {
  transform: scale(1.05);
  background: #0af;
}

.catchup-event-item{
  border-radius: 20px;
  box-sizing:border-box;
  height: 20em;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  color: white;
  text-align: center;
  align-items: center;
}

.catchup-event-item:hover{
  background-color: #0af;
  transform: scale(1.05);
  transition: all 0.3s ease;
}
.catchup-event-item img{
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

/*Configuración del div del previsualizador */
.maxipreview {
  position: absolute;
  bottom: 0;
  right: 0px;
  height: 100%;
  transition: opacity 0.3s ease;
  pointer-events: all;
  background-color: #f8050500;
  width: 80%;
  z-index: 15;
}

.video-container:hover .maxipreview,
.video-container:focus .maxipreview,
.video-container.focused .maxipreview {
  opacity: 1;
}

.maximize-icon {
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.maxipreview.focus .maximize-icon {
  display: flex;
}

.maximize-icon i {
  color: white;
  font-size: 40px;
}

.maximize-icon:hover,
.maximize-icon:focus {
  transform: scale(1.1);
}

.video-container {
  z-index: 12;
}
