/* Carrusel musical */
.menu-carousel {
  position: relative;
  margin: 2em 0;
  overflow: hidden;
  background: #fff;
  padding: 1em 0;
}
.menu-carousel h2 {
  text-align: center;
  margin-bottom: 1em;
}
.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  gap: 1em;
}
.carousel-track a {
  flex: 0 0 22vw;
  max-width: 120px;
  min-width: 80px;
  display: block;
}
.carousel-track img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0002;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #eee;
  border: none;
  font-size: 2em;
  padding: 0.2em 0.6em;
  cursor: pointer;
  z-index: 2;
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

@media (max-width: 600px) {
  .carousel-track a {
    flex: 0 0 25vw;
    max-width: 90px;
    min-width: 60px;
  }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #1D5A90; /* Azul estilo Cenando Canciones */
  color: #f5f5f5;
  line-height: 1.6;
}

header {
  background: #1D5A90;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #FF6161;
}

header h1 {
  color: #FF6161;
  font-size: 2rem;
  letter-spacing: 2px;
}

nav {
  margin-top: 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #FF6161;
}

.hero {
  /* Usamos la imagen en el DOM y posicionamos el texto encima */
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.hero .hero-photo {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 16px 0;
  border-radius: 8px;
  object-fit: cover;
  z-index: 1;
}

.hero-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.45);
  padding: 12px 18px;
  border: 1px solid #FF6161;
  border-radius: 6px;
  z-index: 2;
  text-align: center;
  min-width: 60%;
}

.hero-text h1 {
  margin: 0;
  padding: 0;
  font-size: 2.4rem;
  color: #ffffff;
}

.hero-text p {
  margin: 8px 0 0 0;
  font-size: 1.05rem;
  color: #f5f5f5;
}

/* MOBILE: evitar que la foto ocupe toda la pantalla */
@media (max-width: 480px) {
  .hero {
    padding: 20px 12px;
  }

  .hero .hero-photo {
    width: 95%;
    max-width: 620px;
    max-height: 45vh;
    object-fit: cover;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: 1.6rem;
    padding: 8px 12px;
  }

  .hero p { font-size: 0.95rem; }
}

.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

/* ===== SECCIÓN INFO (mejor lectura en escritorio) ===== */
.info {
  padding: 15px 20px;
  max-width: 850px; /* ancho legible en escritorio */
  margin: 20px auto;
  font-size: 1rem;
  line-height: 1.8;
}

/* ===== Ajuste: espacio antes de cada H2 en contenido y tamaño más pequeño ===== */
.info h2 {
  margin-top: 12px; /* espacio equivalente a un <br> visual */
  margin-bottom: 20px;
  font-size: 1.25rem; /* más pequeño que el H2 por defecto */
  font-weight: 700;
  color: #f5f5f5;
}

