/* /Components/Layout/AdminLayout.razor.rz.scp.css */
/* AdminLTE-like Layout */
.wrapper[b-fqyejzhx6x] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--color-bg-body);
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Navbar (Main Header) */
.main-header[b-fqyejzhx6x] {
    background: var(--color-bg-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1034;
    height: 57px;
    /* Typical AdminLTE height */
    margin-left: 250px;
    transition: margin-left 0.3s ease-in-out;
}

.main-header .navbar-nav[b-fqyejzhx6x] {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

.nav-link[b-fqyejzhx6x] {
    color: var(--color-text-muted);
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
}

.nav-link:hover[b-fqyejzhx6x] {
    color: var(--color-text-main);
}

/* Main Sidebar */
.main-sidebar[b-fqyejzhx6x] {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    /* Keeps original dark theme */
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    z-index: 1038;
    transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: hidden;
    /* Use internal scroll for sidebar content */
    display: flex;
    flex-direction: column;
}

.sidebar[b-fqyejzhx6x] {
    height: calc(100% - 57px);
    overflow-y: auto;
    padding-bottom: 0;
    scrollbar-width: thin;
    scrollbar-color: #a9a9a9 transparent;
}

/* Brand Link */
.brand-link[b-fqyejzhx6x] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8125rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    height: 57px;
    transition: width 0.3s ease-in-out;
    white-space: nowrap;
}

.brand-text[b-fqyejzhx6x] {
    font-weight: 300;
    font-size: 1.25rem;
}

.admin-badge[b-fqyejzhx6x] {
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.15em 0.4em;
    border-radius: 0.25rem;
    font-size: 75%;
    font-weight: 700;
    vertical-align: super;
    margin-left: 5px;
}

/* User Panel */
.user-panel[b-fqyejzhx6x] {
    position: relative;
    padding: 1rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-panel .image[b-fqyejzhx6x] {
    padding-right: 10px;
}

.user-image-placeholder[b-fqyejzhx6x] {
    height: 2.1rem;
    width: 2.1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.user-panel .info[b-fqyejzhx6x] {
    transition: margin-left 0.3s linear, opacity .3s ease, visibility .3s ease;
}

.user-panel .info a[b-fqyejzhx6x] {
    color: #c2c7d0;
    text-decoration: none;
}

/* Sidebar Menu */
.nav-sidebar[b-fqyejzhx6x] {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.25rem;
}

.nav-header[b-fqyejzhx6x] {
    font-size: .9rem;
    padding: 0.5rem 1rem;
    color: #aeb4c6;
    /* Lighter than before */
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0.5rem;
}

.main-sidebar[b-fqyejzhx6x]  .nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #c2c7d0;
    border-radius: 0.25rem;
    transition: background-color 0.1s;
}

.main-sidebar[b-fqyejzhx6x]  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.main-sidebar[b-fqyejzhx6x]  .nav-link.active {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.main-sidebar[b-fqyejzhx6x]  .nav-icon {
    width: 1.6rem;
    text-align: center;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.main-sidebar[b-fqyejzhx6x]  .nav-link p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Wrapper */
.content-wrapper[b-fqyejzhx6x] {
    background-color: var(--color-bg-body);
    margin-left: 250px;
    min-height: calc(100vh - 57px - 50px);
    /* minus header and footer */
    transition: margin-left 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

/* Content Header */
.content-header[b-fqyejzhx6x] {
    padding: 15px 0.5rem;
    background-color: transparent;
    /* usually transparent in AdminLTE */
}

.content-header h1[b-fqyejzhx6x] {
    font-size: 1.8rem;
    margin: 0;
    color: var(--color-text-main);
    font-weight: 400;
}

.breadcrumb[b-fqyejzhx6x] {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 0;
    list-style: none;
    background-color: transparent;
    border-radius: 0.25rem;
    justify-content: flex-end;
}

.breadcrumb-item+.breadcrumb-item[b-fqyejzhx6x] {
    padding-left: 0.5rem;
}

.breadcrumb-item+.breadcrumb-item[b-fqyejzhx6x]::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #6c757d;
    content: "/";
}

.breadcrumb-item a[b-fqyejzhx6x] {
    color: var(--color-primary);
}

.breadcrumb-item.active[b-fqyejzhx6x] {
    color: #6c757d;
}

/* Main Content */
.content[b-fqyejzhx6x] {
    padding: 0 0.5rem;
    flex: 1;
}

.container-fluid[b-fqyejzhx6x] {
    width: 100%;
    padding-right: 7.5px;
    padding-left: 7.5px;
    margin-right: auto;
    margin-left: auto;
}

.row[b-fqyejzhx6x] {
    display: flex;
    flex-wrap: wrap;
    margin-right: -7.5px;
    margin-left: -7.5px;
}

.col-sm-6[b-fqyejzhx6x] {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 7.5px;
    padding-left: 7.5px;
}

/* Footer */
.main-footer[b-fqyejzhx6x] {
    background: var(--color-bg-surface);
    border-top: 1px solid var(--color-border);
    padding: 1rem;
    color: #869099;
    margin-left: 250px;
    transition: margin-left 0.3s ease-in-out;
}

.main-footer a[b-fqyejzhx6x] {
    color: #869099;
}

/* Utilities */
.elevation-4[b-fqyejzhx6x] {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22) !important;
}

.elevation-2[b-fqyejzhx6x] {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23) !important;
}

.mb-2[b-fqyejzhx6x] {
    margin-bottom: 0.5rem !important;
}

.m-0[b-fqyejzhx6x] {
    margin: 0 !important;
}

.ml-auto[b-fqyejzhx6x] {
    margin-left: auto !important;
}

.mt-2[b-fqyejzhx6x] {
    margin-top: 0.5rem !important;
}

.mt-3[b-fqyejzhx6x] {
    margin-top: 1rem !important;
}

.mt-auto[b-fqyejzhx6x] {
    margin-top: auto !important;
}

.pb-3[b-fqyejzhx6x] {
    padding-bottom: 1rem !important;
}

.mb-3[b-fqyejzhx6x] {
    margin-bottom: 1rem !important;
}

.d-flex[b-fqyejzhx6x] {
    display: flex !important;
}

.d-block[b-fqyejzhx6x] {
    display: block !important;
}

.d-none[b-fqyejzhx6x] {
    display: none !important;
}

.d-sm-block[b-fqyejzhx6x] {
    display: block !important;
}

/* Simplified */
.float-right[b-fqyejzhx6x] {
    float: right !important;
}

.float-sm-right[b-fqyejzhx6x] {
    float: right !important;
}

/* Simplified */

/* Collapse State Logic */
/* .sidebar-collapse (toggled state) means sidebar is CLOSED (width 0 or mini) */
/* Actually AdminLTE pushes the content over or sidebar width becomes ~70px (sidebar-mini) */
/* The C# variable is SidebarOpen=true (normal), false (collapsed) */

/* If sidebarOpen is FALSE (collapsed class) */
.sidebar-collapse.main-sidebar[b-fqyejzhx6x] {
    width: 73px;
    /* Mini sidebar width */
}

.sidebar-collapse.main-sidebar .brand-text[b-fqyejzhx6x],
.sidebar-collapse.main-sidebar .user-panel .info[b-fqyejzhx6x],
.sidebar-collapse.main-sidebar .nav-link p[b-fqyejzhx6x],
.sidebar-collapse.main-sidebar .nav-header[b-fqyejzhx6x],
.sidebar-collapse.main-sidebar .sidebar-footer p[b-fqyejzhx6x],
.sidebar-collapse.main-sidebar .admin-badge[b-fqyejzhx6x] {
    display: none !important;
}

.sidebar-collapse.main-sidebar .brand-link[b-fqyejzhx6x] {
    justify-content: center;
    width: 73px;
}

.sidebar-collapse.main-sidebar .nav-icon[b-fqyejzhx6x] {
    margin-right: 0;
}

/* Adjust Content margin when sidebar is collapsed */
.sidebar-collapse~.content-wrapper[b-fqyejzhx6x],
.sidebar-collapse~.main-footer[b-fqyejzhx6x],
.sidebar-collapse~.main-header[b-fqyejzhx6x] {
    margin-left: 73px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .main-header[b-fqyejzhx6x],
    .content-wrapper[b-fqyejzhx6x],
    .main-footer[b-fqyejzhx6x] {
        margin-left: 0 !important;
    }

    .main-sidebar[b-fqyejzhx6x] {
        transform: translateX(-250px);
        width: 250px !important;
        /* Always full width on mobile when open */
    }

    /* When open on mobile (SidebarOpen=true) */
    .sidebar-open.main-sidebar[b-fqyejzhx6x] {
        transform: translateX(0);
    }

    .sidebar-open~.content-wrapper[b-fqyejzhx6x] {
        /* Overlay or push? Standard is overlay, but let's push for simplicity if no overlay implemented */
        transform: translateX(250px);
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Styles moved to wwwroot/app.css to share with Identity pages */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.horizontal-nav[b-hbmestuloc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.horizontal-nav .nav-link[b-hbmestuloc] {
    color: var(--color-text-main);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.horizontal-nav .nav-link:hover[b-hbmestuloc] {
    color: var(--color-primary);
    background-color: var(--color-bg-hover);
}

.horizontal-nav .nav-link.active[b-hbmestuloc] {
    color: var(--color-primary);
}

.horizontal-nav .nav-link.active[b-hbmestuloc]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

@media (max-width: 768px) {
    .horizontal-nav[b-hbmestuloc] {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.25rem;
    }

    .horizontal-nav .nav-link[b-hbmestuloc] {
        text-align: center;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-qy7y9i3ykj],
.components-reconnect-repeated-attempt-visible[b-qy7y9i3ykj],
.components-reconnect-failed-visible[b-qy7y9i3ykj],
.components-pause-visible[b-qy7y9i3ykj],
.components-resume-failed-visible[b-qy7y9i3ykj],
.components-rejoining-animation[b-qy7y9i3ykj] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-qy7y9i3ykj],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-qy7y9i3ykj],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-qy7y9i3ykj],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-qy7y9i3ykj],
#components-reconnect-modal.components-reconnect-retrying[b-qy7y9i3ykj],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-qy7y9i3ykj],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-qy7y9i3ykj],
#components-reconnect-modal.components-reconnect-failed[b-qy7y9i3ykj],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-qy7y9i3ykj] {
    display: block;
}


#components-reconnect-modal[b-qy7y9i3ykj] {
    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-qy7y9i3ykj 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-qy7y9i3ykj 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-qy7y9i3ykj 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-qy7y9i3ykj]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-qy7y9i3ykj 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-qy7y9i3ykj {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-qy7y9i3ykj {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-qy7y9i3ykj {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-qy7y9i3ykj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-qy7y9i3ykj] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-qy7y9i3ykj] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-qy7y9i3ykj] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-qy7y9i3ykj] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-qy7y9i3ykj] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-qy7y9i3ykj] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-qy7y9i3ykj 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-qy7y9i3ykj] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-qy7y9i3ykj {
    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;
    }
}
