// Variables

// Variables should follow the `$component-state-property-size` formula for
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.

// (C) Custom variables for extended components of bootstrap only

// ! _variable-dark.scss file overrides _variable.scss file.

// Colors
// *******************************************************************************

// scss-docs-start gray-color-variables
$white-dark: #fff !default;
$black-dark: #393a5a !default;
$base-dark: #e6e6f1 !default; // (C)

// Instead of using a card bg, use a paper bg.
$paper-bg-dark: #2b2c40 !default; // (C)
$paper-bg-rgb-dark: #{to-rgb($paper-bg-dark)} !default; // (C)
$base-rgb-dark: #{to-rgb($base-dark)} !default; // (C)

$gray-25-dark: #38394c !default; // (C)
$gray-60-dark: #434463 !default; // (C)
$gray-80-dark: #474866 !default; // (C)
$gray-100-dark: #4a4b69 !default;
$gray-200-dark: #4e4f6c !default;
$gray-300-dark: #6d6e87 !default;
$gray-400-dark: #7e7f96 !default;
$gray-500-dark: #8f90a5 !default;
$gray-600-dark: #a1a1b5 !default;
$gray-700-dark: #b2b2c4 !default;
$gray-800-dark: #c3c4d3 !default;
$gray-900-dark: #d5d5e2 !default;

// scss-docs-end gray-color-variables

// scss-docs-start gray-colors-map
$grays-dark: (
  "25": $gray-25-dark,
  "60": $gray-60-dark,
  "80": $gray-80-dark,
  "100": $gray-100-dark,
  "200": $gray-200-dark,
  "300": $gray-300-dark,
  "400": $gray-400-dark,
  "500": $gray-500-dark,
  "600": $gray-600-dark,
  "700": $gray-700-dark,
  "800": $gray-800-dark,
  "900": $gray-900-dark,
) !default;

// scss-docs-end gray-colors-map

// scss-docs-start color-variables
$blue-dark: #007bff !default;
$indigo-dark: #6610f2 !default;
$purple-dark: #696cff !default;
$pink-dark: #e83e8c !default;
$red-dark: #ff3e1d !default;
$orange-dark: #fd7e14 !default;
$yellow-dark: #ffab00 !default;
$green-dark: #71dd37 !default;
$teal-dark: #20c997 !default;
$cyan-dark: #03c3ec !default;

// scss-docs-end color-variables

// scss-docs-start theme-color-variables
$primary-dark: $purple-dark !default;
$secondary-dark: #8592a3 !default;
$success-dark: $green-dark !default;
$info-dark: $cyan-dark !default;
$warning-dark: $yellow-dark !default;
$danger-dark: $red-dark !default;
$light-dark: #494a5d !default;
$dark-dark: #6b6c9d !default;
$gray-dark: $gray-500-dark !default; // (C)

// scss-docs-end theme-color-variables

// scss-docs-start theme-colors-map
$theme-colors-dark: (
  "primary": $primary-dark,
  "secondary": $secondary-dark,
  "success": $success-dark,
  "info": $info-dark,
  "warning": $warning-dark,
  "danger": $danger-dark,
  "light": $light-dark,
  "dark": $dark-dark,
  "gray": $gray-dark
) !default;

// scss-docs-end theme-colors-map

$theme-colors-rgb-dark: map-loop($theme-colors-dark, to-rgb, "$value") !default;

// Typography
// *******************************************************************************
$blockquote-footer-color-dark: $gray-600-dark !default;

$body-bg-dark: #232333 !default;

// scss-docs-start theme-text-dark-variables
$light-text-emphasis-dark: $gray-700-dark !default;
$dark-text-emphasis-dark: $base-dark !default;

// scss-docs-end theme-text-dark-variables

$bg-label-tint-amount-dark: 84% !default; // (C)
$border-subtle-amount-dark: 76% !default; // (C)

