/* Estilo moderno para el buscador de series */
.tv-search-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #f3f6fa;
  padding: 1.1rem 1.5rem 1.1rem 1.5rem;
  border-radius: 18px;
  box-shadow: 0 2px 12px #3b82f611;
  margin-bottom: 1.2rem;
  margin-top: 1.2rem;
  max-width: 700px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  justify-content: flex-end;
}

#buscador-serie {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border: 1.5px solid #d1d5db;
  font-size: 1.1rem;
  background: #fff;
  color: #23283a;
  outline: none;
  transition: border 0.18s, box-shadow 0.18s;
  box-shadow: 0 1.5px 8px 0 #3b82f622;
}
#buscador-serie:focus {
  border: 1.5px solid #3b82f6;
  box-shadow: 0 2px 12px #3b82f633;
}

#btn-buscar-serie, #btn-actualizar-serie {
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 16px #2563eb22, 0 1.5px 8px 0 #3b82f622;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  min-width: 44px;
  min-height: 44px;
}
#btn-buscar-serie:hover, #btn-actualizar-serie:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px #2563eb33;
}
.search-icon, .refresh-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
}
/* Scrollbar elegante para modales de series */
#modal-serie-temporadas, #modal-serie-episodios {
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #23283a;
}
#modal-serie-temporadas::-webkit-scrollbar, #modal-serie-episodios::-webkit-scrollbar {
  width: 8px;
  background: #23283a;
  border-radius: 8px;
}
#modal-serie-temporadas::-webkit-scrollbar-thumb, #modal-serie-episodios::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 8px;
}
/* Grid de películas en filas de 5 */
.peliculas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.pelicula-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px #3b82f611;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.7rem 0.4rem 0.7rem 0.4rem;
  transition: box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
  border: 1.2px solid #e0e6ed;
  overflow: hidden;
}
.pelicula-card:hover {
  box-shadow: 0 4px 24px #2563eb33;
  transform: translateY(-4px) scale(1.03);
}
.pelicula-poster {
    width: 100%;
    max-width: 180px;
    height: 270px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    background: #f3f6fa;
    display: block;
}
.pelicula-titulo {
  color: #23283a;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
  margin-top: 0.1rem;
  margin-bottom: 0.2rem;
  min-height: 2.2em;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pelicula-titulo-scroll {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-titulo 6s linear infinite;
  min-width: 100%;
}
@keyframes scroll-titulo {
    0% { transform: translateX(0); }
    10% { transform: translateX(0); }
    90% { transform: translateX(calc(-100% + 180px)); }
    100% { transform: translateX(calc(-100% + 180px)); }
}
@media (max-width: 1200px) {
  .peliculas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .peliculas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .peliculas-grid {
    grid-template-columns: 1fr;
  }
}
.actualizar-texto {
  margin-left: 0.5em;
  font-size: 1.05em;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: inherit;
  user-select: none;
}
/* Botón de actualizar junto al buscador */
/* Botón actualizar cuadrado azul moderno */
/* Estilo moderno para el buscador de películas */
.tv-search-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #f3f6fa;
  padding: 1.1rem 1.5rem 1.1rem 1.5rem;
  border-radius: 18px;
  box-shadow: 0 2px 12px #3b82f611;
  margin-bottom: 1.2rem;
  margin-top: 1.2rem;
  max-width: 700px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  justify-content: flex-end;
}

#buscador-pelicula {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border: 1.5px solid #d1d5db;
  font-size: 1.1rem;
  background: #fff;
  color: #23283a;
  outline: none;
  transition: border 0.18s, box-shadow 0.18s;
  box-shadow: 0 1.5px 8px 0 #3b82f622;
}
#buscador-pelicula:focus {
  border: 1.5px solid #3b82f6;
  box-shadow: 0 2px 12px #3b82f633;
}

