/* 商家申请入驻页面样式 */

.apply-container {
    margin-bottom: 50px;
}

/* 申请页面头部 */
.apply-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background-color: var(--secondary-color);
    border-radius: 10px;
}

.apply-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.apply-header p {
    font-size: 16px;
    color: var(--light-text);
}

/* 申请流程步骤 */
.apply-process {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 80px;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.step-text {
    font-size: 14px;
    text-align: center;
    color: var(--light-text);
}

.process-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--border-color);
    position: relative;
    max-width: 100px;
}

.process-step.active .step-number {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.process-step.active .step-text {
    color: var(--primary-color);
    font-weight: 500;
}

/* 申请内容布局 */
.apply-content {
    display: flex;
    gap: 30px;
}

.apply-form-container {
    flex: 3;
}

.apply-sidebar {
    flex: 1;
}

/* 申请表单样式 */
.apply-form-container h2 {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.apply-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 30px;
}

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

.form-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: #f44336;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

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

.input-with-unit {
    position: relative;
}

.input-with-unit input {
    padding-right: 60px;
}

.input-with-unit .unit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
}

/* 文件上传区域 */
.file-upload {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary-color);
}

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

.upload-button {
    color: var(--primary-color);
}

.upload-button i {
    font-size: 24px;
    margin-bottom: 5px;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.file-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

/* 复选框样式 */
.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.checkbox-group a {
    color: var(--primary-color);
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.form-actions button {
    min-width: 120px;
    padding: 12px 20px;
    font-size: 16px;
}

/* 侧边栏样式 */
.sidebar-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* 入驻优势列表 */
.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-list li {
    display: flex;
    margin-bottom: 20px;
}

.advantage-list li i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
}

.advantage-list li h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.advantage-list li p {
    font-size: 14px;
    color: var(--light-text);
}

/* 入驻要求列表 */
.requirement-list {
    list-style: none;
    padding: 0;
}

.requirement-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.requirement-list li i {
    color: #4CAF50;
    margin-right: 10px;
}

/* FAQ样式 */
.faq-list {
    margin-top: 15px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 15px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--light-text);
}

/* 联系信息 */
.contact-info {
    font-size: 14px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .apply-content {
        flex-direction: column;
    }
    
    .apply-sidebar {
        order: -1;
    }
    
    .apply-process {
        flex-wrap: wrap;
    }
    
    .process-step {
        margin-bottom: 20px;
    }
    
    .process-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .apply-header h1 {
        font-size: 24px;
    }
    
    .apply-form {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .advantage-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .advantage-list li i {
        margin-right: 0;
        margin-bottom: 10px;
    }
} 