@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* Shared styles → _content/ServiceMate.Common.Client.Components/css/app.css */

/* Blazor WASM loading progress ─────────────────────────────────────────── */
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #E5E7EB;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #6366F1;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: 600;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
    color: #6366F1;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}