/* Bootstrap token layer — the exact compiled values RV Theme produces from
   src/scss/_variables.scss (Bootstrap 5.3.6). Loaded after Bootstrap's own CSS
   so these override the stock defaults.
   Source of truth: rv-theme/src/scss/_variables.scss */

:root, [data-bs-theme=light] {
  --bs-gray: #63646b;
  --bs-gray-dark: #2f3138;
  --bs-gray-100: #ecedee;
  --bs-gray-200: #e6e7ec;
  --bs-gray-300: #d5d6dd;
  --bs-gray-400: #bec0ca;
  --bs-gray-500: #797a7f;
  --bs-gray-600: #63646b;
  --bs-gray-700: #4d4e55;
  --bs-gray-800: #2f3138;
  --bs-gray-900: #111827;

  --bs-primary: #0e8fce;
  --bs-secondary: #797a7f;
  --bs-success: #75C31B;
  --bs-info: #0e8fce;
  --bs-warning: #ffc037;
  --bs-danger: #d83e7c;
  --bs-light: #ecedee;
  --bs-dark: #20222a;

  --bs-primary-rgb: 14, 143, 206; /* @kind color */
  --bs-secondary-rgb: 121, 122, 127; /* @kind color */
  --bs-success-rgb: 117, 195, 27; /* @kind color */
  --bs-info-rgb: 14, 143, 206; /* @kind color */
  --bs-warning-rgb: 255, 192, 55; /* @kind color */
  --bs-danger-rgb: 216, 62, 124; /* @kind color */
  --bs-light-rgb: 236, 237, 238; /* @kind color */
  --bs-dark-rgb: 32, 34, 42; /* @kind color */

  --bs-primary-text-emphasis: rgb(5.6, 57.2, 82.4);
  --bs-secondary-text-emphasis: rgb(48.4, 48.8, 50.8);
  --bs-success-text-emphasis: rgb(46.8, 78, 10.8);
  --bs-info-text-emphasis: rgb(5.6, 57.2, 82.4);
  --bs-warning-text-emphasis: rgb(102, 76.8, 22);
  --bs-danger-text-emphasis: rgb(86.4, 24.8, 49.6);
  --bs-light-text-emphasis: #4d4e55;
  --bs-dark-text-emphasis: #4d4e55;

  --bs-primary-bg-subtle: rgb(206.8, 232.6, 245.2);
  --bs-secondary-bg-subtle: rgb(228.2, 228.4, 229.4);
  --bs-success-bg-subtle: rgb(227.4, 243, 209.4);
  --bs-info-bg-subtle: rgb(206.8, 232.6, 245.2);
  --bs-warning-bg-subtle: rgb(255, 242.4, 215);
  --bs-danger-bg-subtle: rgb(247.2, 216.4, 228.8);
  --bs-light-bg-subtle: rgb(245.5, 246, 246.5);
  --bs-dark-bg-subtle: #bec0ca;

  --bs-primary-border-subtle: rgb(158.6, 210.2, 235.4);
  --bs-secondary-border-subtle: rgb(201.4, 201.8, 203.8);
  --bs-success-border-subtle: rgb(199.8, 231, 163.8);
  --bs-info-border-subtle: rgb(158.6, 210.2, 235.4);
  --bs-warning-border-subtle: rgb(255, 229.8, 175);
  --bs-danger-border-subtle: rgb(239.4, 177.8, 202.6);
  --bs-light-border-subtle: #e6e7ec;
  --bs-dark-border-subtle: #797a7f;

  --bs-font-sans-serif: "Red Hat Text", -apple-system, "Segoe UI", system-ui, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: .9375rem;
  --bs-body-font-weight: 400; /* @kind font */
  --bs-body-line-height: 1.5; /* @kind font */
  --bs-body-color: #2f3138;
  --bs-body-color-rgb: 47, 49, 56; /* @kind color */
  --bs-body-bg: #f6f7f8;
  --bs-body-bg-rgb: 246, 247, 248; /* @kind color */
  --bs-emphasis-color: #111827;
  --bs-emphasis-color-rgb: 17, 24, 39; /* @kind color */
  --bs-secondary-color: rgba(47, 49, 56, .75);
  --bs-secondary-color-rgb: 47, 49, 56; /* @kind color */
  --bs-secondary-bg: #e6e7ec;
  --bs-secondary-bg-rgb: 230, 231, 236; /* @kind color */
  --bs-tertiary-color: rgba(47, 49, 56, .5);
  --bs-tertiary-color-rgb: 47, 49, 56; /* @kind color */
  --bs-tertiary-bg: #ecedee;
  --bs-tertiary-bg-rgb: 236, 237, 238; /* @kind color */
  --bs-heading-color: #111827;

  --bs-link-color: #0e8fce;
  --bs-link-color-rgb: 14, 143, 206; /* @kind color */
  --bs-link-decoration: underline; /* @kind other */
  --bs-link-hover-color: rgb(11.2, 114.4, 164.8);
  --bs-link-hover-color-rgb: 11, 114, 165; /* @kind color */
  --bs-code-color: #d63384;
  --bs-highlight-color: #2f3138;
  --bs-highlight-bg: rgb(255, 242.6, 205.4);

  --bs-border-width: 1px; /* @kind spacing */
  --bs-border-color: #d5d6dd;
  --bs-border-color-translucent: rgba(0, 0, 0, .175);
  --bs-border-radius: .625rem;
  --bs-border-radius-sm: .55rem;
  --bs-border-radius-lg: .9rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  --bs-border-radius-pill: 1.25rem;

  --bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
  --bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);

  --bs-focus-ring-width: .25rem; /* @kind spacing */
  --bs-focus-ring-opacity: .25; /* @kind other */
  --bs-focus-ring-color: rgba(14, 143, 206, .25);
  --bs-form-valid-color: #75C31B;
  --bs-form-valid-border-color: #75C31B;
  --bs-form-invalid-color: #d83e7c;
  --bs-form-invalid-border-color: #d83e7c;
}