#btn-buscar-pelicula, #btn-actualizar-pelicula {
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 16px #2563eb22, 0 1.5px 8px 0 #3b82f622;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  min-width: 44px;
  min-height: 44px;
}
#btn-buscar-pelicula:hover, #btn-actualizar-pelicula:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px #2563eb33;
}
#btn-actualizar-pelicula:active {
  transform: scale(0.96);
}
#btn-actualizar-pelicula:focus {
  box-shadow: 0 0 0 3px #3b82f699;
}
#btn-actualizar-pelicula:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 6px 24px #2563eb99;
}
.refresh-icon {
  font-size: 1.3em;
  display: inline-block;
  transition: transform 0.5s cubic-bezier(.4,2.3,.3,1);
}
#btn-actualizar-canal.actualizando .refresh-icon {
  animation: girar 1s linear infinite;
}
@keyframes girar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Mensaje de error login */
.error-message {
  color: #fff;
  background: #e53935;
  padding: 10px;
  margin-top: 15px;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
}
/* Modal TV en Vivo */
/* Modal TV y Película */
.modal-tv, .modal-pelicula {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,28,36,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal-tv-content {
  background: #181c24;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(60,60,120,0.25);
  padding: 2.2rem 2.2rem 1.7rem 2.2rem;
  min-width: 600px;
  max-width: 98vw;
  min-height: 420px;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}
.modal-tv-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  z-index: 10;
  transition: color 0.18s;
}
.modal-tv-close:hover {
  color: #3b82f6;
}
.modal-tv-info {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(24,28,36,0.85);
  border-radius: 18px;
  padding: 1.5rem;
  box-sizing: border-box;
  box-shadow: 0 2px 12px #3b82f633;
}
.modal-tv-ver-btn {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7em 2.2em;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.2em;
  transition: background 0.18s;
}
.modal-tv-ver-btn:hover {
  background: #2563eb;
}
.modal-tv-player-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.2rem;
}
.modal-tv-player {
  width: 540px;
  max-width: 92vw;
  height: 320px;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 2px 12px #3b82f633;
}
.modal-tv-controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.modal-tv-btn {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px #3b82f622;
  transition: background 0.18s, box-shadow 0.18s;
}
.modal-tv-btn:hover {
  background: #2563eb;
}
.modal-tv-nombre {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  min-width: 120px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .modal-tv-player {
    width: 98vw;
    height: 180px;
  }
  .modal-tv-content {
    min-width: 90vw;
    padding: 0.7rem 0.2rem 0.7rem 0.2rem;
  }
}
/* Fondo general oscuro y tipografía moderna */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: url('img/Background.png') no-repeat center center fixed;
  background-size: cover;
  color: #f3f3f3;
  font-family: 'Segoe UI', Arial, sans-serif;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  background: url('img/Background.png') center center/cover no-repeat;
}

.login-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background: rgba(255,255,255,0.8);
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(60, 60, 120, 0.25), 0 1.5px 8px 0 rgba(59,130,246,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 320px;
  max-width: 90vw;
}

.login-logo {
  width: 200px;
  height: auto;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 2px 12px #0008);
}

.login-box h2 {
  color: #23283a;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.input-group {
  display: flex;
  align-items: center;
  width: 100%;
  background: #f3f6fa;
  border-radius: 8px;
  margin-bottom: 1.1rem;
  border: 1.5px solid #e0e6ed;
  transition: border 0.2s;
  box-shadow: 0 1px 4px #0001;
}

.input-group:focus-within {
  border: 1.5px solid #3b82f6;
}

.input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.7rem;
}

.input-group input {
  border: none;
  outline: none;
  background: transparent;
  padding: 0.9rem 0.7rem 0.9rem 0;
  font-size: 1rem;
  color: #23283a;
  width: 100%;
  border-radius: 8px;
}

.input-group input::placeholder {
  color: #8a94a6;
  opacity: 1;
}