@media (max-width: 768px) {
  .info h2 {
    margin-top: 8px;
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .info {
    padding: 20px;
    max-width: 100%;
    margin: 20px auto;
    font-size: 0.98rem;
    line-height: 1.6;
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

/* ===== STATS CAROUSEL: cinco cajas vistosas con swipe ===== */
.stats-carousel {
  padding: 30px 0 50px 0;
}

.stats-carousel .cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.stats-carousel .card {
  flex: 0 0 32%;
  max-width: 280px;
  min-height: 140px;
  border-radius: 12px;
  color: #fff;
  padding: 14px 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.stats-carousel .card .icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.stats-carousel .card .icon svg {
  width: 40px;
  height: 40px;
  display: block;
  color: #fff;
  fill: currentColor;
}

.stats-carousel .card .number {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.stats-carousel .card .label {
  font-size: 1rem;
  opacity: 0.95;
}

/* Desktop: mostrar varias tarjetas a la vista */
@media (min-width: 900px) {
  .stats-carousel .cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    overflow: visible;
    padding: 0 20px;
  }

  .stats-carousel .card {
    flex: none;
    min-height: 140px;
    align-items: center;
    text-align: center;
    padding: 24px;
  }

  .stats-carousel .card .icon {
    font-size: 2.6rem;
    margin-bottom: 12px;
  }

  .stats-carousel .card .number {
    font-size: 1.8rem;
  }
}

/* ===== TESTIMONIOS ===== */
.testimonials-section {
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(11,57,117,0.02), rgba(11,57,117,0));
}

.testimonials-section h2 {
  text-align: center;
  color: #f5f5f5;
  margin-bottom: 18px;
}

.testimonials .list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 10px;
  scroll-snap-type: x mandatory;
}

.testimonial {
  flex: 0 0 85%;
  background: linear-gradient(145deg,#112d57,#0a2342);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  scroll-snap-align: center;
}

.testimonial .quote-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: #FF6161;
}

@media (min-width: 900px) {
  .testimonials .list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: visible;
  }
  .testimonial { flex: none; }
}

/* ===== APTO PÁG/CTA ===== */
.audiences {
  padding: 40px 20px;
  text-align: center;
}
.audiences-list {
  list-style: none;
  display: inline-block;
  text-align: left;
  margin: 12px auto 0 auto;
  padding: 0 10px;
}
.audiences-list li {
  padding: 8px 0;
}

/* ===== SWIPE HORIZONTAL EN MÓVIL ===== */
@media (max-width: 768px) {
  .gallery {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding: 10px 0;
    scroll-behavior: smooth;
  }

  /* support both .item wrappers and <a><img> markup */
  .gallery .item,
  .gallery a {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
    border-radius: 8px;
    display: block;
    background: #091833;
  }

  .gallery .item img,
  .gallery a img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  /* Lightbox modal */
  .lightbox-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    padding: 20px;
  }

  .lightbox-modal.active { display: flex; }

  .lightbox-modal img {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border-radius: 6px;
  }

  .lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    color: #fff;
    font-size: 1.6rem;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .gallery::-webkit-scrollbar {
    display: none;
  }
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

footer {
  text-align: center;
  padding: 20px;
  background: #1D5A90;
  margin-top: 40px;
  border-top: 2px solid #FF6161;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

.social a {
  margin: 0 10px;
  color: #ffffff;
  font-size: 1.5rem;

}

/* Wishlist / Heart button */
.song-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cover-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 52px;
  background: #091833;
}

.song-meta { flex: 1 1 auto; font-size: 0.98rem; }

.heart-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
}

.heart-btn svg { fill: rgba(255,255,255,0.85); transition: transform .15s ease, fill .15s ease; }
.heart-btn.active svg { fill: #e2556b; transform: scale(1.06); }

.wishlist-page ul { list-style: none; padding: 0; }
.wishlist-page li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); display:flex; justify-content:space-between; align-items:center; }
.wishlist-page .remove-wish { background:#FF6161; color:#fff; border:0; padding:6px 10px; border-radius:6px; }

.admin-table { width:100%; border-collapse: collapse; margin-top: 12px; }
.admin-table th, .admin-table td { text-align:left; padding:8px 10px; border-bottom:1px solid rgba(255,255,255,0.04); }

@media (max-width: 480px) {
  .cover-thumb { width:44px; height:44px; }
  .song-meta { font-size:0.95rem; }
}
/* ===== AJUSTE TAMAÑO DEL LOGO ===== */
.logo {
  /* incrementado 30% respecto de 260px => 338px */
  max-width: 338px;
  display: block;
  /* reducir separación inferior; objetivo: distancia total logo→subtítulo = 3px (mitad de ~6px anterior)
     distribuimos 2px abajo del logo y 1px arriba del subtítulo */
  margin: 0 auto 2px auto;
}

/* ===== SUBTÍTULO DE LA CABECERA ===== */
.header-subtitle {
  /* reducir espacio: 1px arriba del subtítulo (suma total ≈3px) */
  margin: 1px 0 0 0;
  padding: 0;
  font-size: 1.1rem;
  color: #FF6161;
  font-style: italic;
  text-align: center;
  font-weight: 300;
}

@media (max-width: 768px) {
  .header-subtitle {
    font-size: 1.1rem;
    /* móvil: mantener distancia reducida (1px) */
    margin: 1px 0 0 0;
  }
}

/* ===== MENÚ MÓVIL ===== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #FF6161;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    margin-top: 15px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

/* Hamburger: three gold bars, no solid background */
.menu-toggle {
  background: transparent !important;
  border: none;
  padding: 8px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.menu-toggle .hamburger,
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  background: #FF6161;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.menu-toggle .hamburger::before { transform: translateY(-7px); }
.menu-toggle .hamburger::after { transform: translateY(7px); }

/* Optional: transform into an X when active */
.menu-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.menu-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); translate: 0 0; }
.menu-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); translate: 0 0; }
}
/* ===== MENÚ MÓVIL ===== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #FF6161;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    margin-top: 15px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===== LIGHTBOX GALERÍA ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  margin-top: 5%;
  border: 3px solid #FF6161;
  border-radius: 10px;
}

.lightbox:target {
  display: block;
}

/* ===== FORMULARIO ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

input, textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
}

button {
  padding: 12px;
  background: #FF6161;
  color: #000;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background: #E05252;
}
/* ===== SECCIÓN TESTIMONIOS ELEGANTE ===== */

