/// <reference path="_variables.scss" />

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
	box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--focus-outline, #258cfb);
}

.btn-primary
{
	--bs-btn-color: var(--bs-white);
    --bs-btn-bg: #1b6ec2;
    --bs-btn-border-color: #1861ac;
}

[data-bs-theme="dark"] .btn-outline-dark
{
	--bs-btn-color: #f8f9fa;
    --bs-btn-border-color: #424649;
    --bs-btn-hover-color: #f8f9fa;
    --bs-btn-hover-bg: #373b3e;
    --bs-btn-hover-border-color: #f8f9fa;
    --bs-btn-focus-shadow-rgb: 248, 249, 250;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #f8f9fa;
    --bs-btn-active-border-color: #f8f9fa;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #f8f9fa;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #f8f9fa;
    --bs-gradient: none;
}

.btn-outline-light
{
	--bs-btn-color: #f8f9fa;
    --bs-btn-border-color: #424649;
    --bs-btn-hover-color: #f8f9fa;
    --bs-btn-hover-bg: #373b3e;
    --bs-btn-hover-border-color: #f8f9fa;
    --bs-btn-focus-shadow-rgb: 248, 249, 250;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #f8f9fa;
    --bs-btn-active-border-color: #f8f9fa;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #f8f9fa;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #f8f9fa;
    --bs-gradient: none;
}

.btn-purple
{
	color: var(--bs-white);
	background-color: var(--bs-primary-alt);
	border-color: var(--bs-primary-alt);

	--focus-outline: var(--bs-primary-alt-outline);

	&:hover
	{
		color: var(--bs-white);
		background-color: var(--bs-primary-alt-hover);
		border-color: var(--bs-primary-alt-hover);
	}

	&:active
	{
		color: var(--bs-white);
		background-color: var(--bs-primary-alt-click);
		border-color: var(--bs-primary-alt-click);
	}
}

.toast-body
{
	overflow-wrap: anywhere;
}

.breadcrumb
{
	--bs-breadcrumb-padding-x: 0.5rem;
	--bs-breadcrumb-padding-y: 0.33rem;
	--bs-breadcrumb-margin-bottom: 0;
	--bs-breadcrumb-bg: var(--bs-body-bg);
	--bs-breadcrumb-border-radius: 0;
}