body {
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden; /* Evita el scroll en la ventana */
    background: rgb(4,5,7);
    background: linear-gradient(135deg, rgba(4,5,7,1) 47%, rgba(12,33,63,1) 100%);
    font-family: 'Montserrat', sans-serif;
    color: white; /* Color de texto blanco */
  }
  
  #menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    background-color: transparent; /* Fondo transparente cuando está cerrado */
    color: white;
    padding: 50px 30px; /* Padding a los lados */
    height: 100vh; /* Ocupa todo el alto de la ventana */
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transición suave para el cambio de fondo y sombra */
    z-index: 1000;
  }
  
  #menu.open {
    width: 250px;
    background-color: #040507; /* Fondo oscuro cuando el menú está abierto */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra con blur y opacidad */
  }
  
  .menu-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    opacity: 0.8; /* Opacidad de los elementos no seleccionados */
    transition: opacity 0.3s ease;
  }
  
 /*  .menu-item.selected::after {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    background-color: red; 
    margin-top: 5px;
  } */
  
  .menu-item-icon {
    margin-right: 15px;
    font-size: 24px; /* Tamaño de los íconos */
    color: white;
    width: 50%;
    padding-bottom: 15px;
  }
  .menu-item.selected .menu-item-icon {
    border-bottom: #D1112D 1px solid;
  }
  .menu-item.selected .menu-item-ico::after{
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    background-color: red; /* Borde inferior rojo */
    margin-top: 5px;
  }
  .menu-item-text {
    opacity: 0; /* Oculto por defecto */
    transition: opacity 0.3s ease; /* Transición suave para el texto */
    padding-bottom: 15px;
    font-size: 1.6rem;
  }
  
  #menu.open .menu-item-text {
    opacity: 0.7; /* Muestra el texto cuando el menú está abierto */
  }
  #menu.open .menu-item-icon{
    width: 10%;
  }
  #menu.open .menu-item.selected .menu-item-text{
    opacity: 1;
  }

  #content {
    flex-grow: 1;
    overflow: hidden; /* Desactiva el scroll */
    display: flex;
    flex-direction: column;
    height: 100vh; /* Ajusta la altura para que no se superponga con el header */
    margin-left: 80px; /* Deja un espacio a la izquierda para el menú lateral */
    transition: margin-left 0.3s ease; /* Transición suave para cuando el menú se abra/cierre */
    padding: 20px;
  }
  
  header {
    
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 50px; /* Padding superior */
    padding-right: 30px; /* Padding derecho */
    margin-bottom: 20px;
  }
  
  header img {
    width: 150px; /* Logo con 150px de ancho */
    margin-right: 50px;
  }
  
  .carousel-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%; /* Asegura que el contenedor ocupe todo el ancho disponible */
  }
  
  .carousel {
    min-height: fit-content;
    margin: 20px 0;padding-bottom: 10px;
    overflow-x: hidden;
  }
  
  .carousel-title {
    font-size: 1rem;
    text-transform: uppercase;
    color: white;
    margin-bottom: 10px;
    border-bottom: 1px solid #D1112D;
    text-align: left;
    width: fit-content;
    padding-bottom: 10px;
  }
  
  .carousel-items {
    display: flex;
    transition: transform 0.3s ease; /* Transición suave para el desplazamiento */
    width: auto; /* Ajusta automáticamente el ancho según el contenido */
  }
  
  .item {
    flex: 0 0 calc(20% - 15px); /* Cada elemento ocupa aproximadamente el 20% del ancho */
    max-width: calc(20% - 15px); /* Máximo ancho del 20% */
    height: 200px; /* Ajusta la altura según lo que prefieras */
    text-align: left;
    margin-right: 40px; /* Deja espacio para que el siguiente item se vea parcialmente */
    display: flex;
    justify-content: left;
    border-radius: 10px; /* Esquinas redondeadas */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Transición suave */
  }
  
  .item:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Cambia el color de fondo al pasar el ratón */
    transform: scale(1.05); /* Aumenta el tamaño al pasar el ratón */
  }
  
  .selected {
    border: 2px solid #fff;
    transition: border 0.2s ease; /* Transición suave al resaltar */
  }
  .menu-item.selected {
    opacity: 1; /* Opacidad completa para el elemento seleccionado */
    border: none;
  }
  .item:focus, #menu-item:focus {
    outline: none;
    /* box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); Sombra al enfocar */
  }
  
  .menu-item {
    cursor: pointer;
  }
  
  .menu-item:hover {
    opacity: 1; /* Muestra al 100% al pasar el ratón */
  }
  .menu-item.selected:focus-visible, .menu-item.selected:focus, .menu-item.selected:active, .menu-item.selected:focus-within, .menu-item.selected:target {
    outline: none;
  }
  .menu-item:focus-visible, .menu-item:focus, .menu-item:active, .menu-item:focus-within, .menu-item:target {
    outline: none;
  }
