html,
body {
    font-family: Roboto, Arial, sans-serif;
    background: #fafafa;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(252, 228, 236, 0.95), rgba(255, 255, 255, 0.85)),
        radial-gradient(circle at 80% 20%, rgba(255, 64, 129, 0.16), transparent 32%);
}

.login-panel {
    width: min(420px, calc(100vw - 32px));
    padding: 32px;
    border-top: 4px solid #e91e63;
}

.metric-card {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-left: 4px solid #e91e63;
}

#blazor-error-ui {
    background: #880e4f;
    bottom: 0;
    color: white;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
}

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

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

.loading-progress circle:last-child {
    stroke: #e91e63;
    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: 500;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

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