/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-vg7mz6aub6] {
    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-vg7mz6aub6] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Sidebar Layout */
.page[b-vg7mz6aub6] {
    display: flex;
    min-height: 100vh;
}

.sidebar[b-vg7mz6aub6] {
    width: 256px;
    background: linear-gradient(180deg, #0e1a2b 0%, #0a1422 100%);
    color: #b9c6d8;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    box-shadow: 0 20px 45px rgba(4, 10, 20, 0.35);
}

/* Faint accent glow at the top of the sidebar */
.sidebar[b-vg7mz6aub6]::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(56, 132, 244, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.sidebar.collapsed[b-vg7mz6aub6] {
    width: 68px;
}

.sidebar.collapsed .sidebar-title[b-vg7mz6aub6],
.sidebar.collapsed .user-name[b-vg7mz6aub6],
.sidebar.collapsed .nav-link span[b-vg7mz6aub6],
.sidebar.collapsed .nav-section-label[b-vg7mz6aub6] {
    display: none;
}

.sidebar.collapsed .sidebar-nav[b-vg7mz6aub6] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.sidebar.collapsed .nav-link[b-vg7mz6aub6] {
    justify-content: center;
    gap: 0;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto;
    padding: 0;
    border-radius: 0.875rem;
}

.sidebar.collapsed .nav-link i[b-vg7mz6aub6] {
    width: auto;
}

.sidebar.collapsed .nav-link:hover[b-vg7mz6aub6] {
    transform: none;
}

.sidebar-header[b-vg7mz6aub6] {
    padding: 1.15rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

.sidebar-logo[b-vg7mz6aub6] {
    width: 34px;
    height: 34px;
    border-radius: 0.6rem;
}

.sidebar-title[b-vg7mz6aub6] {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #f2f6fb;
    white-space: nowrap;
    flex: 1;
}

.btn-sidebar-close[b-vg7mz6aub6] {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #e7edf5;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-info[b-vg7mz6aub6] {
    margin: 0.85rem 0.75rem 0.25rem;
    padding: 0.6rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0.85rem;
}

.user-avatar[b-vg7mz6aub6] {
    font-size: 1.7rem;
    color: #7fb2ff;
    line-height: 1;
}

.user-name[b-vg7mz6aub6] {
    font-size: 0.86rem;
    font-weight: 600;
    color: #dbe5f1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar.collapsed .user-info[b-vg7mz6aub6] {
    justify-content: center;
    padding: 0.5rem 0;
    background: transparent;
    border-color: transparent;
}

.sidebar-nav[b-vg7mz6aub6] {
    flex: 1;
    overflow-y: auto;
    padding: 0.875rem 0.75rem 1rem;
}

.nav-menu[b-vg7mz6aub6] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.nav-section-label[b-vg7mz6aub6] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(185, 198, 216, 0.5);
    padding: 0.9rem 0.85rem 0.3rem;
}

.nav-item[b-vg7mz6aub6] {
    margin: 0;
}

.nav-link[b-vg7mz6aub6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    color: rgba(205, 216, 231, 0.82);
    font-size: 0.93rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.18s ease;
    border-radius: 0.7rem;
    min-height: 2.75rem;
}

.nav-link:hover[b-vg7mz6aub6] {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    transform: translateX(2px);
}

.nav-link.active[b-vg7mz6aub6] {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(116, 185, 255, 0.22);
    font-weight: 600;
}

.nav-link.active i[b-vg7mz6aub6] {
    color: #7fb2ff;
}

.nav-link i[b-vg7mz6aub6] {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.9;
}

.sidebar-overlay[b-vg7mz6aub6] {
    display: none;
}

.sidebar-footer[b-vg7mz6aub6] {
    padding: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.btn-collapse[b-vg7mz6aub6] {
    width: 100%;
    background: transparent;
    border: none;
    color: #8296ae;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 0.6rem;
    transition: color 0.2s, background-color 0.2s;
}

.btn-collapse:hover[b-vg7mz6aub6] {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* Main Content */
.main-content[b-vg7mz6aub6] {
    flex: 1;
    margin-left: 256px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.sidebar.collapsed ~ .main-content[b-vg7mz6aub6] {
    margin-left: 68px;
}

.top-header[b-vg7mz6aub6] {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.7rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e4e9f2;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left[b-vg7mz6aub6] {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.recent-customers[b-vg7mz6aub6] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.recent-toggle[b-vg7mz6aub6] {
    border: 1px solid #e4e9f2;
    background: #fff;
    color: #1a2537;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.recent-toggle:hover[b-vg7mz6aub6] {
    background: #f2f6fd;
    border-color: #c9d7ef;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

.recent-toggle i[b-vg7mz6aub6] {
    color: #8a97ab;
}

.recent-toggle i:last-child[b-vg7mz6aub6] {
    margin-left: 0.3rem;
}

.recent-menu[b-vg7mz6aub6] {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    z-index: 300;
    list-style: none;
    margin: 0;
    padding: 0.45rem;
    min-width: 300px;
    background: #fff;
    border: 1px solid #e4e9f2;
    border-radius: 0.85rem;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.16);
}

.recent-menu li a[b-vg7mz6aub6],
.recent-empty[b-vg7mz6aub6] {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: 0.55rem;
    text-decoration: none;
    color: #1a2537;
    font-size: 0.9rem;
    transition: background-color 0.12s ease;
}

.recent-menu li a:hover[b-vg7mz6aub6] {
    background: #eff4ff;
    color: #1d4ed8;
}

.recent-empty[b-vg7mz6aub6] {
    color: #8a97ab;
}

.header-actions[b-vg7mz6aub6] {
    display: flex;
    gap: 0.4rem;
}

.btn-icon[b-vg7mz6aub6] {
    background: transparent;
    border: 1px solid transparent;
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5b6b83;
    font-size: 1rem;
    border-radius: 999px;
    transition: all 0.15s ease;
}

.btn-icon:hover[b-vg7mz6aub6] {
    background: #eff4ff;
    border-color: #dbe6fb;
    color: #2563eb;
}

.btn-menu-toggle[b-vg7mz6aub6] {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #1a2537;
}

.content-area[b-vg7mz6aub6] {
    flex: 1;
    padding: 1.75rem;
    background: transparent;
}

.page-footer[b-vg7mz6aub6] {
    padding: 1rem 1.5rem;
    text-align: center;
    color: #8a97ab;
    font-size: 0.82rem;
    border-top: 1px solid #e4e9f2;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar[b-vg7mz6aub6] {
        transform: translateX(-100%);
        width: min(280px, calc(100vw - 2rem));
        max-width: calc(100vw - 2rem);
    }

    .sidebar.mobile-open[b-vg7mz6aub6] {
        transform: translateX(0);
        box-shadow: 0 24px 60px rgba(4, 10, 20, 0.5);
    }

    .main-content[b-vg7mz6aub6] {
        margin-left: 0;
    }

    .sidebar.collapsed[b-vg7mz6aub6] {
        width: min(280px, calc(100vw - 2rem));
    }

    .sidebar.collapsed .sidebar-title[b-vg7mz6aub6],
    .sidebar.collapsed .user-name[b-vg7mz6aub6],
    .sidebar.collapsed .nav-link span[b-vg7mz6aub6],
    .sidebar.collapsed .nav-section-label[b-vg7mz6aub6] {
        display: initial;
    }

    .sidebar-overlay[b-vg7mz6aub6] {
        appearance: none;
        display: block;
        position: fixed;
        inset: 0;
        border: none;
        padding: 0;
        background: rgba(6, 13, 24, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 999;
    }

    .sidebar-overlay.visible[b-vg7mz6aub6] {
        opacity: 1;
        pointer-events: auto;
    }

    .recent-menu[b-vg7mz6aub6] {
        left: 0;
        right: auto;
        min-width: min(86vw, 320px);
    }

    .top-header[b-vg7mz6aub6] {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .content-area[b-vg7mz6aub6] {
        padding: 1rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-9sb7poqlbl],
.components-reconnect-repeated-attempt-visible[b-9sb7poqlbl],
.components-reconnect-failed-visible[b-9sb7poqlbl],
.components-pause-visible[b-9sb7poqlbl],
.components-resume-failed-visible[b-9sb7poqlbl],
.components-rejoining-animation[b-9sb7poqlbl] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-9sb7poqlbl],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-9sb7poqlbl],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-9sb7poqlbl],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-9sb7poqlbl],
#components-reconnect-modal.components-reconnect-retrying[b-9sb7poqlbl],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-9sb7poqlbl],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-9sb7poqlbl],
#components-reconnect-modal.components-reconnect-failed[b-9sb7poqlbl],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-9sb7poqlbl] {
    display: block;
}


#components-reconnect-modal[b-9sb7poqlbl] {
    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-9sb7poqlbl 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-9sb7poqlbl 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-9sb7poqlbl 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-9sb7poqlbl]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-9sb7poqlbl 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-9sb7poqlbl {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-9sb7poqlbl {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-9sb7poqlbl {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-9sb7poqlbl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-9sb7poqlbl] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-9sb7poqlbl] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-9sb7poqlbl] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-9sb7poqlbl] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-9sb7poqlbl] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-9sb7poqlbl] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-9sb7poqlbl 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-9sb7poqlbl] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-9sb7poqlbl {
    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;
    }
}
