/* /Components/Layout/GdprConsentBanner.razor.rz.scp.css */
.gdpr-banner[b-yx63ombe6j] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a2e;
    color: #fff;
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.gdpr-banner-content[b-yx63ombe6j] {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.gdpr-banner-content p[b-yx63ombe6j] {
    margin: 0;
    flex: 1;
    min-width: 280px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.gdpr-banner-buttons[b-yx63ombe6j] {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.gdpr-btn[b-yx63ombe6j] {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.gdpr-btn:hover[b-yx63ombe6j] {
    transform: translateY(-1px);
}

.gdpr-btn:active[b-yx63ombe6j] {
    transform: translateY(0);
}

.gdpr-btn-primary[b-yx63ombe6j] {
    background-color: #4caf50;
    color: #fff;
}

.gdpr-btn-primary:hover[b-yx63ombe6j] {
    background-color: #45a049;
}

.gdpr-btn-secondary[b-yx63ombe6j] {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.gdpr-btn-secondary:hover[b-yx63ombe6j] {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .gdpr-banner[b-yx63ombe6j] {
        padding: 1rem;
    }

    .gdpr-banner-content[b-yx63ombe6j] {
        flex-direction: column;
        text-align: center;
    }

    .gdpr-banner-content p[b-yx63ombe6j] {
        min-width: unset;
    }

    .gdpr-banner-buttons[b-yx63ombe6j] {
        width: 100%;
        flex-direction: column;
    }

    .gdpr-btn[b-yx63ombe6j] {
        width: 100%;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ss5hwlkh7i],
.components-reconnect-repeated-attempt-visible[b-ss5hwlkh7i],
.components-reconnect-failed-visible[b-ss5hwlkh7i],
.components-pause-visible[b-ss5hwlkh7i],
.components-resume-failed-visible[b-ss5hwlkh7i],
.components-rejoining-animation[b-ss5hwlkh7i] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ss5hwlkh7i],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ss5hwlkh7i],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ss5hwlkh7i],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ss5hwlkh7i],
#components-reconnect-modal.components-reconnect-retrying[b-ss5hwlkh7i],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ss5hwlkh7i],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ss5hwlkh7i],
#components-reconnect-modal.components-reconnect-failed[b-ss5hwlkh7i],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ss5hwlkh7i] {
    display: block;
}


#components-reconnect-modal[b-ss5hwlkh7i] {
    background-color: var(--bg-raised);
    color: var(--text);
    width: 26rem;
    max-width: calc(100% - 2rem);
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ss5hwlkh7i 0.5s both;
    display: none; /* Ensure it starts hidden */
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ss5hwlkh7i 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ss5hwlkh7i 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ss5hwlkh7i]::backdrop {
    background-color: rgba(2, 6, 23, 0.6);
    animation: components-reconnect-modal-fadeInOpacity-b-ss5hwlkh7i 0.5s ease-in-out;
    opacity: 1;
}

@media (prefers-color-scheme: light) {
    #components-reconnect-modal[b-ss5hwlkh7i]::backdrop {
        background-color: rgba(15, 23, 42, 0.25);
    }
}

@keyframes components-reconnect-modal-slideUp-b-ss5hwlkh7i {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ss5hwlkh7i {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ss5hwlkh7i {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ss5hwlkh7i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ss5hwlkh7i] {
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

#components-reconnect-modal .components-reconnect-btn[b-ss5hwlkh7i] {
    border: 1px solid transparent;
    background-color: var(--accent);
    color: white;
    padding: 8px 24px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--accent-glow);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#components-reconnect-modal .components-reconnect-btn:hover[b-ss5hwlkh7i] {
    background-color: var(--btn-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--accent-glow);
}

#components-reconnect-modal .components-reconnect-btn:active[b-ss5hwlkh7i] {
    transform: translateY(0);
}

#components-reconnect-modal .components-reconnect-btn:focus-visible[b-ss5hwlkh7i] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

#components-reconnect-modal .components-reload-btn[b-ss5hwlkh7i] {
    background-color: transparent;
    border-color: var(--border);
    color: var(--text);
    box-shadow: none;
}

#components-reconnect-modal .components-reload-btn:hover[b-ss5hwlkh7i] {
    border-color: var(--accent);
    color: var(--accent);
    background-color: transparent;
    box-shadow: none;
}

