/* 认证页面 — 左右分屏（墨绿 + 香槟金） */

.zh_auth_section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    background: var(--zh-bg-cream);
}

.zh_auth_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.zh_auth_grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    background: #fff;
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 81, 50, 0.18);
    min-height: 600px;
}

/* ========== 左侧视觉区 ========== */
.zh_auth_left {
    background: var(--zh-gradient-primary);
    padding: 60px 56px;
    display: flex;
    flex-direction: column;
    color: var(--zh-text-on-dark);
    position: relative;
    overflow: hidden;
}

.zh_auth_left::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    right: -120px;
    width: 380px;
    background: var(--zh-gradient-accent);
    transform: skewX(-16deg);
    opacity: 0.18;
}

.zh_auth_left::after {
    content: '';
    position: absolute;
    left: -100px; top: -100px;
    width: 280px; height: 280px;
    border: 1.5px solid rgba(201, 169, 97, 0.22);
    border-radius: 50%;
}

.zh_auth_brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 50px;
}

.zh_auth_brand_mark {
    width: 44px;
    height: 44px;
    border-radius: var(--zh-radius-md);
    background: var(--zh-gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(201, 169, 97, 0.35);
    flex-shrink: 0;
}

.zh_auth_brand_text {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.zh_auth_left_content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.zh_auth_eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--zh-accent);
    margin-bottom: 16px;
}

.zh_auth_welcome {
    font-family: 'Noto Serif SC', serif;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.3;
    letter-spacing: 0.05em;
}

.zh_auth_desc {
    font-size: 15px;
    color: rgba(245, 239, 220, 0.82);
    line-height: 1.95;
    margin: 0 0 36px;
    max-width: 420px;
}

.zh_auth_features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zh_auth_features li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(245, 239, 220, 0.92);
    font-size: 14.5px;
    margin-bottom: 18px;
}

.zh_auth_features li i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.16);
    border: 1px solid var(--zh-accent);
    color: var(--zh-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.zh_auth_left_footer {
    position: relative;
    z-index: 1;
    color: rgba(245, 239, 220, 0.5);
    font-size: 12px;
    border-top: 1px solid rgba(201, 169, 97, 0.18);
    padding-top: 20px;
    margin-top: 40px;
}

/* ========== 右侧表单区 ========== */
.zh_auth_right {
    padding: 60px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.zh_auth_header {
    margin-bottom: 32px;
}

.zh_auth_title {
    font-family: 'Noto Serif SC', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--zh-text-heading);
    margin: 0 0 10px;
    letter-spacing: 0.04em;
}

.zh_auth_subtitle {
    font-size: 14.5px;
    color: var(--zh-text-mute);
    margin: 0;
}

/* 错误提示 */
.zh_auth_alert {
    background: #FBEAEA;
    border-left: 3px solid #B33A3A;
    padding: 14px 18px;
    margin-bottom: 24px;
    border-radius: var(--zh-radius-sm);
}

.zh_auth_alert_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #7A1F1F;
    margin-bottom: 6px;
}

.zh_auth_alert_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zh_auth_alert_list li {
    font-size: 13px;
    color: #B33A3A;
    line-height: 1.6;
}

/* 表单 */
.zh_auth_form_group { margin-bottom: 20px; }
.zh_auth_form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}

.zh_auth_label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--zh-text-heading);
    margin-bottom: 8px;
}

.zh_auth_label .zh_required { color: #B33A3A; margin-left: 2px; }

.zh_auth_input,
.zh_auth_textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--zh-bg-soft);
    border-radius: var(--zh-radius-md);
    font-size: 14px;
    color: var(--zh-text-heading);
    background: #fff;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    box-sizing: border-box;
}

.zh_auth_input:focus,
.zh_auth_textarea:focus {
    border-color: var(--zh-accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18);
}

.zh_auth_input::placeholder,
.zh_auth_textarea::placeholder { color: var(--zh-text-mute); }

.zh_auth_textarea { resize: vertical; min-height: 100px; line-height: 1.7; }

.zh_auth_help {
    font-size: 12px;
    color: var(--zh-text-mute);
    margin-top: 6px;
    line-height: 1.6;
}

