@use "sass:map";
@use "_variables" as *;

$modal-footer-border-width: 0;
$modal-md: 600px;
$modal-lg: 900px;
$modal-content-border-radius: 14px;
$modal-content-bg: pvar(--bg-secondary-350);

$grid-breakpoints: (
  // CLASSIC BREAKPOINTS GROUP
  // Extra small screen / phone
  xs: 0,
  // Small screen / phone
  sm: $mobile-view,
  // Medium screen / tablet
  md: $small-view,
  // Large screen / desktop
  lg: 900px,
  // Extra large screens / wide desktops
  xl: 1200px,
  xxl: 1600px,
  // SCREEN GROUP
  fhd: 1800px,
  qhd: 2560px,
  uhd: 3840px
);

@function breakpoint($label) {
  @return map.get($grid-breakpoints, $label);
}

$container-max-widths: (
  sm: 420px,
  md: 720px,
  lg: 900px,
  xl: 1140px
);

$input-color: pvar(--input-fg);
$input-bg: pvar(--input-bg);
$input-focus-color: pvar(--input-fg);
$input-focus-bg: pvar(--input-bg);
$input-btn-focus-width: 0;
$input-btn-focus-color: inherit;
$input-focus-border-color: pvar(--input-border-color);
$input-focus-box-shadow: #{$focus-box-shadow-form};
$input-padding-y: pvar(--input-y-padding);
$input-padding-x: pvar(--input-x-padding);
$input-border-radius: pvar(--input-border-radius);
$input-border-width: pvar(--input-border-width);
$input-border-color: pvar(--input-border-color);

$input-group-addon-color: pvar(--fg);
$input-group-addon-bg: pvar(--bg-secondary-500);
$input-group-addon-border-color: pvar(--input-border-color);

$nav-link-transition: none;

$dropdown-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
$dropdown-border-radius: 3px;
$dropdown-link-active-color: pvar(--fg);
$dropdown-link-active-bg: pvar(--bg-secondary-300);
$dropdown-link-hover-color: pvar(--fg);
$dropdown-link-hover-bg: pvar(--bg-secondary-300);
$dropdown-color: pvar(--fg);
$dropdown-bg: pvar(--bg);

$accordion-button-active-bg: pvar(--primary-150);
$accordion-button-active-color: pvar(--on-primary);
$accordion-button-focus-border-color: pvar(--primary-100);
$accordion-button-focus-box-shadow: #{$focus-box-shadow-form};
$accordion-border-color: pvar(--input-border-color);

$card-color: pvar(--fg);
