/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ==========================================================================
   Modalyx Glassmorphic Layout & Adaptive Navigation Architecture
   ========================================================================== */

.portal-root[b-tzvhlqewm6] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bg-app, #090d16);
    color: var(--text-primary, #f8fafc);
}

/* Glassmorphic Top Navigation Header */
.glass-navbar[b-tzvhlqewm6] {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 4rem;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.nav-container[b-tzvhlqewm6] {
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Brand Link & Glowing Gem */
.navbar-brand-link[b-tzvhlqewm6] {
    text-decoration: none;
    color: #ffffff;
    user-select: none;
}

.brand-gem-icon[b-tzvhlqewm6] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-gem-icon.sm[b-tzvhlqewm6] {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.navbar-brand-link:hover .brand-gem-icon[b-tzvhlqewm6] {
    transform: scale(1.05);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.7);
}

.brand-logo-img[b-tzvhlqewm6] {
    max-height: 36px;
    object-fit: contain;
}

.brand-title[b-tzvhlqewm6] {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 55%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Icon Buttons (Drawer & Sidebar Toggles) */
.nav-icon-btn[b-tzvhlqewm6] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary, #94a3b8);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.nav-icon-btn:hover[b-tzvhlqewm6] {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(99, 102, 241, 0.4);
}

.admin-badge[b-tzvhlqewm6] {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

/* Center Pill Nav Links */
.center-nav-links[b-tzvhlqewm6] {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.25rem 0.4rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-pill-link[b-tzvhlqewm6] {
    color: var(--text-secondary, #94a3b8);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.nav-pill-link:hover[b-tzvhlqewm6] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.nav-pill-link.active[b-tzvhlqewm6] {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.16);
    border-color: rgba(99, 102, 241, 0.35);
    font-weight: 600;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.22);
}

/* Admin Quick-Jump Pill */
.btn-admin-portal[b-tzvhlqewm6] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(139, 92, 246, 0.22) 100%);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #c7d2fe;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.38rem 0.85rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.25);
    white-space: nowrap;
}

.btn-admin-portal:hover[b-tzvhlqewm6] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.32) 0%, rgba(139, 92, 246, 0.38) 100%);
    color: #ffffff;
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}

