/* ==========================================================================
   Sisu Theme Overrides
   ==========================================================================
   Loaded immediately after the active Radzen theme stylesheet.
   Place any Sisu-specific overrides of Radzen CSS variables or component
   styles here.  Rules in this file apply regardless of which theme is active.

   Load order (both Blazor WASM and MAUI):
     1. bootstrap.min.css
     2. _content/Radzen.Blazor/css/{theme}.css   (id="theme")
     3. THIS FILE                                 (id="sisu-overrides")
     4. app.css
     5. mainlayout.css
     6. *.styles.css  (scoped CSS bundle)
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Sisu compact-layout variable overrides
   These replace the previous !important property hacks in app.css so every
   Radzen theme (Material, Default, Dark, Standard) can consume the values
   through its own selectors instead of being forcibly overridden.
   --------------------------------------------------------------------------- */
:root {
    /* Grid / DataTable cell padding  (theme default: 0.625rem 1rem) */
    --rz-grid-cell-padding: 0.16rem 0.5rem;

    /* FormField content top spacing  (theme default: 0.5rem 0) */
    --rz-form-field-margin-block: 0 0;

    /* Layout body padding            (theme default: 1rem) */
    --rz-layout-body-padding: 0.5rem;

    /* Tab panel padding               (theme default: 1rem) */
    --rz-tabs-padding: 0.5rem;
}
