// Bootstrap 5.3 - Button Variables

// ============================================
// BUTTONS
// ============================================

// Button padding and sizing
$btn-padding-y: 0.375rem;
$btn-padding-x: 0.75rem;
$btn-font-family: $font-family-base;
$btn-font-size: $font-size-base;
$btn-line-height: $line-height-base;
$btn-white-space: null;

$btn-padding-y-sm: 0.25rem;
$btn-padding-x-sm: 0.5rem;
$btn-font-size-sm: $font-size-sm;
$btn-line-height-sm: $line-height-sm;

$btn-padding-y-lg: 0.5rem;
$btn-padding-x-lg: 1rem;
$btn-font-size-lg: $font-size-lg;
$btn-line-height-lg: $line-height-lg;

// Button styling
$btn-border-width: 1px;
$btn-font-weight: 500;
$btn-box-shadow: none;
$btn-focus-width: 0.25rem;
$btn-focus-box-shadow: none;
$btn-disabled-opacity: 0.65;
$btn-active-box-shadow: none;

// Button border radius
$btn-border-radius: $radius-sm;
$btn-border-radius-sm: $radius-sm;
$btn-border-radius-lg: $radius-sm;

// Button transitions
$btn-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

// Button hover state
$btn-hover-bg-shade-amount: 15%;
$btn-hover-bg-tint-amount: 15%;
$btn-hover-border-shade-amount: 20%;
$btn-hover-border-tint-amount: 10%;

// Button active state
$btn-active-bg-shade-amount: 20%;
$btn-active-bg-tint-amount: 20%;
$btn-active-border-shade-amount: 25%;
$btn-active-border-tint-amount: 10%;

// Link buttons
$btn-link-color: $primary-600;
$btn-link-hover-color: $primary-600;
$btn-link-decoration: underline;
$btn-link-hover-decoration: underline;
$btn-link-focus-shadow-rgb: none;
$btn-link-disabled-color: $gray-600;

// Button close
$btn-close-width: .56rem;
$btn-close-height: $btn-close-width;
$btn-close-padding-x: .3rem;
$btn-close-padding-y: $btn-close-padding-x;
$btn-close-color: $black;
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>");
$btn-close-focus-shadow: $btn-focus-box-shadow;
$btn-close-opacity: 1;
$btn-close-hover-opacity: 0.75;
$btn-close-focus-opacity: 1;
$btn-close-disabled-opacity: 0.25;
$btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);
