@charset "UTF-8";
@font-face {
    font-family: 'YouSheBiaoTiHei';
    src: url(../../fonts/YouSheBiaoTiHei.ttf);
}
html, body {
    width: 100%;
    /* min-width: 1220px; */ /* 注释掉以支持缩放 */
    height: 100%;
}

.margin_right20 {
    margin-right: 10%;
}

.margin_right20 a {
    color: #000;
    cursor: pointer;
}

/*头部样式*/
.main_header .header_login_bg {
    height: 52px;
    background: #BE1B2F;
}

.main_header .header_login {
    font-family: "微软雅黑", 'Microsoft YaHei';
    font-weight: 400;
    font-size: 20px;
    color: #FFFFFF;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}
.header_login>span>div{
    display: flex;
    align-items: center;
    gap: 5px;
}
.header_login>span>div>img{
    width: 20px;
    height: 20px;
}

.main_header {
    border-bottom: 3px solid #BE1B2F;
}

.main_header .header_content {
    position: relative;
    margin: 0 auto;
}

.main_header .header_content .header_logo {
    position: absolute;
    /*top: 30px;*/
    top: 35px;
    left: 0;
    margin: auto;
    width: 270px;
    height: 75px;
    cursor: pointer;
    z-index: 9;
}

.main_header .header_content .header_logo span {
    display: block;
    width: 100%;
    height: 100%;
    background: url(../img/u19.png) 0 0 no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
}

/* 搜索区域样式 */
.search {
    position: absolute;
    top: 299px;
    left: 53%;
    transform: translateX(-50%);
    width: 796px;
    overflow: visible;
    z-index: 10;
}

.search_term {
    display: flex;
    background: transparent;
    padding: 5px 0;
    gap: 10px;
}

.search_term span {
    text-align: center;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    border-right: none;
    transition: all 0.3s ease;
    background: #000;
    opacity: 0.4;
    padding: 10px 20px;
}

.search_term span:last-child {
    border-right: none;
}

.search_term span.active {
    color: #fff;
    position: relative;
    background: #BE1B2F;
    opacity: 1;
}

.search_term span:hover {
    font-weight: bold;
}

.search_content {
    display: flex;
    padding: 0;
    align-items: center;
    height: 48px;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.search_content::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23999' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center/contain no-repeat;
    z-index: 2;
}

.search_input {
    flex: 1;
    height: 48px;
    border: none;
    padding: 0px 0px 0 60px;
    font-size: 14px;
    background: transparent;
}

.search_input::placeholder {
    color: #999;
}

.search_btn {
    width: 130px;
    height: 48px;
    background: #BE1B2F;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    border-color: transparent;
}

.search_btn:hover {
    background: #C01E1E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(226, 35, 35, 0.3);
}

/* 悬浮导航样式 */
.floating_nav {
    position: absolute;
    top: 765px;
    background: #BE1B2F;
    left: 50%;
    z-index: 9;
    width: 1400px;
    display: flex;
    justify-content: center;
    transform: translateX(-50%);
    border-radius: 10px;
    height: 74px;
    align-items: center;
}

.floating_nav .nav_container {
    width: 100%;
    display: table;
    table-layout: fixed;
}

.floating_nav .nav_container ul {
    display: table-row;
    width: 100%;
}

.floating_nav .nav_container ul .nav_item {
    position: relative;
    display: table-cell;
    height: 74px;
    line-height: 74px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.floating_nav .nav_container ul .nav_item:last-child {
    border-right: none;
}

.floating_nav .nav_container ul .nav_item a {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.floating_nav .nav_container ul .nav_item:hover a {
    color: #fff;
}

.floating_nav .nav_container ul .nav_item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.floating_nav .nav_container ul .nav_item.active {
    background-color: rgba(255, 255, 255, 0.15);
}

em {
    font-style: normal; /* 取消斜体 */
}



/*底部样式*/
.main_footer {
    background-color: #fff;
    width: 100%;
    color: #000;
    padding: 40px 0;
    border-top: 3px solid #BE1B2F;
    margin-top: 0;
}

.main_footer a {
    color: #000;
}

.main_footer .footer_content {
    background-color: #fff;
    width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px !important;
}

/* 美化滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

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

/* 头部登录区域优化 */
.main_header .header_login a {
    color: #fff;
    text-decoration: none;
    /* transition: color 0.3s ease; */
    font-family: "微软雅黑", 'Microsoft YaHei';
}

.main_header .header_login .header_login_span a:hover {
    color: #fff;
    text-decoration: none;
}
.header_login_span {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.header_login_left {
    gap: 30px;
}

.header_login_right {
    gap: 10px;
}
/* 二维码和其他图标样式 */
.header_content img {
    max-width: 100%;
    height: auto;
}

/* 页面加载动画 - 修复与缩放冲突 */
.page-container {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        /* 移除transform避免与缩放冲突 */
        /* transform: translateY(10px); */
    }
    to {
        opacity: 1;
        /* transform: translateY(0); */
    }
}

/* 搜索按钮点击效果 */
.search_btn:active {
    transform: scale(0.98);
}

/* 表单焦点效果 */
.search_input:focus {
    box-shadow: 0 0 0 2px rgba(24, 90, 174, 0.2);
}

/* 导航菜单激活状态优化 */
.header_nav .nav_container ul .nav_item.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* 底部链接优化 */
.main_footer a:hover {
    color: #BE1B2F;
    text-decoration: underline;
}
.function-panel{
    position: absolute;
    width: 1256px;
    height: 86px;
    left: 50%;
    transform: translateX(-50%);
    top: 500px;
    z-index: 20;
}
.function-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* .function-btns::before {
    content: '';
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
}

.function-btns::after {
    content: '';
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #e6e6e6;
} */

.function-btns {
    position: absolute;
    top: -90px;
    width: 100%;
    height: 76px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 18px;
    gap: 10px;
}
.function-btn{
    cursor: pointer;
    padding: 10px;
    font-size: 16px;
    color: #fff;
    border-radius: 6px;
}
.panel-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-item {
    width: 399px;
    height: 169px;
    background-color: #fff;
    box-shadow: 0px 3px 7px 1px rgba(0, 0, 0, 0.16);
    border-radius: 6px;
    opacity: 0.9;
    user-select: none;
}
.panel-item-content{
    padding: 0px 20px;
    position: absolute;
    top: 25px;
    width: 399px;
}
.panel-item-handle {
    border-top: 15px solid rgba(244, 120, 34, 1);
    color: rgba(244, 120, 34, 1);

}

.panel-item-search {
    border-top: 15px solid rgba(3, 86, 167, 1);
    color: rgba(3, 86, 167, 1);
}

.panel-item-view {
    border-top: 15px solid rgba(0, 143, 77, 1);
    color: rgba(0, 143, 77, 1);
}
.main-btns{
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
    font-size: 18px;
}
.panel-item-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 1;
    cursor: pointer;
    position: relative;
    left: 285px;
    width: 100px;
    top: 20px;
    height: 34px;
    font-size: 18px;
    text-align: center;
    line-height: 34px;
    border-radius: 57px 57px 57px 57px;
}
.panel-item-handle .panel-item-btn{
    background: rgba(244, 120, 34, 0.16);
}
.panel-item-search .panel-item-btn{
    background: rgba(3, 86, 167, 0.16);
}
.panel-item-view .panel-item-btn{
    background: rgba(0, 143, 77, 0.16);
}
.panel-item-handle .panel-item-btn.active{
    background: rgba(244, 120, 34, 1);
    color: #fff;
}
.panel-item-search .panel-item-btn.active{
    background: rgba(3, 86, 167, 1);
    color: #fff;
}
.panel-item-view .panel-item-btn.active{
    background: rgba(0, 143, 77, 1);
    color: #fff;
}
.panel-title{
    font-size: 54px;
    font-family: "YouSheBiaoTiHei";
}
.function-panel .main-btn{
    cursor: pointer;
    display: flex;
    gap: 3px;
}
.panel-item-btn-icon-arrow{
    width: 11px;
    height: 8px;
    background-size: 100% 100% !important;
}
.panel-item-btn.active .panel-item-btn-icon-arrow{
    background: url(../../img/w-arrow-down.png) no-repeat center center !important;
    background-size: 100% 100% !important;
}
.panel-item-handle .panel-item-btn-icon-arrow{
    background: url(../../img/y-arrow-up.png) no-repeat center center;
}
.panel-item-search .panel-item-btn-icon-arrow{
    background: url(../../img/b-arrow-up.png) no-repeat center center;
}
.panel-item-view .panel-item-btn-icon-arrow{
    background: url(../../img/g-arrow-up.png) no-repeat center center;
}

@media screen and (max-width: 1536px) {
    .search {
        top: 240px;
    }
    .function-panel {
        top: 420px;
        width: 1000px;
    }
    .panel-item {
        width: 310px;
        height: 135px;
        border-top-width: 12px;
    }
    .panel-item-content {
        padding: 0 15px;
        top: 15px;
        width: 310px;
    }
    .panel-title {
        font-size: 40px;
    }
    .main-btns {
        font-size: 14px;
    }
    .panel-item-btn {
        left: 220px;
        width: 80px;
        top: 15px;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
    }
    .function-btns {
        top: -70px;
        height: 65px;
        z-index: 20;
    }
    .function-btn {
        font-size: 14px;
        padding: 8px;
    }
    .floating_nav {
        top: 630px;
    }
}
