/* Default theme (dark) */
html,
html:has(body.dark-theme) {
  --background: #14181f;
  --background-96: rgba(20, 24, 31, .96);
  --card: #1b2028;
  --field: #252c37;
  --disabled: #1f252e;
  --overlay: rgba(10, 12, 15, 0.7);
  --text-main: #ffffff;
  --text-secondary: #878d95;
  --text-secondary-40: rgba(135, 141, 149, .4);
  --text-contrast: #ffffff;
  --divider: #333d4c;
  --accent: #3385ff;
  --accent-hover: #4d94ff;
  --accent-10: #3385ff1a;
  --accent-40: rgba(51, 133, 255, .4);
  --gradient: linear-gradient(180deg, #00c58a 0%, rgba(0, 197, 138, 0) 100%);
  --demo: #a42cbd;
  --negative: #bf3838;
  --negative-20: rgba(191, 56, 56, .2);
  --positive: #459b18;
  --positive-20: rgba(52, 163, 34, .2);
  --medium: #b59807;
  --medium-20: rgba(181, 152, 7, .2);
  --tooltip: rgba(0, 0, 0, .88);
  --optional-external-bg: url('../assets/images/external-bg.png');
  --optional-external-bg-position: 0 0;
  --optional-external-bg-size: cover;
  --optional-external-bg-repeat: no-repeat;
  --optional-external-bg-attachment: fixed;
}

/* Light theme */
html:has(body.light-theme) {
  --background: #ffffff;
  --background-96: rgba(255, 255, 255, .96);
  --card: #f6f7f9;
  --field: #e7eaef;
  --disabled: #f0f2f5;
  --overlay: #181a264d;
  --text-main: #14181f;
  --text-secondary: #6c717a;
  --text-secondary-40: rgba(108, 113, 122, 0.4);
  --text-contrast: #ffffff;
  --divider: #d1d7e0;
  --accent: #3385ff;
  --accent-hover: #4d94ff;
  --accent-10: #3385ff1a;
  --accent-40: rgba(51, 133, 255, .4);
  --gradient: linear-gradient(180deg, #00c58a 0%, rgba(0, 197, 138, 0) 100%);
  --demo: #a42cbd;
  --negative: #bf3838;
  --negative-20: rgba(191, 56, 56, .2);
  --positive: #459b18;
  --positive-20: rgba(52, 163, 34, .2);
  --medium: #b59807;
  --medium-20: rgba(181, 152, 7, .2);
  --tooltip: rgba(0, 0, 0, .88);
  --optional-external-bg: url('../assets/images/external-bg.png');
  --optional-external-bg-position: 0 0;
  --optional-external-bg-size: cover;
  --optional-external-bg-repeat: no-repeat;
  --optional-external-bg-attachment: fixed;
}
