/*
 * Light-mode contrast boost (Phoenix theme)
 *
 * Users reported the light theme is "too white". This file raises contrast by:
 *   1. Stronger borders   - gray-200 (#e3e6ed) -> #c3c9d6 so white-on-white edges are visible
 *   2. Darker page canvas - #f5f7fa -> #e6eaf1 so white cards/grids/modals stand out
 *   4. Darker text        - body #31374a -> #1f2533, muted #8a94ad (~3:1) -> #5b6580 (AA 4.5:1+)
 *
 * Scoped to light mode only (:root:not(.dark)); dark mode is untouched.
 * Load AFTER theme.css and bs-phoenix-bridge.css. To revert, remove the <link>.
 */

:root:not(.dark) {
    /* 2. Page canvas */
    --phoenix-body-bg: #e6eaf1;
    --phoenix-body-bg-rgb: 230, 234, 241;

    /* 1. Borders */
    --phoenix-border-color: #c3c9d6;
    --phoenix-table-border-color: #c3c9d6;
    --phoenix-input-border-color: #a9b1c3;

    /* 4. Text */
    --phoenix-body-color: #1f2533;
    --phoenix-body-color-rgb: 31, 37, 51;
    --phoenix-headings-color: #141824;
    --phoenix-input-color: #1f2533;
}

/* 4. Muted text - the original #8a94ad fails WCAG AA on white */
:root:not(.dark) .text-muted {
    color: #5b6580 !important;
}