.testimonios-section {
  position: relative;
  padding-top: 80px;
}

.testimonios-section h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #f5f5f5;
  letter-spacing: 1px;
}

.testimonios {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonio {
  background: linear-gradient(145deg, #112d57, #0a2342);
  padding: 35px 30px 30px;
  border-radius: 12px;
  max-width: 320px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.testimonio:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.7);
}

.testimonio.destacado {
  transform: scale(1.05);
  border: 1px solid #FF6161;
  box-shadow: 0 20px 45px rgba(180,138,44,0.4);
}

.comillas {
  font-size: 4rem;
  color: #FF6161;
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.25;
  font-family: serif;
}

.testimonio p {
  margin-top: 20px;
  font-style: italic;
  line-height: 1.7;
}

.autor {
  margin-top: 20px;
  font-weight: bold;
  color: #FF6161;
  text-align: right;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* ===== LISTA DE CANCIONES ===== */
.song-list {
  max-width: 800px;
  margin: 30px auto;
}

.song-list ul {
  list-style: none;
  padding: 0;
}

.song-list li {
  background: linear-gradient(145deg, #112d57, #0a2342);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 4px solid #FF6161;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.song-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(180,138,44,0.3);
  background: linear-gradient(145deg, #143a6b, #0c2948);
}

.new-badge {
  background: #FF6161;
  color: hsl(208, 53%, 87%);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 10px;
  letter-spacing: 1px;
}

.back-button {
  display: inline-block;
  padding: 12px 30px;
  background: #FF6161;
  color: hsl(240, 11%, 98%);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-bottom: 40px;
}

.back-button:hover {
  background: #E05252;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(180,138,44,0.4);
}

/* ===== OVERRIDES / MEJORAS TESTIMONIOS ===== */
.testimonial {
  /* más elegante: borde redondeado mayor, sombra más suave y fondo ligero */
  border-radius: 14px;
  padding: 22px;
  background: linear-gradient(145deg,#0f2a4f,#0b2340);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.04);
}

.testimonial .testimonial-header{ display:flex; align-items:center; margin-bottom:12px }
.testimonial .avatar{ width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-right:14px; flex-shrink:0 }
.testimonial .avatar svg{ width:28px; height:28px; display:block; fill:currentColor; color:#fff }
.testimonial .avatar-1{ background: linear-gradient(135deg,#ffd54f,#FF6161); }
.testimonial .avatar-2{ background: linear-gradient(135deg,#0b8043,#0fa36a); }
.testimonial .avatar-3{ background: linear-gradient(135deg,#6a2b9b,#8e44ad); }

/* Avatar images (fallback to gradients if missing) */
.testimonial .avatar img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  display:block;
}

.testimonial .meta .name{ font-weight:700; color:#fff; font-size:1rem }
.testimonial .meta .title{ color:#E05252; font-weight:600; margin-top:4px; font-size:0.95rem }

.testimonial p{ font-style:italic; color:#f3f3f3; line-height:1.7; margin:0 }

/* Updated heart button styles */
.heart-button {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.heart-button.active {
  color: #FF6161;
}

.heart-count {
  margin-left: 8px;
  font-size: 14px;
  color: white;
}

@media (min-width:900px){
  .testimonial{ padding:24px }
  .testimonial .avatar{ width:56px; height:56px }
  .testimonial .meta .name{ font-size:1.05rem }
}

/* ============================================
   🎵 SISTEMA DE WISHLIST MEJORADO
   ============================================ */

/* Song item con corazón */
.song-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.song-item .song-meta {
  flex: 1;
  min-width: 0;
}

/* Botón corazón actualizado con emoji */
.heart-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
}

.heart-btn .heart-icon {
  font-size: 22px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.heart-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 97, 97, 0.4);
  transform: scale(1.05);
}

.heart-btn.active {
  background: rgba(255, 97, 97, 0.15);
  border-color: #FF6161;
  animation: heartPop 0.3s ease;
}

.heart-btn.active .heart-icon {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ============================================
   Sticky Wishlist Link (Botón Flotante)
   ============================================ */

#sticky-wishlist {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#wishlist-toggle {
  background: linear-gradient(135deg, #FF6161 0%, #e2556b 100%);
  border: none;
  color: white;
  padding: 12px 16px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 97, 97, 0.4);
  transition: all 0.3s ease;
}

#wishlist-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 97, 97, 0.6);
}

#wishlist-toggle:active {
  transform: scale(0.95);
}

#wishlist-toggle .heart-icon {
  font-size: 24px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

#wishlist-toggle .count {
  background: white;
  color: #FF6161;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  min-width: 24px;
  text-align: center;
}

/* ============================================
   Pop-up de Wishlist
   ============================================ */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup-content {
  background: linear-gradient(135deg, #1D5A90 0%, #164973 100%);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 97, 97, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 2px solid rgba(255, 97, 97, 0.3);
}

.popup-header h2 {
  margin: 0;
  color: #FF6161;
  font-size: 1.5rem;
}

.popup-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: rgba(255, 97, 97, 0.3);
  transform: rotate(90deg);
}

.popup-body {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
}

.empty-message {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 20px;
  font-size: 1.1rem;
}

.wishlist-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wishlist-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.wishlist-items li:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.song-info {
  flex: 1;
  min-width: 0;
}

.song-info strong {
  display: block;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.song-info .artist {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.song-info .category {
  display: inline-block;
  background: rgba(255, 97, 97, 0.2);
  color: #FF6161;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  margin-top: 6px;
  text-transform: uppercase;
}

.remove-btn {
  background: rgba(255, 97, 97, 0.2);
  border: 1px solid rgba(255, 97, 97, 0.4);
  color: #FF6161;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.remove-btn:hover {
  background: #FF6161;
  color: white;
  transform: scale(1.1);
}

/* ============================================
   Página Admin - Vista en Vivo
   ============================================ */

.admin-wishlist-page {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-wishlist-page h1 {
  color: #FF6161;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

.admin-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

#apply-filter {
  background: #FF6161;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

#apply-filter:hover {
  background: #e2556b;
  transform: scale(1.05);
}

#clear-filter {
  background: #888;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

#clear-filter:hover {
  background: #777;
  transform: scale(1.05);
}

#manage-songs-admin {
  background: #4CAF50 !important;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

#manage-songs-admin:hover {
  background: #45a049 !important;
  transform: scale(1.05);
}

.last-update {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

#last-update-time {
  color: #FF6161;
  font-weight: bold;
}

.loading, .empty, .error {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
}

.error {
  color: #FF6161;
}

.category-section {
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 97, 97, 0.2);
}

.category-section h2 {
  color: #FF6161;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.category-total {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: normal;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.admin-table thead {
  background: rgba(255, 97, 97, 0.2);
}

.admin-table th {
  text-align: left;
  padding: 12px 15px;
  color: #FF6161;
  font-weight: bold;
  border-bottom: 2px solid rgba(255, 97, 97, 0.3);
}

.admin-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: white;
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hearts-count {
  color: #FF6161;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
}

.peticiones-count {
  color: #4CAF50;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
}

.users-list {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Responsivo
   ============================================ */

@media (max-width: 768px) {
  #sticky-wishlist {
    top: 10px;
    right: 10px;
  }

  #wishlist-toggle {
    padding: 10px 14px;
    font-size: 14px;
  }

  .popup-content {
    max-height: 90vh;
    margin: 10px;
  }

  .popup-header h2 {
    font-size: 1.2rem;
  }

  .admin-wishlist-page h1 {
    font-size: 1.5rem;
  }

  .admin-controls {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .date-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .date-filter label {
    flex-direction: column;
    align-items: flex-start;
  }

  .date-filter input[type="date"] {
    width: 100%;
  }

  #apply-filter {
    width: 100%;
  }

  .admin-table {
    font-size: 0.85rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 8px 10px;
  }

  .users-list {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .heart-btn {
    min-width: 40px;
    min-height: 40px;
    padding: 6px;
  }

  .heart-btn .heart-icon {
    font-size: 18px;
  }

  .song-info strong {
    font-size: 1rem;
  }

  .song-info .artist {
    font-size: 0.85rem;
  }
}
