/* App-loading splash (als-) — shown until Blazor boots, then removed by Routes.razor */

.als-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 24px;
    background: #FDFAF6;
    animation: als-fade-in 0.4s ease-out;
}

@keyframes als-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.als-logo {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(14, 27, 53, 0.18), 0 4px 10px rgba(14, 27, 53, 0.10);
    animation: als-logo-pulse 2.4s ease-in-out infinite;
}

.als-logo img {
    width: 125%;
    height: 125%;
    margin: -12.5%;
    display: block;
    object-fit: cover;
}

@keyframes als-logo-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.04); }
}

.als-brand {
    font-family: 'Plus Jakarta Sans', 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: #0E1B35;
}

.als-bar {
    width: min(280px, 70%);
    height: 4px;
    background: #F2EDE4;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 4px;
}

.als-bar-fill {
    width: 40%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #E89020 0%, #F0A030 50%, #E89020 100%);
    animation: als-bar-slide 1.4s ease-in-out infinite;
}

@keyframes als-bar-slide {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(360%); }
}

.als-text {
    font-family: 'Inter', 'Noto Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    color: #6B5E50;
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
    .als-logo {
        width: 84px;
        height: 84px;
        border-radius: 20px;
    }

    .als-brand { font-size: 0.92rem; }
}
