/* /Features/Platform/Layout/ReconnectModal.razor.rz.scp.css */
.cloud-reconnect[b-4n4afcp2ij] {
    /* Centred explicitly: MudBlazor's stylesheet resets the margin a <dialog> centres itself with. */
    position: fixed;
    inset: 0;
    margin: auto;
    height: fit-content;
    border: 0;
    border-radius: 12px;
    padding: 32px 24px;
    width: min(360px, calc(100vw - 32px));
    box-sizing: border-box;
    background: #FFFFFF;
    color: #023845;
    box-shadow: 0 7px 12px rgba(0, 0, 0, 0.15), 0 2px 7px rgba(0, 0, 0, 0.05);
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
}

    .cloud-reconnect[b-4n4afcp2ij]::backdrop {
        background-color: rgba(2, 56, 69, 0.45);
    }

.cloud-reconnect-box[b-4n4afcp2ij] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

    .cloud-reconnect-box p[b-4n4afcp2ij] {
        margin: 0;
    }

.cloud-reconnect-retrying[b-4n4afcp2ij],
.cloud-reconnect-reloading[b-4n4afcp2ij] {
    display: none;
}

.cloud-reconnect[data-state="retrying"] .cloud-reconnect-retrying[b-4n4afcp2ij],
.cloud-reconnect[data-state="reloading"] .cloud-reconnect-reloading[b-4n4afcp2ij] {
    display: block;
}

.cloud-reconnect-spinner[b-4n4afcp2ij] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid #92E4F8;
    border-top-color: #037691;
    animation: cloud-reconnect-spin-b-4n4afcp2ij 0.9s linear infinite;
}

@keyframes cloud-reconnect-spin-b-4n4afcp2ij {
    to {
        transform: rotate(360deg);
    }
}
/* /Features/Scanning/ScanInput.razor.rz.scp.css */
/* The camera view of ScanInput: the video at its own aspect ratio, the scanning window drawn over it,
   the rest of the frame dimmed (docs/scanning.md § Camera). */

.cloud-scan-view[b-kx8ivyhyuc] {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 16px;
    border-radius: 6px;
    overflow: hidden;
    background: #000000;
}

    .cloud-scan-view.cloud-scan-view-hidden[b-kx8ivyhyuc] {
        display: none;
    }

.cloud-scan-video[b-kx8ivyhyuc] {
    display: block;
    max-width: 100%;
    max-height: 60vh;
}

/* Class="cloud-scan-panel": the dark panel of a page that keeps scanning — the view in the middle without the gap under it
   or its corners, the camera at most a third of the screen high, so the items stay in view under it.
   Class="cloud-scan-fullscreen": the camera over the whole screen, as large as the screen allows beside the page's bar at
   the top and its text and button at the bottom. Both keep the stream's aspect ratio, so the window drawn over the video
   stays the part the module decodes. */

.cloud-scan-panel .cloud-scan-view[b-kx8ivyhyuc] {
    margin: 0 auto;
    border-radius: 0;
}

.cloud-scan-panel .cloud-scan-video[b-kx8ivyhyuc] {
    max-height: 33vh;
}

.cloud-scan-fullscreen .cloud-scan-view[b-kx8ivyhyuc] {
    margin: 0 auto;
}

.cloud-scan-fullscreen .cloud-scan-video[b-kx8ivyhyuc] {
    max-height: calc(100vh - 200px);
    max-height: calc(100dvh - 200px);
}

.cloud-scan-window[b-kx8ivyhyuc] {
    position: absolute;
    left: 10%;
    top: 32.5%;
    width: 80%;
    height: 35%;
    border: 2px solid #2BCBF1;
    border-radius: 6px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}
