/* === Estilos de los campos de búsqueda (desktop y móvil) === */
#event-search-input:hover,
#event-search-input:focus {
  border-color: #B20D5D !important;
  box-shadow: 0 0 0 0.2rem rgba(178, 13, 93, 0.25);
}

#event-search-input-mobile:hover,
#event-search-input-mobile:focus {
  border-color: #B20D5D !important;
  box-shadow: 0 0 0 0.2rem rgba(178, 13, 93, 0.25);
}

/* === Contenedor y superposición para imágenes de lineup === */
.lineup-image-wrapper {
  position: relative;
}

.lineup-image-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  z-index: 2;
}

/* === Estilo para botón centrado en superposición === */
.line-up-hover-content .btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* === Imagen de lineup con aspecto y posición relativa === */
.lineup-image {
  aspect-ratio: 614 / 943;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.lineup-image img {
  width: 100%;
  height: 100%;
  display: block;
}

/* === Texto con trazo degradado (outline) === */
.gradient-text {
  -webkit-text-stroke: 2px var(--bs-primary);
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* === Enlace de evento con animación al hacer hover === */
.event-link:hover {
  color: var(--bs-secondary) !important;
  transform: translateX(5px);
  transition: all 0.3s ease;
}

/* === Imagen del blog (cards de eventos) === */
.blog-image {
  aspect-ratio: 614/942;
  overflow: hidden;
  position: relative;
  border-radius: 16px !important;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 16px !important;
}

.blog-image:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(190deg, rgba(178, 13, 93, 0) 4.66%, rgba(21, 2, 64, 0.81) 86.28%);
  z-index: 1;
  pointer-events: none;
  border-radius: 16px !important;
}

/* === Contenedor general de la tarjeta del blog === */
.blog-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* === Capa interna del contenido del blog === */
.blog-content-2 {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* === Contenedor del contenido textual del blog === */
.blog-left-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}

/* === Espaciado inferior en textos del blog === */
.blog-left-content p,
.blog-left-content h2 {
  margin-bottom: 0.5rem;
}

/* === Estilos responsivos para tablet === */
@media (max-width: 768px) {
  .blog-left-content {
    padding: 0.3rem 0.75rem;
  }

  .blog-left-content p,
  .blog-left-content h2 {
    margin-bottom: 0.4rem;
  }

  .blog-left-content p {
    font-size: 0.85rem;
  }

  .blog-left-content h2 {
    font-size: 1rem;
  }
}

/* === Estilos responsivos para móviles pequeños === */
@media (max-width: 430px) {
  .blog-left-content {
    padding: 0.25rem 0.5rem;
  }

  .blog-left-content p {
    font-size: 0.8rem;
  }

  .blog-left-content h2 {
    font-size: 0.95rem;
  }
}

/* === Ajuste para altura mínima y corte de texto del título === */
.blog-left-content h2 {
  min-height: 3rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-left-content p:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 430px) {
  .blog-left-content p {
    font-size: 0.75rem;
    word-break: break-word;
  }
}

/* === Estilos para el menú desplegable en desktop === */
.user-dropdown-menu {
  position: absolute;
  top: 60px;
  right: 0;
  min-width: 300px;
  display: none;
  z-index: 999;
}

.user-dropdown-desktop:hover .user-dropdown-menu {
  display: block;
}

/* === Estilos para el loader === */
.logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: auto;
  z-index: 10;
}

.logo-overlay img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 50px;
}

@media (max-width: 768px) {
  .logo-overlay {
    width: 28px;
  }
}

/* === Estilos para footer mobile === */
@media (max-width: 767.98px) {
  .sticky-bottom-b+footer.footer-section {
    padding-bottom: 80px !important;
  }
}

@media (max-width: 767.98px) {
  .pb-mobile {
    padding-bottom: 80px !important;
  }
}

/* === Estilos para mapa === */
.map-container {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 0.5rem;
}

.map-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .text-opacity {
    font-size: 1.5rem;
  }
}

