/* ZedGate colours, shared by the Mini App and the payment page.
   theme.js shows whichever mode the user's Telegram (or, outside Telegram, the device) uses. Both
   palettes follow Telegram's stock themes (Night / Day) and are replaced by the user's own
   Telegram colours when available. Dark is only the no-JavaScript fallback. */

:root,
:root[data-theme="dark"] {
  --bg: #0e1621;          /* page, like Telegram's secondary background */
  --surface: #17212b;     /* sections and cards */
  --text: #f5f5f5;
  --subtle: #98a8b8;      /* secondary text */
  --hint: #708499;
  --accent: #5288c1;      /* buttons */
  --on-accent: #ffffff;
  --link: #6ab3f3;        /* links, section titles, the approval stamp */
  --danger: #ec3942;
  --ok: #4cc38a;
  --warn: #e8a33d;
  --sep: #223041;
  --field: #232e3c;       /* inputs and wells inside a section */
  --track: #36475a;       /* switch and progress tracks */
  --accent-wash: #1f3348;
  --ok-wash: #1d3836;
  --warn-wash: #36332b;
  --danger-wash: #37232d;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #efeff4;
  --surface: #ffffff;
  --text: #000000;
  --subtle: #6d6d72;
  --hint: #8e8e93;
  --accent: #3390ec;
  --on-accent: #ffffff;
  --link: #3390ec;
  --danger: #e53935;
  --ok: #1f9d55;
  --warn: #b26b00;
  --sep: #e3e3e8;
  --field: #f1f1f4;
  --track: #d8d8de;
  --accent-wash: #eaf3fd;
  --ok-wash: #e4f3ea;
  --warn-wash: #f7eedf;
  --danger-wash: #fce8e7;
  color-scheme: light;
}
