::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #409EFF;
    -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
    background: #409EFF;
}

.clear {
    clear: both;
}

.center {
    text-align: center;
}

.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

#mask {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.382);
    display: none;
}

#navbar {
    background-color: #ffffff;
    height: 60px;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

#navbar .bg-blur {
    background-color: #ffffff;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.10);
    line-height: 60px;
    height: 60px;
    position: relative;
    border-bottom: 1px solid #e4e7ed;
}

#navbar .navbar-body {
    top: 0;
    position: absolute;
    width: 100%;
    padding: 0 1em;
}

#navbar .navbar-body>.layui-nav .layui-nav-more {
    border-top-color: #409EFF;
}

#navbar .navbar-body>.layui-nav .layui-nav-mored {
    border-top-color: transparent;
    border-bottom-color: #409EFF;
}

#navbar .layui-nav {
    border-radius: 0;
}

.layui-nav .layui-nav-item {
    line-height: 60px;
}

#navbar .logo {
    float: left;
    font-size: 1.5rem;
    color: #409EFF;
    line-height: 54px;
}

#navbar .logo>img {
    height: 42px;
}

.layui-nav .layui-nav-item a,
.layui-nav .layui-nav-item a:hover,
.layui-nav .layui-this a {
    color: #409EFF;
}

#leftbar {
    width: 300px;
    top: 60px;
    border-radius: 0;
    transition: left 0.5s ease;
    -webkit-transition: left 0.5s ease;
    -moz-transition: left 0.5s ease;
    -ms-transition: left 0.5s ease;
    -o-transition: left 0.5s ease;
    overflow-x: visible;
    border-right: 1px solid #e4e7ed;
    background-color: #ffffff;
}

#leftbar .layui-tab-content {
    padding: 12px 2px 0 0;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
}

#leftbar .copyright {
    color: #909399;
    text-align: center;
    line-height: 24px;
    background: #ffffff;
}

#leftbar .copyright.noScroll {
    bottom: 0;
    position: absolute;
    width: 100%;
}

#leftbar>li>a>i.layui-icon {
    font-size: 1.625rem;
    vertical-align: top;
    margin-right: 10px;
}

#leftbar>li>dl>dd>a>i.layui-icon {
    font-size: 1.125rem;
    vertical-align: top;
    margin-right: 10px;
}

#leftbar>li>dl>dd>a {
    padding-left: 30px;
}

.left-show-hide {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-100%);
    padding: 0;
    height: 64px;
    width: 18px;
    background-color: #409EFF;
    color: #ffffff;
    border: none;
    border-radius: 0;
    opacity: 1;
    display: none;
}

.left-show-hide:hover {
    color: #ffffff;
}

.left-show-hide>.layui-icon {
    font-size: 14px;
}

#body {
    padding-left: 300px;
    width: 100%;
    padding-top: 60px;
    position: absolute;
    transition: left 0.5s ease;
    -webkit-transition: left 0.5s ease;
    -moz-transition: left 0.5s ease;
    -ms-transition: left 0.5s ease;
    -o-transition: left 0.5s ease;
    height: 100%;
    box-sizing: border-box;
    top: 0;
    background-color: #f5f7fa;
}

.navRight {
    float: right;
}

#navMenuLeft,
#navMenuRight {
    display: none;
    color: #409EFF;
    line-height: 60px;
}

#navMenuLeft {
    float: left;
}

#navMenuRight {
    float: right;
}

#navMenuLeft.active>i,
#navMenuRight.active>i {
    color: #409EFF
}

#navMenuLeft>i,
#navMenuRight>i {
    font-size: 1.625rem;
}

.inputBox {
    position: relative;
}

.inputBox .input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 6px;
    color: #c0c4cc;
    pointer-events: none;
}

.inputBox .layui-input:focus+.input-icon {
    color: #409EFF
}

#treeSearch>li {
    padding: 0 4px 10px 6px;
    border-bottom: 1px solid #e4e7ed;
    line-height: 24px;
    word-break: break-word;
    margin-bottom: 0;
}

#treeSearch h3 {
    font-weight: bold;
    line-height: 48px;
}

#treeSearch strong {
    color: #409EFF;
}