/* === Estilos para badges === */
.badge-impact {
  font-size: 0.75rem;
  padding: 0.25em 0.6em;
  font-weight: 700;
  border-radius: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: #f0f0f0;
  background-color: rgba(40, 40, 40, 0.85);
  background: linear-gradient(45deg, #8866c2, #490AB5);
  box-shadow: none;
}

.badge-impact-big {
  font-size: 0.90rem;
  font-weight: 700;
  border-radius: 1.5rem;
  padding: 0.4em 0.9em;
}


/* === Estilos para schedule === */
.schedule-item {
  cursor: pointer;
}

/* === Estilos para progress bar === */
.progress-dynamic {
  border-radius: 40px;
  background-color: #ffffff;
  padding: 3px;
  height: 64px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

.progress-dynamic-bar {
  height: 100%;
  border-radius: 40px;
  background-image: linear-gradient(90deg, var(--bs-primary, #0d6efd) 1.72%, var(--bs-secondary, #6610f2) 99.9%);
  width: 0;
  transition: width 1s ease-in-out;
}

.ticket-content-b {
  background: linear-gradient(180deg, var(--bs-primary) 14.06%, var(--bs-secondary) 95.2%);
  border-radius: 28px;
  width: 100%;
  min-height: 280px;
}

/* === Estilos para img recinto === */
.image-overlay-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.image-overlay-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

.image-overlay-event {
  position: absolute;
  inset: 0 0 0 0;
  background: linear-gradient(to bottom,
      rgba(21, 2, 64, 0) 0%,
      rgba(21, 2, 64, 0.2) 40%,
      rgba(21, 2, 64, 0.5) 70%,
      rgba(21, 2, 64, 0.81) 100%);
  pointer-events: none;
}

/* === Estilos para alertas === */
.sweet-alert-bounce {
  animation: sweetAlertBounce 0.6s ease-out;
}

@keyframes sweetAlertBounce {
  0% {
    transform: scale(0.3) rotate(-10deg);
    opacity: 0;
  }

  50% {
    transform: scale(1.05) rotate(2deg);
  }

  70% {
    transform: scale(0.95) rotate(-1deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.icon-pulse {
  animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* === Estilos  para todos los botones en ambos temas  === */
.btn-warning {
  color: #fff !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
  color: #000 !important;
}

.btn-info {
  color: #fff !important;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
  color: #000 !important;
}

.btn-success {
  color: #fff !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  color: #000 !important;
}

.btn-danger {
  color: #fff !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
  color: #000 !important;
}

[data-bs-theme="dark"] .btn-warning,
.dark-theme .btn-warning {
  color: #fff !important;
}

[data-bs-theme="dark"] .btn-warning:hover,
[data-bs-theme="dark"] .btn-warning:focus,
[data-bs-theme="dark"] .btn-warning:active,
.dark-theme .btn-warning:hover,
.dark-theme .btn-warning:focus,
.dark-theme .btn-warning:active {
  color: #fff !important;
}

[data-bs-theme="dark"] .btn-info,
.dark-theme .btn-info {
  color: #fff !important;
}

[data-bs-theme="dark"] .btn-info:hover,
[data-bs-theme="dark"] .btn-info:focus,
[data-bs-theme="dark"] .btn-info:active,
.dark-theme .btn-info:hover,
.dark-theme .btn-info:focus,
.dark-theme .btn-info:active {
  color: #fff !important;
}

[data-bs-theme="dark"] .btn-success,
.dark-theme .btn-success {
  color: #fff !important;
}

[data-bs-theme="dark"] .btn-success:hover,
[data-bs-theme="dark"] .btn-success:focus,
[data-bs-theme="dark"] .btn-success:active,
.dark-theme .btn-success:hover,
.dark-theme .btn-success:focus,
.dark-theme .btn-success:active {
  color: #fff !important;
}

[data-bs-theme="dark"] .btn-danger,
.dark-theme .btn-danger {
  color: #fff !important;
}

[data-bs-theme="dark"] .btn-danger:hover,
[data-bs-theme="dark"] .btn-danger:focus,
[data-bs-theme="dark"] .btn-danger:active,
.dark-theme .btn-danger:hover,
.dark-theme .btn-danger:focus,
.dark-theme .btn-danger:active {
  color: #fff !important;
}

[data-bs-theme="dark"] .btn-outline-light:hover,
[data-bs-theme="dark"] .btn-outline-light:focus,
[data-bs-theme="dark"] .btn-outline-lights:active,
.dark-theme .btn-outline-light:hover,
.dark-theme .btn-outline-light:focus,
.dark-theme .btn-outline-light:active {
  color: #fff !important;
}

/* === Estilos para formulario de login === */
.password-toggle {
  position: absolute;
  right: 15px;
  top: 44px;
  cursor: pointer;
  color: #e33f8f;
  z-index: 10;
}

.position-relative .form-control[type="password"] {
  padding-right: 45px;
}

.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.form-control.is-invalid {
  border-color: var(--bs-primary);
  background-image: none;
}

.invalid-feedback {
  color: var(--bs-primary);
  font-size: 0.875rem;
  display: block;
}

.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.form-check-input:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(227, 63, 143, 0.25);
}

/* === Estilos responsive para formularios de login/registro === */
@media (max-width: 767.98px) {
  .contact-form.row {
    margin-top: 0 !important;
  }
}

/* === Estilos para titulo principal hero section  === */
.soundscapes {
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(40px, 10vw, 160px);
}


.soundscapes > * {
  display: inline-block;
  white-space: nowrap;
}