/*
 * Fix for Tutor LMS's own login modal (native "Add to Cart"/enroll login
 * prompt, and the "Register or Login" link) rendering with barely-readable
 * input text on this theme.
 *
 * Tutor's own `.tutor-form-control` rule (tutor.min.css) sets
 * `color: var(--tutor-color-black)` — but that custom property is never
 * actually defined anywhere in Tutor LMS or Tutor Pro's own stylesheets. An
 * invalid var() reference on an inherited property like `color` falls back
 * to the INHERITED value rather than Tutor's intended solid black, so the
 * login modal's input text silently inherits whatever ambient `body` color
 * this theme's own active per-page bundle happens to set. Every one of this
 * theme's 7 Unicat-derived per-page bundles (about/contact/blog/blog_single/
 * course/courses/main_styles.css) sets `body { color: #a5a5a5; }` as its own
 * base text color — light gray — hence the low-contrast typed text.
 * Confirmed live via DevTools' Computed panel: the winning `color` traced
 * through `var(--tutor-color-black)` (tutor.min.css) -> the UA stylesheet's
 * `fieldtext` default -> this theme's own `body` #a5a5a5 rule.
 *
 * NOT a bug in this theme's own `body{color:#a5a5a5}` rule itself — that's
 * the deliberate, intentional base text color shared by all 7 per-page
 * bundles (see "Asset enqueue convention" in CLAUDE.md), not a scoping
 * mistake like the `.search`/`.blog`/`.home` landmines documented there. The
 * actual defect is on Tutor LMS's own side (an undefined CSS variable it
 * never guards with a fallback), so this is a narrow, standalone patch
 * rather than a rename/rescope of anything inside the 7 duplicated bundles.
 *
 * Loaded unconditionally (see inc/enqueue.php) so it applies no matter which
 * page-specific bundle happens to be active wherever the modal is opened
 * from — the id-scoped selector below already outranks a bare `body`
 * element selector by specificity alone, so load order relative to those
 * bundles doesn't matter.
 */
#tutor-login-form input.tutor-form-control {
	color: #212529;
}
