/* 商家登录页面样式 - 参考首页风格 */

* {
    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;
    background: #f5f5f5;
}

.zh_main-container {
    min-height: calc(100vh - 200px);
}

/* Hero区域 */
.zh_hero-section {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #1b1b1b 0%, #0a142f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.zh_hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?w=1600&h=400&fit=crop') center/cover;
    opacity: 0.1;
}

.zh_hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
}

.zh_hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.zh_hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.zh_hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.zh_feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.zh_feature-item i {
    font-size: 24px;
    color: #e60000;
}

/* 平台介绍区域 */
.zh_platform-intro {
    padding: 80px 0;
    background: #fff;
}

.zh_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 60px;
    align-items: center;
}

.zh_section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1b1b1b;
}

.zh_intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #505050;
}

.zh_intro-text p {
    margin-bottom: 20px;
}

.zh_intro-text strong {
    color: #e60000;
    font-weight: 600;
}

.zh_highlight {
    color: #1b1b1b;
    font-weight: 500;
}

.zh_intro-image {
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
    border-bottom-left-radius: 120px;
}

.zh_intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主要内容区域 */
.zh_main-content {
    padding: 60px 0 80px;
    background: #f5f5f5;
}

.zh_tabs-container {
    margin-bottom: 40px;
}

.zh_tabs-header {
    text-align: center;
    margin-bottom: 40px;
}

.zh_tabs-main-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1b1b1b;
}

.zh_tabs-subtitle {
    font-size: 16px;
    color: #505050;
}

.zh_tabs-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.zh_tab-btn {
    flex: 0 0 250px;
    background: #fff;
    border: 3px solid #e0e0e0;
    border-radius: 20px;
    padding: 25px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.zh_tab-btn:hover {
    border-color: #e60000;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.15);
}

.zh_tab-btn.active {
    background: linear-gradient(135deg, #e60000, #ff3333);
    border-color: #e60000;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.3);
}

.zh_tab-btn i {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.zh_tab-btn.active i {
    color: #fff;
}

.zh_tab-btn span {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.zh_tab-btn small {
    font-size: 13px;
    opacity: 0.8;
}

.zh_tab-pane {
    display: none;
}

.zh_tab-pane.active {
    display: block;
}

/* 入驻表单区域 */
.zh_register-wrapper {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
}

.zh_register-form-section,
.zh_register-info-section {
    background: #fff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.zh_register-header {
    margin-bottom: 35px;
}

.zh_register-title {
    font-size: 24px;
    font-weight: 700;
    color: #1b1b1b;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.zh_register-title i {
    color: #e60000;
}

.zh_register-subtitle {
    font-size: 14px;
    color: #505050;
}

.zh_form-section {
    margin-bottom: 30px;
}

.zh_section-label {
    font-size: 16px;
    font-weight: 700;
    color: #1b1b1b;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f5f5f5;
}

.zh_section-label i {
    color: #e60000;
}

.zh_form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.zh_form-row:last-child {
    margin-bottom: 0;
}

.zh_form-group {
    flex: 1;
}

.zh_label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 8px;
}

.zh_input-wrapper {
    position: relative;
}

.zh_input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.zh_input,
.zh_select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    color: #1b1b1b;
    transition: all 0.3s;
}

.zh_select {
    padding-left: 45px;
}

.zh_input:focus,
.zh_select:focus {
    outline: none;
    border-color: #e60000;
}

.zh_input.zh_error,
.zh_select.zh_error {
    border-color: #ff4444;
}

.zh_form-submit {
    text-align: center;
    margin-top: 30px;
}

.zh_submit-btn {
    background: linear-gradient(135deg, #e60000, #ff3333);
    color: #fff;
    border: none;
    padding: 16px 50px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.zh_submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.4);
}

/* 流程和优势 */
.zh_process-container,
.zh_advantages-container {
    margin-bottom: 30px;
}

.zh_process-container:last-child,
.zh_advantages-container:last-child {
    margin-bottom: 0;
}

.zh_process-title,
.zh_advantages-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1b1b1b;
}

.zh_process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zh_step-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.zh_step-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e60000, #ff3333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
}