.components-rejoining-animation[b-ss5hwlkh7i] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ss5hwlkh7i] {
        position: absolute;
        border: 3px solid var(--accent);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ss5hwlkh7i 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ss5hwlkh7i] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ss5hwlkh7i {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/ScanPage.razor.rz.scp.css */
/* Fullscreen camera overlay */
.camera-overlay[b-2xrjg4jzst] {
    position: fixed;
    inset: 0;
    z-index: 1055; /* above Bootstrap modals */
    background: #000;
    overflow: hidden;
}
.camera-overlay.d-none[b-2xrjg4jzst] {
    display: none !important;
}
.camera-overlay video[b-2xrjg4jzst] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* fill screen while preserving aspect */
}
.camera-overlay .frame[b-2xrjg4jzst] {
    position: absolute;
    border: 3px solid rgba(255,255,255,0.95);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.25) inset;
    border-radius: 8px;
    pointer-events: none;
    z-index: 1;
}
.camera-overlay .shade[b-2xrjg4jzst] {
    position: absolute;
    background: rgba(0,0,0,0.5); /* transparent grey */
    pointer-events: none;
    z-index: 1;
}
/* Overlay action buttons positioned relative to viewport */
.camera-overlay .overlay-btn[b-2xrjg4jzst] {
    position: fixed;
    z-index: 2;
    background: rgba(255,255,255,0.95);
    color: #000;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 999px;
    padding: .5rem .75rem;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    cursor: pointer;
}
.camera-overlay .overlay-btn.round[b-2xrjg4jzst] {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    padding: 0;
}
/* Position close button at top-right of viewport */
.camera-overlay #closeCameraBtn[b-2xrjg4jzst] {
    top: 16px;
    right: 16px;
}
/* Position capture button at bottom-center of viewport */
.camera-overlay #captureBtn[b-2xrjg4jzst] {
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}
/* Make the camera icon larger while keeping the round button size */
.camera-overlay .overlay-btn.round img[b-2xrjg4jzst] {
    width: 32px;
    height: 32px;
}

/* Click feedback animation for the capture button */
@keyframes capturePulse-b-2xrjg4jzst {
    0%   { transform: translateX(-50%) scale(1); box-shadow: 0 2px 8px rgba(0,0,0,0.25), 0 0 0 0 rgba(255,255,255,0.0); }
    20%  { transform: translateX(-50%) scale(0.85); box-shadow: 0 6px 16px rgba(0,0,0,0.35), 0 0 24px 4px rgba(255,255,255,0.85); }
    60%  { transform: translateX(-50%) scale(1.08); box-shadow: 0 4px 12px rgba(0,0,0,0.3), 0 0 16px 2px rgba(255,255,255,0.5); }
    100% { transform: translateX(-50%) scale(1); box-shadow: 0 2px 8px rgba(0,0,0,0.25), 0 0 0 0 rgba(255,255,255,0.0); }
}
/* Expanding ripple ring */
@keyframes captureRing-b-2xrjg4jzst {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.2); opacity: 0; }
}
.camera-overlay #captureBtn.shutter[b-2xrjg4jzst] {
    animation: capturePulse-b-2xrjg4jzst 420ms ease-out;
}
.camera-overlay #captureBtn.shutter[b-2xrjg4jzst]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 3px solid rgba(255,255,255,0.95);
    pointer-events: none;
    animation: captureRing-b-2xrjg4jzst 520ms ease-out;
}

/* Focus indicator animation */
@keyframes focusPulse-b-2xrjg4jzst {
    0%   { transform: scale(0.8); opacity: 1; }
    50%  { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0; }
}
.focus-indicator[b-2xrjg4jzst] {
    position: absolute;
    width: 64px;
    height: 64px;
    border: 2px solid #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    animation: focusPulse-b-2xrjg4jzst 500ms ease-out forwards;
}

/* Processing overlay */
.processing-overlay[b-2xrjg4jzst] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1060;
}
.processing-overlay.active[b-2xrjg4jzst] {
    display: flex;
}

.processing-text[b-2xrjg4jzst] {
    color: #fff;
    margin-top: 1rem;
    font-weight: 500;
}

/* Spinner animation */
@keyframes spin-b-2xrjg4jzst {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.processing-spinner[b-2xrjg4jzst] {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-2xrjg4jzst 1s linear infinite;
}