// scss-docs-start theme-bg-subtle-dark-variables
$primary-bg-subtle-dark: shade-color($primary-dark, $bg-label-tint-amount-dark, $paper-bg-dark) !default;
$secondary-bg-subtle-dark: shade-color($secondary-dark, $bg-label-tint-amount-dark, $paper-bg-dark) !default;
$success-bg-subtle-dark: shade-color($success-dark, $bg-label-tint-amount-dark, $paper-bg-dark) !default;
$info-bg-subtle-dark: shade-color($info-dark, $bg-label-tint-amount-dark, $paper-bg-dark) !default;
$warning-bg-subtle-dark: shade-color($warning-dark, $bg-label-tint-amount-dark, $paper-bg-dark) !default;
$danger-bg-subtle-dark: shade-color($danger-dark, $bg-label-tint-amount-dark, $paper-bg-dark) !default;
$light-bg-subtle-dark: shade-color($light-dark, $bg-label-tint-amount-dark, $paper-bg-dark) !default;
$dark-bg-subtle-dark: shade-color($dark-dark, $bg-label-tint-amount-dark, $paper-bg-dark) !default;

// scss-docs-end theme-bg-subtle-dark-variables

// scss-docs-start theme-border-subtle-dark-variables
$primary-border-subtle-dark: shift-color($primary-dark, $border-subtle-amount-dark, $black-dark) !default;
$secondary-border-subtle-dark: shift-color($secondary-dark, $border-subtle-amount-dark, $black-dark) !default;
$success-border-subtle-dark: shift-color($success-dark, $border-subtle-amount-dark, $black-dark) !default;
$info-border-subtle-dark: shift-color($info-dark, $border-subtle-amount-dark, $black-dark) !default;
$warning-border-subtle-dark: shift-color($warning-dark, $border-subtle-amount-dark, $black-dark) !default;
$danger-border-subtle-dark: shift-color($danger-dark, $border-subtle-amount-dark, $black-dark) !default;
$light-border-subtle-dark: shift-color($light-dark, $border-subtle-amount-dark, $black-dark) !default;
$dark-border-subtle-dark: shift-color($dark-dark, $border-subtle-amount-dark, $black-dark) !default;

// scss-docs-end theme-border-subtle-dark-variables

// Body
// *******************************************************************************


$body-color-dark: $gray-700-dark !default;

$body-secondary-color-dark: $gray-400-dark !default;
$body-secondary-bg-dark: $gray-200-dark !default;
$body-tertiary-color-dark: rgba($body-color-dark, .5) !default;
$body-tertiary-bg-dark: mix($gray-100-dark, $body-bg-dark, 90%) !default;

// Components
// *******************************************************************************
$border-color-dark: $gray-200-dark !default;

// scss-docs-start box-shadow-variables
$shadow-bg-dark: #14141d !default; // (C)
$box-shadow-dark: 0 .1875rem .5rem 0 rgba($shadow-bg-dark, .22) !default;
$box-shadow-xs-dark: 0 .0625rem .3175rem 0 rgba($shadow-bg-dark, .18) !default;
$box-shadow-sm-dark: 0 .125rem .375rem 0 rgba($shadow-bg-dark, .2) !default;
$box-shadow-lg-dark: 0 .25rem .75rem 0 rgba($shadow-bg-dark, .24) !default;
$box-shadow-xl-dark: 0 .3125rem 1.375rem 0 rgba($shadow-bg-dark, .26) !default;

// scss-docs-end box-shadow-variables

// Typography
// *******************************************************************************

$headings-color-dark: $gray-900-dark !default;


$table-striped-bg-factor-dark: .025 !default;
$table-hover-bg-factor-dark: .75 !default;
$table-active-bg-factor-dark: .75 !default;

// Accordion
// *******************************************************************************

$accordion-button-color-dark: $headings-color-dark !default;
$accordion-button-active-color-dark: $headings-color-dark !default;

$accordion-icon-color-dark: $headings-color-dark !default;
$accordion-icon-active-color-dark: $headings-color-dark !default;

$accordion-button-icon-dark: url("data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg id='bx-chevron-down'%3e%3cpath id='Vector' d='M13.5775 7.74417L9.99997 11.3217L6.42247 7.74417L5.24414 8.9225L9.99997 13.6783L14.7558 8.9225L13.5775 7.74417Z' fill='#{$accordion-icon-active-color-dark}' fill-opacity='0.9'/%3e%3c/g%3e%3c/svg%3e") !default;
$accordion-button-active-icon-dark: $accordion-button-icon-dark !default;

