/*
  Procopius default theme-option for theme.park's authelia-base.css.
  The fleet's own homelab palette — deep forest green (matching the mini-rack
  logo chassis) with a burnt-orange accent on buttons. Used as the default
  portal theme for services with no `auth.theme` set, and for generic pages.

  Adaptive: dark is the base, with a light variant under prefers-color-scheme
  so the default portal honors the visitor's OS mode (upstream theme.park
  palettes are all fixed dark; per-service palettes keep that fixed identity).

  Variable set mirrors theme.park's theme-options/*.css so it drops straight
  into the same authelia-base.css consumer.
*/
:root {
  --main-bg-color: #0e3d2d;

  --modal-bg-color: #123f2e;
  --modal-header-color: #17624a;
  --modal-footer-color: #17624a;

  --drop-down-menu-bg: #103b2c;

  --button-color: #a65f1b;
  --button-color-hover: #c47320;
  --button-text: #0e3d2d;
  --button-text-hover: #ffffff;

  --accent-color: 166, 95, 27;
  --accent-color-hover: rgb(var(--accent-color), .8);
  --link-color: #3aa574;
  --link-color-hover: #43c07a;
  --label-text-color: #eaf3ee;

  --text: #eaf3ee;
  --text-hover: #ffffff;
  --text-muted: #8fb3a1;

  /*Surfaces (see the base-css addition: dark keeps the upstream glass)*/
  --tp-card-bg: var(--transparency-dark-35);
  --tp-appbar-bg: var(--transparency-dark-25);
  --tp-divider-color: var(--transparency-light-10);

  /*Specials*/
  --arr-queue-color: #3aa574;
  --plex-poster-unwatched: #a65f1b;
  --petio-spinner: invert(58%) sepia(25%) saturate(600%) hue-rotate(100deg) brightness(90%) contrast(85%);
  --gitea-color-primary-dark-4: 58, 165, 116;
  --overseerr-gradient: linear-gradient(180deg, rgba(14, 61, 45, 0.17) 0%, rgba(14, 61, 45) 100%);
}

@media (prefers-color-scheme: light) {
  :root {
    --main-bg-color: #eef4f0;

    --modal-bg-color: #ffffff;
    --modal-header-color: #dfeae3;
    --modal-footer-color: #dfeae3;

    --drop-down-menu-bg: #ffffff;

    --button-color: #a65f1b;
    --button-color-hover: #c47320;
    --button-text: #ffffff;
    --button-text-hover: #ffffff;

    --accent-color: 166, 95, 27;
    --accent-color-hover: rgb(var(--accent-color), .8);
    --link-color: #145c42;
    --link-color-hover: #17624a;
    --label-text-color: #0e3d2d;

    --text: #143528;
    --text-hover: #0a2018;
    --text-muted: #4a6b5c;

    /*Surfaces: crisp white card on the pale sage body*/
    --tp-card-bg: var(--modal-bg-color);
    --tp-appbar-bg: #dfeae3;
    --tp-divider-color: var(--transparency-dark-15);

    --overseerr-gradient: linear-gradient(180deg, rgba(238, 244, 240, 0.17) 0%, rgba(238, 244, 240) 100%);
  }
}
