body {
    background-image: url("../img/login_bg.png");
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

/* 注册页面样式 */
.register-container {
    padding: 20px 0 40px;
}

.register-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* IE11兼容样式 - 标题与表单之间的间隔 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE11不支持gap属性，使用margin替代 */
    .register-box {
        gap: 0;
    }
    
    .register-header {
        /* 为IE11添加标题与表单之间的间隔 */
        margin-bottom: 20px;
    }
    
    /* IE11下flex容器兼容 */
    .captcha-box {
        /* 在IE11中确保flex布局正确计算宽度 */
        display: flex;
        align-items: center;
        min-height: 42px; /* 确保容器高度足够 */
    }
    
    /* IE11下短信验证码按钮样式 */
    .captcha-box .layui-btn {
        /* 确保按钮宽度在IE11中固定 */
        width: 120px !important;
        /* 确保按钮有足够的高度 */
        height: 42px;
        /* 确保按钮与输入框的间距 */
        margin-left: 10px !important;
        /* 确保文字在IE11中居中 */
        text-align: center;
        /* 调整内边距以匹配输入框高度 */
        padding: 0 15px;
        /* 防止IE11下文字溢出 */
        white-space: nowrap;
        /* 确保行高匹配高度 */
        line-height: 42px;
    }
    
    /* IE11下验证码输入框样式 */
    .captcha-box .layui-input {
        /* 确保输入框宽度自动计算，适应剩余空间 */
        flex: 1;
        /* 确保输入框有固定高度 */
        height: 42px;
    }
}

.register-header {
    width: 100%;
    height: 43px;
    padding-bottom: 5px;
    border-bottom: 2px solid #CCC;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.register-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.register-header-title span {
    font-weight: bold;
    font-size: 18px;
}

.register-header-warning {
    font-size: 14px;
    color: #F78000;
}

.register-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: normal;
}

.register-form {
    width: 650px;
    margin: 0 auto;
}

.register-form .layui-form-item {
    margin-bottom: 20px;
}

.register-form .layui-input {
    height: 42px;
}

.register-field-warning {
    color: #FF6666;
    font-size: 12px;
    margin-top: 5px;
}

.captcha-img {
    margin-left: 10px;
    cursor: pointer;
    height: 42px;
    width: 120px;
}

.login-link {
    text-align: right;
    margin-top: 10px;
}

.login-link a {
    color: #3072D0;
}

.common-width {
    width: 920px;
    margin: 0 auto;
}

.login {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 920px;
    margin: 0 auto;
}

.login-logo-container {
    margin-top: 80px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.login-bar {
    width: 100%;
    height: 510px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    margin: 20px 0 40px;
}

.login-footer {
    color: #333333;
    font-size: 14px;
    text-align: center;
    margin-top: auto;
    margin-bottom: 10px;
}

.login-left {
    width: 440px;
    padding-top: 75px;
    margin-right: 35px;
}

.login-right {
    padding-top: 115px;
    margin-left: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-method {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.login-method input {
    height: 40px;
    border: 1px #E5E5E5 solid;
}

.login-input {
    margin-bottom: 15px;
}

.captcha-box {
    display: flex;
    align-items: center;
}

.login-tips {
    display: flex;
    justify-content: space-between;
}

.login-tips a {
    color: #3072D0;
}

.login-tips span a {
    margin-right: 10px;
}

.layui-border-theme-blue {
    border-width: 1px;
    border-style: solid;
    border-color: #E5E5E5 !important;
    color: #3072D0 !important;
}

.login-footer .footer {
    background: unset;
}

/* 主题颜色类 */
.theme-color {
    background-color: #3072D0;
    border-color: #3072D0;
}

/* 密码规则提示样式 */
.password-rule {
    color: #FF6666;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #FFF5F5;
    border-radius: 4px;
    line-height: 1.5;
    text-align: center;
}