/* Estilos para el contenedor principal */
.recurring-events-container {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Estilos para la sección de mes */
.month-section {
  position: relative;
}

.month-section::before {
  content: '';
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 12px;
  width: 2px;
  background-color: #f5f5f5;
  z-index: 0;
}

.month-title {
  position: relative;
  z-index: 1;
  background-color: #f5f5f5; /* Usar el mismo color de fondo que la página */
  display: inline-block;
  padding-right: 0.75rem;
  margin-left: 0.5rem;
  font-size: 1.25rem;
  /*color: #4b5563;*/
}

/* Estilos para la lista de eventos */
.event-list {
  position: relative;
  z-index: 1;
  padding-left: 0.5rem;
}

/* Estilo para el mensaje de no eventos */
.no-events {
  margin: 2rem auto;
  max-width: 400px;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.no-events svg {
  color: #9ca3af;
  margin: 0 auto 1rem;
}

/* Estilos para dispositivos más pequeños */
@media (max-width: 640px) {
  .recurring-events-container {
    padding: 0 0.5rem;
  }
  
  .month-section::before {
    left: 8px;
  }
  
  .month-title {
    font-size: 1.125rem;
    margin-left: 0.25rem;
  }
  
  .event-list {
    padding-left: 0.25rem;
  }
  
  .no-events {
    margin: 1.5rem auto;
    padding: 1.5rem;
    max-width: 90%;
  }
}

/* Animación para las tarjetas al cargar */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-list-item-wrapper {
  animation: fadeIn 0.3s ease-out forwards;
  animation-delay: calc(var(--event-index, 0) * 0.05s);
  opacity: 0;
}

/* Estilos para el botón "Ver más eventos" */
.recurring-events-actions a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #3b82f6;
  color: white;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.recurring-events-actions a:hover {
  background-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.recurring-events-actions svg {
  margin-right: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
}

/* Efecto hover para el título del mes */
.month-title:hover {
  color: #3b82f6; /* Azul claro */
  transition: color 0.2s ease;
}

/* Estilo opcional para destacar eventos próximos */
.event-list-item-wrapper:first-child .event-list-item {
  /*border-left: 3px solid #3b82f6;*/
} 