/* /Pages/Login.razor.rz.scp.css */
.gridlayout-item[b-5bn2qqztgl] {
    font-size: 1.2em;
    font-weight: 500;
    text-align: center;
    height: 100%;
    padding: 0.5rem;
    text-align: center;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gridlayout-item[b-5bn2qqztgl]:before {
        content: " ";
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        opacity: 0.4;
    }

.gridlayout-content[b-5bn2qqztgl] {
    background-color: white;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
}

.gridlayout-left-side-bar[b-5bn2qqztgl]:before {
    border-right: solid;
}

@media (max-width: 575.98px) {
    .gridlayout-item[b-5bn2qqztgl] {
        font-size: 0.9em;
    }
}

.login-grid-layout[b-5bn2qqztgl] {
    min-height: 100%;
}

.gridlayout-content[b-5bn2qqztgl] {
    width: 100%;
}

.login-form-content[b-5bn2qqztgl] {
    width: min(100%, 600px);
    max-width: 100%;
}

.login-error[b-5bn2qqztgl] {
    text-align: left;
}

.direct-login-status[b-5bn2qqztgl] {
    color: #495057;
    padding: 1rem;
    text-align: center;
}
/* /Pages/UserChatGroupGrid.razor.rz.scp.css */
.chat-group-page[b-hh2q91h99n] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    color: #243247;
}

.chat-group-heading[b-hh2q91h99n] {
    /*
     * 标题仅用于标识当前列表，不承担工具栏功能，因此采用紧凑高度。
     * 同时移除标题和表格之间的边框及额外留白，让首行数据区域尽量靠上展示。
     */
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    padding: 0 2px 4px;
}

.chat-group-heading p[b-hh2q91h99n] {
    margin: 0;
    color: #172235;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

.chat-group-loading[b-hh2q91h99n],
.chat-group-error[b-hh2q91h99n] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 18px 2px;
    font-size: 14px;
}

.chat-group-loading[b-hh2q91h99n] {
    color: #647084;
}

.chat-group-error[b-hh2q91h99n] {
    color: #a12b34;
}

[b-hh2q91h99n] .chat-group-grid {
    flex: 1 1 auto;
    min-height: 360px;
    max-height: none;
    margin-top: 0;
    width: 100%;
    min-width: 0;
}

.group-name-cell[b-hh2q91h99n] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 600;
    color: #26374d;
}

.group-name-cell > span:last-child[b-hh2q91h99n] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-avatar[b-hh2q91h99n] {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #b9ddcf;
    border-radius: 4px;
    background: #e8f5f0;
    color: #176f51;
    font-size: 12px;
    font-weight: 700;
}

.session-status[b-hh2q91h99n] {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

.session-status-active[b-hh2q91h99n] {
    border-color: #9fd3bd;
    background: #e7f5ef;
    color: #126847;
}

.session-status-closed[b-hh2q91h99n] {
    border-color: #cbd3dd;
    background: #f1f3f6;
    color: #536174;
}

.session-status-empty[b-hh2q91h99n] {
    border-color: #e0e4e9;
    background: #f8f9fa;
    color: #7a8492;
}

.session-content-cell[b-hh2q91h99n] {
    overflow: hidden;
    max-width: 420px;
    color: #3f4d60;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*
 * DevExpress Grid 会在列总宽超过视口时生成内部滚动容器。这里明确保留列的最小内容宽度，
 * 并允许触摸设备在同一手势中进行横向滚动和列宽拖动，避免手机端右侧列被裁切。
 */
@media (max-width: 900px) {
    .chat-group-heading[b-hh2q91h99n] {
        padding: 0 0 3px;
    }

    [b-hh2q91h99n] .chat-group-grid {
        min-height: 320px;
    }

    [b-hh2q91h99n] .chat-group-grid .dxbl-scroll-viewer-content {
        overflow-x: auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
    }

    [b-hh2q91h99n] .chat-group-grid .dxbl-grid-table {
        min-width: max-content;
    }

    [b-hh2q91h99n] .chat-group-grid .dxbl-grid-header,
    [b-hh2q91h99n] .chat-group-grid .dxbl-grid-header-row {
        touch-action: pan-x pan-y;
    }

    /* DevExpress 的列宽拖动锚点需要独占触摸手势，避免被浏览器当成横向滚动。 */
    [b-hh2q91h99n] .chat-group-grid .dxbl-grid-column-resize-anchor,
    [b-hh2q91h99n] .chat-group-grid .dxbl-grid-columns-separator {
        touch-action: none;
        cursor: col-resize;
    }
}
/* /Shared/Header.razor.rz.scp.css */
.navbar.header-navbar[b-ilwxvq6rxr] {
    flex-grow: 0;
    flex-wrap: nowrap;
    border: none;
    background-color: inherit;
    border-radius: 0;
    height: 3rem;
    min-height: 3rem;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.12);
    justify-content: flex-start;
}

.header-navbar .navbar-toggler[b-ilwxvq6rxr] {
    outline: none;
    border-radius: 0;
    padding-left: .75rem;
    padding-right: .75rem;
    box-shadow: none;
    align-self: stretch;
}

    .header-navbar .navbar-toggler .navbar-toggler-icon[b-ilwxvq6rxr] {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
        background-color: transparent !important;
        height: 1.5rem;
        width: 1.5rem;
    }

.title[b-ilwxvq6rxr] {
    color: #04519f !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    text-overflow: ellipsis;
    overflow: hidden;
}

@media (max-width: 350px) {
    .title[b-ilwxvq6rxr] {
        font-size: inherit;
    }
}

.navbar-loginout[b-ilwxvq6rxr] {
    margin-left: auto;
    padding-right: 5px;
}

.w-mr-10[b-ilwxvq6rxr] {
    margin-right: 10px
}

[b-ilwxvq6rxr] {
    .ai-button {
        background-color: #04519f !important;
        color: white !important;
        border: none !important;
        border-radius: 50% !important;
        width: 28px;
        margin-right: 10px;
    }

    .ai-button:hover[b-ilwxvq6rxr] {
        background-color: #337ab7 !important;
    }
}

/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-7svckhkbni] {
    height: 100%;
    overflow: hidden;
    background-color: inherit;
}

