﻿/*主页全局样式重定义*/ 
*, ::after, ::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

i:before {
    font-size: 16px;
}

.pull-right {
  float: right;
}

body {
    font-size: 12px;
    background-color: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}


/*<!-- 框架样式定义 -->*/
.lay.body {
    display: flex;
    height: 100vh;
    background-image: url('../../Lib/des-lib/des/img/home-bg.png');
    background-size: 100% 100%;
}

.lay.header {
    width: 100%;
    height: 66px;
    box-sizing: border-box;
    /* background-color: #fff; */
    /* color: black; */
    /* border-bottom: solid 1px #f0ecea; */
}

.lay.left {
    position: absolute;
    top: 66px;
    bottom: 0px;
    left: 0;
    z-index: 2;
    /* background-color: #EEEEEE; */
    width: 220px;
    max-width: 220px;
    overflow-x: hidden;
}
 
.lay.left .scroller {
    width: 240px;
    overflow-x: hidden;
    height: 100%;
    /* background-color: #fff; */
}

.lay.right {
    position: absolute;
    top: 66px;
    right: 0;
    bottom: 0px;
    left: 220px;
    overflow: hidden;
    z-index: 1;
    border-radius: 8px;
    background-color: #fff;
}

.tab-content .mask {
    position: absolute;
    top: 36px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    background: transparent;
    padding: 0px;
    overflow: hidden;
}


/*<!-- 头部定义 -->*/
.lay.header .logo {
  float: left;
  align-items: center;
  margin-left: 20px;
  margin-top: 4px;
  font-size: 18px;
  padding: 4px;
  line-height: 58px;
  height: 58px;
  padding: 2px 12px 0;
  color: #fff;
  box-sizing: border-box;
  /* border-radius: 4px;
  border: 1px solid #001F52; */
  backdrop-filter: blur(1px);
  box-sizing: border-box;
}
.lay.header .logo div {
  display: inline-block;
}
.logo-bg {
  margin-right: 10px;
  width: 26px;
  height: 100%;
}
.logo-bg img {
  position: relative;
  top: 5px;
  width: 100%;
  height: 26px;
}

.lay.header .nav > ul {
    position: relative;
    padding: 0 20px;
}

    .lay.header .nav > ul li {
        position: relative;
        line-height: 45px;
        display: inline-block;
        vertical-align: middle;
    }

        .lay.header .nav > ul li a {
            display: block;
            padding: 0 20px;
        }
.nav.pull-right {
  margin-top: 16px;
  /* position: relative;
  top: 50%;
  transform: translateY(-50%); */
  /* margin-top: 50%; */
  /* transform: translateY(-50%); */
}

.lay.header .nav-more {
    top: 20px;
    content: '';
    width: 0;
    height: 0;
    border-style: solid dashed dashed;
    border-color: #fff transparent transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all .2s;
    -webkit-transition: all .2s;
    position: absolute;
    right: 3px;
    margin-top: -3px;
    border-width: 6px;
    border-top-color: #fff; /*rgba(255,255,255,.7);*/
}
/*顶部切换语言及下拉*/
.lay.header ul.dropdown {
    background-color: white;
    position: absolute;
    display: none;
    width: 160px;
    right: -18px;
    padding: 0;
    z-index: 100;
    border: solid 1px #ccc;
}

.lay.header .nav .top {
    text-align: right;
    color: #fff;
}

    .lay.header .nav .top:hover > .dropdown {
        display: block;
    }

/*多语言下拉*/
.lay.header ul.dropdown li {
    display: block;
    color: black;
    text-align: center;
}

    .lay.header ul.dropdown li a {
        color: black;
    }

.lay.header ul.dropdown .language-switch label {
    display: inline-block;
    background: #ddd;
    padding: 1px 10px;
    font-weight: normal;
    font-size: 13px;
}

.lay.header ul.dropdown .language-switch {
    padding: 15px 18px;
    font-size: 0;
    line-height: 24px;
}

    .lay.header ul.dropdown .language-switch label.select a {
        background: #253b8b;
        color: white;
    }

    .lay.header ul.dropdown .language-switch label a {
        padding: 0;
    }

    .lay.header ul.dropdown .language-switch label.select {
        background: #253b8b;
    }

.lay.header ul.dropdown li:hover {
    background: rgba(194, 194, 194, .3);
}

/*<!-- 右侧定义 -->*/
.lay.right .drawer {
    display: inline-block;
    position: absolute;
    left: 10px;
    top: 10px;
    height: 25px;
    vertical-align: middle;
    z-index: 1000;
    cursor: pointer;
    height: 36px;
    width: 35px;
}

.lay.right .drawer .icon {
    line-height: 35px;
    margin: 0 9px;
}

.lay.right .drawer.close .c,
.lay.right .drawer:not(.close) .o {
    display: none;
}

.lay.right .drawer.close .o
.lay.right .drawer:not(.close) .c {
    display: block;
}

.lay.collapsed .lay.left {
    visibility: hidden;
}

.lay.collapsed .lay.right {
    left: 0;
}

/*<!-- Tab相关定义 -->*/
/* Tab相关定义 */
.lay.tab-nav .tabs {
    display: flex;
    flex-wrap: no-wrap;
    align-items: center;
    height: 54px;
    position: relative;
    z-index: 100;
    white-space: nowrap;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
}

.lay.tab-nav .tabs .home {
    margin-left: 45px;
    /* border-left: 1px solid #ddd;
    border-right: 1px solid #ddd; */
}

