/* Global Text Visibility Fixes */

/* Ensure all text is visible */
body {
    color: #212529 !important;
}

/* Form elements */
.form-label {
    color: #212529 !important;
}

.form-control {
    color: #212529 !important;
}

.form-select {
    color: #212529 !important;
}

.form-text {
    color: #6c757d !important;
}

/* Card elements */
.card {
    color: #212529 !important;
}

.card-title {
    color: #212529 !important;
}

.card-text {
    color: #495057 !important;
}

.card-header {
    color: #212529 !important;
}

.card-body {
    color: #212529 !important;
}

.card-footer {
    color: #212529 !important;
}

/* Modal elements */
.modal-title {
    color: #212529 !important;
}

.modal-body {
    color: #212529 !important;
}

.modal-header {
    color: #212529 !important;
}

.modal-footer {
    color: #212529 !important;
}

/* Table elements */
.table {
    color: #212529 !important;
}

.table th {
    color: #212529 !important;
}

.table td {
    color: #212529 !important;
}

/* Text utilities */
.text-dark {
    color: #212529 !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-secondary {
    color: #6c757d !important;
}

/* Paragraphs and text */
p {
    color: #212529 !important;
}

strong {
    color: #212529 !important;
}

b {
    color: #212529 !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #212529 !important;
}

/* Lists */
ul, ol {
    color: #212529 !important;
}

li {
    color: #212529 !important;
}

/* Alert fixes */
.alert {
    color: inherit !important;
}

.alert-info {
    color: #0c5460 !important;
}

.alert-info h6 {
    color: #0c5460 !important;
}

.alert-info ul {
    color: #0c5460 !important;
}

.alert-info li {
    color: #0c5460 !important;
}

/* Button text */
.btn {
    color: inherit !important;
}

.btn-outline-secondary {
    color: #6c757d !important;
}

.btn-outline-secondary:hover {
    color: white !important;
}

/* Badge styling for better visibility */
.badge {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.25rem !important;
}

/* Badge color overrides for better contrast */
.badge.bg-primary {
    background-color: #0d6efd !important;
    color: #ffffff !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
    color: #ffffff !important;
}

.badge.bg-success {
    background-color: #198754 !important;
    color: #ffffff !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge.bg-info {
    background-color: #0dcaf0 !important;
    color: #000000 !important;
}

.badge.bg-light {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

.badge.bg-dark {
    background-color: #212529 !important;
    color: #ffffff !important;
}

/* Status badge specific styling */
.status-badge {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.25rem !important;
}

.status-badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.status-badge.bg-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.status-badge.bg-success {
    background-color: #198754 !important;
    color: #ffffff !important;
}

/* Small text */
small {
    color: #6c757d !important;
}

/* Input placeholders */
::placeholder {
    color: #6c757d !important;
    opacity: 1;
}

/* Focus states */
.form-control:focus {
    color: #212529 !important;
}

.form-select:focus {
    color: #212529 !important;
}

/* Disabled states */
.form-control:disabled {
    color: #6c757d !important;
}

.form-select:disabled {
    color: #6c757d !important;
}

/* Readonly states */
.form-control[readonly] {
    color: #212529 !important;
}

/* Ensure proper contrast for all interactive elements */
a {
    color: #0d6efd !important;
}

a:hover {
    color: #0a58ca !important;
}

/* Fix any remaining white text issues */
.text-white {
    color: white !important;
}

/* Ensure proper visibility for icons */
.fas, .far, .fab {
    color: inherit !important;
}

/* Fix dropdown text */
.dropdown-menu {
    color: #212529 !important;
}

.dropdown-item {
    color: #212529 !important;
}

.dropdown-item:hover {
    color: #212529 !important;
}

/* Fix pagination text */
.pagination {
    color: #212529 !important;
}

.page-link {
    color: #0d6efd !important;
}

.page-link:hover {
    color: #0a58ca !important;
}

/* Fix breadcrumb text */
.breadcrumb {
    color: #212529 !important;
}

.breadcrumb-item {
    color: #212529 !important;
}

/* Fix progress bar text */
.progress {
    color: #212529 !important;
}

/* Fix tooltip text */
.tooltip {
    color: #212529 !important;
}

/* Fix popover text */
.popover {
    color: #212529 !important;
}

.popover-header {
    color: #212529 !important;
}

.popover-body {
    color: #212529 !important;
}




