/*!
 * FullCalendar AODA Accessibility Styles
 * Provides visual focus indicators and screen reader support
 */

/* Focus Indicators for Calendar Cells */
/*.fc-day:focus {
    outline: 3px solid #0066cc !important;
    outline-offset: -3px !important;
    position: relative;
    z-index: 5 !important;
    background-color: #e6f2ff !important;
}

.fc-day:focus .fc-day-number {
    font-weight: bold;
}
*/
/* Today's date - enhanced visibility */
.fc-today {
    background-color: #fffacd !important;
}

.fc-today:focus {
    background-color: #fff9a8 !important;
}

/* Selected date */
/*.fc-day[aria-selected="true"] {
    background-color: #cce5ff !important;
}

.fc-day[aria-selected="true"]:focus {
    background-color: #99ccff !important;
}*/

/* Disabled cells */
/*.fc-day[aria-disabled="true"],
.disabledCalendarCell {
    opacity: 0.5;
    cursor: not-allowed !important;
    background-color: #f5f5f5 !important;
}

.fc-day[aria-disabled="true"]:focus {
    outline-color: #999 !important;
}*/

/* Focus Indicators for Events */
/*.fc-event:focus {
    outline: 3px solid #0066cc !important;
    outline-offset: 2px !important;
    position: relative;
    z-index: 999 !important;
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.5);
}

.fc-event:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}*/

/* Focus Indicators for Header Buttons */
.fc-button:focus,
.fc-button.fc-state-hover:focus {
    outline: 3px solid #0066cc !important;
    outline-offset: 2px !important;
    position: relative;
    z-index: 10;
}

.fc-button {
    cursor: pointer;
}

.fc-button:focus:not(:focus-visible) {
    outline: none;
}

.fc-button:focus-visible {
    outline: 3px solid #0066cc !important;
    outline-offset: 2px !important;
}

/* Enhanced button styles for better visibility */
.fc-button.fc-state-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

.fc-button[aria-pressed="true"] {
    background-color: #0066cc;
    color: #fff;
    font-weight: bold;
}

/* Header title - announce to screen readers */
.fc-header-title h2 {
    margin: 0;
    padding: 5px;
}

/* Improve contrast for better readability */
/*.fc-event-title,
.fc-event-time {
    color: #000;
    text-shadow: none;
}

.fc-event {
    border: 2px solid #000;
}*/

/* High Contrast Mode Support */
/*@media (prefers-contrast: high) {
    .fc-day:focus {
        outline: 4px solid #000 !important;
    }
    
    .fc-event:focus {
        outline: 4px solid #000 !important;
    }
    
    .fc-button:focus {
        outline: 4px solid #000 !important;
    }
}*/

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .fc-event,
    .fc-day,
    .fc-button {
        transition: none !important;
    }
}

/* Print Styles - remove focus indicators */
/*@media print {
    .fc-day:focus,
    .fc-event:focus,
    .fc-button:focus {
        outline: none !important;
    }
    
    .visually-hidden,
    .fc-skip-link,
    .fc-keyboard-instructions {
        display: none !important;
    }
}*/

/* Ensure calendar grid has proper spacing for focus indicators */
/*.fc-grid {
    padding: 5px;
}*/

/* Make week numbers more accessible */
/*.fc-week-number {
    font-weight: bold;
}*/

/* Improve calendar header accessibility */
.fc-header {
    margin-bottom: 15px;
}

.fc-header-title {
    line-height: 1.5;
}

/* Mobile/Touch improvements */
/*@media (max-width: 768px) {
    .fc-day:focus {
        outline-width: 4px !important;
    }
    
    .fc-button {
        min-height: 44px;
        min-width: 44px;
    }
}*/