.login-box button {
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(90deg, #3b82f6 60%, #2563eb 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px #0003;
  letter-spacing: 0.04em;
}

.login-box button:hover {
  background: linear-gradient(90deg, #2563eb 60%, #3b82f6 100%);
  box-shadow: 0 4px 16px #2563eb44;
}

.dashboard-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.dashboard-item {
  background: rgba(255,255,255,0.56);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(60,60,120,0.13);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  user-select: none;
  min-width: 270px;
  min-height: 270px;
  margin: 0 0.5rem;
}

.dashboard-item:hover {
  background: #3b82f6;
  color: #fff;
  transform: translateY(-8px) scale(1.06);
  box-shadow: 0 8px 32px rgba(59,130,246,0.18);
}

.dashboard-icon {
  font-size: 9rem;
  margin-bottom: 0.7rem;
}

.dashboard-label {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1a237e;
  transition: color 0.18s;
}

.dashboard-item:hover .dashboard-label {
  color: #fff;
}

@media (max-width: 700px) {
  .dashboard-grid {
    flex-direction: column;
    gap: 1.2rem;
  }
  .dashboard-item {
    min-width: 150px;
    min-height: 130px;
  }
  .sidebar {
    width: 100vw;
    height: auto;
    position: static;
    flex-direction: row;
    padding: 1rem 0.5rem;
    box-shadow: none;
  }
  .sidebar-section {
    flex-direction: row;
    align-items: center;
  }
  .sidebar-logo {
    width: 80px;
    margin-bottom: 0;
    margin-right: 1rem;
  }
  .main-content {
    margin-left: 0;
    padding: 1rem;
  }
}

/* Estilos para el modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,28,36,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(60,60,120,0.18);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 300px;
  max-width: 90vw;
  text-align: center;
  position: relative;
  animation: modalIn 0.25s cubic-bezier(.4,1.6,.6,1) both;
}

@keyframes modalIn {
  0% { transform: scale(0.8) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-logo {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 0.7rem auto;
  filter: drop-shadow(0 2px 12px #0004);
}

.modal-box h3 {
  margin-top: 0;
  color: #1a237e;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.modal-content {
  text-align: left;
  margin-left: 0.5rem;
}

.modal-content p {
  margin: 0.5rem 0;
  color: #23283a;
  font-size: 1.05rem;
}

.modal-close {
  margin-top: 1.5rem;
  padding: 0.7rem 2.2rem;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 2px 8px #0002;
}

.modal-close:hover {
  background: #1a237e;
}

.modal-close-x {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  color: #3b82f6;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.18s;
  z-index: 10;
}

.modal-close-x:hover {
  color: #1a237e;
}

.modal-logout {
  margin-top: 1.5rem;
  padding: 0.7rem 2.2rem;
  background: #ff5252;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 2px 8px #0002;
}

.modal-logout:hover {
  background: #c62828;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background: rgba(255,255,255,0.92);
  box-shadow: 2px 0 16px #0002;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1rem 1rem 1rem;
  z-index: 100;
  justify-content: flex-start;
}

.sidebar-logo {
  width: 120px;
  height: auto;
  margin-bottom: 0.2rem;
  margin-top: 0;
}

.sidebar-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sidebar-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 0.7rem;
  margin-top: 0;
  width: 100%;
  text-align: center;
}

.sidebar-separator {
  width: 100%;
  border: none;
  border-top: 2px solid #e0e6ed;
  margin: 0.5rem 0 1rem 0;
}


/* Categorías de películas */
#sidebar-categorias {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 60vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #e0e6ed;
  border-radius: 8px;
  background: transparent;
  padding-right: 4px;
}

/* Categorías de series */
/* Borde transparente para pruebas visuales */
#sidebar-categorias-series {
  border: 2px solid transparent;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 60vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #e0e6ed;
  border-radius: 8px;
  background: transparent;
  padding-right: 4px;
}

