/*
    ============================================================
    DriveAway Warranty CRM - Centralized Color Theme
    ============================================================
    This is the single source of truth for brand colors across
    the entire system (MVC views, Razor Pages, and Blazor apps).

    To change the system-wide color scheme, update the variables
    below only. Do NOT hard-code hex colors in other stylesheets;
    reference these variables instead (e.g. var(--primary-color)).

    Palette derived from the DriveAway Warranty logo / credits box:
      - Primary : #2b2b2b (dark-surface, matches the credits box background)
      - Green   : #91bf22 (accent)
    ============================================================
*/

:root {
    /* Primary brand color (credits box dark-surface color, replaces old navy) */
    --primary-color: #2b2b2b;
    --primary-color-light: #3f3f3f;
    --primary-color-dark: #1a1a1a;

    /* Accent brand color (logo green) */
    --accent-color: #91bf22;
    --accent-color-hover: #7aa31c;
    --accent-color-dark: #4b630f;

    /* Text colors for use on colored backgrounds */
    --text-on-primary: #ffffff;
    --text-on-accent: #ffffff;

    /* Neutral / supporting tones */
    --neutral-dark: #242424;
    --neutral-medium: #666666;
    --neutral-light: #f4f6f9;
    --border-color: #d9dee6;

    /* Dark surface - used instead of navy for dark UI chrome (headers, badges, etc.) */
    --dark-surface: #2b2b2b;
    --dark-surface-light: #3f3f3f;

    /* Primary action buttons (e.g. Sign In) - green driven, navy as supporting accent */
    --btn-primary-gradient-start: var(--accent-color-dark);
    --btn-primary-gradient-end: #6e9122;
    --btn-primary-gradient-start-hover: #6e9122;
    --btn-primary-gradient-end-hover: var(--accent-color-hover);
    --btn-hover: var(--accent-color-dark);
    --btn-glow: rgba(110, 145, 34, 0.5);

    /* Links (e.g. "Sign Up Now") */
    --link-color: var(--accent-color-dark);
    --link-color-hover: var(--accent-color);

    /* Popup / modal header color (theme green) */
    --popup-header-color: var(--accent-color-dark);
}
