/*  Named with a z so it loads after other files */

:root,
[data-bs-theme=light] {
    --bs-blue: #264e79;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #e83e8c;
    --bs-red: #d9534f;
    --bs-orange: #fd7e14;
    --bs-yellow: #f0ad4e;
    --bs-green: #4bbf73;
    --bs-teal: #20c997;
    --bs-cyan: #1f9bcf;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #919aa1;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #f0f1f2;
    --bs-gray-300: #e0e1e2;
    --bs-gray-400: #cdcecf;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #919aa1;
    --bs-gray-700: #55595c;
    --bs-gray-800: #343a40;
    --bs-gray-900: #1a1a1a;
    --bs-primary: #1a1a1a;
    --bs-secondary: #fff;
    --bs-success: #4bbf73;
    --bs-info: #1f9bcf;
    --bs-warning: #f0ad4e;
    --bs-danger: #d9534f;
    --bs-light: #f0f1f2;
    --bs-dark: #343a40;
    --bs-primary-rgb: 26, 26, 26;
    --bs-secondary-rgb: 255, 255, 255;
    --bs-success-rgb: 75, 191, 115;
    --bs-info-rgb: 31, 155, 207;
    --bs-warning-rgb: 240, 173, 78;
    --bs-danger-rgb: 217, 83, 79;
    --bs-light-rgb: 240, 241, 242;
    --bs-dark-rgb: 52, 58, 64;
    --bs-primary-text-emphasis: #0a0a0a;
    --bs-secondary-text-emphasis: #666666;
    --bs-success-text-emphasis: #1e4c2e;
    --bs-info-text-emphasis: #0c3e53;
    --bs-warning-text-emphasis: #60451f;
    --bs-danger-text-emphasis: #572120;
    --bs-light-text-emphasis: #55595c;
    --bs-dark-text-emphasis: #55595c;
    --bs-primary-bg-subtle: #d1d1d1;
    --bs-secondary-bg-subtle: white;
    --bs-success-bg-subtle: #dbf2e3;
    --bs-info-bg-subtle: #d2ebf5;
    --bs-warning-bg-subtle: #fcefdc;
    --bs-danger-bg-subtle: #f7dddc;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-dark-bg-subtle: #cdcecf;
    --bs-primary-border-subtle: #a3a3a3;
    --bs-secondary-border-subtle: white;
    --bs-success-border-subtle: #b7e5c7;
    --bs-info-border-subtle: #a5d7ec;
    --bs-warning-border-subtle: #f9deb8;
    --bs-danger-border-subtle: #f0bab9;
    --bs-light-border-subtle: #f0f1f2;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-font-sans-serif: 'Rubik Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 300;
    --bs-body-line-height: 1.5;
    --bs-body-color: #55595c;
    --bs-body-color-rgb: 85, 89, 92;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    --bs-secondary-color: rgba(85, 89, 92, 0.75);
    --bs-secondary-color-rgb: 85, 89, 92;
    --bs-secondary-bg: #f0f1f2;
    --bs-secondary-bg-rgb: 240, 241, 242;
    --bs-tertiary-color: rgba(85, 89, 92, 0.5);
    --bs-tertiary-color-rgb: 85, 89, 92;
    --bs-tertiary-bg: #f8f9fa;
    --bs-tertiary-bg-rgb: 248, 249, 250;
    --bs-heading-color: #1a1a1a;
    --bs-link-color: #1a1a1a;
    --bs-link-color-rgb: 26, 26, 26;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #151515;
    --bs-link-hover-color-rgb: 21, 21, 21;
    --bs-code-color: #e83e8c;
    --bs-highlight-color: #55595c;
    --bs-highlight-bg: #fcefdc;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #e0e1e2;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-focus-ring-width: 0.25rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(26, 26, 26, 0.25);
    --bs-form-valid-color: #4bbf73;
    --bs-form-valid-border-color: #4bbf73;
    --bs-form-invalid-color: #d9534f;
    --bs-form-invalid-border-color: #d9534f;

    input[type="search"],
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="date"],
    .input-group-text,
    textarea,
    .ts-wrapper,
    .ts-control,
    .ts-item,
    .ts-control.item,
    select {
      border: 1px solid #ced4da !important;
    }

    input[role="combobox"] {
      border: none !important;
    }
}

