/*
 * Presidio theme for Forgejo  ->  deployed as: <CustomPath>/public/assets/css/theme-presidio.css
 * Theme name = filename minus "theme-"/".css"  ->  registered as "presidio".
 * Enable via app.ini [ui] THEMES/DEFAULT_THEME (set through FORGEJO__ui__* env in terraform/ecs.tf).
 *
 * Design intent: recolor Forgejo's primary/accent (buttons, links, active states,
 * selection) to the Presidio palette while inheriting everything else from the
 * built-in forgejo-light theme, which stays loaded underneath. Only CSS custom
 * properties are overridden -- no structural/template CSS -- so this is comparatively
 * upgrade-safe. Re-verify the variable names after major Forgejo upgrades; if a name
 * changed, that control simply keeps its default color (nothing breaks).
 *
 * Palette: Presidio blue #0082b3 (PANTONE 7689 C), orange accent #f58025.
 * The blue ladder below is a placeholder tint/shade ramp -- refine against official
 * brand guidance if Presidio publishes exact secondary values.
 */

:root {
  /* ---- Primary (Presidio blue) ---- */
  --color-primary:            #0082b3;
  --color-primary-contrast:   #ffffff;

  --color-primary-dark-1:     #0075a1;
  --color-primary-dark-2:     #00688f;
  --color-primary-dark-3:     #005b7d;
  --color-primary-dark-4:     #004e6b;
  --color-primary-dark-5:     #004159;
  --color-primary-dark-6:     #003447;
  --color-primary-dark-7:     #002735;

  --color-primary-light-1:    #1a8fbb;
  --color-primary-light-2:    #339cc2;
  --color-primary-light-3:    #4da9ca;
  --color-primary-light-4:    #66b6d1;
  --color-primary-light-5:    #8cc9dc;
  --color-primary-light-6:    #bfe2ec;
  --color-primary-light-7:    #e0f2f7;

  --color-primary-hover:      #1a8fbb;
  --color-primary-active:     #0075a1;

  --color-primary-alpha-30:   rgba(0, 130, 179, 0.30);
  --color-primary-alpha-40:   rgba(0, 130, 179, 0.40);
  --color-primary-alpha-50:   rgba(0, 130, 179, 0.50);
  --color-primary-alpha-60:   rgba(0, 130, 179, 0.60);
  --color-primary-alpha-70:   rgba(0, 130, 179, 0.70);
  --color-primary-alpha-80:   rgba(0, 130, 179, 0.80);
  --color-primary-alpha-90:   rgba(0, 130, 179, 0.90);

  /* ---- Accent (Presidio orange) ---- used for highlights / focus emphasis ---- */
  --color-accent:             #f58025;

  /* Hyperlinks tie to the primary brand blue */
  --color-link:               #0082b3;
  --color-link-hover:         #1a8fbb;
  --color-link-active:        #0075a1;
}

/*
 * OPTIONAL branded header bar (off by default -- uncomment to paint the top navbar
 * Presidio blue with light text; verify contrast/dropdowns before enabling in prod):
 *
 * :root {
 *   --color-nav-bg:   #0082b3;
 *   --color-nav-text: #ffffff;
 * }
 */