[b-7svckhkbni] .page-layout,
[b-7svckhkbni] .page-layout > .dx-gridlayout-root,
[b-7svckhkbni] .layout-item {
    /*  background-color: inherit;*/
}

[b-7svckhkbni] .content {
    padding: 1.1rem 2rem 0 2rem;
    overflow: auto;
}

@media (max-width: 1199.98px) {
    [b-7svckhkbni] .page-layout > .dx-gridlayout-root {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

[b-7svckhkbni] .fit-width {
    max-width: 100%;
}

[b-7svckhkbni] .mw-1100 {
    max-width: 1100px;
}

.gridlayout-footer[b-7svckhkbni] {
    display: block;
    color: rgba(0,0,0,.609);
    border-top: 1px solid rgba(0,0,0,.1);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}
/* /Shared/NavMenu.razor.rz.scp.css */
.sidebar[b-5mtpto1xtq] {
    min-width: 200px;
    max-width: 300px;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
    transition: transform 0.1s ease-out;
    height: 100%;
    max-height: 100%;
    overflow: auto;
    background-color: var(--bs-body-bg, var(--dxbl-body-bg, #fff));
}

    .sidebar.collapse[b-5mtpto1xtq] {
        display: none;
    }

    .sidebar.expand[b-5mtpto1xtq] {
        display: block;
    }

@media (max-width: 1199.98px) {
    .sidebar[b-5mtpto1xtq] {
        display: none;
    }

        .sidebar.expand[b-5mtpto1xtq] {
            position: fixed;
            top: 3.5rem;
            left: 0;
            height: auto;
            min-width: 100%;
            z-index: 1050;
        }
}

[b-5mtpto1xtq] .app-sidebar {
    --dxbl-treeview-spacing-x: 0rem !important;
    --dxbl-treeview-spacing-y: 1rem;
}

    [b-5mtpto1xtq] .app-sidebar .dxbl-scroll-viewer {
        --dxbl-treeview-spacing-x: 0.5rem;
        --dxbl-treeview-spacing-y: 1rem;
        background-color: #04519f;
        font-size: 1rem !important;
        font-weight: 600 !important;
    }

    [b-5mtpto1xtq] .app-sidebar .dxbl-treeview-item-text-container {
        font-size: 1rem !important;
        font-weight: 600 !important;
        padding-top: 10px;
    }

[b-5mtpto1xtq] .app-sidebar .root-item > :first-child {
    --dxbl-treeview-font-weight: 600;
}

[b-5mtpto1xtq] .app-sidebar .root-item > :only-child:not(.dxbl-treeview-tmpl) > button {
    display: none;
}

@media (max-width: 1199.98px) {
    [b-5mtpto1xtq] .app-sidebar {
        padding-bottom: 0;
    }
}
/* /Shared/PCLoginLayout.razor.rz.scp.css */
.head-content[b-5vf416ho1j] {
    line-height: 100px;
    text-align: center;
    height: 100px;
    color: #04519f !important;
}

.head-content-text[b-5vf416ho1j] {
    display: inline-block;
    height: 50px;
    width: 600px;
    font-size: 35px;
}

.body-content[b-5vf416ho1j] {
    text-align: center;
}

.body-content-text[b-5vf416ho1j] {
    display: inline-block;
    width: min(100%, 800px);
    max-width: 100%;
}

.pc-login-layout[b-5vf416ho1j] {
    min-height: 100vh;
}

.gridlayout-header[b-5vf416ho1j] {
    height: 80px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
    background-color: white;
}

.gridlayout-footer[b-5vf416ho1j] {
    display: block;
    color: rgba(0,0,0,.609);
    border-top: 1px solid rgba(0,0,0,.1);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}
