/* Montserrat font faces */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Use Montserrat everywhere */
html, body {
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

.loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #438A8D;
	color: rgb(56, 56, 67);
}

.replace-button {
	width: 31px !important;
	height: 31px !important;
}

.active-navlink {
    background-color: var(--mud-palette-action-default-hover);;
}

.flex-container {
    display: flex;
    height: 100%; /* or any desired height */
}

.flex-container img {
    height: 100%;
    width: auto;
}

.text-danger {
    color: #f30064 #60b5b8
	#e9c16e
	#e9716e
}

.optional-field label {
    /*color: var(--mud-palette-warning-lighten) !important;*/
    color: var(--mud-palette-tertiary) !important;
    font-style: italic;
}

.flex-share-space-equally {
    flex: 1 1 0;
}

.flex-share-space-60 {
    flex: 1 1 60%;
    min-width: 410px;
}

.flex-share-space-30 {
    flex: 1 1 30%;
}

.flex-keep-size {
    flex: 0 0 auto;
}

.flex-table {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-width: 400px;
}

.flex-table-cell-5 {
    flex: 1 0 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.mud-input {
    font-size: 1.1rem !important;
    padding-top: 9px !important;
    padding-bottom: 6px !important;
}

.mud-input.mud-input-text {
    padding-top: 9px !important;
    padding-bottom: 6px !important;
}

.mud-input.mud-input-outlined {
    padding: 0 !important;
}

.mud-shrink ~ label.mud-input-label {
    font-size: 1.25rem !important;
    line-height: 1.25rem !important;
}

@keyframes bounceBackground {
    0%, 100% {
        background-color: initial; /* Original background color */
    }
    25%, 75% {
        background-color: color-mix(in srgb, var(--mud-palette-primary) 50%, transparent);
        border-color: var(--mud-palette-primary);
        color: var(--mud-palette-primary);
    }
    50% {
        background-color: initial; /* Original background color */
    }
}

@keyframes bounceBackground-childs {
    0%, 100% {
        background-color: initial; /* Original background color */
    }
    25%, 75% {
        border-color: var(--mud-palette-primary);
        color: var(--mud-palette-primary);
    }
    50% {
        background-color: initial; /* Original background color */
    }
}

.bounce-animation {
    animation: bounceBackground 1s ease-in-out 2; /* Apply animation to the parent */
}

.bounce-animation * {
    animation: bounceBackground-childs 1s ease-in-out 2; /* Apply animation to all child elements */
}

.highlight {
    border-color: var(--mud-palette-primary) !important;
}

.highlight input {
    color: var(--mud-palette-primary) !important;
}

.highlight .mud-select-input {
    color: var(--mud-palette-primary) !important;
}

.fixed-button {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
    opacity: 0.5;
}

.fixed-button:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.6);
}

.vertical-chipset {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
}

.selected-table-row {
    background-color: var(--mud-palette-tertiary) !important;
    color: var(--mud-palette-tertiary-text) !important;
}

.selected-table-row > td {
    background-color: var(--mud-palette-tertiary) !important;
    color: var(--mud-palette-tertiary-text) !important;
}

.selected-table-row > td .mud-input {
    background-color: var(--mud-palette-tertiary) !important;
    color: var(--mud-palette-tertiary-text) !important;
}

.center-select-icon .mud-list-item-text p {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.center-select-icon .mud-select-input {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.center-select-icon .mud-icon-root {
    display: inline-flex;
}

.flex-share-select-space-20 .mud-select {
    flex: 1 1 20%;
}