* {
    margin: 0;
    padding: 0;
    /* 內减模式 */
    box-sizing: border-box;
}

@font-face {
    font-family: 'PuHuiTi_Regula';
    src: url('/res/font/Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #f3f5f7;
    font-family:'PuHuiTi_Regula', Arial, sans-serif;
    position: relative;
    min-height: 100vh;
}

li {
    /* 去除圆点 */
    list-style: none;
}

a {
    /* 去除下划线 */
    text-decoration: none;
}

.header {
    width: 100%;
}
.header-top {
    background-color: #A72F29;
    color: #fff;
    height: 30px;
}



.nav {
    display: flex;
    justify-content: center;
    padding: 0.5rem 1rem;
    width: 100%;
    background-color: #fff;
}

.nav .logo {
    height: 1.5rem;
    position: absolute;
    left: 1rem;
}


.nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;    
    font-size: 0.3rem;

}

.header .nav-list li {
    font-size: 1.1rem;
    font-weight: bold;
    color: #b81719;
    border-right: 1px solid #787878;
    display: inline-block;
    padding: 0 3rem;
    position: relative;
    cursor: pointer;
    
}
.nav-list li span {
    border-bottom: 3px solid transparent; /* 默认无下划线 */
    padding: 0 0.6rem;
    transition: border-color 0.3s; /* 添加过渡效果 */
}

.nav-list li.active span {
    border-bottom: 3px solid #b81719; /* 被选中时显示下划线 */
}

/* .header .nav-list li::after {
    content: '\25B6';
    color: #000;
    margin-left: 1rem;
    font-size: 0.6rem;
    position: absolute;
    bottom: 0.3rem;
    transition: transform 0.3s ease;
}
.nav-list ul li.active::after {
    transform: rotate(90deg);
} */
.nav-right{
    display: flex;
    align-items: center;
    position: absolute;
    right: 1rem;
}

.nav-right img {
    height: 1.4rem;
    padding: 0 0.2rem;
}

.tab-expand {
    background-color: #fff;
    padding: 2rem 18%;
    display: none;
    position: absolute;
    width: 100%;
    top: 70px;
    z-index: 1000;
}
.tab-expand.active {
    display: block;
}
.tab-expand p{
    font-size: 0.9rem;
}
.xian {
    border-top: #000 dashed 1px;
    width: 50%;
    height: 1px;
    margin-top: 1rem;
}
.tab-expand-list{
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    width: 87%;
}
.tab-expand-item {
    display: flex;
    align-items: center;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}
.tab-expand-item img {
    height: 3rem;
    padding-right: 0.5rem;
}
.tab-expand-item h4 {
    color: #000000;
    padding: 0.3rem 0;
}
.tab-expand-item p {
    font-size: 0.7rem;
}


.tooltip {
    display: none; /* 默认隐藏 */
    position: absolute;
    top: 24px; /* 放在图片的上方 */
    right: 30px;
    background-color: #fff;
    padding: 8px;
    border-radius: 5px;
    z-index: 1000; /* 确保在其他元素上面 */
    white-space: nowrap; /* 防止文本换行 */
}



.nav-right img {
    cursor: pointer; /* 鼠标悬停时显示为手指图标 */
}

/* 悬停时显示 tooltip */
#login-icon:hover + #login-tooltip {
    display: block; /* 悬停时显示 tooltip */
}
.tooltip-content{
    padding: 0 0.5rem;
}

.tooltip-item {
    display: flex;
    align-self: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #a5a5a5;
}

.tooltip-item img {
    height: 1rem;
    padding: 0 0.7rem;
    display: block;
    margin-top: 4px;
}
.tooltip-item span {
    cursor: pointer;
}


.extra {
    width: 100%;
    background-color: #A72F29;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
}

.extra div {
    padding: 0 4rem;
    color: #fff;
    border-right: 1px solid #fff;
    cursor: pointer;
}




.login {
    width: 40%;
    position: fixed;
    top: 25%;
    left: 30%;
    background-color: #fff;
    padding: 2rem;
    z-index: 100;
    box-shadow: #8f8f8f 2px 2px 10px;
    border-radius: 10px;
    display: none;
}

.login p {
    margin-top: 0.5rem;
    color:#a4a4a4;
}

.login input {
    width: 100%;
    height: 2rem;
    margin-top: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0 1rem;

}

.login button {
    width: 100%;
    height: 2rem;
    margin-top: 1rem;
    border-radius: 5px;
    background-color: #A72F29;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    border: 0;
}

.hint {
    color: #A72F29;
    width: 100%;
    height: 1.8rem;
    text-align: right;
}

.login .reg {
    width: 100%; 
    margin-top: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.login .reg div {
    width: 50%;
    cursor: pointer;
    color: #060305;
}

.login-close {
    width: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}
.login-text {
    font-size: 0.8rem; 
    cursor: pointer;
    color: #666666;
    text-align: center;
    margin-top: 1rem;
    padding-bottom: 2rem;
}


.reg-box {
    width: 100%;
    margin-top: 20px;
}


.reg-box .iti,
.reg-box .fdsa{
    width: 90%;
    margin: 20px auto;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #E7E7E7;
    color: #000;
    cursor: pointer;
    border-radius: 6px;
}

.reg-box .iti:hover{
        background-color: #a11760;
        color: #fff;
    }
.reg-box .fdsa:hover {
        background-color: #A82B24;
        color: #fff;
    }

.reg-box .iti img
 {
    height: 2rem;
}

.reg-box .fdsa img {
height: 1.2rem;
}


.reg-box .iti .jt,
.reg-box .fdsa .jt {
  width: 0.8rem;
  height: 0.8rem;
  border-top: 2px solid #A7A8A7;
  border-right: 2px solid #A7A8A7;
  transform: rotate(45deg);

}

.reg-box .iti:hover .jt,
.reg-box .fdsa:hover .jt{

    border-top: 2px solid #F4E6E6;
    border-right: 2px solid #F4E6E6;
    }



.reg-box .iti span,
.reg-box .fdsa span {
    font-size: 1.1rem;
    font-weight: 400;
 }
.code-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.code-box span {
    position: absolute;
    right: 0;
    bottom: -1.8rem;
    display: inline-block;
}

.code-box input {
    width: 60%;
    height: 2rem;
    margin-top: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0 1rem;
}

.code-box button {
    width: 38%;
    height: 2rem;
    margin-top: 1.5rem;
    border: 0;
}   

#login-box3 input {
    margin-top: 1.5rem;
}