/* Generated by ./dev.sh sync from packages/xsobet_common/web/style.css; edit that file, not this copy. */

html {
    body {
        background-color: white;
    }
}

.loader {
    z-index: 99999;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    /* Covers the app until start-up finishes: same color as body in both themes */
    background-color: inherit;
    transition: opacity 0.6s;
}

.loader-done {
    opacity: 0;
    pointer-events: none;
}

.icon128 {
    width: 128px;
    height: auto;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.loading {
    width: 60px;
    aspect-ratio: 4;
    --_g: no-repeat radial-gradient(circle closest-side, #000 90%, #0000);
    background:
        var(--_g) 0% 50%,
        var(--_g) 50% 50%,
        var(--_g) 100% 50%;
    background-size: calc(100%/3) 100%;
    animation: l7 1s infinite linear;
}

@keyframes l7 {
    33% {
        background-size: calc(100%/3) 0%, calc(100%/3) 100%, calc(100%/3) 100%
    }

    50% {
        background-size: calc(100%/3) 100%, calc(100%/3) 0%, calc(100%/3) 100%
    }

    66% {
        background-size: calc(100%/3) 100%, calc(100%/3) 100%, calc(100%/3) 0%
    }
}

/* Loading percentage, moved by flutter_bootstrap.js */
.progress {
    --progress-color: #000;
    --progress-track: rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.progress-track {
    width: 160px;
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    background-color: var(--progress-track);
}

.progress-bar {
    width: 0%;
    height: 100%;
    border-radius: 2px;
    background-color: var(--progress-color);
    transition: width 0.15s linear;
}

.progress-text {
    color: var(--progress-color);
    font: 500 14px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
}

.progress-error {
    max-width: 280px;
    color: var(--progress-color);
    font: 400 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    text-align: center;
}

.progress-retry {
    margin-top: 0.75rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.progress-step {
    min-height: 1.4em;
    color: var(--progress-color);
    opacity: 0.75;
    font: 400 12px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
    text-align: center;
}
