/* 巧米乐数字科技商家入驻页面样式 - 参照首页风格 */

/* 基础布局和通用组件 */
.zh_merchant_page {
    background: #f8f9fa;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面头部横幅 */
.zh_merchant_hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #2b2520 0%, #3a3129 100%);
    color: #F0F0F0;
    text-align: center;
    overflow: hidden;
}

.zh_hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.zh_hero_content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.zh_hero_title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.zh_hero_subtitle {
    font-size: 20px;
    color: rgba(240,240,240,0.8);
    margin-bottom: 30px;
    font-weight: 300;
}

.zh_breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(240,240,240,0.7);
    margin-bottom: 40px;
}

.zh_breadcrumb_item {
    color: rgba(240,240,240,0.7);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.zh_breadcrumb_item:hover {
    color: #FA7D09;
}

.zh_breadcrumb_item i {
    font-size: 12px;
}

.zh_breadcrumb_divider {
    color: rgba(240,240,240,0.5);
}

.zh_breadcrumb_active {
    color: #F0F0F0;
    font-weight: 600;
}

.zh_hero_features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.zh_hero_feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: rgba(240,240,240,0.9);
}

.zh_hero_feature i {
    font-size: 20px;
    color: #FA7D09;
}

/* 入驻优势区域 */
.zh_merchant_benefits {
    padding: 80px 0;
    background: #fff;
}

.zh_section_header {
    text-align: center;
    margin-bottom: 60px;
}

.zh_section_title {
    font-size: 36px;
    font-weight: 700;
    color: #2b2520;
    margin-bottom: 15px;
    line-height: 1.3;
}

.zh_section_subtitle {
    font-size: 18px;
    color: #666;
}

.zh_benefits_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.zh_benefit_card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.zh_benefit_card:hover {
    background: #fff;
    border-color: #FA7D09;
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(250,125,9,0.2);
}

.zh_benefit_icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: #fff;
    transition: transform 0.3s;
}

.zh_benefit_card:hover .zh_benefit_icon {
    transform: scale(1.1);
}

.zh_benefit_card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2b2520;
    margin-bottom: 15px;
}

.zh_benefit_card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 入驻流程区域 */
.zh_merchant_process {
    padding: 80px 0;
    background: #f8f9fa;
}

.zh_process_timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.zh_process_timeline::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #FA7D09 0%, #e56d00 100%);
    z-index: 0;
}

.zh_process_step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.zh_process_icon {
    width: 90px;
    height: 90px;
    background: #fff;
    border: 3px solid #FA7D09;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #FA7D09;
    transition: all 0.3s;
    position: relative;
}

.zh_process_step:hover .zh_process_icon {
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    color: #fff;
    transform: scale(1.1);
}

.zh_process_number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 32px;
    height: 32px;
    background: #ff4444;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

.zh_process_step h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2b2520;
    margin-bottom: 10px;
}

.zh_process_step p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 入驻表单区域 */
.zh_merchant_form {
    padding: 80px 0;
    background: #fff;
}

.zh_form_container {
    max-width: 900px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.zh_form_tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
}

.zh_form_tab {
    flex: 1;
    padding: 15px 30px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zh_form_tab.active {
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    color: #fff;
}

.zh_form_content {
    display: none;
}

.zh_form_content.active {
    display: block;
}

.zh_form_group {
    margin-bottom: 25px;
}

.zh_form_label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2b2520;
    margin-bottom: 10px;
}

.zh_form_label .required {
    color: #ff4444;
    margin-right: 3px;
}

.zh_form_input,
.zh_form_select,
.zh_form_textarea {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    color: #333;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s;
}

.zh_form_input:focus,
.zh_form_select:focus,
.zh_form_textarea:focus {
    border-color: #FA7D09;
    box-shadow: 0 0 0 4px rgba(250,125,9,0.1);
}

.zh_form_textarea {
    min-height: 120px;
    resize: vertical;
}

.zh_form_hint {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}

.zh_form_upload {
    display: flex;
    align-items: center;
    gap: 15px;
}

.zh_upload_btn {
    padding: 10px 24px;
    background: #FA7D09;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_upload_btn:hover {
    background: #e56d00;
    transform: translateY(-2px);
}

.zh_upload_info {
    font-size: 14px;
    color: #666;
}

.zh_form_agreement {
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid #FA7D09;
}

.zh_form_checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_form_checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FA7D09;
}

.zh_form_checkbox label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.zh_agreement_link {
    color: #FA7D09;
    font-weight: 600;
    text-decoration: underline;
}

.zh_form_submit {
    text-align: center;
}

.zh_submit_btn {
    padding: 16px 80px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(250,125,9,0.3);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.zh_submit_btn:hover {
    background: linear-gradient(135deg, #e56d00 0%, #FA7D09 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250,125,9,0.4);
}

/* 审核弹窗 */
.zh_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.zh_modal.show {
    display: flex;
}

.zh_modal_content {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zh_modal_icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 48px;
    color: #fff;
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.zh_modal_title {
    font-size: 28px;
    font-weight: 700;
    color: #2b2520;
    margin-bottom: 15px;
}

.zh_modal_text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.zh_modal_btn {
    padding: 14px 50px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #FA7D09 0%, #e56d00 100%);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zh_modal_btn:hover {
    background: linear-gradient(135deg, #e56d00 0%, #FA7D09 100%);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .zh_benefits_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .zh_process_timeline::before {
        display: none;
    }
    
    .zh_hero_title {
        font-size: 36px;
    }
    
    .zh_hero_subtitle {
        font-size: 18px;
    }
    
    .zh_hero_features {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .zh_merchant_hero {
        padding: 80px 0;
    }
    
    .zh_hero_title {
        font-size: 30px;
    }
    
    .zh_hero_subtitle {
        font-size: 16px;
    }
    
    .zh_hero_features {
        flex-direction: column;
        gap: 15px;
    }
    
    .zh_benefits_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zh_process_step {
        margin-bottom: 30px;
    }
    
    .zh_form_container {
        padding: 30px 20px;
    }
    
    .zh_form_tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .zh_submit_btn {
        width: 100%;
        padding: 16px 20px;
    }
    
    .zh_modal_content {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .zh_hero_title {
        font-size: 24px;
    }
    
    .zh_hero_subtitle {
        font-size: 14px;
    }
    
    .zh_section_title {
        font-size: 28px;
    }
    
    .zh_benefit_card {
        padding: 30px 20px;
    }
    
    .zh_benefit_icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .zh_process_icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .zh_form_container {
        padding: 20px 15px;
    }
}
