/* Loader layout lives here (not inline style="") so style-src 'self' allows it. */
:root {
    --unixi-loader-bg: linear-gradient(180deg, #101012 0%, #1A1B1E 80.83%, #26272C 100%);
    --unixi-loader-color: white;
}

html.theme-light {
    --unixi-loader-bg: linear-gradient(180deg, #FFFFFF 0%, #F6F6F7 80.83%, #EDECED 100%);
    --unixi-loader-color: #111318;
}

html.theme-dark {
    --unixi-loader-bg: linear-gradient(180deg, #101012 0%, #1A1B1E 80.83%, #26272C 100%);
    --unixi-loader-color: #FFFFFF;
}

#root {
    height: 100vh;
}

#unixi_management_loader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: var(--unixi-loader-bg);
    color: var(--unixi-loader-color);
    transition: 1.5s;
    opacity: 1;
    font-family: sans-serif !important;
    line-height: 1;
}

#unixi_management_loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

#unixi_management_loader > div {
    position: absolute;
    margin: auto;
    top: 30%;
    left: 0;
    right: 0;
    width: 30vw;
    text-align: center;
}

#unixi_loader_logo {
    width: 30vw;
    height: 10.17vw;
}

#loader_wave_animation {
    position: relative;
    text-align: center;
    width: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    bottom: -3px;
    left: 10px;

    .dot {
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        margin-right: 3px;
        background: white;
        opacity: 0.5;
        animation: wave 1.3s linear infinite;

        &:nth-child(2) {
            animation-delay: -1.1s;
        }

        &:nth-child(3) {
            animation-delay: -0.9s;
        }
    }
}

@keyframes wave {
    0%,
    60%,
    100% {
        transform: initial;
    }

    30% {
        transform: translateY(-10px);
        opacity: 0;
    }
}