/* /Components/Layout/MainLayout.razor.rz.scp.css */
.top-navbar[b-6lhdlbmd2t] {
    background: linear-gradient(135deg, #1e40af 0%, #38bdf8 100%) !important;
    height: 3.25rem;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
    font-family: var(--navbar-font);
    box-shadow: 0 2px 20px rgba(14,165,233,0.35), 0 1px 0 rgba(255,255,255,0.1);
    flex-wrap: nowrap;
}

.top-navbar .navbar-brand[b-6lhdlbmd2t] {
    font-family: var(--navbar-font);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.page-body[b-6lhdlbmd2t] {
    display: flex;
    flex-direction: row;
    height: auto;
    min-height: calc(100vh - 3.25rem);
    overflow: visible;
    background: #f5f5f5;
    max-width: 100vw;
}

.sidebar-thin[b-6lhdlbmd2t] {
    width: 200px;
    min-width: 200px;
    background: var(--sidebar-bg) !important;
    overflow-y: auto;
    border-right: 1px solid #ddd;
    overflow-x: hidden;
}

.sidebar-thin:has(> :not(:empty))[b-6lhdlbmd2t] {
    width: 180px;
    min-width: 180px;
}

.content-area[b-6lhdlbmd2t] {
    flex: 1;
    height: auto;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.content-area-full[b-6lhdlbmd2t] {
    flex: 1;
    overflow-y: visible;
    height: auto;
    flex-direction: column;
    background: #f8fafc;
}

#blazor-error-ui[b-6lhdlbmd2t] {
    color-scheme: light only;
    background: #fef2f2;
    bottom: 0;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    display: none;
    left: 0;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-family: var(--navbar-font);
}

#blazor-error-ui .reload[b-6lhdlbmd2t] {
    font-weight: 600;
    color: #dc2626;
}

#blazor-error-ui .dismiss[b-6lhdlbmd2t] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    font-size: 1.25rem;
}

/* ── Mobile Header ── */
.mobile-header[b-6lhdlbmd2t] {
    background: linear-gradient(100deg,
        rgba(30, 58, 138, 0.95) 0%,
        rgba(37, 99, 235, 0.9) 40%,
        rgba(56, 189, 248, 0.85) 75%,
        rgba(125, 211, 252, 0.8) 100%);
    height: 3.25rem;
    align-items: center;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(14,165,233,0.35);
}

.mobile-brand[b-6lhdlbmd2t] {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

/* ── Mobile Bottom Nav ── */
.mobile-bottom-nav[b-6lhdlbmd2t] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 200;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-tab[b-6lhdlbmd2t] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    text-decoration: none;
    color: #94a3b8;
    padding: 8px 0;
    transition: color 0.2s ease;
    position: relative;
}

.mobile-tab.active[b-6lhdlbmd2t] {
    color: #2563eb;
}

.mobile-tab.active[b-6lhdlbmd2t]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: #2563eb;
    border-radius: 0 0 4px 4px;
}

