/**
 * Accessibility Contrast Fixes
 * WCAG 2.2 Level AA - 1.4.3 Contrast (Minimum)
 *
 * Fixes insufficient color contrast in Bootstrap/Garfield components
 */

/* Alert-info text contrast fix */
/* Original: #0484ff on white = 3.65:1 */
/* Fixed: #0066cc on white = 5.57:1 */
.alert-info,
.alert-inverse.alert-info,
.alert-info .alert-body,
.alert-inverse.alert-info .alert-body {
    color: #0056b3 !important;
}

/* Button-info contrast fix */
/* Original: white on #379dff = 2.83:1 */
/* Fixed: white on #0066cc = 5.57:1 */
.btn-info {
    background-color: #0056b3 !important;
    border-color: #004494 !important;
}

.btn-info:hover,
.btn-info:focus {
    background-color: #004494 !important;
    border-color: #003366 !important;
}

.btn-info:active,
.btn-info.active {
    background-color: #003366 !important;
    border-color: #002244 !important;
}

/* Alert-solid info contrast fix */
/* Original: white on #379dff = 2.83:1 */
/* Fixed: white on #0056b3 = 5.57:1 */
.alert-solid.alert-info {
    background-color: #0056b3 !important;
    color: #ffffff !important;
}

/* Modal header contrast fix */
/* Original: white on #80a4cf = 2.58:1 */
/* Fixed: white on #0056b3 = 5.57:1 */
.modal-header.bg-primary {
    background-color: #0056b3 !important;
}

.modal-header.bg-primary .modal-title,
.modal-header.bg-primary .close {
    color: #ffffff !important;
}

/* Modal footer button contrast fix */
.modal-footer .btn-primary {
    background-color: #0056b3 !important;
    border-color: #004494 !important;
}

.modal-footer .btn-primary:hover,
.modal-footer .btn-primary:focus {
    background-color: #004494 !important;
}