.zh_step-number {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #1b1b1b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.zh_step-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.zh_step-content p {
    font-size: 13px;
    color: #505050;
}

.zh_advantages-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zh_advantage-item {
    display: flex;
    gap: 15px;
    background: #f5f5f5;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s;
}

.zh_advantage-item:hover {
    background: #fce2e2;
    transform: translateX(5px);
}

.zh_advantage-icon {
    width: 50px;
    height: 50px;
    background: #e60000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.zh_advantage-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

.zh_advantage-content p {
    font-size: 13px;
    color: #505050;
    line-height: 1.6;
}

/* 登录区域 */
.zh_login-wrapper {
    display: grid;
    grid-template-columns: 550px 1fr;
    gap: 40px;
}

.zh_login-container {
    background: #fff;
    border-radius: 25px;
    padding: 45px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.zh_login-header {
    text-align: center;
    margin-bottom: 35px;
}

.zh_login-title {
    font-size: 28px;
    font-weight: 700;
    color: #1b1b1b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.zh_login-title i {
    color: #e60000;
}

.zh_login-subtitle {
    font-size: 14px;
    color: #505050;
    line-height: 1.6;
}

.zh_login-group {
    margin-bottom: 25px;
}

.zh_login-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 8px;
}

.repuired {
    color: #ff4444;
    font-size: 12px;
    display: block;
    height: 20px;
}

.zh_login-input-wrapper {
    position: relative;
}

.zh_login-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.zh_login-input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    color: #1b1b1b;
    transition: all 0.3s;
}

.zh_login-input:focus {
    outline: none;
    border-color: #e60000;
}

.zh_captcha-group {
    margin-bottom: 25px;
}

.zh_captcha-wrapper {
    display: flex;
    gap: 12px;
}

.zh_captcha-wrapper .zh_login-input-wrapper {
    flex: 1;
}

.zh_captcha-image {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_captcha-image img {
    width: 100px;
    height: 46px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
}

.zh_captcha-refresh {
    width: 46px;
    height: 46px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #505050;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.zh_captcha-refresh:hover {
    border-color: #e60000;
    color: #e60000;
    background: #fce2e2;
}

.zh_login-submit {
    margin-bottom: 20px;
}

.zh_login-btn {
    width: 100%;
    background: linear-gradient(135deg, #e60000, #ff3333);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.zh_login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.4);
}

.zh_login-footer {
    text-align: center;
}

.zh_home-link {
    color: #e60000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.zh_home-link:hover {
    text-decoration: underline;
}

/* 登录功能特色 */
.zh_login-features {
    background: linear-gradient(135deg, #1b1b1b, #0a142f);
    border-radius: 25px;
    padding: 40px;
    color: #fff;
}

.zh_features-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

.zh_features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.zh_feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s;
}

.zh_feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.zh_feature-card i {
    font-size: 32px;
    color: #e60000;
    margin-bottom: 12px;
    display: block;
}

.zh_feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.zh_feature-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .zh_intro-wrapper,
    .zh_register-wrapper,
    .zh_login-wrapper {
        grid-template-columns: 1fr;
    }

    .zh_tabs-nav {
        flex-direction: column;
    }

    .zh_tab-btn {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .zh_hero-title {
        font-size: 32px;
    }

    .zh_section-title,
    .zh_tabs-main-title {
        font-size: 28px;
    }

    .zh_form-row {
        grid-template-columns: 1fr;
    }

    .zh_features-grid {
        grid-template-columns: 1fr;
    }

    .zh_intro-image {
        height: 300px;
        border-bottom-left-radius: 80px;
    }
}

@media (max-width: 480px) {
    .zh_hero-title {
        font-size: 26px;
    }

    .zh_hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .zh_captcha-wrapper {
        flex-direction: column;
    }

    .zh_captcha-image {
        width: 100%;
        justify-content: space-between;
    }

    .zh_captcha-image img {
        flex: 1;
    }
}