[data-bs-theme=dark] {
    color-scheme: dark;
    --bs-body-color: #e0e1e2;
    --bs-body-color-rgb: 224, 225, 226;
    --bs-body-bg: #1a1a1a;
    --bs-body-bg-rgb: 26, 26, 26;
    --bs-emphasis-color: #fff;
    --bs-emphasis-color-rgb: 255, 255, 255;
    --bs-secondary-color: rgba(224, 225, 226, 0.75);
    --bs-secondary-color-rgb: 224, 225, 226;
    --bs-secondary-bg: #343a40;
    --bs-secondary-bg-rgb: 52, 58, 64;
    --bs-tertiary-color: rgba(224, 225, 226, 0.5);
    --bs-tertiary-color-rgb: 224, 225, 226;
    --bs-tertiary-bg: #272a2d;
    --bs-tertiary-bg-rgb: 39, 42, 45;
    --bs-primary-text-emphasis: #767676;
    --bs-secondary-text-emphasis: white;
    --bs-success-text-emphasis: #93d9ab;
    --bs-info-text-emphasis: #79c3e2;
    --bs-warning-text-emphasis: #f6ce95;
    --bs-danger-text-emphasis: #e89895;
    --bs-light-text-emphasis: #f8f9fa;
    --bs-dark-text-emphasis: #e0e1e2;
    --bs-primary-bg-subtle: #050505;
    --bs-secondary-bg-subtle: #333333;
    --bs-success-bg-subtle: #0f2617;
    --bs-info-bg-subtle: #061f29;
    --bs-warning-bg-subtle: #302310;
    --bs-danger-bg-subtle: #2b1110;
    --bs-light-bg-subtle: #343a40;
    --bs-dark-bg-subtle: #1a1d20;
    --bs-primary-border-subtle: #101010;
    --bs-secondary-border-subtle: #999999;
    --bs-success-border-subtle: #2d7345;
    --bs-info-border-subtle: #135d7c;
    --bs-warning-border-subtle: #90682f;
    --bs-danger-border-subtle: #82322f;
    --bs-light-border-subtle: #55595c;
    --bs-dark-border-subtle: #343a40;
    --bs-heading-color: inherit;
    --bs-link-color: #767676;
    --bs-link-hover-color: #919191;
    --bs-link-color-rgb: 118, 118, 118;
    --bs-link-hover-color-rgb: 145, 145, 145;
    --bs-code-color: #f18bba;
    --bs-highlight-color: #e0e1e2;
    --bs-highlight-bg: #60451f;
    --bs-border-color: #55595c;
    --bs-border-color-translucent: rgba(255, 255, 255, 0.15);
    --bs-form-valid-color: #93d9ab;
    --bs-form-valid-border-color: #93d9ab;
    --bs-form-invalid-color: #e89895;
    --bs-form-invalid-border-color: #e89895;
  
    input[type="search"],
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="date"],
    .input-group-text,
    textarea,
    .ts-wrapper,
    .ts-control,
    .ts-control .item,
    .ts-item,
    .dropdown button,
    select {
      background-color: #343a40 !important;
      color: #fafafa !important;
      border: 1px solid #000 !important;
    }

    .dropdown button {
      border: none !important;
    }

    .ts-control input[type="text"] {
      background-color: #343a40 !important;
      color: #fafafa !important;
    }

    input[role="combobox"] {
      border: none !important;
    }

    .form-check-input.boolean {
      background-color: #343a40 !important;
      color: #fafafa !important;
    }

    .form-check-input.boolean[type="checkbox"]:checked {
      background-color: #296cb3 !important;
      border-color: #296cb3 !important;
    }
}


.body-bg {
  background-color: var(--bs-body-bg) !important;
}
