/**
 * Global theme customization for Docusaurus with black/white base
 * and warm amber/red tint.
 */

 :root {
  --ifm-color-primary: #ff914d; /* soft orange / amber */
  --ifm-color-primary-dark: #e67e36;
  --ifm-color-primary-darker: #cc6f2f;
  --ifm-color-primary-darkest: #b35f29;
  --ifm-color-primary-light: #ffa263;
  --ifm-color-primary-lighter: #ffb380;
  --ifm-color-primary-lightest: #ffc499;

  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.05);

  /* Optional: Global fonts or overrides */
  /* --ifm-font-family-base: 'Inter', sans-serif; */
}

/* Dark mode: invert the base, preserve warm highlight */
[data-theme='dark'] {
  --ifm-color-primary: #ff9e63; /* slightly brighter in dark */
  --ifm-color-primary-dark: #ff8a3d;
  --ifm-color-primary-darker: #e6732b;
  --ifm-color-primary-darkest: #cc5c1a;
  --ifm-color-primary-light: #ffb17d;
  --ifm-color-primary-lighter: #ffc69c;
  --ifm-color-primary-lightest: #ffd7b8;

  --docusaurus-highlighted-code-line-bg: rgba(255, 255, 255, 0.05);
}
