/* Accessibility fixes - improved contrast */

/* Fix low contrast for primary text */
.text-xs.font-weight-bold.text-primary {
    color: #2e59d9 !important; /* Darker blue for better contrast */
}

/* Fix breadcrumb active item contrast */
.breadcrumb-item.active {
    color: #3a3b45 !important; /* Much darker for readability */
}

/* Fix card link contrast */
.card a {
    color: #2e59d9 !important; /* Darker blue */
}

.card a:hover {
    color: #224abe !important; /* Even darker on hover */
    text-decoration: underline;
}

/* Fix light text on light background */
.text-gray-600 {
    color: #4a5568 !important; /* Darker gray */
}

/* Ensure all buttons have sufficient contrast */
.btn-primary {
    background-color: #2e59d9 !important;
    border-color: #2653d4 !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #224abe !important;
    border-color: #1d4099 !important;
}

/* Fix nav link contrast */
.nav-link {
    color: rgba(255,255,255,.85) !important;
}

.nav-link:hover {
    color: rgba(255,255,255,1) !important;
}

/* Ensure form inputs have visible focus */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 2px solid #2e59d9 !important;
    outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem;
    background-color: #2e59d9;
    color: white;
    text-decoration: none;
}

.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
}