/* ESTILOS PARA LA PÁGINA PRINCIPAL */
.page-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.main-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  text-align: center;
  margin-bottom: 2rem;
}

.main-description {
  color: #cbd5e1;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

/* 🔹 CONTENEDOR QUE UNE ESFERA + CALENDARIO */
.calendar-wrapper {
  position: absolute;
  top: 200px;
  right: 40px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* esfera arriba, calendario abajo */
  gap: 1rem;
}

/* ESTILOS PARA LA ESFERA FLOTANTE */
.floating-sphere {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  border: 2px solid #ff8c00;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  font-weight: bold;
  user-select: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.floating-sphere:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.floating-sphere i {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: #1a1a1a;
}

.floating-sphere .sphere-text {
  font-size: 0.95rem;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  color: #1a1a1a;
}

/* ESTILOS PARA EL CALENDARIO */
.calendar-container {
  display: none;
}

.calendar-container.active {
  display: block;
  animation: slideInFromRight 0.3s ease-out;
}

.calendar-card {
  padding: 1.5rem;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid #ffd700;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 320px;
  border-radius: 20px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.calendar-header-icon {
  color: #facc15;
  font-size: 1.25rem;
  animation: pulse 2s infinite;
}

.calendar-title {
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
}

/* ESTILOS PARA LOS HORARIOS */
.schedule-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  border-left: 4px solid #ffd700;
}

.schedule-day {
  color: white;
  font-weight: 600;
}

.schedule-time {
  color: #facc15;
  font-weight: bold;
}

.special-schedule {
  padding: 0.75rem;
  background: linear-gradient(90deg, #facc15 0%, #eab308 100%);
  border-radius: 0.5rem;
  color: #0f172a;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.special-icon {
  color: #ea580c;
}


/* ESTILOS PARA LA SECCIÓN DEL CALENDARIO */
.calendar-section {
  border-top: 1px solid rgba(255, 212, 0, 0.3);
  padding-top: 1rem;
}

.custom-calendar {
  border-radius: 0.375rem;
  border: none;
}

/* ANIMACIONES */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 🔹 RESPONSIVE */
@media (max-width: 768px) {
  .calendar-wrapper {
    top: 890px;   /* más arriba en móvil */
    right: 20px;
  }

  .floating-sphere {
    width: 4rem;
    height: 4rem;
    font-size: 0.65rem;
  }

  .floating-sphere i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
  }

  .floating-sphere .sphere-text {
    font-size: 0.65rem;
  }

  .calendar-card {
    padding: 1rem;
    max-width: 90vw;
  }

  .main-title {
    font-size: 2rem;
  }
}
