/* 商家入驻页面样式 */
.merchant-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.merchant-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

/* 入驻流程样式 */
.merchant-process {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.merchant-process h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.merchant-process h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 20px;
    width: 4px;
    background-color: #00cc44;
    border-radius: 2px;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 22%;
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: #e6fff0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #00cc44;
    font-size: 24px;
    transition: all 0.3s;
}

.step:hover .step-icon {
    background-color: #00cc44;
    color: #fff;
    transform: translateY(-5px);
}

.step-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.step-content p {
    font-size: 14px;
    color: #666;
}

.step-arrow {
    color: #ccc;
    font-size: 20px;
}

/* 入驻申请表单样式 */
.merchant-application {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.merchant-application h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.merchant-application h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 20px;
    width: 4px;
    background-color: #00cc44;
    border-radius: 2px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.required {
    color: #ff4d4d;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #00cc44;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 204, 68, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* 文件上传样式 */
.file-upload {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.file-upload-btn {
    padding: 12px 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 10px;
}

.file-upload-btn:hover {
    background-color: #e9e9e9;
}

.file-upload .file-name {
    font-size: 14px;
    color: #666;
}

.file-upload-help {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* 协议与按钮样式 */
.agreement-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00cc44;
}

.checkbox-label span {
    font-size: 14px;
    color: #333;
}

.link {
    color: #00cc44;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.form-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.reset-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.reset-btn:hover {
    background-color: #e9e9e9;
}

.submit-btn {
    background-color: #00cc44;
    color: #fff;
}

.submit-btn:hover {
    background-color: #00b33c;
}

/* 入驻须知样式 */
.merchant-info {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.merchant-info h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.merchant-info h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 20px;
    width: 4px;
    background-color: #00cc44;
    border-radius: 2px;
}

.info-card {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-card:last-child {
    margin-bottom: 0;
}

.info-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
}

.info-card h3 i {
    margin-right: 8px;
    color: #00cc44;
}

.info-card ul {
    list-style: none;
    padding-left: 25px;
}

.info-card li {
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.info-card li::before {
    content: '•';
    position: absolute;
    left: -15px;
    color: #00cc44;
    font-size: 18px;
}

.info-card li i {
    margin-right: 8px;
    color: #00cc44;
    width: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .step {
        width: 100%;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .step-icon {
        margin-right: 15px;
        margin-bottom: 0;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .step-content {
        flex: 1;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .merchant-process, 
    .merchant-application,
    .merchant-info {
        padding: 20px 15px;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .file-upload {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .file-upload-btn {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
    
    .file-upload .file-name {
        margin-bottom: 10px;
    }
} 