/* Anchura cómoda para televisión */
#page_container {
  max-width: 1500px !important;
  margin: 0 auto !important;
}

/* Las cuatro tarjetas principales */
#jellyfin,
#jellyseerr,
#immich,
#nextcloud {
  min-height: 170px !important;
  border-radius: 22px !important;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

/* Efecto al seleccionar con cursor */
#jellyfin:hover,
#jellyseerr:hover,
#immich:hover,
#nextcloud:hover {
  transform: scale(1.035);
  box-shadow: 0 14px 35px rgb(0 0 0 / 35%);
}

/* Iconos */
#jellyfin img,
#jellyseerr img,
#immich img,
#nextcloud img {
  width: 72px !important;
  height: 72px !important;
}

/* Texto general de las tarjetas */
#jellyfin,
#jellyseerr,
#immich,
#nextcloud {
  font-size: 1.15rem !important;
}

/* Título del grupo */
h2 {
  font-size: 2rem !important;
  margin-bottom: 18px !important;
}

/* Mejor lectura desde el sofá */
body {
  font-size: 18px;
}
/* Tarjetas más oscuras y legibles */
#jellyfin,
#jellyseerr,
#immich,
#nextcloud {
  background: rgba(80, 85, 100, 0.88) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Texto algo más grande */
#jellyfin,
#jellyseerr,
#immich,
#nextcloud {
  font-size: 1.2rem !important;
}

/* Enlace de YouTube más visible */
.bookmark {
  background: rgba(90, 95, 110, 0.88) !important;
  border-radius: 12px !important;
  min-height: 52px;
}
/* Código QR flotante */
#family-qr-container {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 50;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;

  padding: 12px;
  border-radius: 16px;

  background: rgba(20, 28, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

#family-qr-container img {
  width: 115px;
  height: 115px;
  border-radius: 8px;
  background: white;
  padding: 5px;
}

#family-qr-container span {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}

/* En pantallas pequeñas, que no moleste */
@media (max-width: 800px) {
  #family-qr-container {
    position: static;
    width: fit-content;
    margin: 28px auto;
  }
}
