﻿.anime-left {
    opacity: 0;
    transform: translateX(-20px);
    animation: anime-left 0.3s forwards;
}

@keyframes anime-left {
    to {
        opacity: 1;
        transform: initial;
    }
}

#blazor-loading {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100vw;
    padding: 12px;
    justify-content: center;
    background: white;
    z-index: 9999;
    flex-direction: column;
    font-family: sans-serif;
}

.progress-container {
    margin-top: 1rem;
    width: 420px;
    max-width: calc(100vw - 30px);
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #f3f3f3;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #509E2F;
    width: var(--blazor-load-percentage, 0%);
    transition: width 0.2s ease;
}

.progress-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

    .progress-text::after {
        content: var(--blazor-load-percentage-text, "0%");
    }