@media screen and (max-width: 768px) {
    #mask {
        display: block;
    }

    #leftbar {
        left: -300px !important;
    }

    #leftbar.show-item {
        left: 0 !important;
    }

    #navbar {
        text-align: center;
    }

    #navbar .logo {
        float: none;
        margin-left: 0;
        display: inline-block;
    }

    #navbar .layui-nav {
        top: -180px;
        position: absolute;
        width: 100%;
        left: 0;
        transition: top 0.5s ease;
        -webkit-transition: top 0.5s ease;
        -moz-transition: top 0.5s ease;
        -ms-transition: top 0.5s ease;
        -o-transition: top 0.5s ease;
        z-index: 999;
        background-color: #fff;
    }

    #navbar .navbar-body {
        padding: 0;
    }

    #navbar .bg-blur {
        z-index: 1000;
    }

    #navMenuLeft,
    #navMenuRight {
        display: block;
    }

    #body {
        padding-left: 0
    }

    #navbar .navbar-body>.layui-nav.show-item {
        top: 60px;
    }

    #navbar .navbar-body>.layui-nav>.navRight {
        width: 100%;
    }

    #navbar .navbar-body>.layui-nav>.navRight .layui-nav-item {
        width: 100%;
        text-align: left;
    }

    .nav-menu {
        z-index: 1000;
        background: inherit;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .left-show-hide {
        display: none !important;
    }
}

.layui-tab-title {
    border-bottom: 1px solid #e4e7ed;
    background-color: #ffffff;
}

.layui-tab-title li {
    color: #606266;
}

.layui-tab-title li.layui-this {
    color: #409EFF;
}

.layui-tab-title li.layui-this:after {
    background-color: #409EFF;
}

.layui-input {
    border: 1px solid #dcdfe6;
    border-radius: 4px;
}

.layui-input:focus {
    border-color: #409EFF;
}

/* Payment documentation polish */
:root {
    --doc-ink: #160b12;
    --doc-muted: rgba(22, 11, 18, .62);
    --doc-wine: #8f1d47;
    --doc-rose: #c94674;
    --doc-cream: #fff5f8;
    --doc-line: rgba(143, 29, 71, .14);
    --doc-card: rgba(255, 255, 255, .92);
}

body {
    color: var(--doc-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(247, 180, 200, .22), transparent 28%),
        linear-gradient(135deg, #fff5f8 0%, #fff 46%, #fff5f8 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:window-inactive {
    background: var(--doc-rose);
}

#navbar {
    height: 72px;
    background: rgba(22, 11, 18, .82);
    box-shadow: 0 18px 56px rgba(22, 11, 18, .18);
    backdrop-filter: blur(18px);
}

#navbar .bg-blur {
    height: 72px;
    line-height: 72px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    box-shadow: none;
}

#navbar .navbar-body {
    padding: 0 26px;
}

#navbar .logo {
    display: inline-flex;
    align-items: center;
    min-height: 72px;
    line-height: 72px;
}

#navbar .logo>img {
    max-height: 42px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
}

#navMenuLeft,
#navMenuRight,
#navMenuLeft.active>i,
#navMenuRight.active>i {
    color: #fff;
    line-height: 72px;
}

#body {
    padding-top: 72px;
    background:
        radial-gradient(circle at 85% 18%, rgba(201, 70, 116, .16), transparent 30%),
        linear-gradient(135deg, #fff5f8 0%, #ffffff 52%, #fff5f8 100%);
}

#leftbar {
    top: 72px;
    width: 300px;
    border-right: 1px solid var(--doc-line);
    background: rgba(255, 255, 255, .90);
    box-shadow: 20px 0 54px rgba(143, 29, 71, .08);
    backdrop-filter: blur(16px);
}

#leftbar .layui-tab-title {
    height: 58px;
    border-bottom: 1px solid var(--doc-line);
    background: transparent;
}

.layui-tab-title li {
    color: var(--doc-muted);
    font-weight: 800;
    line-height: 58px;
}

.layui-tab-title li.layui-this {
    color: var(--doc-wine);
}

.layui-tab-title li.layui-this:after {
    height: 3px;
    background: linear-gradient(90deg, var(--doc-wine), var(--doc-rose));
}

#leftbar .layui-tab-content {
    padding: 16px 12px 0 10px;
}

#leftbar .copyright {
    color: var(--doc-muted);
    border-top: 1px solid var(--doc-line);
    background: rgba(255, 255, 255, .74);
}

.left-show-hide {
    width: 22px;
    height: 70px;
    border-radius: 0 12px 12px 0;
    background: linear-gradient(180deg, var(--doc-wine), var(--doc-rose));
    box-shadow: 12px 12px 32px rgba(143, 29, 71, .20);
}

.layui-input {
    height: 42px;
    border: 1px solid var(--doc-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
}

.layui-input:focus,
.inputBox .layui-input:focus+.input-icon {
    border-color: var(--doc-rose);
    color: var(--doc-rose);
}

#treeSearch>li {
    border-bottom: 1px solid var(--doc-line);
}

#treeSearch strong {
    color: var(--doc-wine);
}

@media screen and (max-width: 768px) {
    #navbar {
        height: 64px;
    }

    #navbar .bg-blur,
    #navbar .logo,
    #navMenuLeft,
    #navMenuRight {
        min-height: 64px;
        height: 64px;
        line-height: 64px;
    }

    #body {
        padding-left: 0;
        padding-top: 64px;
    }

    #leftbar {
        top: 64px;
    }
}