.lay.tab-nav .tabmore {
    height: 34px;
    line-height: 35px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 101;
    width: 30px;
    height: 35px;
    line-height: 35px;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
    text-align: center;
    background-color: #fff;
    cursor: pointer;
    border-color: #e6e6e6;
    border-bottom: 0;
}

    .lay.tab-nav .tabmore .icon {
        margin-top: 9px;
    }

        .lay.tab-nav .tabmore .icon::before {
            font-size: 16px;
        }
/*展开Tab*/
.lay.tab-nav.more ul {
    padding-right: 30px;
    height: auto !important;
    white-space: normal !important;
}
/*图标旋转效果*/
.lay.tab-nav.more .tabmore .icon {
    top: -2px;
    top: 3px\9;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: all .2s;
    -webkit-transition: all .2s;
}

.lay.tab-nav .tabs li {
    flex-shrink: 0;
    margin-left: 15px;
    line-height: 35px;
    color: #000;
    display: inline-block;
    vertical-align: middle;
    transition: all .2s;
    -webkit-transition: all .2s;
    position: relative;
    min-width: 96px;
    padding: 0 15px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0px 2px 6px 0px rgba(81,0,0,0.08);
    border-radius: 4px;
    height: 30px;
    line-height: 30px;
}
    .lay.tab-nav .tabs li:hover {
        background-color: #ffffff82;
    }

    .lay.tab-nav .tabs li.active {  
      font-weight: 500;
      color: #008BFF;
    }
    .lay.tab-nav .tabs li.active .close {
        color: #008BFF;
    }
.lay.tab-nav .tabs li:hover .close {
  display: inline-block;
}

.lay.container,
.lay.container .tab-item,
.lay.container iframe {
    height: 100%;
    width: 100%;
}

    .lay.container .tab-content {
        position: absolute;
        top: 54px;
        bottom: 0px;
        width: 100%;
        padding: 0px;
        overflow: hidden;
    }
/*Tab关闭按钮*/
.tabs .close {
    border-radius: 50%;
    position: relative;
    display: none;
    width: 18px;
    height: 18px;
    line-height: 20px;
    margin-left: 8px;
    top: 1px;
    text-align: center;
    font-size: 14px;
    color: #c2c2c2;
    /* color: #008BFF; */
    transition: all .2s;
    -webkit-transition: all .2s;
}

.tabs i.close:before {
    font-size: 14px;
}

.tabs .close:hover {
    border-radius: 50%;
    background-color: #008BFF;
    color: #fff!important;
}
/*Tab右键关闭菜单*/
.tab-nav .tab-menu {
    width: 86px;
    position: relative;
    top: 0;
    background-color: white;
    padding: 0 2px;
    border: 1px solid #ccc;
    z-index: 10001;
}

    .tab-nav .tab-menu dd {
        padding: 2px;
        line-height: 24px;
        text-align: center;
    }

        .tab-nav .tab-menu dd:hover {
            background: rgba(194, 194, 194, .3);
        }

#nav {
    position: relative;
}


/*<!-- 左侧菜单定义 -->*/
.lay.left {
    box-shadow: 1px 7px 11px 0 rgba(0,0,0,.1);
    /* border-right: 1px solid #ddd; */
}

.lay.left ul {
    width: 220px;
}
/* 首页的logo */
/*.lay.left .logo.home {
            border-bottom: 1px solid #ddd;
            box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
            height: 81px;
            position: absolute;
            width: 100%;
            z-index: 1000;
            background-color: #c2c2c2;
            text-align: center;
        }
        .lay.left .logo.home a{
            padding:5px;
            font-size:24px;
            line-height: 70px;
        }*/
/* 左侧菜单链接颜色*/
.lay.left li a {
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
}
    /* 左侧菜单图标固定宽度*/
    .lay.left li a i:before {
        width: 20px;
    }
/* 左侧菜单高亮显示*/
.lay.left li > a.active {
    /* background: #009688; */
    /* color: #fff; */
    /* border-color: #04564e; */
    background: linear-gradient(90deg, #008EFF 0%, rgba(0,149,213,0) 100%);
}

.lay.left li:not(.open) > a:hover {
    /* border-color: #04564e; */
    /* background: #C0D5D3; */
    background: linear-gradient(90deg, #008EFF 0%, rgba(0,149,213,0) 100%);
}

.lay.left ul li {
    padding: 0 8px;
    cursor: pointer;
    font-size: 16px;
}

.lay.left li a {
    padding: 0 15px 0 30px;
    height: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
    /* border-left: 4px solid transparent; */
    transition: all 0.3s;
}

    .lay.left li a > i:first-child {
        position: absolute;
        left: 20px;
    } 

.lay.left ul.sub-menu li a {
    display: flex;
    align-items: center;
    padding: 0 15px 0 40px;
    height: 50px;
    border-radius: 8px;
}

    .lay.left ul.sub-menu li a > i:first-child {
        position: absolute;
        left: 35px;
    }

.lay.left ul.sub-menu li ul.sub-menu li a {
    padding-left: 45px;
}
/* 左侧菜单开闭状态 */
.lay.left li.open > a > .o {
    display: block;
    margin-left: auto;
}

.lay.left li > a > .o {
    display: none;
}

.lay.left li.open > a > .c {
    display: none;
}

.lay.left li > a > .c {
    display: block;
    margin-left: auto;
}

.icon.right:before {
    content: '\e69a;';
}

/* AI助手浮动按钮 */
.ai-assistant-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.ai-assistant-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.6);
}

.ai-assistant-btn:active {
    transform: scale(0.95);
}

.ai-assistant-btn .ai-icon {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* AI助手脉冲动画 */
.ai-assistant-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    animation: ai-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ai-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

 