/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Mobile-first layout */
.app-container[b-jmqgbbjjqp] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header[b-jmqgbbjjqp] {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-brand[b-jmqgbbjjqp] {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.app-brand:hover[b-jmqgbbjjqp] {
    color: #e0e0e0;
    text-decoration: none;
}

/* Sidebar - hidden on mobile, visible on desktop */
.sidebar[b-jmqgbbjjqp] {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    z-index: 200;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar.expanded[b-jmqgbbjjqp] {
    left: 0;
}

.sidebar-header[b-jmqgbbjjqp] {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-backdrop[b-jmqgbbjjqp] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 150;
}

/* Main content area */
.main-content[b-jmqgbbjjqp] {
    flex: 1;
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); /* Space for bottom nav on mobile */
}

.content-wrapper[b-jmqgbbjjqp] {
    padding: 1rem;
    max-width: 100%;
}

/* Bottom navigation - mobile only */
.bottom-nav[b-jmqgbbjjqp] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
}

.bottom-nav-item[b-jmqgbbjjqp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    color: #666;
    text-decoration: none;
    font-size: 0.75rem;
    min-width: 64px;
    min-height: 48px; /* Touch-friendly target */
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item:hover[b-jmqgbbjjqp] {
    color: #1a1a2e;
    text-decoration: none;
}

.bottom-nav-item:active[b-jmqgbbjjqp] {
    opacity: 0.7;
}

.bottom-nav-item.active[b-jmqgbbjjqp] {
    color: #4361ee;
}

.bottom-nav-item svg[b-jmqgbbjjqp] {
    margin-bottom: 0.25rem;
}

/* Error UI */
#blazor-error-ui[b-jmqgbbjjqp] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 70px; /* Above bottom nav */
    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-jmqgbbjjqp] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Tablet and Desktop - 768px and up */
@media (min-width: 768px) {
    .app-container[b-jmqgbbjjqp] {
        flex-direction: row;
    }

    .sidebar[b-jmqgbbjjqp] {
        position: sticky;
        left: 0;
        width: 250px;
        flex-shrink: 0;
    }

    .main-content[b-jmqgbbjjqp] {
        padding-bottom: 0;
        flex: 1;
        min-width: 0;
    }

    .content-wrapper[b-jmqgbbjjqp] {
        padding: 1.5rem 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    #blazor-error-ui[b-jmqgbbjjqp] {
        bottom: 0;
    }
}

/* Large desktop - 1024px and up */
@media (min-width: 1024px) {
    .sidebar[b-jmqgbbjjqp] {
        width: 280px;
    }

    .content-wrapper[b-jmqgbbjjqp] {
        padding: 2rem 3rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-nav[b-4wg05wdnk3] {
    padding: 1rem 0;
}

.nav-section-title[b-4wg05wdnk3] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    padding: 1rem 1rem 0.5rem;
    margin-top: 0.5rem;
}

.nav-item[b-4wg05wdnk3] {
    padding: 0 0.5rem;
}

.nav-item[b-4wg05wdnk3]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.nav-item[b-4wg05wdnk3]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.nav-item[b-4wg05wdnk3]  .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 500;
}

.nav-item[b-4wg05wdnk3]  .nav-link svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.nav-item[b-4wg05wdnk3]  .nav-link.active svg {
    opacity: 1;
}

.logout-form[b-4wg05wdnk3] {
    margin: 0;
}

.logout-button[b-4wg05wdnk3] {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-zm1wwhzrmt],
.components-reconnect-repeated-attempt-visible[b-zm1wwhzrmt],
.components-reconnect-failed-visible[b-zm1wwhzrmt],
.components-pause-visible[b-zm1wwhzrmt],
.components-resume-failed-visible[b-zm1wwhzrmt],
.components-rejoining-animation[b-zm1wwhzrmt] {
    display: none;
}

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


#components-reconnect-modal[b-zm1wwhzrmt] {
    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-zm1wwhzrmt 0.5s both;
    &[open]

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

}

#components-reconnect-modal[b-zm1wwhzrmt]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-zm1wwhzrmt 0.5s ease-in-out;
    opacity: 1;
}

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

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-zm1wwhzrmt {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

#components-reconnect-modal p[b-zm1wwhzrmt] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-zm1wwhzrmt] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-zm1wwhzrmt] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-zm1wwhzrmt] {
        background-color: #6b9ed2;
    }

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

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

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

@keyframes components-rejoining-animation-b-zm1wwhzrmt {
    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;
    }
}
