﻿/* ── Splash screen ──────────────────────────────────────
   La clase "avalonia-splash" NO debe cambiar de nombre:
   el runtime WASM de Avalonia la busca para cerrar el
   splash cuando la app termina de cargar.           */
.avalonia-splash {
    position: absolute;
    height: 100%;
    width: 100%;
    background: white;
    font-family: 'Outfit', sans-serif;
    justify-content: center;
    align-items: center;
    display: flex;
    pointer-events: none;
}

.neoplus-splash-content {
    text-align: center;
}

.neoplus-logo {
    max-width: 360px;
    height: auto;
    margin-bottom: 12px;
}

/* Light theme */
@media (prefers-color-scheme: light) {
    .avalonia-splash {
        background: white;
    }
    .neoplus-splash-content h2 {
        color: #1b2a4e;
    }
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
    .avalonia-splash {
        background: #1b2a4e;
    }
    .neoplus-splash-content h2 {
        color: white;
    }
}

.neoplus-splash-content h2 {
    font-weight: 400;
    font-size: 1.5rem;
    margin: 0;
}

.avalonia-splash.splash-close {
    transition: opacity 200ms, display 200ms;
    display: none;
    opacity: 0;
}
