/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ============================= */
/* Navbar */
/* ============================= */

.custom-navbar[b-v1r9pzf1q5] {
    --bs-nav-link-color: var(--color-text);
    --bs-nav-link-hover-color: var(--color-text);
    background: var(--surface-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--surface-glass-border);
    padding: 0.8rem 0;
    z-index: 1100;
}

.navbar-brand img[b-v1r9pzf1q5] {
    height: 40px;
    width: auto;
    display: block;
}

.desktop-nav[b-v1r9pzf1q5] {
    display: flex;
    align-items: center;
}

.custom-navbar[b-v1r9pzf1q5]  .nav-link.custom-link {
    position: relative;
    display: inline-block;
    color: var(--color-text);
    font-weight: 600;
    margin-left: 1.5rem;
    padding: 0.25rem 0;
    transition: font-weight 0.2s ease;
}

.custom-navbar[b-v1r9pzf1q5]  .nav-link.custom-link:visited,
.custom-navbar[b-v1r9pzf1q5]  .nav-link.custom-link:active {
    color: var(--color-text);
}

.custom-navbar[b-v1r9pzf1q5]  .nav-link.custom-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-text);
    transition: width 0.25s ease;
}

.custom-navbar[b-v1r9pzf1q5]  .nav-link.custom-link:hover,
.custom-navbar[b-v1r9pzf1q5]  .nav-link.custom-link.active {
    font-weight: 700;
}

.custom-navbar[b-v1r9pzf1q5]  .nav-link.custom-link:hover::after,
.custom-navbar[b-v1r9pzf1q5]  .nav-link.custom-link.active::after {
    width: 100%;
}

/* ============================= */
/* Mobile Controls */
/* ============================= */

.mobile-menu-btn[b-v1r9pzf1q5] {
    width: 44px;
    height: 44px;
    border: 1px solid var(--surface-border-strong);
    border-radius: 12px;
    background: var(--surface-elevated);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.mobile-menu-btn span[b-v1r9pzf1q5] {
    width: 20px;
    height: 2px;
    background: var(--color-text);
    border-radius: 999px;
}

.theme-toggle[b-v1r9pzf1q5] {
    width: 44px;
    height: 44px;
    margin-left: 1.25rem;
    border: 1px solid var(--surface-border-strong);
    border-radius: 999px;
    background: var(--surface-elevated);
    color: var(--color-text);
    font-weight: 700;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(10, 12, 18, 0.08);
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover[b-v1r9pzf1q5] {
    transform: translateY(-1px) scale(1.02);
    background: var(--surface-hover);
    box-shadow: 0 14px 30px rgba(10, 12, 18, 0.14);
}

.theme-toggle:active[b-v1r9pzf1q5] {
    transform: scale(0.98);
}

.theme-icon[b-v1r9pzf1q5] {
    width: 20px;
    height: 20px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-icon-moon[b-v1r9pzf1q5] {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.mobile-overlay[b-v1r9pzf1q5] {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 18, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1200;
}

.mobile-overlay.show[b-v1r9pzf1q5] {
    opacity: 1;
    pointer-events: auto;
}

.mobile-sidebar[b-v1r9pzf1q5] {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 340px);
    height: 100vh;
    padding: 1.2rem 1rem;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 1210;
    background: var(--surface-glass);
    border-left: 1px solid var(--surface-glass-border);
    box-shadow: -16px 0 40px rgba(10, 12, 18, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.mobile-sidebar.open[b-v1r9pzf1q5] {
    transform: translateX(0);
}

.mobile-sidebar-nav[b-v1r9pzf1q5] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-theme-toggle[b-v1r9pzf1q5] {
    margin: 0 0 0.5rem;
    width: 44px;
}

.mobile-sidebar-nav[b-v1r9pzf1q5]  .mobile-link {
    color: var(--color-text) !important;
    font-weight: 600;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid transparent;
}

.mobile-sidebar-nav[b-v1r9pzf1q5]  .mobile-link:visited,
.mobile-sidebar-nav[b-v1r9pzf1q5]  .mobile-link:active,
.mobile-sidebar-nav[b-v1r9pzf1q5]  .mobile-link:hover,
.mobile-sidebar-nav[b-v1r9pzf1q5]  .mobile-link.active {
    color: var(--color-text) !important;
}

.mobile-sidebar-nav[b-v1r9pzf1q5]  .mobile-link:hover,
.mobile-sidebar-nav[b-v1r9pzf1q5]  .mobile-link.active {
    background: var(--surface-hover);
    border-color: var(--surface-border);
}

/* ============================= */
/* Page Container */
/* ============================= */

.page-content[b-v1r9pzf1q5] {
    padding-top: clamp(96px, 12vw, 132px);
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (max-width: 991.98px) {
    .desktop-nav[b-v1r9pzf1q5] {
        display: none;
    }

    .theme-toggle[b-v1r9pzf1q5] {
        display: none;
    }

    .mobile-menu-btn[b-v1r9pzf1q5] {
        display: inline-flex;
    }
}

@media (min-width: 992px) {
    .mobile-sidebar[b-v1r9pzf1q5],
    .mobile-overlay[b-v1r9pzf1q5] {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img[b-v1r9pzf1q5] {
        height: 34px;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-a8oqh8o2au],
.components-reconnect-repeated-attempt-visible[b-a8oqh8o2au],
.components-reconnect-failed-visible[b-a8oqh8o2au],
.components-pause-visible[b-a8oqh8o2au],
.components-resume-failed-visible[b-a8oqh8o2au],
.components-rejoining-animation[b-a8oqh8o2au] {
    display: none;
}

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


#components-reconnect-modal[b-a8oqh8o2au] {
    background-color: var(--surface-card);
    color: var(--color-text);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-a8oqh8o2au 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-a8oqh8o2au] {
    border: 0;
    background-color: var(--color-link);
    color: var(--color-text-inverse);
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-a8oqh8o2au] {
        filter: brightness(1.1);
    }

    #components-reconnect-modal button:active[b-a8oqh8o2au] {
        filter: brightness(1);
    }

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

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

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

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