/*
 * theme-do-it-smart.css -- "do IT smart." corporate-design Forgejo theme.
 *
 * Forgejo serves exactly ONE theme stylesheet per active theme (the file
 * theme-<name>.css), so a derived theme imports the base file first and then
 * overrides the handful of CSS custom properties that carry the brand. The
 * base theme (forgejo-dark) defines all its variables on a bare :root, so a
 * later :root block here wins by cascade order -- no data-theme selector juggling.
 *
 * The @import is resolved by the browser relative to THIS file's URL
 * (/assets/css/theme-do-it-smart.css), so it points at the built-in
 * /assets/css/theme-forgejo-dark.css that Forgejo ships. Everything not
 * overridden below is inherited from it unchanged.
 *
 * Two brand changes, matching www.do-it-smart.com:
 *   1. Primary accent: forgejo-dark's orange ramp (#fb923c ...) -> brand
 *      green #10c080 with hover #34e0a0 (the site's --accent / --accent-hover).
 *      The full --color-primary-{dark-N,light-N,alpha-NN} ramp is replaced so
 *      links, buttons, focus rings, active-nav indicators and checkboxes all
 *      read green. -dark-N go lighter (toward white) for dark surfaces, -light-N
 *      go darker; this mirrors how forgejo-dark orders its own ramp.
 *   2. Chrome backgrounds: the page body, top navbar, header wrapper and footer
 *      are repainted to the site's dark palette (bg #111827, lines #1f2937).
 *      The navbar/header/footer sit one notch darker than the body (#0c121e) to
 *      keep forgejo-dark's depth cue. Boxes and secondary surfaces stay on the
 *      inherited steel tones -- they already harmonise and leaving them avoids
 *      disturbing button/border contrast outside the requested chrome scope.
 */

@import url("./theme-forgejo-dark.css");

:root {
  /* --- Primary accent: brand green (replaces the forgejo-dark orange ramp) --- */
  --color-primary: #10c080;
  --color-primary-contrast: #0b141a;      /* near-black, same as the site's button text */

  /* Lighter steps (used on dark surfaces) */
  --color-primary-dark-1: #34e0a0;         /* == site --accent-hover */
  --color-primary-dark-2: #34e0a0;
  --color-primary-dark-3: #6ee7b7;
  --color-primary-dark-4: #6ee7b7;
  --color-primary-dark-5: #a7f3d0;
  --color-primary-dark-6: #a7f3d0;
  --color-primary-dark-7: #d1fae5;

  /* Darker steps (hover/active + light surfaces) */
  --color-primary-light-1: #0ea877;        /* --color-primary-hover resolves here */
  --color-primary-light-2: #0b8a62;        /* --color-primary-active resolves here */
  --color-primary-light-3: #097352;
  --color-primary-light-4: #075e43;
  --color-primary-light-5: #075e43;
  --color-primary-light-6: #064e37;
  --color-primary-light-7: #064e37;

  /* Translucent green (selection highlights, subtle fills) -- brand green + alpha */
  --color-primary-alpha-10: #10c08019;
  --color-primary-alpha-20: #10c08033;
  --color-primary-alpha-30: #10c0804b;
  --color-primary-alpha-40: #10c08066;
  --color-primary-alpha-50: #10c08080;
  --color-primary-alpha-60: #10c08099;
  --color-primary-alpha-70: #10c080b3;
  --color-primary-alpha-80: #10c080cc;
  --color-primary-alpha-90: #10c080e1;

  /* --- Chrome: site dark palette --- */
  --color-body: #111827;                   /* page background (site --bg) */
  --color-nav-bg: #0c121e;                 /* top navbar, a notch darker for depth */
  --color-header-wrapper: #0c121e;
  --color-footer: #0c121e;
  --color-nav-hover-bg: #1f2937;           /* site --line */
}
