/* 通用样式 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body,
html {
    flex-direction: column;
    display: flex;
    height: 100%;
}

a {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

/* 头部样式 */
.hea .box {
    height: 45px;
    justify-content: center;
    align-items: center;
}

.hea {
    background-color: #312d2a;
    display: flex;
    align-items: center;
}

.box {
    width: 1400px;
    height: 100%;
    display: flex;
    margin: 0 auto;
}

.logo img {
    height: 100%;
}

.hea_middle {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.logo {
    height: 100%;
    margin-left: 10px;
}

.hea_middle a {
    display: block;
    padding: 0 30px;
    color: #fff;
}

/* 欢迎部分样式 */
.welcome {
    background-color: #227e9e;
    height: 240px;
    padding: 0 20px;
}

.wel_box {
    width: 1400px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.wel_left {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    padding-left: 20px;
    z-index: 1;
    flex-direction: column;
}

.wel_left span {
    color: #fff;
}

.wel_su {
    font-size: 30px;
    font-weight: 450;
}

.wel_right {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 0;
}

.wel_right img {
    height: 100%;
}

/* 登录部分样式 */
/* 协议勾选框容器样式 */
.agreement-line {
    width: 85%;
    margin-top: 15px;
    margin-bottom: 0px;
    font-size: 12px;
    color: #666;
    text-align: left;
    padding-left: 5px; /* 与输入框对齐 */
    line-height: 1.5;
}
/* 勾选框本身 */
.agreement-line input[type="checkbox"] {
    vertical-align: middle;
    margin-right: 5px;
    cursor: pointer;
}
/* 协议文字标签 */
.agreement-line label {
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
}
/* 协议链接样式 */
.agreement-line a {
    color: #d9534f; /* 使用主题色或红色突出链接 */
    text-decoration: none;
}
.agreement-line a:hover {
    text-decoration: underline;
}
/* 强制禁用状态的按钮样式 (变灰) */
input[type="button"][disabled] {
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    border-color: #cccccc !important;
}

.login {
    height: 330px;
    margin-bottom: 30px;
}

.log_left {
    flex: 0.47;
    padding: 14px;
}

.log_right {
    flex: 1;
    padding: 17px;
}

.log_page {
    background-color: #fff;
    height: 95%;
    width: 97%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    box-shadow: 0px 4px 4px 4px rgb(214, 211, 211);
}

.log_page h4 {
    padding-top: 30px;
}

.log_inp {
    width: 85%;
    border: 1px solid #000;
    margin: 10px;
    border-radius: 4px;
    height: 35px;
}

.log_inp:focus-within {
    border: #e59700 2px solid;
}

.log_inp input {
    outline: none;
    height: 90%;
    margin-top: 2px;
    margin-left: 20px;
    width: 80%;
    font-size: 16px;
    border: none;
}

.forget_password {
    color: #227e9e;
}

.next {
    width: 100%;
    display: flex;
    justify-content: center;
}

.next input {
    width: 85%;
    height: 40px;
    margin-top: 15px;
    margin-bottom: 30px;
    background-color: #312d2a;
    border: none;
    color: #fff;
    border-radius: 5px;
}

.next input:hover {
    background-color: #413d3b;
    cursor: pointer;
}

.right_page {
    height: 95%;
    background-color: #fff;
    display: flex;
    box-shadow: 0px 4px 4px 4px rgb(214, 211, 211);
    border-radius: 4px;
    flex-wrap: nowrap;
}

.right_page img {
    height: 100%;
    border-radius: 4px;
}

.right_span {
    display: flex;
    margin-left: 30px;
    flex-direction: column;
    /* flex-wrap: nowrap; */
}

.right_span_h,
.right_span_h2 {
    font-size: 25px;
    margin-top: 20px;
}

.right_word {
    margin-top: 6%;
}

.right_a {
    margin-top: 14%;
    color: #227e9e;
}

/* 页脚样式 */
.footer {
    background-color: #312d2a;
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: auto;
}

.foo_box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.shangbiao {
    margin-right: 20px;
    color: #fff;
    border-right: #5a5755 1px solid;
    padding: 0 40px;
}

.foo_box .sp {
    display: block;
    color: #fff;
    padding: 0 20px;
    /* height: 100px; */
}

.log_page .span {
    display: flex;
    width: 100%;
    padding: 0 30px;
    /* flex-direction: ; */
    justify-content: space-between;
    height: 10px;
}

.forget_password {
    display: block;
    /* align-self: flex-end; */
    font-size: 13px;
}

.value_a_p {
    display: block;
    /* align-self: flex-start; */
    font-size: 13px;
    color: #e50000;
    opacity: 0;
    ;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .box {
        width: 100%;
    }
}

@media (max-width: 800px) {


    .log_box {
        height: auto;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .right_page img {
        width: 100%;
        height: auto;
    }

    .right_page {
        width: 100%;
        height: auto;
    }

    .welcome {
        height: auto;
        padding: 0 0 20px 0;
    }

    .wel_box {
        width: 100%;
        height: auto;
        flex-direction: column;
    }

    .wel_left {
        padding-left: 0;
        text-align: center;
    }

    .wel_right {
        float: none;
        position: static;
        height: auto;
        margin-top: 0px;
    }

    .wel_right img {
        width: 100%;
        height: 100%;
    }

    .login {
        height: auto;
        padding: 20px;
    }

    .log_box {
        flex-direction: column;
        align-items: center;
    }

    .log_left {
        width: 100%;
        padding: 10px;
    }

    .log_right {
        width: 100%;
        padding: 10px;
        margin-top: 20px;
    }

    .log_right img {
        width: 100%;
        height: auto;
    }

    .right_page {
        flex-wrap: wrap;
    }

    .right_span {
        margin: 0;
        margin-bottom: 20px;
        padding: 10px;
    }


    .foo_box {
        /* flex-direction: column; */
        align-items: center;
        /* padding: 20px 0; */
        height: 100px;
    }

    .shangbiao {
        margin-right: 0;
        border-right: none;
        padding: 0 10px;
    }

    .foo_box .sp {
        display: block;
        padding: 0 20px;
    }
}