/* flat.css — owner design rule (2026-11-23): neutral flat colors, NO outer glow, NO drop shadows,
   production and the Encore sandbox alike. Loaded after every other stylesheet in App.razor.

   The app's own CSS was swept (box-shadow / text-shadow / drop-shadow / glow backgrounds removed,
   --shadow-* tokens = none). This file covers what the sweep can't edit: Bootstrap 5.0's own focus
   halos (0 0 0 .25rem translucent) and shadow utilities, plus a text-shadow safety net.
   Separation = hairline borders. Focus = a flat 1px ring that doubles the border (inputs) or a 2px
   solid outline (everything else) — never a blurred or translucent halo. */

/* Bootstrap shadow utilities */
.shadow, .shadow-sm, .shadow-lg, .toast, .popover, .dropdown-menu { box-shadow: none !important; }

/* Text never glows */
*, *::before, *::after { text-shadow: none !important; }

/* Inputs: border + 1px ring in the brand color */
.form-control:focus, .form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 1px var(--brand-primary);
}

/* Buttons, checks, links: no halo; keyboard focus gets a solid outline */
.btn:focus, .btn:active:focus, .btn-check:focus + .btn, .btn-check:active + .btn:focus,
.btn-close:focus, .page-link:focus, .accordion-button:focus, .navbar-toggler:focus,
.form-check-input:focus, .list-group-item-action:focus {
    box-shadow: none !important;
}
.btn:focus-visible, .btn-check:focus-visible + .btn, .btn-close:focus-visible, .page-link:focus-visible,
.accordion-button:focus-visible, .navbar-toggler:focus-visible, .form-check-input:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}
.form-check-input:focus { border-color: var(--brand-primary); }

/* Range thumbs */
.form-range:focus::-webkit-slider-thumb, .form-range:focus::-moz-range-thumb { box-shadow: none; }
