/*!**************************************
## Theme URI: https://www.chenxingweb.com/cx-udy-auto-gaoji-user.html
## Author: 晨星博客
## Author URI: https://www.chenxingweb.com
## Description: 简洁时尚自适应图片主题，适合各种图片展示类网站，有问题请加QQ群565616228请求帮助。
## Theme Name: CX-UDY
## Version: 2.3
****************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
button{
    outline:none;
    cursor: pointer;
}
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    box-shadow: inset 0 0 0 1000px #fff;
    -webkit-box-shadow: inset 0 0 0 1000px #fff;
}

/* 主体布局 */
.reg_main {
    padding: 40px 20px;
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reg_inner {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    overflow: hidden;
}

/* 顶部导航 */
.reg_inner_header {
    height: 70px;
    display: flex;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.rih_left, .rih_left2 {
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}
.rih_left {
    background: #fff;
    border-right: 1px solid #f0f0f0;
    color: #333;
    font-weight: 500;
}
.rih_left2 {
    background: #fafafa;
    color: #999;
}
.rih_left2:hover {
    color: #333;
}
.rih_left5 {
    flex: 1;
    background: #fafafa;
}

/* 中间内容 */
.reg_mid {
    display: flex;
}
.reg_mid_left {
    width: 60%;
    padding: 40px;
    border-right: 1px solid #f5f5f5;
}
.reg_mid_right {
    width: 40%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 表单核心样式（简约高级） */
.reg_form {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 24px;
    position: relative;
}
.has-feedback {
    position: relative;
}
.form-control {
    width: 100%;
    height: 48px;
    padding: 0 15px 0 45px;
    font-size: 16px;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fcfcfc;
    transition: all 0.2s;
    outline: none;
}
.form-control:focus {
    border-color: #ea2074;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(234,32,116,0.1);
}
.has-feedback i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #bbb;
    z-index: 1;
}

/* 间距 */
.kong10 { height: 10px; }
.kong20 { height: 20px; }

/* 按钮 */
.login_btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, #ea2074 10%, #f93d3f 90%);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.2s;
}
.login_btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 错误提示 */
.cxudy-form-error {
    background-color: #ff4d4f;
    color: #fff;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

/* 记住我 + 忘记密码 */
.link1 {
    color: #999;
    font-size: 14px;
}
.link1:hover {
    color: #ea2074;
}

/* 第三方登录 */
.other_login {
    border-top: 1px solid #f0f0f0;
    margin-top: 30px;
    padding-top: 20px;
}
.disanfang {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-bottom: 15px;
}
.other_login_action {
    text-align: center;
}
.other_login_action a {
        display: inline-block;
    /* width: 40px; */
    height: 37px;
    line-height: 37px;
    border-radius: 5px;
    color: #fff;
    margin: 0 6px;
    font-size: 15px;
    transition: all 0.2s;
    padding: 0 20px;
}
.other_login_action a:hover {
    transform: scale(1.08);
}
.qq_btn { background: #69c; }
.weibo_btn { background: #ff3443; }
.weixin_btn { background: #4CAF50; }

/* 验证码按钮 */
.user_emailkey_bottom {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 32px;
    line-height: 32px;
    padding: 0 12px;
    background: #333;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    border: none;
}

/* 邮箱后缀选择 */
.email-suffix-select{
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #666;
    outline: none;
    padding: 0 5px;
    z-index: 2;
}

.rmr_ad img {
    width: 100%;
    border-radius: 10px;
}

/* 响应式 */
@media (max-width:800px) {
    .reg_main { padding: 20px; }
    .reg_mid { flex-direction: column; }
    .reg_mid_left {
        width: 100%;
        padding: 30px 20px;
        border-right: none;
    }
    .reg_mid_right {
        width: 100%;
        padding: 0 20px 20px;
    }
    .reg_inner_header { height: 60px; }
    .rih_left, .rih_left2 {
        width: 100px;
        font-size: 15px;
    }
}