[data-bs-theme=dark] {
  color-scheme: dark;
  --bs-body-color: #d5d6dd;
  --bs-body-color-rgb: 213, 214, 221; /* @kind color */
  --bs-body-bg: #111827;
  --bs-body-bg-rgb: 17, 24, 39; /* @kind color */
  --bs-emphasis-color: #fff;
  --bs-emphasis-color-rgb: 255, 255, 255; /* @kind color */
  --bs-secondary-color: rgba(213, 214, 221, .75);
  --bs-secondary-color-rgb: 213, 214, 221; /* @kind color */
  --bs-secondary-bg: #2f3138;
  --bs-secondary-bg-rgb: 47, 49, 56; /* @kind color */
  --bs-tertiary-color: rgba(213, 214, 221, .5);
  --bs-tertiary-color-rgb: 213, 214, 221; /* @kind color */
  --bs-tertiary-bg: rgb(32, 36.5, 47.5);
  --bs-tertiary-bg-rgb: 32, 37, 48; /* @kind color */

  --bs-primary-text-emphasis: rgb(110.4, 187.8, 225.6);
  --bs-secondary-text-emphasis: rgb(174.6, 175.2, 178.2);
  --bs-success-text-emphasis: rgb(172.2, 219, 118.2);
  --bs-info-text-emphasis: rgb(110.4, 187.8, 225.6);
  --bs-warning-text-emphasis: rgb(255, 217.2, 135);
  --bs-danger-text-emphasis: rgb(231.6, 139.2, 176.4);
  --bs-light-text-emphasis: #ecedee;
  --bs-dark-text-emphasis: #d5d6dd;

  --bs-primary-bg-subtle: rgb(2.8, 28.6, 41.2);
  --bs-secondary-bg-subtle: rgb(24.2, 24.4, 25.4);
  --bs-success-bg-subtle: rgb(23.4, 39, 5.4);
  --bs-info-bg-subtle: rgb(2.8, 28.6, 41.2);
  --bs-warning-bg-subtle: rgb(51, 38.4, 11);
  --bs-danger-bg-subtle: rgb(43.2, 12.4, 24.8);
  --bs-light-bg-subtle: #2f3138;
  --bs-dark-bg-subtle: rgb(23.5, 24.5, 28);

  --bs-primary-border-subtle: rgb(8.4, 85.8, 123.6);
  --bs-secondary-border-subtle: rgb(72.6, 73.2, 76.2);
  --bs-success-border-subtle: rgb(70.2, 117, 16.2);
  --bs-info-border-subtle: rgb(8.4, 85.8, 123.6);
  --bs-warning-border-subtle: rgb(153, 115.2, 33);
  --bs-danger-border-subtle: rgb(129.6, 37.2, 74.4);
  --bs-light-border-subtle: #4d4e55;
  --bs-dark-border-subtle: #2f3138;

  --bs-heading-color: inherit;
  --bs-link-color: rgb(110.4, 187.8, 225.6);
  --bs-link-hover-color: rgb(139.32, 201.24, 231.48);
  --bs-link-color-rgb: 110, 188, 226; /* @kind color */
  --bs-link-hover-color-rgb: 139, 201, 231; /* @kind color */
  --bs-code-color: rgb(230.4, 132.6, 181.2);
  --bs-highlight-color: #d5d6dd;
  --bs-highlight-bg: rgb(102, 77.2, 2.8);
  --bs-border-color: #4d4e55;
  --bs-border-color-translucent: rgba(255, 255, 255, .15);
  --bs-form-valid-color: rgb(117, 183, 152.4);
  --bs-form-valid-border-color: rgb(117, 183, 152.4);
  --bs-form-invalid-color: rgb(234, 133.8, 143.4);
  --bs-form-invalid-border-color: rgb(234, 133.8, 143.4);
}
