/*
	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;
}

.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;
}

body {
    --mud-palette-primary: #212226;
    --mud-palette-primary-darken: #212226;
}

/* ----------------- Utility Classes -----------------*/
.color-primary {
    color: var(--mud-palette-primary) !important;
}

.color-secondary {
    color: #9a9a9a;
}

.color-white {
    color: #fff;
}

.bg-light-pink {
    background-color: #FACDCD;
}

.bg-light-purple {
    background-color: #dacdfa;
}

.bg-light-blue {
    background-color: #cdedfa;
}

.mud-border-green {
    border-color: #56b446;
}

/* ----------------- Fonts -----------------*/
.font-size-12 {
    font-size: 12px;
}

.font-size-14 {
    font-size: 14px;
}

.font-size-16 {
    font-size: 16px;
}

.font-size-20 {
    font-size: 20px;
}

.font-size-24 {
    font-size: 24px;
}

.font-size-28 {
    font-size: 28px;
}

.font-size-32 {
    font-size: 32px;
}

.font-w-500 {
    font-weight: 500;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.letter-spacing-4 {
    letter-spacing: 4.5px;
}

.text-no-wrap {
    white-space: nowrap;
}

.word-break-all {
    word-break: break-all;
}

.word-break-word {
    word-break: break-word;
}

/* ----------------- Button -----------------*/

.btn-primary-fill {
    color: #fff !important;
    background-color: rgb(142, 125, 125) !important;
    border: none !important;
    border-radius: 12px;
}

.btn-primary-fill:hover {
    background-color: rgb(0, 0, 0) !important;
}

.btn-primary-outline {
    color: rgb(142, 125, 125) !important;
    background-color: #ffff !important;
    border: 1px solid rgb(142, 125, 125) !important;
    border-radius: 12px;
}

.btn-primary-outline:hover {
    color: #fff !important;
    background-color: rgb(0, 0, 0) !important;
}

/* ----------------- Border-radius -----------------*/

.border-radius-8 {
    border-radius: 8px;
}

.border-radius-16 {
    border-radius: 16px;
}


.border-primary {
    border: 1px solid #a2c1d9;
}

.border-bottom-primary {
    border-bottom: 1px solid #a2c1d9;
}


.width-fit {
    width: fit-content !important;
}

.width-full {
    width: 100%;
}

.max-width-50 {
    max-width: 50%;
}

.flex-50 {
    flex: .5;
}

.list-disk {
    list-style: disc;
}

.background-color-secondary {
    background-color: #364653;
}

.background-none {
    background: none;
}

.background-norepeat {
    background-repeat: no-repeat;
}

.background-cover {
    background-size: cover;
}

.background-white {
    background-color: var(--mud-palette-white);
}

/* ----------------- Custom Stlyes -----------------*/
.card {
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

.primary-box-shadow {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

/* MUD Components */

.mud-main-content {
    padding-top: 70px !important;
}

.mud-container--gutters {
    padding: 0;
}

.mud-card {
    border-radius: 16px !important;
    box-shadow: none;
}

.mud-expansion-panels {
    border-radius: 16px;
}

.mud-expansion-panels .mud-elevation-1 {
    box-shadow: none;
    background-color: rgb(210 235 241);
}

.mud-expand-panel.mud-expand-panel-border {
    border-bottom: 1px solid #fff;
}

.mud-expand-panel-header {
    letter-spacing: 1px;
    font-size: 16px;
}

.mud-expand-panel-content {
    letter-spacing: 1px;
}


.product-origin-header {
    position: relative;
    background-image: url(images/product-origin.webp) !important;
    background-size: cover;
    background-position: center;
}

.product-origin-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(19deg, rgb(122 86 161 / 22%) 0%, rgb(79 134 161 / 55%) 100%);
    width: 100%;
    height: 100%;
    z-index: 0;
}

@media (min-width: 900px) {
    .btn-primary-fill, .btn-primary-outline {
        width: fit-content;
        margin-inline: auto;
    }
}

@media (min-width: 600px) {
    .mud-main-content {
        padding-top: 80px !important;
    }
}
