﻿/* =============================================================
   App-wide tint — DO11961
   --------------------------------------------------------------
   Replaces DevExpress's neutral-grey app-wrapper background
   (normally --dxds-color-surface-neutral-default-hovered = #f4f4f3)
   with a very tenuous tint of the current Fluent accent. The
   tint propagates across all areas that inherit the wrapper
   background: behind the ribbon tabs (Home/View/Tools), behind
   the listview grid, behind detail views, etc.

   Scope target: .app.main-ribbon-template — the outermost
   content wrapper rendered by the XAF Blazor main template.
   ============================================================= */
/* DevExpress ships a rule at specificity (0,0,3,0):
     .dxbl-theme-fluent .main-ribbon-template.app { background: ... }
   We match the Fluent theme scope so our override wins on specificity. */
.dxbl-theme-fluent .app.main-ribbon-template {
    /* Accent percentage for the app-wide surface tint. Bump up for
       a more saturated look, down for a more neutral one. 4% reads
       as "nearly white with a hint of brand color" on Rust/Rose/
       Orchid presets; on Storm/Steel it stays near-grey. */
    --gipstech-app-accent-tint: 6%;

    background-color: color-mix(
        in srgb,
        var(--dxds-color-surface-primary-default-rest) var(--gipstech-app-accent-tint),
        transparent
    ) !important;
}

/* =============================================================
   Settings panel — theme list without the left gutter
   ============================================================= */
.theme-settings{
    padding-left: 0 !important;
}
