/* Variables CSS como clases para compatibilidad con Next.js 15 */
.verde-menta { color: #006aff; }
.verde-menta-hover { color: #757d8838; }
.verde-menta-claro { color: #80B4FF; }
.verde-menta-oscuro { color: #80B4FF; }
.morado-claro { color: #a480f2; }
.morado-claro-light { color: #80B4FF; }
.morado-claro-dark { color: #000000; }
.azul-brillante { color: #2196f3; }
.azul-brillante-light { color: #b9dcfa; }
.azul-brillante-dark { color: #80B4FF; }
.rosa-fuerte { color: #ff4c8c; }
.rosa-fuerte-light { color: #ffc2da; }
.rosa-fuerte-dark { color: #b0003a; }
.lunita { color: #006aff; }

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 240px;
  right: 0;
  height: 90px;
  background: rgba(13,12,12,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2%;
  z-index: 997;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Estilos para logo (solo visible en móvil) */
.headerLogo {
  display: none; /* Oculto por defecto en desktop */
  align-items: center;
  margin-right: 20px;
}

.logoContainer {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logoContainer:hover {
  transform: scale(1.05);
}

.logo {
  border-radius: 8px;
  object-fit: contain;
}

.logoText {
  margin-left: 10px;
  color: #006aff; /* var(--verde-menta) */
  font-weight: 700;
  font-size: 18px;
  transition: color 0.3s ease;
}

.headerLeft {
  flex: 1;
  max-width: 40%;
}

.searchContainer {
  display: flex;
  align-items: center;
  border-radius: 500px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
}

.searchContainer:focus-within {
  border-color: #006aff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 12px rgba(0, 106, 255, 0.15);
}

.searchIcon {
  color: #006aff; /* var(--verde-menta) */
  font-size: 18px;
  margin-right: 3%;
  transition: color 0.3s ease;
}

.searchInput {
  background: rgba(255,255,255,0.13);
  color: #fff;
  border: none;
  border-radius: 500px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  font-size: 15px;
  font-weight: 500;
  padding: 0.9em 1.5em;
  flex: 1;
  outline: none;
  width: 100%;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.searchInput::placeholder {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
  font-weight: 400;
}

.headerRight {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Botón de búsqueda móvil */
.mobileSearchButton {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobileSearchButton:hover {
  background-color: #006aff; /* var(--rosa-fuerte-dark) */
  transform: scale(1.1);
}

.themeToggle {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.themeToggle:hover {
  background-color: #006aff; /* var(--lunita) */
  color: white;
  transform: rotate(15deg);
}

.registerButton {
  padding: 8px 16px;
  border-radius: 500px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.registerButton:hover {
  cursor: pointer;
  transition: all 0.2s;
  transform: scale(1.04);
  color: #247cf8; /* var(--morado-claro) */
}

.loginButton {
  padding: 8px 20px;
  border-radius: 500px;
  background-color: #006aff; /* var(--verde-menta) */
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.loginButton:hover {
  cursor: pointer;
  transition: all 0.2s;
  transform: scale(1.04);
}

/* Search Panel */
.searchPanel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #080808;
  z-index: 1001;
  display: flex;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  transition: background-color 0.3s ease;
}

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

.searchContent {
  width: 90%;
  max-width: 700px;
  padding: 5% 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.searchHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5%;
  text-align: center;
  width: 100%;
}

/* Logo en panel de búsqueda móvil */
.logoContainerMobile {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logoMobile {
  border-radius: 12px;
  object-fit: contain;
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.bigSearchIcon {
  font-size: 64px;
  color: #ff4c8c; /* var(--rosa-fuerte) */
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.searchTitle {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  transition: color 0.3s ease;
}

.searchInputContainer {
  width: 100%;
  display: flex;
  align-items: center;
  background-color: red;
  border-radius: 12px;
  padding: 3%;
  border: 1px solid rgba(0, 81, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

.searchInputContainer:focus-within {
  background-color: #0f0f0f;
  border-color: #006aff; /* var(--verde-menta) */
}

.searchInputContainer .searchIcon {
  color: #ffffff;
  font-size: 24px;
  margin-right: 3%;
  transition: color 0.3s ease;
}

.searchPanelInput {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  width: 100%;
  transition: all 0.3s ease;
  letter-spacing: 0.4px;
}

.searchPanelInput::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.closeSearch {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  margin-left: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.closeSearch:hover {
  transform: rotate(90deg);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Tema claro - Estilos para cuando body tiene clase .light-theme */
:global(.light-theme) .header {
  background-color: #f5f5f7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

:global(.light-theme) .logoText {
  color: #80B4FF; /* var(--verde-menta-oscuro) */
}

:global(.light-theme) .searchContainer {
  background-color: rgba(255, 255, 255, 0.993);
  border: 0.5px solid #b7d2f769; /* var(--verde-menta-oscuro-hover) */
}

:global(.light-theme) .searchContainer:focus-within {
  border-color: #80B4FF; /* var(--verde-menta-oscuro) */
  box-shadow: none;
}

:global(.light-theme) .searchIcon {
  color: #80B4FF; /* var(--verde-menta-oscuro) */
}

:global(.light-theme) .searchInput {
  color: #1b1b24;
}

:global(.light-theme) .searchInput::placeholder {
  color: rgba(27, 27, 36, 0.5);
}

:global(.light-theme) .mobileSearchButton,
:global(.light-theme) .themeToggle,
:global(.light-theme) .registerButton {
  color: #1b1b24;
}

:global(.light-theme) .mobileSearchButton:hover {
  background-color: #006aff; /* var(--rosa-fuerte-light) */
}

:global(.light-theme) .themeToggle:hover {
  color: white;
}

:global(.light-theme) .registerButton:hover {
  color: #006aff; /* var(--rosa-fuerte) */
}

:global(.light-theme) .searchPanel {
  background-color: #f5f5f7;
}

:global(.light-theme) .bigSearchIcon,
:global(.light-theme) .searchTitle,
:global(.light-theme) .searchInputContainer .searchIcon,
:global(.light-theme) .closeSearch {
  color: #1b1b24;
}

:global(.light-theme) .searchInputContainer {
  background-color: rgba(230, 230, 235, 0.7);
  border: 1px solid rgba(18, 140, 111, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

:global(.light-theme) .searchInputContainer:focus-within {
  background-color: rgba(85, 225, 188, 0.1);
  border-color: #80B4FF; /* var(--verde-menta-oscuro) */
  box-shadow: 0 0 0 4px rgba(18, 140, 111, 0.15);
}

:global(.light-theme) .searchPanelInput {
  color: #1b1b24;
}

:global(.light-theme) .searchPanelInput::placeholder {
  color: rgba(27, 27, 36, 0.5);
}

/* Botones de búsqueda */
.searchButton,
.searchPanelButton {
  display: flex;
  background-color: #006aff; /* var(--verde-menta) */
  border: none;
  color: #ffffff;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 500px;
  cursor: pointer;
  margin-left: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
}

.searchButton ion-icon {
  color: rgb(252, 252, 252);
  margin-right: 5px;
}

.searchButton:hover,
.searchPanelButton:hover {
  transform: scale(1.05);
}

/* Estilos para el menú de usuario */
.userMenu {
  position: relative;
  display: flex;
  align-items: center;
}

.userInfo {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 5px 5px 5px 5px;
  border-radius: 30px;
  transition: all 0.3s ease;
  background-color: rgba(84, 84, 114, 0.2);
  border: 1px solid rgba(85, 129, 225, 0.2);
}

.userInfo:hover {
  background-color: rgba(85, 225, 188, 0.1);
  border-color: #006aff; /* var(--verde-menta) */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.userName {
  margin-right: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  padding: 0 8px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatarContainer {
  display: flex;
  align-items: center;
  position: relative;
}

.userAvatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #006aff; /* var(--verde-menta) */
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.userInfo:hover .userAvatar {
  transform: scale(1.05);
  border-color: #80B4FF; /* var(--verde-menta-claro) */
}

.dropdownArrow {
  display: flex;
  align-items: center;
  margin-left: 5px;
  color: #006aff; /* var(--verde-menta) */
  transition: transform 0.3s ease;
}

.userInfo:hover .dropdownArrow {
  transform: translateY(2px);
}

/* Dropdown con animación mejorada */
.userDropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background-color: #080808;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow: hidden;
  animation: dropdownFadeIn 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  border: 1px solid rgba(114, 114, 114, 0.3);
  transform-origin: top right;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdownHeader {
  padding: 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(to right, rgba(19, 141, 255, 0.158), rgba(11, 26, 68, 0.301));
}

.dropdownAvatar {
  margin-right: 12px;
  position: relative;
}

.dropdownAvatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #006aff; /* var(--verde-menta) */
  box-shadow: 0 2px 10px rgba(85, 146, 225, 0.3);
}

.dropdownUserInfo {
  overflow: hidden;
  flex: 1;
}

.dropdownUserName {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdownUserEmail {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.dropdownDivider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 0;
}

.dropdownMenu {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.dropdownItem {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-weight: 500;
}

.dropdownItem:hover {
  background-color: rgba(74, 77, 80, 0.1);
  color: #006aff; /* var(--verde-menta) */
  padding-left: 20px;
}

.dropdownItem ion-icon {
  margin-right: 12px;
  font-size: 18px;
  color: #006aff; /* var(--verde-menta) */
  transition: all 0.2s;
}

.dropdownItem:hover ion-icon {
  transform: scale(1.1);
}

/* Light theme adjustments para el menú de usuario */
:global(.light-theme) .userInfo {
  background-color: rgba(230, 230, 235, 0.7);
  border: 1px solid rgba(18, 140, 111, 0.15);
}

:global(.light-theme) .userInfo:hover {
  background-color: rgba(85, 174, 225, 0.1);
  border-color: #80B4FF; /* var(--verde-menta-oscuro) */
}

:global(.light-theme) .userName {
  color: #1b1b24;
}

:global(.light-theme) .userAvatar {
  border-color: #80B4FF; /* var(--verde-menta-oscuro) */
}

:global(.light-theme) .userInfo:hover .userAvatar {
  border-color: #006aff; /* var(--verde-menta) */
}

:global(.light-theme) .dropdownArrow {
  color: #80B4FF; /* var(--verde-menta-oscuro) */
}

:global(.light-theme) .userDropdown {
  background-color: #f5f5f7;
  border: 1px solid rgba(18, 91, 140, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

:global(.light-theme) .dropdownHeader {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: linear-gradient(to right, rgba(18, 140, 111, 0.05), rgba(230, 230, 235, 0.5));
}

:global(.light-theme) .dropdownAvatar img {
  border-color: #80B4FF; /* var(--verde-menta-oscuro) */
}

:global(.light-theme) .dropdownUserName {
  color: #1b1b24;
}

:global(.light-theme) .dropdownUserEmail {
  color: rgba(27, 27, 36, 0.7);
}

:global(.light-theme) .dropdownDivider {
  background: rgba(0, 0, 0, 0.05);
}

:global(.light-theme) .dropdownItem {
  color: #1b1b24;
}

:global(.light-theme) .dropdownItem:hover {
  background-color: rgba(85, 141, 225, 0.1);
  color: #80B4FF; /* var(--verde-menta-oscuro) */
}

:global(.light-theme) .dropdownItem ion-icon {
  color: #80B4FF; /* var(--verde-menta-oscuro) */
}

:global(.light-theme) .searchButton {
  color: white;
}

:global(.light-theme) .searchButton ion-icon {
  color: rgb(236, 236, 236);
}

:global(.light-theme) .loginButton {
  color: white;
}

/* Estilos para el botón de limpiar búsqueda */
.clearButton {
  position: absolute;
  right: 100px; /* Posicionarlo justo antes del botón de búsqueda */
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  cursor: pointer;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.clearButton:hover {
  color: #006aff; /* var(--verde-menta) */
  transform: translateY(-50%) scale(1.1);
}

/* Tema claro para el botón de limpiar */
:global(.light-theme) .clearButton {
  color: rgba(27, 27, 36, 0.5);
}

:global(.light-theme) .clearButton:hover {
  color: #80B4FF; /* var(--verde-menta-oscuro) */
}

/* Estilos para el spinner circular */
.searchButtonSpinner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #006aff; /* var(--verde-menta) */
  border-radius: 500px;
  z-index: 2;
}

/* Spinner circular animado */
.searchButtonSpinner::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #000;
  border-left-color: #000;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Ocultar el texto e icono cuando está cargando */
.searchButtonSpinner ~ span,
.searchButtonSpinner ~ ion-icon {
  opacity: 0;
}

/* Ajustar posición del clearButton en el panel móvil */
.searchInputContainer .clearButton {
  right: 130px; /* Ajustar para dar espacio al botón de aplicar y cerrar */
}

/* Media queries */
@media screen and (min-width: 1200px) {
  .headerLeft {
    max-width: 600px; /* Más ancho en pantallas grandes */
  }
  
  .searchContainer {
    padding-top: 1%;
    max-width: 600px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .headerLeft {
    max-width: 450px;
  }
  
  .searchContainer {
    max-width: 450px;
  }
}

@media screen and (min-width: 769px) and (max-width: 991px) {
  .headerLeft {
    max-width: 400px;
  }
  
  .searchContainer {
    max-width: 400px;
  }
}

@media screen and (max-width: 1024px) {
  .headerLeft {
    max-width: 35%;
  }
}

@media screen and (max-width: 992px) {
  .userName {
    max-width: 100px;
  }
  
  .dropdownUserEmail {
    max-width: 150px;
  }
}

@media screen and (max-width: 768px) {
  .header {
    left: 0;
    padding: 0 4%;
    height: 60px;
    justify-content: space-between;
  }

  .headerLogo {
    display: flex; /* Mostrar logo en móvil */
    flex: 1;
    margin-right: 0;
  }

  .logoText {
    font-size: 16px;
  }

  .headerLeft {
    display: none;
  }

  .mobileSearchButton {
    display: flex;
  }

  .headerRight {
    gap: 12px;
  }
  
  .userName {
    display: none;
  }
  
  .userInfo {
    padding: 3px;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    justify-content: center;
  }
  
  .dropdownArrow {
    display: none;
  }
  
  .userAvatar {
    width: 32px;
    height: 32px;
  }
  
  .userDropdown {
    width: 250px;
    right: -10px;
  }
  
  .userDropdown:before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #1b1b24;
    border-left: 1px solid rgba(85, 225, 188, 0.3);
    border-top: 1px solid rgba(85, 225, 188, 0.3);
    transform: rotate(45deg);
  }
  
  :global(.light-theme) .userDropdown:before {
    background: #f5f5f7;
    border-left: 1px solid rgba(18, 140, 111, 0.2);
    border-top: 1px solid rgba(18, 140, 111, 0.2);
  }
  
  .dropdownUserName {
    font-size: 15px;
  }
  
  .dropdownUserEmail {
    font-size: 13px;
    max-width: 130px;
  }
  
  .dropdownItem {
    padding: 10px 14px;
  }
  
  .clearButton {
    right: 90px;
    font-size: 16px;
  }
}

@media screen and (max-width: 576px) {
  .registerButton {
    padding: 7px 18px;
    font-size: 13px;  
  }

  .loginButton {
    padding: 7px 18px;
    font-size: 13px;
  }

  .themeToggle,
  .mobileSearchButton {
    font-size: 18px;
  }

  .logoText {
    display: none;
  }
  
  .userInfo {
    width: 38px;
    height: 38px;
  }
  
  .userAvatar {
    width: 28px;
    height: 28px;
    border-width: 1.5px;
  }
  
  .userDropdown {
    width: 230px;
    right: -15px;
  }
  
  .userDropdown:before {
    right: 18px;
  }
  
  .dropdownAvatar img {
    width: 42px;
    height: 42px;
  }
  
  .dropdownUserName {
    font-size: 14px;
  }
  
  .dropdownUserEmail {
    font-size: 12px;
    max-width: 120px;
  }
  
  .dropdownItem {
    padding: 9px 12px;
    font-size: 13px;
  }
  
  .dropdownItem ion-icon {
    font-size: 16px;
    margin-right: 10px;}
}

@media screen and (max-width: 360px) {
  .themeToggle,
  .mobileSearchButton {
    font-size: 16px;
  }

  .loginButton {
    padding: 6px 14px;
    font-size: 12px;
  }
  
  .userDropdown {
    width: 200px;
    right: -10px;
  }
  
  .dropdownUserEmail {
    max-width: 110px;
  }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
  .searchContent {
    padding: 3% 3%;
  }
  
  .searchTitle {
    font-size: 20px;
    margin-bottom: 15px;
  }
}




/* Estilos adicionales para el botón de hamburguesa */

/* Contenedor para logo y botón hamburguesa */
.headerLogoSection {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Botón de hamburguesa */
.menuButton {
  display: none; /* Oculto por defecto en desktop */
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--hover-bg, #080808);
  border: none;
  border-radius: 50%;
  color: var(--primary-text, #ffffff);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menuButton:hover, 
.menuButton:active {
  background-color: #006aff; /* Azul */
  transform: scale(1.05);
}

/* Mostrar el botón en móvil */
@media screen and (max-width: 768px) {
  .menuButton {
    display: flex;
  }
  
  /* Reducir espacio entre el botón de hamburguesa y el logo */
  .headerLogoSection {
    flex: 0;
    margin-right: 0;
  }
  
  /* Ajustar margen del logo para que no se vea apretado */
  .headerLogo {
    margin-right: 5px;
  }
}

/* Tema claro para el botón de hamburguesa */
:global(.light-theme) .menuButton {
  background: var(--hover-bg, #e8e8f0);
  color: var(--primary-text, #1a1a1a);
}

:global(.light-theme) .menuButton:hover {
  background-color: #0066ee;
  color: white;
}

/* Estilos adicionales para el manejo del logo en tema claro/oscuro */

/* Estilos para los logos según el tema en el header */
.logoOscuro {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.logoClaro {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

/* Estilos para los logos según el tema en el panel móvil */
.logoMobileOscuro {
  display: block;
  border-radius: 12px;
  object-fit: contain;
  animation: pulseAnimation 2s infinite ease-in-out;
}

.logoMobileClaro {
  display: none;
  border-radius: 12px;
  object-fit: contain;
  animation: pulseAnimation 2s infinite ease-in-out;
}

/* Tema claro: cambio de logos */
:global(.light-theme) .logoOscuro {
  display: none;
}

:global(.light-theme) .logoClaro {
  display: block;
}

:global(.light-theme) .logoMobileOscuro {
  display: none;
}

:global(.light-theme) .logoMobileClaro {
  display: block;
}

/* Animación existente para logo pulsante */
@keyframes pulseAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Animación para logo cuando está reproduciendo música */
.logoPlaying {
  animation: pulsePlaying 1.5s infinite ease-in-out;
}

@keyframes pulsePlaying {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 106, 255, 0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 10px 3px rgba(0, 106, 255, 0.4); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 106, 255, 0.7); }
}

/* Tema claro - Ajustar animación */
:global(.light-theme) .logoPlaying {
  animation: pulsePlayingLight 1.5s infinite ease-in-out;
}

@keyframes pulsePlayingLight {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 82, 204, 0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 10px 3px rgba(0, 82, 204, 0.4); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 82, 204, 0.7); }
}