html, body {
    margin: 0;
    min-height: 100%;
    background: #06140d;
    color: #f8fafc;
    font-family: "Segoe UI Variable Display", "Bahnschrift", "Trebuchet MS", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
}

@keyframes canopy-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 28px rgba(0, 255, 163, 0.18);
    }
    50% {
        box-shadow: 0 0 44px rgba(0, 209, 255, 0.22);
    }
}

.canopy-fade-in {
    animation: canopy-fade-up 420ms ease-out both;
}

.strategy-level-enter {
    animation: canopy-fade-up 320ms ease-out both;
}

.glow-pulse {
    animation: glow-pulse 2.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .canopy-fade-in,
    .strategy-level-enter,
    .glow-pulse {
        animation: none !important;
    }
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    inset-inline: 1rem;
    bottom: 1rem;
    border: 1px solid rgba(248, 250, 252, 0.12);
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.92);
    color: #e2e8f0;
    padding: 0.9rem 1rem;
    backdrop-filter: blur(12px);
    z-index: 1000;
}

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

.loading-progress {
    position: relative;
    display: block;
    width: 7rem;
    height: 7rem;
    margin: 18vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 0.55rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #00ffa3;
    stroke-dasharray: calc(3.14159 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    filter: drop-shadow(0 0 12px rgba(0, 255, 163, 0.55));
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    text-align: center;
    color: #cbd5e1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

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