/*
	This CSS file matches the color scheme from MudBlazor to Bootstrap when utilized for authentication.
	The file remains available at all times for demonstration purposes,
	but it is exclusively employed in the 'App.razor' component when authentication is enabled.
*/

.btn-primary {
    text-transform: uppercase;
    --bs-btn-bg: var(--mud-palette-primary) !important;
    --bs-btn-hover-bg: var(--mud-palette-primary-darken) !important;
    background-color: var(--mud-palette-primary);
    border: none !important;
}

    .btn-primary:hover,
    .btn-primary:focus-visible,
    .btn-primary:focus-visible,
    .btn-primary:active {
        background-color: var(--mud-palette-primary-darken);
        box-shadow: none !important;
    }

.nav-pills {
    --bs-nav-pills-link-active-bg: var(--mud-palette-primary) !important;
}

.nav {
    --bs-nav-link-color: var(--mud-palette-primary) !important;
    --bs-nav-link-hover-color: var(--mud-palette-primary-darken) !important;
}
 
#components-reconnect-modal {
    display: none;
}

    #components-reconnect-modal.components-reconnect-show,
    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected {
        display: block;
    }

.form-control:focus {
    box-shadow: 0 0 0 1.25px var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
}

.form-control-error {
    box-shadow: 0 0 0 1.25px var(--mud-palette-error) !important;
    border-color: var(--mud-palette-error) !important;
}

.form-check-input:focus {
    border-color: var(--mud-palette-primary);
}

.form-check-input:checked {
    background-color: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
}

