﻿.no-upper {
    text-transform: none !important;
}

.full-width {
    width: 100%;
}

@keyframes slide {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}

.mud-wasm {
    animation: slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(60deg,#1E88E5 50%,#0069c0 50%);
    bottom: 0;
    left: -50%;
    opacity: .5;
    position: fixed;
    right: -50%;
    top: 0;
    z-index: -1
}

.mud-wasm-cont {
    left: 50%;
    padding: 10vmin;
    position: fixed;
    text-align: center;
    top: 50%;
    transform: translate(-50%,-50%)
}

.linear-progress {
    background: silver;
    width: 50vw;
    margin: 20% auto;
    height: 1rem;
    border-radius: 10rem;
    overflow: hidden;
    position: relative;
}

    .linear-progress:after {
        content: '';
        position: absolute;
        inset: 0;
        background: blue;
        scale: var(--blazor-load-percentage, 0%) 100%;
        transform-origin: left top;
        transition: scale ease-out 1s;
    }

.fade-in {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 1s ease, opacity 1s ease;
}

    .fade-in.show {
        max-height: 1000px; /* A large enough value to accommodate the content */
        opacity: 1;
    }

.center-box {
    display: flex;
    flex-direction: column; /* Stack the elements vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    height: 100vh; /* Full viewport height */
    text-align: center; /* Center text content */
}

h1 {
    margin-bottom: 16px; /* Add spacing between the header and the paragraph */
}

p {
    margin-bottom: 12px; /* Add spacing between the paragraph and the button */
}

.transparent-light-gray {
    background-color: rgba(211, 211, 211, 0.5);
}

.centere-page {
    display: flex;
    justify-content: center; /* horizontal centering */
    align-items: center; /* vertical centering */
    height: 100vh; /* full viewport height */
}

.wrap-text {
    white-space: normal;
    word-break: break-word;
}

.text-wrap {
    white-space: normal;
    word-break: break-word;
}


.button-xs {
    height: 24px !important;
    min-height: 24px !important;
    padding: 2px 10px !important;
    font-size: 0.75rem !important;
}

.mud-button {
    text-transform: none;
}

/* Apply to the entire app */
.ql-editor {
    --mud-html-h1-size: 2rem !important;
    --mud-html-h1-weight: bold !important;
    --mud-html-h2-size: 1.5rem !important;
    --mud-html-h2-weight: bold !important;
    --mud-html-h3-size: 1.17rem !important;
    --mud-html-h3-weight: bold !important;
    --mud-html-h4-size: 1rem !important;
    --mud-html-h4-weight: bold !important;
    --mud-html-h5-size: 0.83rem !important;
    --mud-html-h5-weight: bold !important;
    --mud-html-h6-size: 0.67rem !important;
    --mud-html-h6-weight: bold !important;
}

.ql-editor h1 {
    margin-bottom: 16px !important;
}

.ql-editor p {
    margin-bottom: 12px !important;
}

.rounded-blue {
    border: 1px solid var(--mud-palette-info);
    border-radius: 12px;
}

.background-blue {
    background-color: #E3F2FD;
}

.rounded-green {
    border: 1px solid var(--mud-palette-success);
    border-radius: 12px;
}

.background-green {
    background-color: #E8F5E9;
}
