.startup-loading {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #10212b;
    background: radial-gradient(ellipse at 50% 40%, #e4f6f0, transparent 55%), #f4f7f6;
    text-align: center;
}

.startup-loading-brand {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
}

.startup-loading-brand img { width: 48px; height: 48px; object-fit: contain; }
.startup-loading-ring {
    position: absolute;
    inset: 0;
    border: 3px solid #0a9e7e18;
    border-top-color: #0a9e7e;
    border-right-color: #18d0a280;
    border-radius: 50%;
    animation: startup-loading-spin 1.3s linear infinite;
}

.startup-loading-title { font-size: 21px; letter-spacing: -.025em; line-height: 1.4; }
.startup-loading-caption { margin-top: 5px; color: #65747d; font-size: 14px; }
.startup-loading-track {
    width: min(240px, 80vw);
    height: 5px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 8px;
    background: #dce9e5;
}

.startup-loading-track > span {
    display: block;
    width: var(--blazor-load-percentage, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0a9e7e, #18d0a2);
    transition: width .2s ease;
}

.startup-loading-progress { min-height: 20px; margin-top: 9px; color: #65747d; font-size: 12px; }
.startup-loading-progress::after { content: var(--blazor-load-percentage-text, "Iniciando…"); }

@keyframes startup-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .startup-loading-ring { animation: none; }
    .startup-loading-track > span { transition: none; }
}