$accordion-custom-button-icon-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$accordion-icon-active-color-dark}' viewBox='0 0 24 24'%3E%3Cpath d='M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z'%3E%3C/path%3E%3C/svg%3E") !default; // (C)
$accordion-custom-button-active-icon-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$accordion-icon-active-color-dark}' viewBox='0 0 24 24'%3E%3Cpath d='M5 11h14v2H5z'%3E%3C/path%3E%3C/svg%3E") !default; // (C)

// Forms
// *******************************************************************************

$input-border-color-dark: color-mix(in srgb, $base-dark 22%, $black-dark) !default;
$input-disabled-border-color-dark: rgba($base-dark, .23) !default;
$input-group-addon-border-color-dark: $input-border-color-dark !default;
$form-switch-bg-image-dark: url("data:image/svg+xml,%3csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg filter='url(%23a)'%3e%3ccircle cx='12' cy='11' r='8.5' fill='#{$white-dark}'/%3e%3c/g%3e%3cdefs%3e%3cfilter id='a' x='0' y='0' width='22' height='22' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-opacity='0' result='BackgroundImageFix'/%3e%3cfeColorMatrix in='SourceAlpha' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3e%3cfeOffset dy='2'/%3e%3cfeGaussianBlur stdDeviation='2'/%3e%3cfeColorMatrix values='0 0 0 0 0.180392 0 0 0 0 0.14902 0 0 0 0 0.239216 0 0 0 0.16 0'/%3e%3cfeBlend in2='BackgroundImageFix' result='effect1_dropShadow_6488_3264'/%3e%3cfeBlend in='SourceGraphic' in2='effect1_dropShadow_6488_3264' result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e") !default;

$form-select-indicator-dark: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 22" fill="none"><path d="M10.9999 12.0743L15.5374 7.53676L16.8336 8.83292L10.9999 14.6666L5.16626 8.83292L6.46243 7.53676L10.9999 12.0743Z" fill="#{$white-dark}" fill-opacity="0.9"/></svg>') !default;
$form-select-disabled-indicator-dark: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 22" fill="none"><path d="M10.9999 12.0743L15.5374 7.53676L16.8336 8.83292L10.9999 14.6666L5.16626 8.83292L6.46243 7.53676L10.9999 12.0743Z" fill="#{$body-secondary-color-dark}" fill-opacity="0.9"/></svg>') !default; // (C)

// scss-docs-start form-validation-colors-dark
$form-valid-color-dark: $success-dark !default;
$form-valid-border-color-dark: $success-dark !default;
$form-invalid-color-dark: $danger-dark !default;
$form-invalid-border-color-dark: $danger-dark !default;

// scss-docs-end form-validation-colors-dark

// Navbar
// *******************************************************************************

// For main navbar
$navbar-box-shadow-dark: 0 0 10px $border-color-dark !default; // (C)

// Cards
// *******************************************************************************
$card-bg-dark: #2b2c40 !default;
$card-subtitle-color-dark: color-mix(in srgb, $base-dark 55%, $black-dark) !default;

// Toasts
// *******************************************************************************

$toast-color-dark: tint-color($body-bg-dark, 15%) !default;
$toast-header-color-dark: $toast-color-dark !default;

// Modals
// *******************************************************************************

$modal-backdrop-bg-dark: #1d1d2a !default;
$modal-backdrop-opacity-dark: .6 !default;

// Dropdowns
// *******************************************************************************
$dropdown-link-hover-bg-dark: rgba($base-dark, .06) !default;

// Close
// *******************************************************************************
$btn-close-color-dark: $body-secondary-color-dark !default;

// Progress
// *******************************************************************************
$progress-bg-dark: rgba($base-dark, .08) !default;

// offcanvas
// *******************************************************************************

$offcanvas-backdrop-bg-dark: $modal-backdrop-bg-dark !default;
$offcanvas-backdrop-opacity-dark: $modal-backdrop-opacity-dark !default;
