@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

:root {
  --verde-oscuro: #024031;
  --verde-profundo: #031d19;
  --verde-lima: #b8d136;
  --amarillo: #ffe219;
}

* {
  font-family: "Inter", sans-serif;
}

body {
  background: linear-gradient(to bottom, #f7fbf7, #ffffff);
}

.card-shadow {
  box-shadow: 0 8px 20px rgba(2, 32, 49, 0.06);
}

.header-banner {
  background-color: var(--verde-oscuro);
  border-radius: 0 0 40px 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

.header-placeholder {
  height: 160px;
}

.vertical-divider {
  width: 2px;
  height: 56px;
  background: #ffffff;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .vertical-divider {
    height: 44px;
  }

  .header-placeholder {
    height: 200px;
  }
}

/* --- Nuevos estilos: tarjeta de lugar más llamativa --- */
.venue-card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(2, 64, 49, 0.04),
    rgba(184, 209, 54, 0.03)
  );
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(2, 64, 49, 0.06);
  box-shadow: 0 10px 30px rgba(2, 32, 49, 0.06);
}

.venue-pin {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, #b8d136 0%, #e9f9e0 60%),
    linear-gradient(180deg, #031d19, #024031);
  color: #fff;
  flex-shrink: 0;
  animation: pinPulse 2000ms infinite;
}

@keyframes pinPulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 18px rgba(2, 64, 49, 0.1);
  }

  50% {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 40px rgba(2, 64, 49, 0.08);
  }

  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 18px rgba(2, 64, 49, 0.06);
  }
}

.venue-details .city {
  display: flex;
  align-items: center;
  gap: 8px;
}

.municipio-badge {
  background: linear-gradient(90deg, #b8d136, #ffe219);
  color: #012;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.6px;
  box-shadow: 0 6px 18px rgba(184, 209, 54, 0.12);
  text-transform: uppercase;
}

.venue-details .place {
  color: var(--verde-profundo);
  font-weight: 800;
  font-size: 1.05rem;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.address-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.venue-chip {
  background: #ffffff;
  border: 1px solid rgba(2, 64, 49, 0.06);
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  color: var(--verde-oscuro);
  box-shadow: 0 6px 18px rgba(2, 32, 49, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: default;
}

.venue-chip:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(2, 32, 49, 0.08);
}

.venue-chip.map-link {
  background: linear-gradient(90deg, #024031, #03654a);
  color: #fff;
  border: none;
}

.venue-chip svg {
  width: 18px;
  height: 18px;
  opacity: 0.95;
}

.time-glow {
  position: relative;
  font-weight: 800;
}

.time-glow::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: -6px;
  bottom: -6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(184, 209, 54, 0.06),
    rgba(255, 226, 25, 0.03)
  );
  filter: blur(8px);
  opacity: 0.6;
  z-index: -1;
}

/* pequeña animación de entrada para texto */
.venue-details {
  transform-origin: left center;
}

.venue-appear {
  animation: venueIn 0.8s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes venueIn {
  from {
    opacity: 0;
    transform: translateX(-10px) scale(0.995);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Corrección Notyf: forzar fondo sólido para toasts "info" */
.notyf__toast--info {
  background: linear-gradient(90deg, #024031 0%, #03654a 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(2, 64, 49, 0.12) !important;
  border: none !important;
  opacity: 1 !important;
}

.notyf__toast--info .notyf__icon {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Opcional: ajustar texto y padding */
.notyf__toast--info .notyf__message {
  font-weight: 700;
}

/* Asegura que los toasts persistentes se vean bien */
.notyf__toast[style*="--notyf-duration: 0s"] {
  background-clip: padding-box;
}