.btn-public-portal[b-tzvhlqewm6] {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-secondary, #cbd5e1);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.38rem 0.85rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-public-portal:hover[b-tzvhlqewm6] {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

/* User Account & Sign In Pills */
.btn-signin-pill[b-tzvhlqewm6] {
    background: var(--color-primary, #6366f1);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-signin-pill:hover[b-tzvhlqewm6] {
    background: var(--color-primary-hover, #4f46e5);
    color: #ffffff;
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.55);
    transform: translateY(-1px);
}

.user-profile-pill[b-tzvhlqewm6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
    border-radius: 9999px;
    color: var(--text-primary, #f8fafc);
    text-decoration: none;
    transition: all 0.15s ease;
}

.user-profile-pill:hover[b-tzvhlqewm6] {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.4);
    color: #ffffff;
}

.user-avatar-circle[b-tzvhlqewm6] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.user-name-label[b-tzvhlqewm6] {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Slide-Over Drawer for Mobile / Quick Access */
.drawer-overlay[b-tzvhlqewm6] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
}

.slide-drawer[b-tzvhlqewm6] {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 290px;
    max-width: 85vw;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    animation: drawerSlideIn-b-tzvhlqewm6 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

@keyframes drawerSlideIn-b-tzvhlqewm6 {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.btn-close-drawer[b-tzvhlqewm6] {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.btn-close-drawer:hover[b-tzvhlqewm6] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Adaptive Body Wrapper */
.portal-body-wrapper[b-tzvhlqewm6] {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 4rem);
}

/* Public Mode: Clean Expansive Full-Width Canvas */
.portal-body-wrapper.public-fullwidth[b-tzvhlqewm6] {
    width: 100%;
}

.portal-body-wrapper.public-fullwidth .portal-main-canvas[b-tzvhlqewm6] {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.portal-body-wrapper.public-fullwidth .content-container[b-tzvhlqewm6] {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 4rem;
}

/* Admin Mode: Persistent or Collapsible Sidebar */
.portal-body-wrapper.admin-expanded[b-tzvhlqewm6] {
    flex-direction: row;
}

.admin-sidebar[b-tzvhlqewm6] {
    width: 260px;
    height: calc(100vh - 4rem);
    position: sticky;
    top: 4rem;
    flex-shrink: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
}

.portal-body-wrapper.admin-collapsed .admin-sidebar[b-tzvhlqewm6] {
    display: none;
}

.portal-main-canvas[b-tzvhlqewm6] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-app, #090d16);
}

.portal-body-wrapper.admin-expanded .content-container[b-tzvhlqewm6] {
    flex: 1;
    padding: 1.5rem 2rem 4rem;
    width: 100%;
}

.portal-body-wrapper.admin-collapsed .content-container[b-tzvhlqewm6] {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 4rem;
    width: 100%;
}

/* Blazor Error Notification */
#blazor-error-ui[b-tzvhlqewm6] {
    background: #1e1b4b;
    color: #e0e7ff;
    border-top: 1px solid #6366f1;
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 10000;
}

#blazor-error-ui a[b-tzvhlqewm6] {
    color: #a5b4fc;
    font-weight: 600;
    margin-left: 0.5rem;
}

#blazor-error-ui .dismiss[b-tzvhlqewm6] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.75rem;
    color: #c7d2fe;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-37279br10e] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.6rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem rgba(255, 255, 255, 0.05);
}

.navbar-toggler:checked[b-37279br10e] {
    background-color: rgba(255, 255, 255, 0.15);
}

.top-row[b-37279br10e] {
    min-height: 3.75rem;
    background-color: transparent;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    display: flex;
    align-items: center;
}

.navbar-brand[b-37279br10e] {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bi[b-37279br10e] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    width: 1.25rem;
    margin-right: 0.75rem;
    color: inherit;
    flex-shrink: 0;
}

.nav-item[b-37279br10e] {
    font-size: 0.9rem;
    padding-bottom: 0.25rem;
}

.nav-item:first-of-type[b-37279br10e] {
    padding-top: 0.75rem;
}

.nav-item:last-of-type[b-37279br10e] {
    padding-bottom: 1.5rem;
}

.nav-item[b-37279br10e]  .nav-link {
    color: var(--text-secondary, #94a3b8);
    background: transparent;
    border: none;
    border-radius: 8px;
    height: 2.6rem;
    display: flex;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0 0.85rem;
    transition: all 0.15s ease;
    text-decoration: none;
}

.nav-item[b-37279br10e]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.nav-item[b-37279br10e]  a.active {
    background: rgba(99, 102, 241, 0.16);
    color: #818cf8;
    font-weight: 600;
    border-left: 3px solid var(--color-primary, #6366f1);
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.nav-scrollable[b-37279br10e] {
    display: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
    scroll-behavior: smooth;
}

.nav-scrollable[b-37279br10e]::-webkit-scrollbar {
    width: 4px;
}

.nav-scrollable[b-37279br10e]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-scrollable[b-37279br10e]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.nav-scrollable[b-37279br10e]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:checked ~ .nav-scrollable[b-37279br10e] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-37279br10e] {
        display: none;
    }

    .nav-scrollable[b-37279br10e] {
        display: block;
        height: calc(100vh - 3.75rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-txi2tiuox1],
.components-reconnect-repeated-attempt-visible[b-txi2tiuox1],
.components-reconnect-failed-visible[b-txi2tiuox1],
.components-pause-visible[b-txi2tiuox1],
.components-resume-failed-visible[b-txi2tiuox1],
.components-rejoining-animation[b-txi2tiuox1] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-txi2tiuox1],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-txi2tiuox1],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-txi2tiuox1],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-txi2tiuox1],
#components-reconnect-modal.components-reconnect-retrying[b-txi2tiuox1],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-txi2tiuox1],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-txi2tiuox1],
#components-reconnect-modal.components-reconnect-failed[b-txi2tiuox1],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-txi2tiuox1] {
    display: block;
}


#components-reconnect-modal[b-txi2tiuox1] {
    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-txi2tiuox1 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-txi2tiuox1 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-txi2tiuox1 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-txi2tiuox1]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-txi2tiuox1 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-txi2tiuox1 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-txi2tiuox1 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-txi2tiuox1 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-txi2tiuox1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-txi2tiuox1] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-txi2tiuox1] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-txi2tiuox1] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-txi2tiuox1] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-txi2tiuox1] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-txi2tiuox1] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-txi2tiuox1 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-txi2tiuox1] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-txi2tiuox1 {
    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;
    }
}
