﻿html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('../images/Logo.svg');
    mask: url('../images/Logo.svg');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 90px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

/* Splash screen – full screen overlay */
#splash-screen {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0f172a; /* tmavomodré pozadie, prípadne zmeň */
    z-index: 9999;
}

    #splash-screen img {
        max-width: 320px;
        height: auto;
        margin-bottom: 1.5rem;
    }

    #splash-screen .splash-text {
        color: red;
        font-size: 1.1rem;
    }

    /* Trieda, ktorú pridávame z JS pri skrytí splashu */
    #splash-screen.splash-hidden {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }