/* 杭州易护科技有限公司 - 用户登录注册页面样式 */
/* 与首页配色风格保持一致 */

/* ========================================
   浏览器默认样式重置
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    background-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea {
    outline: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

/* ========================================
   页面基础布局
   ======================================== */
.zh_body {
    min-height: 100vh;
    background: #f8f9fa;
}

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

/* 容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   页面头部区域 - 添加顶部外边距
   ======================================== */
.zh_page_header {
    position: relative;
    /* 重要：顶部外边距，避免被导航栏挡住 */
    /* 顶部栏50px + 导航94px + 额外间距 = 180px */
    margin-top: 180px;
    padding: 60px 0;
    background: linear-gradient(135deg, #18813f 0%, #749F06 100%);
    overflow: hidden;
}

.zh_page_header_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.zh_header_overlay {
    position: relative;
    z-index: 2;
}

.zh_breadcrumb_section {
    text-align: center;
    color: #fff;
}

.zh_page_title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.zh_page_title i {
    color: #CBE195;
    font-size: 52px;
}

.zh_breadcrumb_nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.zh_breadcrumb_link {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.zh_breadcrumb_link:hover {
    color: #CBE195;
}

.zh_breadcrumb_separator {
    color: rgba(255, 255, 255, 0.6);
}

.zh_breadcrumb_current {
    color: #CBE195;
    font-weight: 500;
}

/* ========================================
   认证内容区域
   ======================================== */
.zh_auth_content {
    padding: 80px 0;
    flex: 1;
}

.zh_auth_section {
    max-width: 1200px;
    margin: 0 auto;
}

/* 区块标题 */
.zh_section_header {
    text-align: center;
    margin-bottom: 60px;
}

.zh_section_title {
    font-size: 36px;
    font-weight: 700;
    color: #18813f;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.zh_section_title i {
    color: #749F06;
    font-size: 38px;
}

.zh_section_subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   认证容器 - 左右布局
   ======================================== */
.zh_auth_container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

/* ========================================
   表单区域
   ======================================== */
.zh_auth_form_wrapper {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.zh_auth_form {
    padding: 50px 45px;
}

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

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

.zh_form_label i {
    color: #749F06;
    font-size: 16px;
}

.zh_form_input {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    color: #333;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.zh_form_input:focus {
    background: #fff;
    border-color: #749F06;
    box-shadow: 0 0 0 4px rgba(116, 159, 6, 0.1);
}

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

.zh_form_notice {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

/* 表单选项 */
.zh_form_options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

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

.zh_form_checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #749F06;
}

.zh_form_checkbox label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.zh_forgot_password {
    font-size: 14px;
    color: #749F06;
    font-weight: 500;
    transition: color 0.3s ease;
}

.zh_forgot_password:hover {
    color: #18813f;
    text-decoration: underline;
}

/* 协议同意 */
.zh_form_agreement {
    margin-bottom: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 3px solid #749F06;
}

.zh_agreement_link {
    color: #749F06;
    font-weight: 600;
    transition: color 0.3s ease;
}

.zh_agreement_link:hover {
    color: #18813f;
    text-decoration: underline;
}

/* 提交按钮 */
.zh_form_submit {
    margin-bottom: 25px;
}

.zh_auth_submit {
    width: 100%;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #749F06 0%, #638708 100%);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(116, 159, 6, 0.3);
}

.zh_auth_submit:hover {
    background: linear-gradient(135deg, #638708 0%, #749F06 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(116, 159, 6, 0.4);
}

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

/* 切换链接 */
.zh_auth_switch {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.zh_auth_switch p {
    font-size: 15px;
    color: #666;
}

.zh_switch_link {
    color: #749F06;
    font-weight: 700;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.zh_switch_link:hover {
    color: #18813f;
    text-decoration: underline;
}

/* ========================================
   权益展示区域
   ======================================== */
.zh_auth_benefits {
    background: linear-gradient(135deg, #18813f 0%, #749F06 100%);
    padding: 45px 35px;
    border-radius: 24px;
    color: #fff;
    box-shadow: 0 4px 20px rgba(24, 129, 63, 0.2);
}

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

.zh_benefits_title i {
    color: #CBE195;
    font-size: 28px;
}

.zh_benefit_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zh_benefit_item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.zh_benefit_item i {
    font-size: 24px;
    color: #CBE195;
    min-width: 24px;
}

.zh_benefit_item span {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

/* ========================================
   提示信息框
   ======================================== */
.zh_notice_box {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #749F06;
}

.zh_notice_content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.zh_notice_content i {
    font-size: 32px;
    color: #749F06;
    min-width: 32px;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .zh_auth_container {
        gap: 40px;
    }

    .zh_page_header {
        margin-top: 160px;
    }
}

@media (max-width: 992px) {
    .zh_auth_container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .zh_auth_benefits {
        order: -1;
    }

    .zh_page_title {
        font-size: 40px;
    }

    .zh_page_title i {
        font-size: 44px;
    }

    .zh_page_header {
        margin-top: 150px;
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .zh_page_header {
        margin-top: 140px;
        padding: 40px 0;
    }

    .zh_page_title {
        font-size: 32px;
        flex-direction: column;
        gap: 10px;
    }

    .zh_page_title i {
        font-size: 36px;
    }

    .zh_breadcrumb_nav {
        font-size: 14px;
    }

    .zh_auth_content {
        padding: 50px 0;
    }

    .zh_section_header {
        margin-bottom: 40px;
    }

    .zh_section_title {
        font-size: 28px;
        flex-direction: column;
        gap: 10px;
    }

    .zh_section_title i {
        font-size: 32px;
    }

    .zh_auth_form {
        padding: 35px 25px;
    }

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

    .zh_auth_benefits {
        padding: 30px 25px;
    }

    .zh_benefits_title {
        font-size: 20px;
    }

    .zh_benefit_item {
        padding: 12px;
    }

    .zh_benefit_item span {
        font-size: 15px;
    }

    .zh_notice_box {
        padding: 30px 20px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .zh_page_header {
        margin-top: 130px;
        padding: 30px 0;
    }

    .zh_page_title {
        font-size: 26px;
    }

    .zh_page_title i {
        font-size: 30px;
    }

    .zh_section_title {
        font-size: 24px;
    }

    .zh_auth_form {
        padding: 25px 20px;
    }

    .zh_form_input {
        padding: 12px 16px;
        font-size: 14px;
    }

    .zh_auth_submit {
        padding: 14px 28px;
        font-size: 16px;
    }

    .zh_auth_benefits {
        padding: 25px 20px;
    }

    .zh_benefits_title {
        font-size: 18px;
    }
}

/* ========================================
   表单验证提示样式
   ======================================== */
.zh_form_notice.error {
    color: #dc3545;
}

.zh_form_notice.success {
    color: #28a745;
}

input.error {
    border-color: #dc3545 !important;
}

input.success {
    border-color: #28a745 !important;
}

/* ========================================
   加载动画
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zh_auth_content[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease-out;
}
