/* Default blocked date style (light mode) */
/* https://chatgpt.com/c/96293c79-649e-4c38-bcf3-b5c9c1742bfb?model=gpt-4o * 20250204/

/* Strikethrough ONLY for blocked in-range dates (NOT out-of-range) */
.CalendarDay--blocked.CalendarDay--blocked-calendar:not(.CalendarDay--blocked-out-of-range) .CalendarDay__button {
  text-decoration: line-through !important; /* Strikethrough the date */
  color: inherit !important; /* Keep text color unchanged */
  opacity: 0.6; /* Slightly faded */
  cursor: not-allowed;
}

/* Dark mode: Strikethrough only blocked in-range dates */
[data-bs-theme="dark"] .CalendarDay--blocked.CalendarDay--blocked-calendar:not(.CalendarDay--blocked-out-of-range) .CalendarDay__button,
.dark-mode .CalendarDay--blocked.CalendarDay--blocked-calendar:not(.CalendarDay--blocked-out-of-range) .CalendarDay__button {
  text-decoration: line-through !important;
  color: inherit !important;
  opacity: 0.6;
  cursor: not-allowed;
}

/* Ensure out-of-range days DO NOT get a strikethrough */
.CalendarDay--blocked.CalendarDay--blocked-out-of-range .CalendarDay__button {
  text-decoration: none !important; /* Remove any unwanted strikethrough */
  opacity: 0.4; /* Keep past dates subtly faded */
  cursor: default;
}

/* Dark mode: No strikethrough for out-of-range days */
[data-bs-theme="dark"] .CalendarDay--blocked.CalendarDay--blocked-out-of-range .CalendarDay__button,
.dark-mode .CalendarDay--blocked.CalendarDay--blocked-out-of-range .CalendarDay__button {
  text-decoration: none !important; /* Ensure past dates remain normal */
  color: inherit !important;
  opacity: 0.4;
  cursor: default;
}
