/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-pscm0fliyl] {
    display: none;
    position: fixed;
    bottom: calc(var(--nav-height, 64px) + var(--safe-bottom, 0px) + 8px);
    left: 50%;
    transform: translateX(-50%);
    max-width: 420px;
    width: calc(100% - 32px);
    background: var(--color-error-container, #93000a);
    color: var(--color-on-error-container, #ffdad6);
    padding: 12px 16px;
    border-radius: var(--radius-default, 8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    animation: slideUp-b-pscm0fliyl 0.3s ease;
}

#blazor-error-ui .reload[b-pscm0fliyl] {
    color: var(--color-on-error-container, #ffdad6);
    text-decoration: underline;
    margin-left: auto;
    font-weight: 600;
    white-space: nowrap;
}

#blazor-error-ui .dismiss[b-pscm0fliyl] {
    cursor: pointer;
    opacity: 0.7;
    font-size: 16px;
    line-height: 1;
}

#blazor-error-ui .dismiss:hover[b-pscm0fliyl] {
    opacity: 1;
}

@keyframes slideUp-b-pscm0fliyl {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Component styles moved to app.css for global bottom-nav */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-wb8mk097on],
.components-reconnect-repeated-attempt-visible[b-wb8mk097on],
.components-reconnect-failed-visible[b-wb8mk097on],
.components-pause-visible[b-wb8mk097on],
.components-resume-failed-visible[b-wb8mk097on],
.components-rejoining-animation[b-wb8mk097on] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-wb8mk097on],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-wb8mk097on],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-wb8mk097on],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-wb8mk097on],
#components-reconnect-modal.components-reconnect-retrying[b-wb8mk097on],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-wb8mk097on],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-wb8mk097on],
#components-reconnect-modal.components-reconnect-failed[b-wb8mk097on],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-wb8mk097on] {
    display: block;
}

#components-reconnect-modal[b-wb8mk097on] {
    background: var(--color-surface-container, #122131);
    width: 20rem;
    max-width: calc(100% - 32px);
    margin: auto;
    padding: 2rem;
    border: 1px solid var(--color-outline-variant, #424656);
    border-radius: var(--radius-lg, 1rem);
    color: var(--color-on-surface, #d4e4fa);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-wb8mk097on 0.5s both;

    &[open] {
        animation: components-reconnect-modal-slideUp-b-wb8mk097on 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s,
                   components-reconnect-modal-fadeInOpacity-b-wb8mk097on 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }
}

#components-reconnect-modal[b-wb8mk097on]::backdrop {
    background: rgba(1, 15, 31, 0.8);
    backdrop-filter: blur(4px);
    animation: components-reconnect-modal-fadeInOpacity-b-wb8mk097on 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-wb8mk097on {
    0% {
        transform: translateY(30px) scale(0.95);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-wb8mk097on {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-wb8mk097on {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.components-reconnect-container[b-wb8mk097on] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-wb8mk097on] {
    margin: 0;
    text-align: center;
    font: var(--font-body-sm, 400 14px/1.5 'Inter', sans-serif);
    color: var(--color-on-surface-variant, #c2c6d8);
}

#components-reconnect-modal button[b-wb8mk097on] {
    border: none;
    background: var(--color-primary-container, #0066ff);
    color: var(--color-on-primary-container, #f8f7ff);
    font: var(--font-button, 600 14px/1 'Inter', sans-serif);
    padding: 10px 28px;
    border-radius: var(--radius-default, 8px);
    cursor: pointer;
    transition: all 0.2s ease;
}

#components-reconnect-modal button:hover[b-wb8mk097on] {
    background: #0052e0;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.components-rejoining-animation[b-wb8mk097on] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-wb8mk097on] {
    position: absolute;
    border: 3px solid var(--color-primary-container, #0066ff);
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-wb8mk097on 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-wb8mk097on] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-wb8mk097on {
    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/QrCode.razor.rz.scp.css */
.qrcode-page[b-0ni51y89oc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: var(--space-4);
    gap: var(--space-4);
}

.qrcode-page__hero[b-0ni51y89oc] {
    text-align: center;
}

.qrcode-page__title[b-0ni51y89oc] {
    font: var(--font-headline-md);
    color: var(--color-on-surface);
}

.qrcode-page__subtitle[b-0ni51y89oc] {
    font: var(--font-body-md);
    color: var(--color-on-surface-variant);
    margin-top: var(--space-1);
}

.qrcode-page__card[b-0ni51y89oc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    width: 100%;
    max-width: 300px;
}

.qrcode-page__image-wrapper[b-0ni51y89oc] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: white;
    border-radius: var(--radius-md);
    padding: 12px;
}

.qrcode-page__image[b-0ni51y89oc] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-page__url[b-0ni51y89oc] {
    word-break: break-all;
    text-align: center;
    max-width: 100%;
}

.qrcode-page__hint[b-0ni51y89oc] {
    max-width: 280px;
}
