/* NexusOS palette — derived from the n-small.png logo.
   Lime green = primary accent (hover/active/focus).
   Purple    = secondary accent (selection/highlight).
   Swap their roles in later segments if preferred. */

/* ── Brand ─────────────────────────────────────────── */
@define-color brand_green         #8cc63f;
@define-color brand_green_light   #b8e373;
@define-color brand_green_dark    #6ba62a;
@define-color brand_purple        #88008f;
@define-color brand_purple_light  #a232a8;
@define-color brand_purple_dark   #5e0066;

/* ── Foundation (dark) ─────────────────────────────── */
@define-color base_bg             #1e1526;  /* deepest background — dark purple */
@define-color surface_bg          #1f2225;  /* cards, popovers, entries */
@define-color surface_bg_alt      #2a2e32;  /* alt rows, headerbars */
@define-color overlay_bg          #2e3236;  /* tooltips, raised surfaces */
@define-color border              #2e3236;
@define-color border_strong       #3a3d41;
@define-color menu_bg             #2a1d33;  /* dark purple — menus/popovers/whisker */
@define-color menu_border         #4d3461;  /* purple frame + separators on menu_bg */

/* ── Text ──────────────────────────────────────────── */
@define-color text_primary        #f2f2f2;
@define-color text_secondary      #a8a8a8;
@define-color text_disabled       #6e7173;
@define-color text_on_accent      #0a0a00;  /* sits on lime green */
@define-color text_on_selection   #ffffff;  /* sits on purple */

/* ── Interaction states ────────────────────────────── */
@define-color hover_bg            alpha(@brand_green, 0.18);
@define-color active_bg           @brand_green;
@define-color active_fg           @text_on_accent;
@define-color selected_bg         @brand_purple;
@define-color selected_fg         @text_on_selection;
@define-color focus_ring          @brand_green;

/* ── Semantic ──────────────────────────────────────── */
@define-color success_color       #27ae60;
@define-color warning_color       #f67400;
@define-color error_color         #da4453;
@define-color info_color          @brand_green;

/* ── GTK named-color aliases (compatibility) ───────── */
/* GTK widgets reference these well-known names internally;
   keeping them in sync with our brand palette avoids gaps. */
@define-color theme_bg_color           @base_bg;
@define-color theme_fg_color           @text_primary;
@define-color theme_base_color         @base_bg;
@define-color theme_text_color         @text_primary;
@define-color theme_selected_bg_color  @brand_green;
@define-color theme_selected_fg_color  @active_fg;
@define-color theme_hovering_selected_bg_color @brand_green_light;
@define-color theme_unfocused_bg_color @surface_bg;
@define-color theme_unfocused_fg_color @text_secondary;
@define-color theme_unfocused_base_color @base_bg;
@define-color theme_unfocused_text_color @text_secondary;
@define-color theme_unfocused_selected_bg_color @brand_purple_dark;
@define-color theme_unfocused_selected_fg_color @selected_fg;
@define-color borders                  @border;
@define-color unfocused_borders        @border;
@define-color insensitive_bg_color     @surface_bg;
@define-color insensitive_fg_color     @text_disabled;
@define-color insensitive_base_color   @base_bg;
@define-color insensitive_borders      @border_strong;
@define-color content_view_bg          @base_bg;
@define-color link_color               @brand_green_light;
@define-color link_visited_color       @brand_purple_light;
@define-color tooltip_background       @overlay_bg;
@define-color tooltip_text             @text_primary;
@define-color tooltip_border           @border_strong;
