/* Text Color Fix - Override all light text colors to #3d3333 */

/* Global text color reset */
body, html {
  color: #3d3333 !important;
}

/* All paragraph and text elements */
p, span, div, li, td, th {
  color: #3d3333 !important;
}

/* Card text specifically */
.card-text, .card-body p, .card-body {
  color: #3d3333 !important;
}

/* Bootstrap text utilities override */
.text-muted, .text-secondary, .text-light {
  color: #3d3333 !important;
}

/* Form text and help text */
.form-text, .help-text, small {
  color: #3d3333 !important;
}

/* Additional form elements for better contrast */
.form-label, label {
  color: #3d3333 !important;
}

/* Select dropdown text and options */
select, select option {
  color: #3d3333 !important;
}

/* File input styling */
.form-control[type="file"] {
  color: #3d3333 !important;
}

/* Button text that might be too light */
.btn-link {
  color: #3d3333 !important;
}

.btn-link:hover {
  color: #212529 !important;
}

/* Headings if they're too light */
h1, h2, h3, h4, h5, h6 {
  color: #3d3333 !important;
}

/* List items */
ul li, ol li, .list-group-item {
  color: #3d3333 !important;
}

/* Table content */
table, .table td, .table th {
  color: #3d3333 !important;
}

/* Ensure white text stays white for dark backgrounds */
.bg-dark,
.btn-primary,
.card-header {
  color: #fff !important;
}

/* Navigation text should use dark color on teal background */
.navbar-brand, .nav-link {
  color: #3d3333 !important;
}

/* Exception: Keep white text only on dark navbar backgrounds */
.navbar-dark .navbar-nav .nav-link {
  color: #fff !important;
}