.mobile-tab-icon[b-6lhdlbmd2t] {
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-tab.active .mobile-tab-icon[b-6lhdlbmd2t] {
    transform: scale(1.15);
}

.mobile-tab-label[b-6lhdlbmd2t] {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ── Mobile page-body adjustment ── */
@media (max-width: 767px) {
    .page-body[b-6lhdlbmd2t] {
        height: calc(100dvh - 3.25rem - 64px);
    }

    .content-area[b-6lhdlbmd2t] {
        padding-bottom: 0 !important;
    }
}

/* Collapsed sidebar width — triggered by child class */
.sidebar-thin:has(.snav-collapsed)[b-6lhdlbmd2t] {
    width: 60px !important;
    min-width: 60px !important;
}

/* ── Back / Forward nav buttons ── */
.nav-history-btns[b-6lhdlbmd2t] {
    display: flex;
    gap: 3px;
    align-items: center;
    flex-shrink: 0;
}

.nav-hist-btn[b-6lhdlbmd2t] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
    flex-shrink: 0;
}

.nav-hist-btn svg[b-6lhdlbmd2t] {
    width: 16px;
    height: 16px;
}

.nav-hist-btn:hover[b-6lhdlbmd2t] {
    background: rgba(5,150,105,0.3);
    border-color: rgba(5,150,105,0.5);
    box-shadow: 0 4px 12px rgba(5,150,105,0.3), inset 0 1px 0 rgba(255,255,255,0.28);
    transform: translateY(-1px);
}

.nav-hist-btn:active[b-6lhdlbmd2t] {
    transform: translateY(0) scale(0.94);
    background: rgba(255,255,255,0.28);
}

.nav-refresh-btn:hover svg[b-6lhdlbmd2t] {
    animation: spin-refresh-b-6lhdlbmd2t 0.6s ease-in-out;
}

@keyframes spin-refresh-b-6lhdlbmd2t {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Info Button ── */
.nav-info-btn[b-6lhdlbmd2t] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(56,189,248,0.15) 0%, rgba(99,102,241,0.2) 100%);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-info-btn:hover[b-6lhdlbmd2t] {
    background: linear-gradient(135deg, rgba(5,150,105,0.25) 0%, rgba(16,185,129,0.35) 100%);
    border-color: rgba(5,150,105,0.5);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5,150,105,0.3), inset 0 1px 0 rgba(255,255,255,0.22);
}
.nav-info-btn:active[b-6lhdlbmd2t] { transform: translateY(0) scale(0.97); }
.nav-info-icon[b-6lhdlbmd2t] { font-size: 17px; color: #7dd3fc; filter: drop-shadow(0 0 6px rgba(56,189,248,0.8)); }
.nav-info-label[b-6lhdlbmd2t] {
    background: linear-gradient(90deg, #e0f2fe, #c7d2fe);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; font-weight: 700; letter-spacing: 0.03em;
}

/* ── Navbar Brand Glass Button ── */
.navbar-brand-glass[b-6lhdlbmd2t] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 8px;
    border-radius: 10px;
    border: none;
    background: transparent;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: -0.01em;
    margin-right: 0.5rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar-brand-glass:hover[b-6lhdlbmd2t] {
    background: #059669;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(5,150,105,0.4);
}

.nbg-icon[b-6lhdlbmd2t] { font-size: 1.1rem; line-height: 1; }
.nbg-text[b-6lhdlbmd2t] {
    background: linear-gradient(90deg, #e0f2fe, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.3rem;
}

/* ── Lab Info Button ── */
.nav-labinfo-btn[b-6lhdlbmd2t] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(56,189,248,0.15) 0%, rgba(99,102,241,0.2) 100%);
    border: 2px solid #a78bfa;
    color: white;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    box-shadow: 0 0 8px rgba(167,139,250,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
    margin-right: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-labinfo-btn:hover[b-6lhdlbmd2t] {
    background: linear-gradient(135deg, rgba(5,150,105,0.25) 0%, rgba(16,185,129,0.35) 100%);
    border-color: rgba(5,150,105,0.5);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5,150,105,0.3), inset 0 1px 0 rgba(255,255,255,0.22);
}
.nav-labinfo-btn:active[b-6lhdlbmd2t] { transform: translateY(0) scale(0.97); }

@media print {
    .top-navbar[b-6lhdlbmd2t] { display: none !important; }
    .mobile-header[b-6lhdlbmd2t] { display: none !important; }
    .mobile-bottom-nav[b-6lhdlbmd2t] { display: none !important; }
    .sidebar-thin[b-6lhdlbmd2t] { display: none !important; }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Minimal - No styles */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-37l888geqx],
.components-reconnect-repeated-attempt-visible[b-37l888geqx],
.components-reconnect-failed-visible[b-37l888geqx],
.components-pause-visible[b-37l888geqx],
.components-resume-failed-visible[b-37l888geqx],
.components-rejoining-animation[b-37l888geqx] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-37l888geqx],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-37l888geqx],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-37l888geqx],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-37l888geqx],
#components-reconnect-modal.components-reconnect-retrying[b-37l888geqx],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-37l888geqx],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-37l888geqx],
#components-reconnect-modal.components-reconnect-failed[b-37l888geqx],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-37l888geqx] {
    display: block;
}


#components-reconnect-modal[b-37l888geqx] {
    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-37l888geqx 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-37l888geqx 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-37l888geqx 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-37l888geqx]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-37l888geqx 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-37l888geqx {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-37l888geqx {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-37l888geqx {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-37l888geqx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-37l888geqx] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-37l888geqx] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-37l888geqx] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-37l888geqx] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-37l888geqx] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-37l888geqx] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-37l888geqx 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-37l888geqx] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-37l888geqx {
    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;
    }
}
