/* 登录注册页面样式 - 参考首页风格 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1b1b1b;
}

.zh_auth_body {
    background: #f5f5f5;
    min-height: 100vh;
}

.zh_login_container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.zh_main_content {
    flex: 1;
    padding: 60px 0;
    position: relative;
}

/* 背景装饰 */
.zh_bg_decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.zh_bg_circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.05), rgba(230, 0, 0, 0.02));
}

.zh_circle_1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.zh_circle_2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
}

.zh_circle_3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
}

/* 主容器 */
.zh_auth_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.zh_auth_wrapper {
    display: grid;
    grid-template-columns: 1fr 550px;
    gap: 60px;
    align-items: start;
}

/* 左侧介绍区域 */
.zh_intro_section {
    background: linear-gradient(135deg, #1b1b1b 0%, #0a142f 100%);
    border-radius: 30px;
    padding: 60px;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.zh_brand_logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
}

.zh_brand_logo i {
    width: 50px;
    height: 50px;
    background: #e60000;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.zh_intro_title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.zh_intro_subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.zh_platform_desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.zh_platform_desc strong {
    color: #fff;
    font-weight: 600;
}

/* 高亮提示框 */
.zh_highlight_box {
    display: flex;
    gap: 15px;
    background: rgba(230, 0, 0, 0.1);
    border: 1px solid rgba(230, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
}

.zh_highlight_icon {
    flex-shrink: 0;
}

.zh_highlight_icon i {
    font-size: 24px;
    color: #e60000;
}

.zh_highlight_text {
    flex: 1;
}

.zh_highlight_text p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.zh_highlight_text strong {
    color: #e60000;
    font-weight: 600;
}

/* 平台特色 */
.zh_features_title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.zh_features_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.zh_feature_item {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s;
}

.zh_feature_item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.zh_feature_icon {
    flex-shrink: 0;
}

.zh_feature_icon i {
    width: 45px;
    height: 45px;
    background: #e60000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.zh_feature_content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.zh_feature_content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* 会员权益 */
.zh_member_benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.zh_benefit_item {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 18px;
    transition: all 0.3s;
}

.zh_benefit_item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.zh_benefit_icon {
    flex-shrink: 0;
}

.zh_benefit_icon i {
    width: 40px;
    height: 40px;
    background: #e60000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.zh_benefit_text h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.zh_benefit_text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.zh_trust_note {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(230, 0, 0, 0.15);
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.zh_trust_note i {
    color: #e60000;
    font-size: 20px;
}

/* 右侧表单区域 */
.zh_form_section {
    position: sticky;
    top: 100px;
}

.zh_form_card {
    background: #fff;
    border-radius: 25px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.zh_form_header {
    text-align: center;
    margin-bottom: 35px;
}

.zh_form_title {
    font-size: 32px;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 10px;
}

.zh_form_subtitle {
    font-size: 15px;
    color: #505050;
}

/* 标签切换 */
.zh_tab_switcher {
    display: flex;
    gap: 10px;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 6px;
    margin-bottom: 30px;
}

.zh_tab_btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 12px 20px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #505050;
    cursor: pointer;
    transition: all 0.3s;
}

.zh_tab_btn:hover {
    color: #1b1b1b;
}

.zh_tab_btn.zh_active {
    background: #fff;
    color: #e60000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 推荐人信息 */
.zh_referrer_info {
    background: #fce2e2;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.zh_referrer_content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e60000;
    font-size: 14px;
    font-weight: 600;
}

.zh_referrer_content i {
    font-size: 20px;
}

/* 表单样式 */
.zh_form_group {
    margin-bottom: 25px;
}

.zh_form_label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 10px;
}

.zh_form_label i {
    color: #e60000;
}

.zh_input_wrapper {
    position: relative;
}

.zh_form_input {
    width: 100%;
    padding: 14px 45px 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    color: #1b1b1b;
    background: #fff;
    transition: all 0.3s;
}

.zh_form_input:focus {
    outline: none;
    border-color: #e60000;
    background: #fff;
}

.zh_form_input::placeholder {
    color: #999;
}

.zh_input_icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.zh_password_toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.zh_password_toggle:hover {
    color: #e60000;
}

/* 验证码 */
.zh_captcha_wrapper {
    display: flex;
    gap: 12px;
}

.zh_captcha_input {
    flex: 1;
}

.zh_captcha_area {
    display: flex;
    gap: 8px;
    align-items: center;
}

.zh_captcha_image {
    width: 100px;
    height: 46px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
}

.zh_captcha_refresh {
    width: 46px;
    height: 46px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    color: #505050;
    cursor: pointer;
    transition: all 0.3s;
}

.zh_captcha_refresh:hover {
    border-color: #e60000;
    color: #e60000;
    background: #fce2e2;
}

/* 记住密码和忘记密码 */
.zh_form_options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.zh_checkbox_wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.zh_checkbox_wrapper input[type="checkbox"] {
    display: none;
}

.zh_checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.zh_checkbox_wrapper input[type="checkbox"]:checked + .zh_checkbox {
    background: #e60000;
    border-color: #e60000;
}

.zh_checkbox_wrapper input[type="checkbox"]:checked + .zh_checkbox::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    font-size: 12px;
}

.zh_checkbox_text {
    font-size: 14px;
    color: #505050;
}

.zh_forgot_link {
    color: #e60000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.zh_forgot_link:hover {
    color: #cc0000;
}

/* 协议 */
.zh_agreement {
    margin-bottom: 25px;
}

.zh_agreement_text {
    font-size: 13px;
    color: #505050;
}

.zh_agreement_link {
    color: #e60000;
    text-decoration: none;
}

.zh_agreement_link:hover {
    text-decoration: underline;
}

/* 提交按钮 */
.zh_submit_btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #e60000, #ff3333);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.zh_submit_btn:hover {
    background: linear-gradient(135deg, #cc0000, #e60000);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.4);
}

.zh_submit_btn:active {
    transform: translateY(0);
}

/* 底部链接 */
.zh_form_links {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #505050;
}

.zh_no_account,
.zh_has_account {
    color: #505050;
}

.zh_register_link,
.zh_login_link {
    color: #e60000;
    text-decoration: none;
    font-weight: 600;
    margin-left: 8px;
}

.zh_register_link:hover,
.zh_login_link:hover {
    text-decoration: underline;
}

/* 错误状态 */
.zh_error {
    border-color: #ff4444 !important;
}

.zh_success {
    border-color: #00c851 !important;
}

.zh_error_msg {
    color: #ff4444;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* 隐藏元素 */
.zh_hidden {
    display: none !important;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .zh_auth_wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .zh_intro_section {
        padding: 40px;
    }

    .zh_intro_title {
        font-size: 36px;
    }

    .zh_features_grid {
        grid-template-columns: 1fr;
    }

    .zh_form_section {
        position: static;
    }
}

@media (max-width: 768px) {
    .zh_main_content {
        padding: 40px 0;
    }

    .zh_intro_section {
        padding: 30px;
        border-radius: 20px;
    }

    .zh_intro_title {
        font-size: 28px;
    }

    .zh_form_card {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .zh_form_title {
        font-size: 26px;
    }

    .zh_captcha_wrapper {
        flex-direction: column;
    }

    .zh_captcha_area {
        width: 100%;
        justify-content: space-between;
    }

    .zh_captcha_image {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .zh_auth_container {
        padding: 0 15px;
    }

    .zh_intro_section {
        padding: 25px;
    }

    .zh_brand_logo {
        font-size: 20px;
    }

    .zh_brand_logo i {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .zh_intro_title {
        font-size: 24px;
    }

    .zh_form_card {
        padding: 25px 20px;
    }

    .zh_form_title {
        font-size: 24px;
    }

    .zh_form_options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
