﻿#app {
    width: 100%;
    height: 100vh;
    background-color: white;
}
#div_right {
    background: #34495E;
}
.sidebar {
    background-color: #1B2430; /* 更深的蓝灰色 */
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}
#onelevioc {
    color: #bfcbd9 !important
}
.top {
    position: relative;
    width: 100%;
    height: 50px;
    line-height: 50px;
    display: flex;
    background-color: #3E5870 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
    .top::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px; /* 比 1px 更有存在感 */
        /* 从头部背景色过渡到内容区背景色 */
        background: linear-gradient(to right, #3E5870 0%, /* 头部色 */
        #4A667E 20%, /* 中间过渡（加深版） */
        #ECECEC 80%, /* 内容区浅灰（根据实际调整） */
        #F7F7F7 100% /* 内容区主体色 */
        );
        /* 让渐变边框更精致 */
        border-radius: 2px;
        opacity: 0.9;
    }
.top-logo {
    display: flex;
    width: 289px;
}

    .top-logo .logo-img {
        height: 50px;
        width: 65px;
        text-align: center;
    }

        .top-logo .logo-img img {
            width: 45px;
            position: relative;
        }

    .top-logo .logo-name {
        margin-left: 10px;
    }

.top-info {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.top-info-breadcrumbArr {
    font-size: 11px;
    line-height: 50px;
    margin-left: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: rtl;
    flex: 2;
    text-align: left;
}

    .top-info-breadcrumbArr .el-breadcrumb__item {
        float: none;
    }

        .top-info-breadcrumbArr .el-breadcrumb__item span {
            color: #fff;
        }


.top-info-project {
    /*flex: 1;
    text-align: center;*/
    position: absolute;
    width: 100%;
    text-align: center;
    background-color: #ff000000;
}

.top-dropdown-project {
    margin-top: 5px;
    width: 360px;
}

    .top-dropdown-project li {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.top-info-other {
    display: flex;
}

    .top-info-other .info-msg {
        position: relative;
        top: 15px;
        font-size: 22px;
        line-height: 1em;
        cursor: pointer;
        color: #AAAEB3;
        margin-left: 25px;
    }

    .top-info-other .el-badge__content {
        transform: scale(0.8);
        right: -12px;
        top: -12px;
    }

    .top-info-other .info-avatar {
        margin: 0px 0px 0px 0px;
        position: relative;
        top: 8px;
        width: 0px;
        height: 34px;
        visibility: hidden;
    }

        .top-info-other .info-avatar img {
            width: 100%;
            height: 100%;
        }

    .top-info-other .info-user {
        margin-right: 12px;
    }
#top-yj-tip i {
    color: #FFF !important;
}
#top-yj-txt {
    color: #FFF !important;
    font-size: 12px !important;
    margin-left: 4px !important;
}
#top-tz-tip i {
    color: #FFF !important;
}
#top-tz-txt {
    color: #FFF !important;
    font-size: 12px !important;
    margin-left: 4px !important;
}
#top-xx-tip i {
    color: #FFF !important;
}
#top-xx-txt {
    color: #FFF !important;
    font-size: 12px !important;
    margin-left: 4px !important;
}


.content {
    width: 100%;
    height: calc(100vh - 51px);
    display: flex;
    background: #f7f7f7 !important;
}

.content-menu {
    width: auto;
    border: none !important;
    display: flex;
    transition: width .2s;
    position: relative;
    z-index: 3;
    box-shadow: -2px 0 6px rgba(0,0,0,0.03);
    background-color: #2C3E50 !important;
}
.menu-item {
    color: #b0b3b8; /* 未选中文字浅灰 */
    fill: #b0b3b8; /* 图标浅灰 */
    transition: all 0.2s ease;
}
/* 一级菜单容器底部加渐变分割 */
.menu-onelev {
    /* 从菜单背景色过渡到二级菜单背景色，模拟自然分割 */
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #2C3E50, #34495E) 1;
    /*margin-bottom: 8px;*/ /* 留出呼吸感 */
    background: #2C3E50;
}
    .menu-onelev .el-menu-item {
        margin-bottom: 10px;
        text-align: center;
        color: #bfcbd9; /* 浅灰白，和深灰蓝搭配 */
        background-color: #2C3E50; /* 与侧边栏一致 */
        border-left: 3px solid transparent; /* 默认左侧亮条隐藏 */
        transition: all 0.3s ease;
    }

.menu-onelev-icon {
    font-size: 22px !important;
    position: relative;
    top: -5px;
    line-height: 1em;
}

