::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

.b2-sider-menu::-webkit-scrollbar,
.b2-thin-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.b2-sider-menu::-webkit-scrollbar-thumb,
.b2-thin-scroll::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
}

.b2-sider-menu::-webkit-scrollbar-thumb:hover,
.b2-thin-scroll::-webkit-scrollbar-thumb:hover {
    background: #bfbfbf;
}

@supports not selector(::-webkit-scrollbar) {
    .b2-sider-menu,
    .b2-thin-scroll {
        scrollbar-width: thin;
        scrollbar-color: #d9d9d9 transparent;
    }
}

.b2-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.b2-sider {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    width: 270px;
    background: #fff;
    border-right: 1px solid #f0f0f0;
    overflow: hidden;
    transition: width .2s;
}

.b2-main {
    flex: 1;
    min-width: 0;
    min-height: 0;
    margin-left: 270px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: margin-left .2s;
}

.b2-collapsed .b2-sider {
    width: 80px;
}

.b2-collapsed .b2-main {
    margin-left: 80px;
}

.b2-collapsed .b2-logo .b2-logo-text {
    display: none;
}

.b2-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-shrink: 0;
    padding: 12px 16px;
    overflow: hidden;
    white-space: nowrap;
}

.b2-logo-img {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.b2-collapsed .b2-logo {
    gap: 0;
}

.b2-logo .b2-logo-text {
    display: flex;
    align-items: center;
    margin: 0;
    color: #000 !important;
    font-weight: normal;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    white-space: nowrap;
}

.b2-logo .b2-logo-text span {
    margin-left: 4px;
    color: #96B15E !important;
    font-weight: 400;
    font-family: 'Arial', sans-serif;
}


.b2-account {
    flex-shrink: 0;
    padding: 8px 0;
}

.b2-account > * {
    display: block !important;
    width: 100% !important;
}

.b2-account-trigger {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    height: 40px;
    padding: 0 24px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: background-color .2s;
}

.b2-account-trigger:hover {
    background-color: rgba(174, 206, 139, .2);
}

.b2-account-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.b2-account-caret {
    font-size: 10px;
    color: rgba(0, 0, 0, .45);
}

.b2-collapsed .b2-account-trigger {
    justify-content: flex-start;
    gap: 0;
    padding: 0 calc(50% - 8px);
}

.b2-sider .ant-menu .anticon,
.b2-sider .ant-menu .ant-menu-item-icon,
.b2-account-trigger .anticon {
    font-size: 14px !important;
    transition: none !important;
}

.b2-sider .ant-menu .anticon + span,
.b2-sider .ant-menu .ant-menu-item-icon + span,
.b2-sider .ant-menu .ant-menu-title-content,
.b2-sider .ant-menu-item,
.b2-sider .ant-menu-submenu-title {
    transition: none !important;
}

.b2-collapsed .b2-account-trigger > *:not(:first-child) {
    display: none;
}

.b2-sider-menu {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.b2-sider-menu .ant-menu {
    border-right: 0;
}

.b2-sider-toggle {
    flex-shrink: 0;
    padding: 8px;
    border-top: 1px solid #f0f0f0;
}

.b2-collapsed .b2-sider-toggle {
    text-align: center;
}

.reuse-tabs-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
    margin: 16px 24px 24px;
    overflow: hidden;
}

.reuse-tabs-wrap > .ant-tabs > .ant-tabs-nav {
    padding-right: 124px;
}

.reuse-tabs-wrap > .ant-tabs {
    height: 100%;
}

.reuse-tabs-wrap > .ant-tabs > .ant-tabs-content-holder {
    overflow: auto;
}

.reuse-tabs-wrap .ant-tabs-content,
.reuse-tabs-wrap .ant-tabs-tabpane {
    height: 100%;
}

.reuse-tabs-nav {
    position: absolute;
    top: 0;
    right: 8px;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 5;
    background: transparent;
}

.reuse-tabs-nav .ant-btn {
    color: #8c8c8c;
}

.reuse-tabs-nav .ant-btn:hover {
    color: #1890ff;
}
