/*
	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.
*/

:root {
    --app-part-main-color: #16161A;
    --back-button-size: 42px;
}

body {
    font-family: 'Onest', sans-serif;
}

.btn-primary {
    text-transform: uppercase;
    --bs-btn-bg: var(--mud-palette-primary) !important;
    --bs-btn-hover-bg: var(--mud-palette-primary-darken) !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;
}

.mud-carousel-item {
    position: inherit;
}

.mud-ex-card-list span {
    color: var(--mud-palette-primary) !important;
}

.popover-container {
    background-color: transparent;
    border-radius: 10px;
    margin-top: 5px;
}

.mud-menu-item_account-popup {
    padding: 0px;
    background-color: transparent !important;
    cursor: auto;
}

.mud-list-item-text {
    margin: 0px;
}

.mud-expand-panel-content {
    padding: 0px !important;
}

.mud-progress-linear::before {
    opacity: 1 !important;
    background-color: #D9D9D9 !important;
}

.text-danger {
    font-weight: 500;
    font-size: 13px;
    color: #DC8377 !important;
}

.mud-dialog {
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .mud-dialog::-webkit-scrollbar {
        display: none;
    }

.mud-dialog-width-full {
    width: calc(100% - 24px);
}

.mud-popover.mud-popover-open {
    top: 50px !important;
}

@media (min-width: 1280px) {
    .mud-popover.mud-popover-open {
        left: 14px !important;
    }
}

.medium-weight {
    font-weight: 500;
}

.semi-bold {
    font-weight: 600;
}

.mud-button {
    border-radius: 100px;
    box-shadow: none;
    padding: 9px 20px;
}

.mud-typography-subtitle1 {
    color: #797C80;
}

.mud-typography-subtitle2 {
    color: #797C80;
}

.white-space {
    white-space: normal;
}

#mud-snackbar-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 24px;
    right: 0;
    padding: 0px 10px;
}

.mud-snackbar {
    width: 100%;
    max-width: 1260px;
    border-radius: 10px;
    justify-content: center;
    margin-top: 8px;
}

.mud-snackbar-icon {
    opacity: 1;
}

.mud-divider {
    border-color: #E7E7E7 !important;
    opacity: 1;
}

.mud-chip-filled {
    background-color: #F5F5F5;
}

.mud-snackbar-content-message {
    text-align: center;
}

.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.scroll-container {
    margin: 0px -16px;
    padding: 0px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .scroll-container::-webkit-scrollbar {
        display: none;
    }

.lines-limit {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