.menu-onelev-name {
    display: block !important;
    z-index: 2;
    position: relative;
    top: -18px;
    line-height: 1em; 
    margin-top: 6px;
    font-size: 13px;
}
.menu-treemenu {
    border-top: 1px solid;
    border-image: linear-gradient(to right, #34495E, #2C3E50) 1;
}
.content-menu .menu-treemenu {
    height: calc(100vh - 85px);
    overflow-y: auto;
    background-color: #34495E !important;
}

    .content-menu .menu-treemenu::-webkit-scrollbar {
        display: none;
    }

.menu-treemenu .el-menu-item {
    min-width: 0;
    color: #bfcbd9;
    background-color: #34495E;
}

.menu-treemenu .el-submenu__title,
.menu-treemenu .el-menu-item {
    font-size: 13px;
    height: 40px;
    line-height: 40px;
    background-color: #34495E;
    color: #bfcbd9;
}

.content-page {
    flex: 1;
    background-color: #F5F6FA;
    width: calc(100% - 252px);
}

    .content-page .el-tabs__header {
        margin-bottom: 0px;
    }

    .content-page .el-tabs__nav-prev {
        width: 20px;
        background-color: white;
        margin-left: 10px;
        line-height: 30px;
        padding-left: 5px;
        top: 7px;
    }

    .content-page .el-tabs__nav-next {
        width: 20px;
        background-color: white;
        margin-right: 10px;
        line-height: 30px;
        padding-left: 5px;
        top: 7px;
    }

    .content-page .el-tabs__nav-wrap {
        padding-left: 12px;
    }

        .content-page .el-tabs__nav-wrap.is-scrollable {
            padding: 0 45px 0px 45px;
        }

    .content-page .el-tabs__item {
        background-color: white;
        line-height: 30px;
        height: 30px;
        padding: 0px 6px 0px 9px;
        margin: 7px 5px 7px 5px;
        border: 0px !important;
        font-size: 11px;
    }

    .content-page .el-tabs__nav {
        border: 0px !important;
        padding: 0px 10px 0px 0px;
    }



    .content-page .el-tabs__item:first-child {
        padding-right: 10px !important;
        margin-left: 0px;
    }

    .content-page .el-tabs__item:nth-child(2) {
        padding-left: 9px !important;
    }

    .content-page iframe {
        width: 100%;
        height: calc(100vh - 99px);
        border: 0px;
    }

.content-menu .el-input {
    width: 77%;
}

/*#text::placeholder {
    color: #000000a6 !important;
    font-size: 13px !important;
}*/


.content-menu .el-input .el-input__inner {
    height: 33px;
    border: 0px solid;
    background-color: #34495E;
    margin-left: 31px;
    color:#fff; 
    border-bottom: 1px solid #e6e6e6
}
.content-menu .el-input .el-input__inner::placeholder {
     font-size: 12px !important;
    color: #bfcbd9 !important; /* 白色 */
    opacity: 1 !important;  /* 让白色完全显示，防止变淡 */
}

.content-menu .el-input .el-input__prefix .el-input__icon {
    margin-left: 19px;
    line-height: 30px !important;
    color: #909399;
}

.content-menu .el-input .el-input__suffix .el-input__icon {
    line-height: 35px !important;
}

.el-popover {
    top: 52px !important;
    left: 242px !important;
    padding: 0px !important;
}

    .el-popover .popper__arrow {
        display: none;
    }

.common-menu-ul {
    line-height: 25px;
}

    .common-menu-ul li:hover {
        color: #409EFF;
        padding-bottom: 0px;
        cursor: pointer;
        background-color: #ecf5ff
    }

.seach-menu-li {
    background-color: rgb(247, 247, 247);
    padding-left: 35px;
    height: 40px !important;
    line-height: 40px
}
 

.menu-onelev::-webkit-scrollbar {
    display: none !important
}

.onebadge .is-fixed {
    top: 15px !important;
    right: 8px !important;
}
/* 一级菜单图标文字间距调整 */
.menu-onelev .el-menu-item svg,
.menu-onelev .el-menu-item i {
    margin-right: 10px;
}
.menu-onelev .el-menu-item:focus {
    outline: 0;
    background-color: #2E4156 !important; /* 企业蓝 */
    color: #ffffff !important;
    fill: #ffffff !important;
    border-left: 3px solid #ffd04b !important; /* 左侧亮条 */
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}
.menu-item svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}
    .menu-onelev .el-menu-item:focus i {
        color: #1890ff !important;
    }