/* 上传双卡 */
.zh_auth_upload_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.zh_auth_upload {
    position: relative;
    aspect-ratio: 4 / 3;
    border: 2px dashed var(--zh-bg-soft);
    border-radius: var(--zh-radius-md);
    background: var(--zh-bg-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    overflow: hidden;
}

.zh_auth_upload:hover {
    border-color: var(--zh-accent);
    background: var(--zh-accent-soft);
}

.zh_auth_upload i { font-size: 28px; color: var(--zh-accent-dark); }
.zh_auth_upload span { font-size: 12px; color: var(--zh-text-mute); }

.zh_auth_upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.zh_auth_upload_preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

/* 记住登录 */
.zh_auth_remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.zh_auth_checkbox_label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--zh-text-body);
}

.zh_auth_checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--zh-primary);
    cursor: pointer;
}

.zh_auth_forgot {
    font-size: 13px;
    color: var(--zh-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.zh_auth_forgot:hover { color: var(--zh-accent-dark); text-decoration: underline; }

/* 提交按钮 */
.zh_auth_submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--zh-gradient-accent);
    color: var(--zh-text-heading);
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--zh-radius-pill);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 22px rgba(201, 169, 97, 0.35);
}

.zh_auth_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(201, 169, 97, 0.45);
}

/* 表单分区 */
.zh_auth_section_title {
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    color: var(--zh-text-heading);
    padding-left: 12px;
    border-left: 3px solid var(--zh-accent);
    margin: 28px 0 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.zh_auth_section_title:first-child { margin-top: 0; }

/* 注册链接 */
.zh_auth_footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px dashed var(--zh-bg-soft);
}

.zh_auth_footer_text {
    font-size: 14px;
    color: var(--zh-text-body);
}

.zh_auth_footer_link {
    color: var(--zh-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.zh_auth_footer_link:hover { color: var(--zh-accent-dark); text-decoration: underline; }

/* ========== 注册结果页 ========== */
.zh_auth_result {
    text-align: center;
    padding: 40px 30px;
}

.zh_auth_result_icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--zh-gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zh-text-heading);
    font-size: 50px;
    box-shadow: 0 12px 30px rgba(201, 169, 97, 0.35);
}

.zh_auth_result_title {
    font-family: 'Noto Serif SC', serif;
    font-size: 28px;
    color: var(--zh-text-heading);
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.zh_auth_result_desc {
    color: var(--zh-text-body);
    font-size: 15px;
    line-height: 1.85;
    margin: 0 0 30px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.zh_auth_result_steps {
    background: var(--zh-bg-cream);
    border-radius: var(--zh-radius-md);
    padding: 24px 26px;
    margin-bottom: 30px;
    text-align: left;
    border-left: 3px solid var(--zh-accent);
}

.zh_auth_result_steps h4 {
    font-family: 'Noto Serif SC', serif;
    font-size: 15px;
    color: var(--zh-text-heading);
    margin: 0 0 14px;
}

.zh_auth_result_steps ol {
    padding-left: 20px;
    margin: 0;
    color: var(--zh-text-body);
    font-size: 14px;
    line-height: 2;
}

.zh_auth_result_actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .zh_auth_grid { grid-template-columns: 1fr; min-height: 0; }
    .zh_auth_left { display: none; }
    .zh_auth_right { padding: 40px 30px; }
    .zh_auth_form_row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 576px) {
    .zh_auth_section { padding: 30px 0; }
    .zh_auth_container { padding: 0 16px; }
    .zh_auth_right { padding: 30px 22px; }
    .zh_auth_title { font-size: 24px; }
    .zh_auth_upload_grid { grid-template-columns: 1fr; }
}

/* ========== 图形验证码 ========== */
.zh_auth_captcha_row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.zh_auth_captcha_input {
    flex: 1;
}
.zh_auth_captcha_img {
    height: 46px;
    border-radius: var(--zh-radius-md, 14px);
    border: 1.5px solid var(--zh-bg-soft, #F3EFE7);
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.3s, transform 0.3s;
    display: block;
}
.zh_auth_captcha_img:hover {
    border-color: var(--zh-accent, #C9A961);
    transform: translateY(-1px);
}