.teams-box{
    background: rgb(0,24,84);
    background: linear-gradient(180deg, rgba(0,24,84,1) 30%, rgba(0,24,84,0) 100%);
    border-radius: 10px;
    padding: 20px;
}
.teams-box .item {
    flex: 0 0 calc(12.5% - 15px);
    max-width: calc(12.5% - 15px); background: none; height: 150px; }
.teams-box .item img{ width: 80%; height: 80%;}
.teams-box .item.selected{ border:none; -webkit-box-shadow: 0 4px 6px -6px #fff;
    -moz-box-shadow: 0 4px 6px -6px #fff;
    box-shadow: 0 4px 6px -6px #fff;}
.live-label{ background-color: #D1112D; color:#fff; padding: 5px; font-size: 14px; border-bottom: none;}
.live-games .item{ height: 160px;}
.box-live-game{background: rgba(105, 192, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(105, 192, 255, 0.3);
  padding: 10px;
  color: white;
  display: flex; flex-direction: column;
  justify-content: space-around;
  align-items: center; width: 100%;}
  .team-away, .team-home {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    width: 100%;
  }
  
  .name-team {
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
    text-align: left;
  }
  
  .logo-team img {
    width: 50px; /* Ajusta el tamaño según tus necesidades */
    height: auto;
  }
  .label-show-live{ background-color: #D1112D; color: #fff; padding: 5px 10px; font-size: 12px;}
  .item-list .item{ height:fit-content; border-radius: 0px;}
  .item-list .item.selected{ border:none; background: rgba(9, 15, 91, 0.5); border-bottom: #fff 2px solid;}
  .item .video-box{ padding: 10px;}
  .item .video-box .video-title{ padding: 10px; font-size: 1.2rem;}
  .item .video-box img{width: 100%;}

  /* Estilo para el fondo de las pantallas de captura */
.fullscreen-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(4, 5, 7, 1) 47%, rgba(12, 33, 63, 1) 100%);
  z-index: 1000;
}

.form-container {
  background: rgba(18, 168, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8);
}
.form-container img{width: 70%; padding: 30px 0px; }
.form-container h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.form-container p {
  color: #ffffff;
  margin-bottom: 20px;
}
.form-container label{
  padding: 5px 0px;
  width: 100%;
  display: block;
  text-align: left;
}
.form-container input {
  background-color: rgba(4, 5, 7, 0.8);
  border: none;
  color: #ffffff;
  padding: 4% 10%;
  width: 80%;
  margin: 20px 0px;
  border-radius: 5px;
  font-size: 1.3rem;
}

.form-container button {
  background-color: #D1112D;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
#password-login-button{ background-color:#090f5b;}
.error-message {
  color: #D1112D; /* Rojo para resaltar el error */
  font-size: 0.9rem;
  margin-top: 10px;
  text-align: left;
}
.bmpui-ui-volumeslider, .bmpui-ui-settingstogglebutton, .bmpui-ui-fullscreentogglebutton, .bmpui-ui-watermark, .bmpui-ui-volumetogglebutton, .bmpui-ui-seekbar{ display:none !important;}

.live-background {
  position: relative;
  width: 100%;
  height: 50vh; /* Altura ajustable */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-info {
  background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente para legibilidad */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: white;
}

.live-label {
  background-color: #D1112D;
  padding: 5px 10px;
  font-size: 1rem;
  border-radius: 5px;
  margin-bottom: 10px;
}
/* Estilo específico para el carrusel de "channels" */
.channels-list .item {
  flex: 0 0 calc(16.66% - 10px); /* Ajuste para mostrar 6 elementos en una fila (100% / 6) */
  max-width: calc(16.66% - 10px);
  min-height: 500px; /* Altura mínima de 370px */
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  margin-right: 10px; /* Espacio entre elementos */
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.channels-list .item img {
  width: 100%; /* Imagen ocupa todo el ancho del contenedor */
  height: auto; /* Ajuste automático de la altura en función de la imagen */
  border-radius: 2px;
  object-fit: cover; /* Ajusta la imagen para cubrir el espacio del contenedor */
}

.channels-list .item .video-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.channels-list .item .video-title {
  padding: 10px;
  font-size: 1.2rem;
  text-align: center;
  color: white;
  font-weight: 600;
}

.channels-list .item.selected {
  border: none;
  background: rgba(12, 12, 75, 0.6); /* Fondo para el elemento seleccionado */
  transform: scale(1.05);
}

.channels-list .item:hover {
  transform: scale(1.05); /* Aumento de tamaño al hacer hover */
  background-color: rgba(255, 255, 255, 0.1);
}