#sidebar-categorias::-webkit-scrollbar {
  width: 8px;
  background: #e0e6ed;
  border-radius: 8px;
}

#sidebar-categorias::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 8px;
}

.sidebar-categoria {
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  background: transparent !important;
  color: #1a237e;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #e0e6ed;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  outline: none !important;
  box-shadow: none !important;
}

.sidebar-categoria:hover, .sidebar-categoria:focus {
  background: linear-gradient(90deg, #3b82f6 60%, #2563eb 100%) !important;
  color: #fff;
  border: 2px solid #3b82f6;
  box-shadow: 0 4px 16px #3b82f644;
}

.main-content {
  margin-left: 260px;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem 0 2rem;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: transparent;
  z-index: 10;
}

.tv-header {
  border: 2px solid red;
  min-height: 80px;
  border-radius: 0;
  background: #fff6f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0;
  margin-top: 0;
  width: 100%;
}

.tv-body {
  border: 2px solid red;
  border-top: none;
  border-radius: 0;
  background: #fff6f6;
  flex: 1;
  width: 100%;
  padding: 1.5rem;
  margin: 0;
  box-sizing: border-box;
}

.btn-regresar {
  display: block;
  margin: 2.5rem auto 2.5rem auto;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(90deg, #3b82f6 60%, #2563eb 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px #0002;
  transition: background 0.18s, box-shadow 0.18s;
  margin-top: auto;
  margin-bottom: 1.2rem;
}

.btn-regresar:hover {
  background: linear-gradient(90deg, #2563eb 60%, #3b82f6 100%);
  box-shadow: 0 4px 16px #2563eb44;
}

.btn-icon {
  font-size: 1.3em;
  margin-right: 0.5em;
  vertical-align: middle;
}

.tv-search-bar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

#buscador-canal {
  padding: 0.8rem 1.2rem 0.8rem 2.5rem;
  border-radius: 30px;
  border: none;
  font-size: 1.08rem;
  width: 270px;
  background: #f3f6fa;
  color: #23283a;
  outline: none;
  box-shadow: 0 2px 12px #3b82f611;
  transition: box-shadow 0.18s, background 0.18s;
  position: relative;
}

#buscador-canal:focus {
  background: #fff;
  box-shadow: 0 4px 16px #3b82f633;
}

#btn-buscar-canal {
  margin-left: -2.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 50%;
  border: none;
  background: #3b82f6;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px #3b82f622;
  transition: background 0.18s, box-shadow 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

#btn-buscar-canal:hover {
  background: #2563eb;
  box-shadow: 0 4px 16px #2563eb44;
}

.search-icon {
  font-size: 1.2em;
}

.canales-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.canal-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px #3b82f611;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.7rem 0.4rem 0.7rem 0.4rem;
  transition: box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
  border: 1.2px solid #e0e6ed;
}

.canal-card:hover {
  box-shadow: 0 4px 16px #3b82f644;
  transform: translateY(-4px) scale(1.03);
  border: 1.2px solid #3b82f6;
}

.canal-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #f3f6fa;
  box-shadow: 0 1px 4px #0001;
}

.canal-nombre {
  font-size: 0.98rem;
  font-weight: 600;
  color: #23283a;
  text-align: center;
  margin-top: 0.15rem;
  word-break: break-word;
}

@media (max-width: 700px) {
  .dashboard-grid {
    flex-direction: column;
    gap: 1.2rem;
  }
  .dashboard-item {
    min-width: 150px;
    min-height: 130px;
  }
  .sidebar {
    width: 100vw;
    height: auto;
    position: static;
    flex-direction: row;
    padding: 1rem 0.5rem;
    box-shadow: none;
  }
  .sidebar-section {
    flex-direction: row;
    align-items: center;
  }
  .sidebar-logo {
    width: 80px;
    margin-bottom: 0;
    margin-right: 1rem;
  }
  .main-content {
    margin-left: 0;
    padding: 1rem;
  }
}
