:root {
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 600px) {
    #app {
        display: flex;
        justify-content: center;
        width: 100%;
        min-height: 100vh;
    }

    .app-shell,
    .login-container,
    .intro-container {
        max-width: 560px;
        width: 100%;
        margin-inline: auto;
    }
}

/* Loading screen inside #app before Blazor WASM completes booting */
.web-loading-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    background-color: var(--bg-color, #F7EEDF);
    font-family: 'Cairo', sans-serif;
    text-align: center;
    box-sizing: border-box;
    padding: 2rem;
}

.web-loading-mascot {
    width: 120px;
    height: auto;
    animation: hoopoeFloat 3.4s ease-in-out infinite;
}

.web-loading-text {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep-purple, #2A1226);
}
