/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout scoped styles — kept minimal to avoid overriding site.css dark theme */

#blazor-error-ui[b-l6en7bhlik] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-l6en7bhlik] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu scoped styles — extends site.css dark theme for collapsible nav */
/* Base nav-item/nav-section/sidebar-nav still in site.css */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-285rhg5dtc],
.components-reconnect-repeated-attempt-visible[b-285rhg5dtc],
.components-reconnect-failed-visible[b-285rhg5dtc],
.components-pause-visible[b-285rhg5dtc],
.components-resume-failed-visible[b-285rhg5dtc],
.components-rejoining-animation[b-285rhg5dtc] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-285rhg5dtc],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-285rhg5dtc],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-285rhg5dtc],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-285rhg5dtc],
#components-reconnect-modal.components-reconnect-retrying[b-285rhg5dtc],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-285rhg5dtc],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-285rhg5dtc],
#components-reconnect-modal.components-reconnect-failed[b-285rhg5dtc],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-285rhg5dtc] {
    display: block;
}


#components-reconnect-modal[b-285rhg5dtc] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-285rhg5dtc 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-285rhg5dtc 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-285rhg5dtc 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-285rhg5dtc]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-285rhg5dtc 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-285rhg5dtc {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-285rhg5dtc {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-285rhg5dtc {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-285rhg5dtc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-285rhg5dtc] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-285rhg5dtc] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-285rhg5dtc] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-285rhg5dtc] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-285rhg5dtc] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-285rhg5dtc] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-285rhg5dtc 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-285rhg5dtc] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-285rhg5dtc {
    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/Shared/DebugFab.razor.rz.scp.css */
/* ── Debug Feedback FAB — scoped to DebugFab.razor ── */

.dfab[b-9q2tg39ufd] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* ── Trigger button ── */
.dfab-trigger[b-9q2tg39ufd] {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
    transition: transform 0.15s, background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dfab-trigger:hover[b-9q2tg39ufd] {
    transform: scale(1.08);
}

.dfab-trigger-on[b-9q2tg39ufd] {
    background: var(--danger, #ef4444);
}

/* ── Quick-pick menu ── */
.dfab-menu[b-9q2tg39ufd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: dfab-pop-b-9q2tg39ufd 0.15s ease;
}

.dfab-opt[b-9q2tg39ufd] {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transition: border-color 0.15s, transform 0.15s;
}

.dfab-opt:hover[b-9q2tg39ufd] {
    border-color: var(--accent);
    transform: translateX(-4px);
}

/* ── Form panel ── */
.dfab-panel[b-9q2tg39ufd] {
    width: 340px;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.28);
    animation: dfab-pop-b-9q2tg39ufd 0.15s ease;
}

.dfab-panel-head[b-9q2tg39ufd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.dfab-x[b-9q2tg39ufd] {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 4px;
}

.dfab-x:hover[b-9q2tg39ufd] {
    color: var(--text-primary);
}

.dfab-panel-body[b-9q2tg39ufd] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dfab-lbl[b-9q2tg39ufd] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dfab-input[b-9q2tg39ufd] {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    padding: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}

.dfab-input:focus[b-9q2tg39ufd] {
    outline: none;
    border-color: var(--accent);
}

.dfab-ctx[b-9q2tg39ufd] {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Inline hint (style mode viewport/theme summary) ── */
.dfab-hint[b-9q2tg39ufd] {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 4px 0;
    letter-spacing: 0.02em;
}

/* ── Collapsible context section ── */
.dfab-details[b-9q2tg39ufd] {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.dfab-details-sum[b-9q2tg39ufd] {
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    background: var(--bg-primary);
    user-select: none;
    list-style: none;
}

.dfab-details-sum[b-9q2tg39ufd]::marker,
.dfab-details-sum[b-9q2tg39ufd]::-webkit-details-marker {
    display: none;
}

.dfab-details-sum[b-9q2tg39ufd]::before {
    content: "▸ ";
}

.dfab-details[open] > .dfab-details-sum[b-9q2tg39ufd]::before {
    content: "▾ ";
}

.dfab-details[open] > .dfab-details-sum[b-9q2tg39ufd] {
    border-bottom: 1px solid var(--border);
}

.dfab-details .dfab-ctx[b-9q2tg39ufd] {
    border: none;
    border-radius: 0;
}

/* ── User agent text (long, needs wrapping) ── */
.dfab-ua[b-9q2tg39ufd] {
    font-size: 0.72rem;
    word-break: break-all;
    line-height: 1.4;
    opacity: 0.8;
}

/* ── Action buttons ── */
.dfab-actions[b-9q2tg39ufd] {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.dfab-btn[b-9q2tg39ufd] {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: background 0.15s;
}

.dfab-btn-go[b-9q2tg39ufd] {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    flex: 1;
}

.dfab-btn-go:hover[b-9q2tg39ufd] {
    filter: brightness(1.1);
}

.dfab-btn-alt[b-9q2tg39ufd] {
    background: var(--bg-tertiary, #374151);
    color: var(--text-primary);
}

.dfab-btn-alt:hover[b-9q2tg39ufd] {
    filter: brightness(1.15);
}

.dfab-ok[b-9q2tg39ufd] {
    text-align: center;
    color: var(--success, #22c55e);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px;
}

/* ── Animation ── */
@keyframes dfab-pop-b-9q2tg39ufd {
    from { opacity: 0; transform: translateY(8px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Mobile ── */
@media (max-width: 480px) {
    .dfab[b-9q2tg39ufd] { right: 16px; bottom: 16px; }
    .dfab-panel[b-9q2tg39ufd] { width: calc(100vw - 32px); }
}

/* ── Print: hide entirely ── */
@media print {
    .dfab[b-9q2tg39ufd] { display: none !important; }
}
