/* 商家入驻和登录页面样式 */
/* 使用绿色系配色 #4CAF50，前缀 zh_ */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fffe;
}

/* 主容器 */
.zh_main-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
}

/* 通用容器 */
.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 品牌横幅区域 */
.zh_hero-banner {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.zh_hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1628563694622-5a76957fd09c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.zh_hero-content {
    position: relative;
    z-index: 2;
}

.zh_hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.zh_hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.zh_hero-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.zh_feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.zh_feature-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.zh_feature-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 平台介绍区域 */
.zh_platform-intro {
    padding: 80px 0;
    background: white;
}

.zh_intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.zh_section-title {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 40px;
    font-weight: 600;
}

.zh_intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.zh_intro-text p {
    margin-bottom: 20px;
}

/* 主要内容区域 */
.zh_main-content {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
}

.zh_content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 商家入驻表单区域 */
.zh_register-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zh_register-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(76, 175, 80, 0.15);
}

.zh_form-container {
    padding: 40px;
}

.zh_form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.zh_form-title {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.zh_form-title i {
    font-size: 2.2rem;
}

.zh_form-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* 表单区域 */
.zh_form-section {
    margin-bottom: 40px;
    padding: 30px 25px;
    background: #fafffe;
    border-radius: 15px;
    border-left: 4px solid #4CAF50;
}

.zh_section-label {
    font-size: 1.3rem;
    color: #4CAF50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.zh_section-label i {
    font-size: 1.4rem;
}

.zh_form-group {
    margin-bottom: 25px;
}

.zh_label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.zh_input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.zh_input-wrapper i {
    position: absolute;
    left: 15px;
    color: #4CAF50;
    font-size: 1.1rem;
    z-index: 2;
}

.zh_input, .zh_textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.zh_input:focus, .zh_textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    transform: translateY(-1px);
}

.zh_textarea {
    min-height: 100px;
    resize: vertical;
}

.zh_input.zh_error, .zh_textarea.zh_error {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

/* 提交按钮 */
.zh_form-submit {
    text-align: center;
    margin-top: 40px;
}

.zh_submit-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.zh_submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
    background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
}

.zh_submit-btn:active {
    transform: translateY(0);
}

/* 商家登录区域 */
.zh_login-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.zh_login-container {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zh_login-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.15);
}

.zh_login-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.zh_login-title {
    font-size: 1.6rem;
    color: #4CAF50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.zh_login-subtitle {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* 登录表单 */
.zh_login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zh_login-group {
    margin-bottom: 20px;
}

.zh_login-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.zh_login-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.zh_login-input-wrapper i {
    position: absolute;
    left: 15px;
    color: #4CAF50;
    font-size: 1rem;
    z-index: 2;
}

.zh_login-input {
    width: 100%;
    padding: 14px 14px 14px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.zh_login-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* 验证码区域 */
.zh_captcha-group {
    margin-bottom: 20px;
}

.zh_captcha-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.zh_captcha-wrapper .zh_login-input-wrapper {
    flex: 1;
}

.zh_captcha-image {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
}

.zh_captcha-image img {
    display: block;
    width: 100px;
    height: 42px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.zh_captcha-refresh {
    color: #4CAF50;
    font-size: 1.2rem;
    text-decoration: none;
    background: rgba(76, 175, 80, 0.1);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
}

.zh_captcha-refresh:hover {
    background: rgba(76, 175, 80, 0.2);
    transform: rotate(180deg);
    color: #388E3C;
}

/* 登录按钮 */
.zh_login-submit {
    margin-top: 20px;
}

.zh_login-btn {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.zh_login-btn:hover {
    background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.zh_login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.zh_home-link {
    color: #4CAF50;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.zh_home-link:hover {
    color: #388E3C;
}

/* 平台优势 */
.zh_advantages {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.1);
}

.zh_advantages-title {
    font-size: 1.4rem;
    color: #4CAF50;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.zh_advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #fafffe;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.zh_advantage-item:hover {
    transform: translateX(5px);
}

.zh_advantage-item:last-child {
    margin-bottom: 0;
}

.zh_advantage-item i {
    font-size: 2rem;
    color: #4CAF50;
    margin-top: 5px;
    min-width: 35px;
}

.zh_advantage-content h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.zh_advantage-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* 错误提示样式 */
.repuired {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #f44336;
}

.repuired label {
    color: #f44336 !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .zh_content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .zh_hero-title {
        font-size: 2.8rem;
    }
    
    .zh_hero-features {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .zh_container {
        padding: 0 15px;
    }
    
    .zh_hero-banner {
        padding: 60px 0;
    }
    
    .zh_hero-title {
        font-size: 2.2rem;
    }
    
    .zh_hero-subtitle {
        font-size: 1.1rem;
    }
    
    .zh_hero-features {
        flex-direction: column;
        gap: 25px;
    }
    
    .zh_platform-intro,
    .zh_main-content {
        padding: 60px 0;
    }
    
    .zh_section-title {
        font-size: 2rem;
    }
    
    .zh_form-container,
    .zh_login-container {
        padding: 30px 20px;
    }
    
    .zh_form-section {
        padding: 25px 20px;
    }
    
    .zh_captcha-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .zh_captcha-image {
        align-self: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .zh_hero-title {
        font-size: 1.8rem;
    }
    
    .zh_form-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .zh_section-title {
        font-size: 1.6rem;
    }
    
    .zh_submit-btn {
        padding: 16px 40px;
        font-size: 1rem;
    }
}

/* 动画增强 */
.animated.delay-1s {
    animation-delay: 1s;
}

.animated.delay-2s {
    animation-delay: 2s;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #388E3C;
}
