/* HIGHLIGHTS MODULE */
.highlights-bar {
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(155, 123, 168, 0.1);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 120px; /* Altura mínima para asegurar visibilidad */
}

.highlights-header {
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

.highlights-title {
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  color: #9370db;
  font-weight: 600;
  display: flex;
  align-items: center;
  font-family: "Quicksand", sans-serif;
  opacity: 0.75;
  gap: 0.3rem;
}

.highlights-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.3rem 0.5rem;
  scroll-behavior: auto; /* Cambiar a auto para control manual */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; /* Mostrar scrollbar delgado en Firefox */
  scrollbar-color: rgba(147, 112, 219, 0.4) rgba(255, 255, 255, 0.1); /* Color del scrollbar */
  -ms-overflow-style: auto; /* Mostrar scrollbar en IE/Edge */
  cursor: grab;
  user-select: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 80px; /* Altura mínima para asegurar visibilidad */
}

.highlights-scroll::-webkit-scrollbar {
  display: block; /* Mostrar scrollbar en Chrome/Safari */
  height: 8px;
}

.highlights-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.highlights-scroll::-webkit-scrollbar-thumb {
  background: rgba(147, 112, 219, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlights-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(147, 112, 219, 0.6);
}

.highlights-scroll:active {
  cursor: grabbing;
}

.highlight-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 6px rgba(155, 123, 168, 0.2);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f5ebf7 0%, #e8d5f2 100%);
}

.highlight-item:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(155, 123, 168, 0.4);
  z-index: 10;
}

.highlight-item img,
.highlight-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.highlight-item .highlight-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.95) 100%
  );
  border-radius: 14px;
  padding: 5px 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 3px 8px rgba(155, 123, 168, 0.25), 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 11px;
  font-weight: 700;
  color: #8a2be2;
  min-width: 36px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(196, 165, 214, 0.3);
  transition: all 0.2s ease;
}

.highlight-item .highlight-badge .flower-number {
  font-size: 12px;
  line-height: 1;
}

.highlight-item .highlight-badge .day-number {
  font-size: 12px;
  line-height: 1;
  color: #8a2be2;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(138, 43, 226, 0.1);
}

.highlight-item:hover .highlight-badge {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(155, 123, 168, 0.3), 0 2px 4px rgba(0, 0, 0, 0.12);
}

.highlight-item .video-icon {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(155, 123, 168, 0.9);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

@media (max-width: 480px) {
  .highlight-item {
    width: 70px;
    height: 70px;
  }

  .highlights-bar {
    padding: 0.4rem;
  }

  .highlights-scroll {
    gap: 0.4rem;
    padding: 0.2rem 0.4rem;
  }
}

/* Auth Section */
.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.auth-card {
  background: white;
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 20px 60px var(--shadow);
  text-align: center;
  max-width: 500px;
  animation: fadeInUp 0.8s ease-out;
}

.auth-card h2 {
  color: var(--dark-purple);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.auth-card p {
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-purple) 0%,
    var(--dark-purple) 100%
  );
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px var(--shadow);
  font-family: "Quicksand", sans-serif;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--shadow);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary:active:not(:disabled) {
  transform: translateY(-1px);
}

.loading-dots::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}

.btn-icon {
  margin-right: 0.5rem;
}

/* Calendar Section - 70% de atención, más prominente */
