.login_body {
    position: relative;
    background-size: cover;
}

.login_body::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 13, 43, 0.50);
    content: '';
    z-index: 1;
}

.login_body .body_cont {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 35px);
    padding: 120px 15px;
    padding-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 50px;
}

.login_body .tip_body {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 30px;
    flex: 1;
    color: #fff;
    line-height: 1.2;
    z-index: 1;
}

.login_body .tip_body h1 {
    font-weight: 400;
    font-size: 72px;
}

.login_body .tip_body h5 {
    margin: 36px 0;
    font-weight: 400;
    font-size: 28px;
}

.login_body .tip_body ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.login_body .tip_body ul li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login_body .tip_body ul li.xian {
    width: 2px;
    height: 20px;
    background-color: #E8E9EC;
}

.login_body .tip_body ul li .iconfont {
    font-size: 22px;
}

.login_body .tip_body ul li .text {
    font-size: 22px;
}

.login_body .form_body {
    position: relative;
    width: 600px;
    padding: 0 60px;
    padding-bottom: 43px;
    /* background-color: rgba(225, 225, 225, .9); */
    background: linear-gradient(180deg, rgba(225, 225, 225, .95) 0%, #FFFFFF 100%);
    box-shadow: 0px 5px 13px 0px rgba(0, 0, 0, 0.18);
    border-radius: 15px;
    z-index: 2;
}

.form_body .type_list {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #E0E0E0;
}

.form_body .type_list li {
    position: relative;
    flex: 1;
    text-align: center;
    font-size: 24px;
    color: #999999;
    line-height: 83px;
    cursor: pointer;
}

.form_body .type_list li:hover,
.form_body .type_list li.active {
    color: var(--primary-color);
}

.form_body .type_list li.active::after {
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    content: '';
}

.form_item {
    padding-top: 55px;
    padding-bottom: 50px;
}

.form_item .title {
    font-weight: 800;
    font-size: 24px;
    color: #333333;
    line-height: 24px;
}

.form_item .tip {
    margin-top: 25px;
    font-size: 19px;
    color: #999999;
    line-height: 19px;
}

.form_item .form {
    margin-top: 45px;
}

.form_item .form .form_row {
    position: relative;
    height: 66px;
    padding: 10px;
    margin-bottom: 43px;
    border-radius: 15px;
    border: 2px solid #E0E0E0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form_item .form .form_row:last-child {
    margin-bottom: 0;
}

.form_item .form .form_row .iconfont {
    margin-left: 14px;
    font-size: 26px;
    color: #999999;
}

.form_item .form .form_row input {
    flex: 1;
    height: 100%;
    font-size: 19px;
    color: #333333;
    background-color: transparent;
    flex-shrink: 0;
}

.form_item .form .form_row input::placeholder {
    color: #999999;
}

.form_item .form .form_row .password_chang {
    margin-left: 0;
    margin-right: 10px;
    font-size: 26px;
    cursor: pointer;
}

.form_item .form .form_row .password_chang:hover {
    color: var(--primary-color);
}

.form_item .form .form_row .send_code {
    width: 147px;
    height: 100%;
    background-color: transparent;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    font-size: 19px;
    color: var(--primary-color);
    line-height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.form_item .agreement {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 38px;
    margin-bottom: 34px;
    font-size: 16px;
    line-height: 16px;
    color: #999999;
}

.form_item .agreement a {
    color: var(--primary-color);
}

.form_item .login_btn {
    height: 64px;
    background: var(--primary-color);
    border-radius: 15px;
    font-size: 24px;
    color: #FFFFFF;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.form_body .bottom_operate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    line-height: 16px;
    color: #999999;
}


.form_body .bottom_operate a {
    color: var(--primary-color);
    cursor: pointer;
}

.form_list .form_item {
    display: none;
}

.form_list .form_item.active {
    display: block;
}

.forget_password_body .form_body {
    width: 720px;
}

.forget_password_body .form_body {
    padding-top: 42px;
}

.forget_password_body .form_item {
    padding: 0;
}

.form_item .form .form_label_row {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.form_item .form .form_label_row:last-child {
    margin-bottom: 22px;
}

.form_item .form .form_label_row_tip {
    margin-bottom: 34px;
}

.form_item .form .form_label_row_tip .input_tip {
    position: absolute;
    left: 110px;
    top: calc(100% + 10px);
    font-size: 16px;
    color: #999999;
    line-height: 1;
}

.form_item .form .form_label_row .item_label {
    width: 110px;
    font-size: 19px;
    color: #333333;
    line-height: 1;
}

.forget_password_body .form_item .form .form_row {
    flex: 1;
}

.forget_password_body .form_body .bottom_operate {
    margin-top: 32px;
    justify-content: center;
}

.forget_password_body .form_item .form .form_row {
    margin: 0;
}

/* 简单的弹窗样式 */
#captchaModal {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

/*用户协议部分start*/
/* 触发按钮样式 */
.btn-open-modal {
    display: inline-block;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-open-modal:hover {
    /*background-color: #0056b3;*/
}

/* 遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    /* 默认隐藏 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* 弹窗容器 */
.modal-container {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

/* 弹窗头部 */
.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    border-left: none;
    padding-left: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #333;
}

/* 弹窗内容区（可滚动） */
.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

/* 弹窗底部 */
.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    text-align: right;
}

.btn-agree {
    padding: 10px 30px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.btn-agree:hover {
    background-color: #218838;
}

/*用户协议部分end*/

@media screen and (max-width: 1200px) {
    .login_body .body_cont {
        justify-content: center;
    }

    .login_body .tip_body {
        display: none;
    }
}

@media screen and (max-width: 770px) {
    body {
        padding: 0 !important;
    }

    .login_body .body_cont {
        padding: 100px 0;
    }

    .login_body .form_body {
        width: 90%;
        max-width: 400px;
        padding: 10px 20px;
        padding-bottom: 20px;
        background-color: #FFFFFF;
    }

    .form_body .type_list li {
        font-size: 16px;
        line-height: 48px;
    }

    .form_item {
        padding: 20px 0;
    }

    .form_item .title {
        font-size: 20px;
        line-height: 20px;
    }

    .form_item .tip {
        margin-top: 15px;
        font-size: 16px;
    }

    .form_item .form {
        margin-top: 20px;
    }

    .form_item .form .form_row {
        height: 45px;
        margin-bottom: 20px;
        padding: 4px;
    }

    .form_item .form .form_row .iconfont {
        margin-left: 5px;
    }

    .form_item .form .form_row input {
        font-size: 16px;
        width: 120px;
    }

    .form_item .form .form_row .send_code {
        font-size: 16px;
    }

    .form_item .agreement {
        margin: 20px 0;
        font-size: 14px;
        line-height: 1.2;
    }

    .form_item .login_btn {
        height: 45px;
        font-size: 18px;
    }

    .form_body .bottom_operate {
        font-size: 14px;
    }

    .form_item .form .form_row .password_chang {
        font-size: 20px;
        margin: 0;
        margin-right: 10px;
    }

    .forget_password_body .form_body {
        padding-top: 20px;
    }

    .form_item .form .form_label_row {
        display: block;
    }

    .form_item .form .form_label_row .item_label {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .form_item .form .form_label_row_tip .input_tip {
        display: block;
        position: static;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.2;
    }

    .form_item .form .form_label_row_tip {
        margin: 0;
    }

    .forget_password_body .form_body .bottom_operate {
        margin-top: 20px;
    }

}