.loading-progress {
    position: absolute;
    display: block;
    width: 7rem;
    height: 7rem;
    inset: 24vh 0 auto 0;
    margin: 0 auto;
}

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

.loading-progress circle:last-child {
    stroke: #0ea5e9;
    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;
    inset: calc(24vh + 2.85rem) 0 auto 0;
    text-align: center;
    color: #5e718d;
    font: 700 0.92rem/1 "Manrope", sans-serif;
}

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

#blazor-error-ui {
    display: none;
    position: fixed;
    inset: auto 1rem 1rem 1rem;
    z-index: 9999;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(220, 38, 38, 0.18);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
    color: #991b1b;
}

#blazor-error-ui .reload {
    margin-left: 0.5rem;
    font-weight: 700;
}

#blazor-error-ui .dismiss {
    float: right;
    cursor: pointer;
}

.blazor-error-boundary {
    padding: 1rem 1.15rem;
    border-radius: 16px;
    background: #dc2626;
    color: #fff;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid rgba(21, 128, 61, 0.7);
    outline-offset: -1px;
}

.invalid {
    outline: 1px solid rgba(220, 38, 38, 0.8);
    outline-offset: -1px;
}

.validation-message {
    color: #b91c1c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

code {
    padding: 0.15rem 0.45rem;
    border-radius: 8px;
    color: #0f766e;
    background: rgba(14, 165, 233, 0.08);
}