.menu-onelev .el-menu-item:hover {
    outline: 0;
    background-color: #34495E !important; /* 深蓝灰，轻微悬停效果 */
    color: #FFFFFF !important; /* 悬停文字白色 */
    filter: brightness(1.05);
}

    .menu-onelev .el-menu-item:hover i,
    .menu-onelev .el-menu-item:hover svg {
        color: #FFFFFF !important;
        fill: #FFFFFF !important;
    }

.menu-onelev .el-submenu__title:hover {
    outline: 0;
    background-color: #1890ff !important;
    color: #1890ff !important;
    border-radius: 0 4px 4px 0;
}

    .menu-onelev .el-submenu__title:hover i {
        color: #1890ff !important;
    }

/* 一级菜单选中状态 */
.menu-onelev .el-menu-item.is-active {
    outline: 0;
    background: linear-gradient(to right, #2E4156, #34495E, #ffd04b20);
    color: #FFFFFF !important;
    border-left: 4px solid #ffd04b !important;
    position: relative;
    z-index: 2;
}

    .menu-onelev .el-menu-item.is-active i,
    .menu-onelev .el-menu-item.is-active svg {
        color: #FFFFFF !important;
        fill: #FFFFFF !important; /* 针对SVG图标 */
    }

.menu-treemenu .el-menu-item:focus {
    outline: 0;
    /*background-color: #1890ff !important;*/
    color: #fff !important;
    border-radius: 0 4px 4px 0;
}

    .menu-treemenu .el-menu-item:focus i {
        color: #fff !important;
    }

.menu-treemenu .el-menu-item:hover {
    outline: 0;
    background-color: #374d63;
    color: #fff;
    border-radius: 0 4px 4px 0;
}

    .menu-treemenu .el-menu-item:hover i,
    .menu-treemenu .el-menu-item.is-active i {
        /*background-color: #1E90FF;*/
        color: #fff; 
    }

.menu-treemenu .el-submenu__title:hover {
    outline: 0;
    /*background-color: #1890ff !important;*/
    /*color: #1890ff !important;*/
    border-radius: 0 4px 4px 0;
}

.menu-treemenu .el-submenu__title.is-active {
    /*background-color: rgba(24, 144, 255, 0.25) !important;*/
}

.menu-treemenu .el-menu-item.is-active {
    /*background-color: #1890FF !important;*/ /* 品牌蓝 */
    color: #ffd04b !important;
    font-weight: 500;
}

    .menu-treemenu .el-menu-item.is-active i {
        color: #fff !important;
    }

.menu-treemenu .common-menu-ul .el-menu-item.is-active {
    background-color: #f7f7f7 !important;
    color: #1890ff !important;
}

    .menu-treemenu .common-menu-ul .el-menu-item.is-active:hover {
        /*background-color: #1890ff !important;*/
        /*color: #fff !important;*/
    }

    .menu-treemenu .common-menu-ul .el-menu-item.is-active:focus {
        background-color: #1890ff !important;
        color: #fff !important;
    }

.el-popover__reference-wrapper {
    position: absolute;
    margin-top: 6px;
    margin-left: 16px;
    color: #909399 !important;
}
.el-popover__reference-wrapper span{ 
    color: #fff !important;
}
.el-button--primary {
    background-color: #1890ff !important;
}

.el-icon-folder-opened:before {
    content: "\e784" !important;
    color: #909399 !important;
}

.slide-icon {
    background-color:#2C3E50;
    cursor: pointer;
    position: absolute;
    top: 40%;
    z-index: 3;
    right: -15px;
    height: 40px;
    color: #fff;
    border-top-left-radius: 0px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 0px;
}

/*添加遮罩层*/
.menu-modal {
    height: 100%;
    width: 100%;
    z-index: 2;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    background-color: rgb(0,0,0,0.0);
}

.slide-menu {
    width: 216px;
}

.slide-menu-parent {
    z-index: 4
}

.el-breadcrumb__inner {
    color: white;
}

.el-breadcrumb__item:last-child .el-breadcrumb__inner, .el-breadcrumb__item:last-child .el-breadcrumb__inner a, .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover, .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover {
    font-weight: 400;
    color: white;
    cursor: text;
}

[class*=" el-icon-"], [class^=el-icon-] {
    font-family: element-icons !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: baseline;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.el-dropdown-selfdefine {
    cursor: pointer;
    color: white;
}

.el-menu {
    border-right: solid 1px #e6e6e6;
    list-style: none;
    position: relative;
    margin: 0;
    padding-left: 0;
    background-color: #2C3E50; /* 深灰蓝 */
}

.el-icon-message-solid, .el-icon-chat-round {
    color: white !important;
}
