/* Calendar Animations and Enhanced Effects */

/* Page Load Animation */
#calendar {
  animation: fadeIn 0.8s ease-in-out;
}

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

/* Calendar Day Hover Effects */
.cal-month-day {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.cal-month-day:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* Button Effects */
.btn {
  position: relative;
  overflow: hidden;
}

.btn:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active:after {
  width: 300px;
  height: 300px;
}

.btn-custom {
  background-color: #68a678;
  border-color: #5a8f69;
  color: white;
}

.btn-custom:hover {
  background-color: #5a8f69;
}

/* Calendar Navigation Effects */
.page-header .btn-group {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

/* Calendar Title Animation */
.calendar-title {
  position: relative;
  display: inline-block;
  margin: 10px 0;
  font-family: 'Cabin', sans-serif;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
}

.calendar-title:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #5a8f69;
  transition: all 0.3s ease;
}

.calendar-title:hover:after {
  width: 100%;
  left: 0;
}