/* Contrast fixes for WCAG 2.2 Level AA (4.5:1 ratio minimum) */

/* Submit button - ensure sufficient contrast */
.btn-primary {
    background-color: #2C3E50;
    border-color: #2C3E50;
}

/* Help block text */
.help-block.text-center {
    color: #555555;
}

/* Footer text elements - Light colors for dark background (#323a45) */
footer .dim-header,
footer .footer-section-title {
    color: #E0E0E0 !important;
}

footer p,
footer span {
    color: #E0E0E0 !important;
}

footer address {
    color: #E0E0E0 !important;
}

/* Footer links - Light blue for dark background */
footer a {
    color: #66B3FF !important;
}

footer a:hover {
    color: #99CCFF !important;
}

/* Header agency name text over background */
.header-container .agency-name a {
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    text-decoration: none;
}

/* Footer NI logo text (if visible over background) */
.ni-logo {
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Search results table links - Override flat-ui light cyan (#02bfe7) */
/* The base flat-ui-new-colors.css sets all <a> to #02bfe7 which fails contrast */
/* WCAG 2.2 - 1.4.3 Contrast (Minimum) - Need 4.5:1 on light backgrounds */
table a,
.table a,
tbody a {
    color: #0066CC !important; /* Dark blue - 4.5:1+ on #FFFFFF and #F9F9F9 */
}

table a:hover,
.table a:hover,
tbody a:hover {
    color: #003D7A !important; /* Darker blue on hover */
}

table a:visited,
.table a:visited,
tbody a:visited {
    color: #5A3D99 !important; /* Purple for visited links */
}
