#fc-wrapper {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
  font-family: 'DM Sans', sans-serif;
}

/* Calendar container */
#calendar {
  max-width: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  transition: all 0.3s ease;
}

/* Calendar hover subtle effect */
#calendar:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
#calendar .fc-daygrid-event {
  background-color: rgba(65, 128, 67, 0.85) !important;
  border: none !important;
  color: #fff !important;
}
#calendar .fc-prev-button,
#calendar .fc-next-button {
  background-color: rgba(65, 128, 67, 0.85) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#calendar .fc-prev-button:hover,
#calendar .fc-next-button:hover {
  background-color: rgba(55, 110, 57, 0.95) !important;
  transform: scale(1.05);
}
#calendar .fc-today-button {
  background-color: rgba(65, 128, 67, 0.85) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#calendar .fc-today-button:hover {
  background-color: rgba(55, 110, 57, 0.95) !important;
  transform: scale(1.05);
}

/* Section headings */
#fc-wrapper h3 {
  font-family: 'Forum', cursive;
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 12px 0;
  color: #222;
}

/* Event list + details as card boxes */
#event-list, #event-details {
  background: #fff;
  border: 1px solid #eee;
  padding: 14px;
  border-radius: 10px;
  min-height: 120px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

#event-list:hover, #event-details:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

#event-list .indicate {
  animation: flashGray 1s forwards;
}

@keyframes flashGray {
  0% {
    background-color: gray;
  }
  100% {
    background-color: white; 
  }
}



/* Hover effect on calendar days */
.fc-daygrid-day:hover {
  background-color: rgba(251, 69, 69, 0.15);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Active (clicked) day */
.fc-daygrid-day.fc-day-active {
  background: linear-gradient(
    135deg,
    rgba(255, 205, 1, 0.75) 0%,
    rgba(255, 231, 74, 0.75) 30%,
    rgba(255, 214, 51, 0.75) 65%,
    rgba(203, 183, 6, 0.75) 100%
  ) !important;
  color: #000 !important;
  font-weight: bold;
  border-radius: 6px;
}

/* Event list items */
#event-list .event-list-item {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

#event-list .event-list-item:hover,
 #event-list .event-list-item.hover-effect{
  background-color: rgba(251, 69, 69, 0.15);
}

#event-list .event-list-item.active {
  background: linear-gradient(
    135deg,
    rgba(255, 205, 1, 0.7) 0%,
    rgba(255, 231, 74, 0.7) 30%,
    rgba(255, 214, 51, 0.7) 65%,
    rgba(203, 183, 6, 0.7) 100%
  ) !important;
  color: #000;
  font-weight: bold;
}

/* Calendar header title */
.fc-toolbar-title {
  font-family: 'Forum', cursive;
  font-size: 1.6rem;
  font-weight: 400;
  color: #222;
}

/* Responsive styles */
@media (max-width: 900px) {
  #fc-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  #calendar-container, 
  #fc-wrapper > div {
    width: 100% !important;
  }

  #details-container {
    margin-top: 20px;
  }

  #fc-wrapper h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 500px) {
  #calendar {
    font-size: 12px;
    padding: 8px;
  }

  .fc-toolbar-title {
    font-size: 1.2rem !important;
  }

  #event-list, #event-details {
    padding: 10px !important;
  }
}