/* Accessibility Enhancements */

/* Focus Styles - Improve keyboard navigation visibility */
:focus {
    outline: 3px solid #4D90FE !important;
    outline-offset: 2px !important;
    border-radius: 2px;
}

/* Skip to main content link - hidden until focused */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1E90FF;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* High contrast mode support */
@media (forced-colors: active) {
    /* Force appropriate contrast in Windows High Contrast mode */
    .button, 
    .btn-hover,
    button,
    a {
        forced-color-adjust: none;
    }
}

/* Text contrast improvements */
.text-softWhite\/60 {
    color: rgba(255, 255, 255, 0.8) !important; /* Improved from 0.6 */
}

.text-softWhite\/40 {
    color: rgba(255, 255, 255, 0.7) !important; /* Improved from 0.4 */
}

.text-darkGray\/70 {
    color: rgba(51, 51, 51, 0.85) !important; /* Improved from 0.7 */
}

.text-darkGray\/60 {
    color: rgba(51, 51, 51, 0.75) !important; /* Improved from 0.6 */
}

/* Form field styles */
input, textarea, select {
    border: 1px solid #666;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .float-animation {
        animation: none !important;
    }
}

/* Button and link contrast improvements */
.bg-brightBlue {
    background-color: #0074E8 !important; /* Darker blue for better contrast */
}

.text-brightBlue {
    color: #0074E8 !important; /* Darker blue for better contrast */
}

/* Specific ARIA role stylings */
[role="button"],
[role="tab"],
[role="link"] {
    cursor: pointer;
}

/* Increase tap target sizes on mobile */
@media (max-width: 768px) {
    button, 
    .btn-hover,
    a.nav-link,
    a.fancy-link,
    [role="button"] {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
} 