/* 帮助说明模态框样式 */
.help-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

/* 帮助模态框滚动条样式 */
.help-modal::-webkit-scrollbar {
    width: 6px;
}

.help-modal::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 3px;
}

.help-modal::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.help-modal::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

.help-tab-nav {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
    gap: 4px;
}

.help-tab-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.help-tab-btn:hover {
    background: var(--secondary-color);
    color: var(--text-color);
}

.help-tab-btn.active {
    background: var(--primary-color);
    color: var(--text-color);
    border-bottom-color: var(--accent-color);
}

.help-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.help-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.help-section {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--secondary-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.help-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 步骤样式 */
.help-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.help-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: var(--background-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.help-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.step-number {
    min-width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-content h4 {
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
}

.step-content p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
}

.step-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.step-content a:hover {
    text-decoration: underline;
}

/* 功能列表样式 */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-light);
    line-height: 1.6;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: var(--text-color);
    font-weight: 600;
}

.feature-list ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.feature-list ul li {
    padding: 5px 0;
    border: none;
    font-size: 0.9rem;
}

/* 按钮演示样式 */
.btn-demo {
    display: inline-block;
    padding: 2px 6px;
    background: var(--primary-color);
    color: var(--text-color);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: normal;
    margin: 0 2px;
}

/* 提示框样式 */
.help-tip {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--text-color);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.help-tip h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 600;
}

.help-tip ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.help-tip li {
    margin: 5px 0;
    line-height: 1.5;
}

/* 联系信息样式 */
.contact-info {
    margin: 20px 0;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: var(--background-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.contact-details h4 {
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    margin: 5px 0;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-details strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .help-modal {
        max-width: 95vw;
        margin: 10px;
    }
    
    .help-tab-nav {
        flex-direction: column;
        gap: 2px;
    }
    
    .help-tab-btn {
        border-radius: 6px;
        margin-bottom: 2px;
    }
    
    .help-step {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .help-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .help-section h3 {
        font-size: 1.1rem;
    }
    
    .help-tip {
        padding: 12px;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }
}