.md-toolbox-container-spacer {
    height: 40px;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.md-toolbox-container {
    position: sticky;
    top: 0;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    z-index: 999;
}

.md-toolbox-shadow {
    background: linear-gradient(180deg, var(--md-sys-color-surface) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.calendar-search-field {
    --md-filled-text-field-container-shape: var(--catalog-image-border-radius);
    --md-outlined-text-field-container-shape: var(--catalog-image-border-radius);
}

.rounded-md-select {
    --md-filled-select-text-field-container-shape: var(--catalog-image-border-radius);
    --md-outlined-select-text-field-container-shape: var(--catalog-image-border-radius);
}

@media (orientation: landscape) {
    .aspect-ratio-wrapper {
        width: calc((100dvh * 9) / 16);
        /* Center the content */
        margin-left: auto;
        margin-right: auto;
    }
}

a {
    color: var(--md-sys-color-primary);
}

.loading-progress-bar-container {
    width: 7.5rem;
    height: 6px;
    border-radius: 6px;
    background: var(--md-sys-color-surface-container-highest);
    overflow: clip;
    display: flex;
    align-items: center;
}

.loading-progress-bar {
    width: var(--blazor-load-percentage, 0%);
    height: 4px;
    background: var(--md-sys-color-primary)
}

.loading-progress-text {
    text-align: center;
}

.bottom-navigation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0;
    grid-row-gap: 0;

    .button {
        display: flex;
        flex-direction: column;
        height: 100%;
        align-items: center;
        padding: 0.3rem;
        font-size: 0.8rem;
        font-weight: bold;

        .icon {
            flex-grow: 1;
            width: 3.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--catalog-image-border-radius);
            margin: 0.1rem;
            cursor: pointer;
        }
    }
}
