/* Softwaredam: minimal dark theme.
 * Builds on the built-in forgejo-dark theme and only swaps the palette:
 * navy greys (from softwaredam.com, #0B1220 / #151724) and the brand orange #FF4A00.
 * Everything else (code highlighting, markup, layout) is inherited. */
@import "theme-forgejo-dark.css";

:root {
  /* neutral scale: every surface, border and text color derives from this */
  --steel-900: #080d17;
  --steel-850: #0b1220;
  --steel-800: #0f1626;
  --steel-750: #141c2e;
  --steel-700: #1a2338;
  --steel-650: #222c44;
  --steel-600: #2d3852;
  --steel-550: #3b4863;
  --steel-500: #4b5977;
  --steel-450: #5f6d8a;
  --steel-400: #75829e;
  --steel-350: #8b97b0;
  --steel-300: #a1abc2;
  --steel-250: #b5bed1;
  --steel-200: #c8cfdd;
  --steel-150: #d9dee8;
  --steel-100: #e8ebf2;

  /* brand accent #FF4A00 */
  --color-primary: #ff4a00;
  --color-primary-contrast: #0b1220;
  --color-primary-dark-1: #ff5f1f;
  --color-primary-dark-2: #ff7440;
  --color-primary-dark-3: #ff8a61;
  --color-primary-dark-4: #ff9f80;
  --color-primary-dark-5: #ffb5a0;
  --color-primary-dark-6: #ffcabf;
  --color-primary-dark-7: #ffe0da;
  --color-primary-light-1: #e64300;
  --color-primary-light-2: #cc3b00;
  --color-primary-light-3: #b33400;
  --color-primary-light-4: #992c00;
  --color-primary-light-5: #802500;
  --color-primary-light-6: #661d00;
  --color-primary-light-7: #4d1600;
  --color-primary-alpha-10: #ff4a0019;
  --color-primary-alpha-20: #ff4a0033;
  --color-primary-alpha-30: #ff4a004b;
  --color-primary-alpha-40: #ff4a0066;
  --color-primary-alpha-50: #ff4a0080;
  --color-primary-alpha-60: #ff4a0099;
  --color-primary-alpha-70: #ff4a00b3;
  --color-primary-alpha-80: #ff4a00cc;
  --color-primary-alpha-90: #ff4a00e1;

  /* flat, quiet surfaces */
  --color-body: var(--steel-850);
  --color-nav-bg: var(--steel-900);
  --color-header-wrapper: var(--steel-900);
  --color-footer: var(--steel-900);
  --color-box-header: var(--steel-750);
  --color-box-body: var(--steel-800);
  --color-input-background: var(--steel-800);
  --color-code-bg: var(--steel-800);
  --color-markup-code-block: var(--steel-800);
  --color-markup-code-inline: var(--steel-750);
  --color-shadow: #00000080;
}

/* logo in the navbar: keep it crisp and slightly smaller */
#navbar .navbar-left img {
  height: 28px;
  width: 28px;
}

/* hide the page footer (version, licenses, "Powered by Forgejo", language picker) */
footer.page-footer {
  display: none;
}

/* hide the "Help" link in the navbar (it points to the Forgejo docs) */
#navbar a.item[href^="https://forgejo.org/docs"] {
  display: none;
}
