/* Dashboard Color Fixes for Better Readability */

/* Fix muscle label text to be black and visible */
.muscle-label {
  fill: #000000 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

/* Ensure muscle group SVG text is black */
.muscle-groups-svg text {
  fill: #000000 !important;
}

/* Fix text on dark backgrounds in workout history */
.workout-history,
.history-section,
.dark-bg {
  color: #ffffff !important;
}

.workout-history h2,
.workout-history h3,
.workout-history h4,
.workout-history p,
.workout-history span,
.history-section h2,
.history-section h3,
.history-section h4,
.history-section p,
.history-section span {
  color: #ffffff !important;
}

/* Ensure dark background sections have white text */
.dark-section,
[class*="dark-bg"],
[class*="bg-dark"] {
  color: #ffffff !important;
}

.dark-section *,
[class*="dark-bg"] *,
[class*="bg-dark"] * {
  color: #ffffff !important;
}

/* Fix muscle legend text to be black */
.muscle-legend .legend-text {
  color: #000000 !important;
}

/* Ensure stat values are visible on their backgrounds */
.stat-value {
  color: var(--text-color, #1a1a1a) !important;
  font-weight: 600 !important;
}

/* Fix any text on accent or colored backgrounds */
.accent-bg *,
.primary-bg *,
.success-bg * {
  color: #ffffff !important;
}

/* Ensure form inputs have proper contrast */
input, 
select, 
textarea {
  color: #1a1a1a !important;
  background-color: #ffffff !important;
}

/* Fix placeholder text */
input::placeholder,
textarea::placeholder {
  color: #666666 !important;
}