/*
 * Matthew (AI), 2026-09-25 10:19, owner's request: Matrix's overrides of Tabler 1.5.1.
 *
 * Linked straight after tabler.min.css in App.razor, so a rule here wins over Tabler's own and loses to app.css
 * and to a component's scoped styles. Only overrides of Tabler belong here - a style of Matrix's own goes in app.css.
 * Tabler sets most of its spacing through CSS variables, so an override sets the variable rather than the property:
 * that way Tabler's own rules, media queries and size classes keep working, just with our values.
 */

/*
 * Card bodies: half Tabler's padding, at every size.
 *
 * Tabler 1.5.1 (dist/css/tabler.css) pads .card-body with --tblr-card-spacer-y / -x, both 1.25rem, and the size
 * classes with --tblr-card-body-padding-sm (1rem, .card-sm), -md (2.5rem, .card-md from 768px), -lg (2rem, .card-lg
 * from 768px) and -lg-up (4rem, .card-lg from 992px). Each is halved below. The spacers are set on .card-body alone,
 * not on .card, so a card's header, footer and title keep Tabler's spacing. Print is Tabler's own, padding 0.
 */
.card-body {
    --tblr-card-spacer-y: 0.625rem;
    --tblr-card-spacer-x: 0.625rem;
    --tblr-card-body-padding-sm: 0.5rem;
    --tblr-card-body-padding-md: 1.25rem;
    --tblr-card-body-padding-lg: 1rem;
    --tblr-card-body-padding-lg-up: 2rem;
}

/*
 * Matthew (AI), 2026-09-26 12:50, owner's request: no underline on the navbar brand link.
 *
 * Tabler underlines every link on hover and focus. The brand - the logo and the word "Matrix" - is a link to home,
 * but it reads as the product's name rather than as a link, and an underline running under the logo image looks
 * like a rendering fault. Scoped to links inside .navbar-brand, so every other link keeps Tabler's behaviour.
 */
.navbar-brand a,
.navbar-brand a:hover,
.navbar-brand a:focus {
    text-decoration: none;
}
