/**
 * Bootstrap 5.2/5.3 utility backport for vendor Bootstrap 5.1.3.
 * Fixes invisible badges/alerts using -subtle, -emphasis, text-bg-* classes.
 */

/* text-bg-* (Bootstrap 5.2+) */
.text-bg-primary { color: #fff !important; background-color: #0d6efd !important; }
.text-bg-secondary { color: #fff !important; background-color: #6c757d !important; }
.text-bg-success { color: #fff !important; background-color: #198754 !important; }
.text-bg-danger { color: #fff !important; background-color: #dc3545 !important; }
.text-bg-warning { color: #000 !important; background-color: #ffc107 !important; }
.text-bg-info { color: #000 !important; background-color: #0dcaf0 !important; }
.text-bg-light { color: #212529 !important; background-color: #f8f9fa !important; }
.text-bg-dark { color: #fff !important; background-color: #212529 !important; }

/* bg-*-subtle (Bootstrap 5.3+) */
.bg-primary-subtle { background-color: #cfe2ff !important; }
.bg-secondary-subtle { background-color: #e2e3e5 !important; }
.bg-success-subtle { background-color: #d1e7dd !important; }
.bg-danger-subtle { background-color: #f8d7da !important; }
.bg-warning-subtle { background-color: #fff3cd !important; }
.bg-info-subtle { background-color: #cff4fc !important; }
.bg-light-subtle { background-color: #fcfcfd !important; }
.bg-dark-subtle { background-color: #ced4da !important; }

/* text-*-emphasis (Bootstrap 5.3+) */
.text-primary-emphasis { color: #052c65 !important; }
.text-secondary-emphasis { color: #2b2f32 !important; }
.text-success-emphasis { color: #0a3622 !important; }
.text-danger-emphasis { color: #58151c !important; }
.text-warning-emphasis { color: #664d03 !important; }
.text-info-emphasis { color: #055160 !important; }
.text-light-emphasis { color: #495057 !important; }
.text-dark-emphasis { color: #495057 !important; }

/* text-bg-*-subtle (Bootstrap 5.3+) */
.text-bg-primary-subtle { color: #052c65 !important; background-color: #cfe2ff !important; }
.text-bg-secondary-subtle { color: #2b2f32 !important; background-color: #e2e3e5 !important; }
.text-bg-success-subtle { color: #0a3622 !important; background-color: #d1e7dd !important; }
.text-bg-danger-subtle { color: #58151c !important; background-color: #f8d7da !important; }
.text-bg-warning-subtle { color: #664d03 !important; background-color: #fff3cd !important; }
.text-bg-info-subtle { color: #055160 !important; background-color: #cff4fc !important; }
.text-bg-light-subtle { color: #495057 !important; background-color: #fcfcfd !important; }
.text-bg-dark-subtle { color: #495057 !important; background-color: #ced4da !important; }

/* border-*-subtle (Bootstrap 5.3+) */
.border-primary-subtle { border-color: #9ec5fe !important; }
.border-secondary-subtle { border-color: #c4c8cb !important; }
.border-success-subtle { border-color: #a3cfbb !important; }
.border-danger-subtle { border-color: #f1aeb5 !important; }
.border-warning-subtle { border-color: #ffe69c !important; }
.border-info-subtle { border-color: #9eeaf9 !important; }
.border-light-subtle { border-color: #e9ecef !important; }
.border-dark-subtle { border-color: #adb5bd !important; }

/* alert-*-subtle (Bootstrap 5.3+) */
.alert-primary-subtle {
    color: #052c65;
    background-color: #cfe2ff;
    border-color: #9ec5fe;
}
.alert-secondary-subtle {
    color: #2b2f32;
    background-color: #e2e3e5;
    border-color: #c4c8cb;
}
.alert-success-subtle {
    color: #0a3622;
    background-color: #d1e7dd;
    border-color: #a3cfbb;
}
.alert-danger-subtle {
    color: #58151c;
    background-color: #f8d7da;
    border-color: #f1aeb5;
}
.alert-warning-subtle {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffe69c;
}
.alert-info-subtle {
    color: #055160;
    background-color: #cff4fc;
    border-color: #9eeaf9;
}
.alert-light-subtle {
    color: #495057;
    background-color: #fcfcfd;
    border-color: #e9ecef;
}
.alert-dark-subtle {
    color: #495057;
    background-color: #ced4da;
    border-color: #adb5bd;
}
