/**
 * customer-service.css - AI剪导师 Phase2 客服反馈页面样式
 * 浅色主题，引用theme-vars.css变量
 */

.page-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px 40px;
}

.cs-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary, #1a1a2e);
    padding: 20px 0 16px;
}
.cs-title-icon {
    font-size: 24px;
}

.cs-section {
    background: var(--bg-card, #ffffff);
    border: var(--border-card, 1px solid #eee);
    border-radius: var(--radius-card, 14px);
    box-shadow: var(--shadow-card, 0 2px 12px rgba(0,0,0,0.06));
    padding: 24px;
    margin-bottom: 20px;
}

.cs-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #1a1a2e);
    margin-bottom: 16px;
}

/* ==================== 微信联系区 ==================== */
.cs-wechat-card {
    display: flex;
    align-items: center;
    gap: 24px;
}
.cs-wechat-info {
    flex: 1;
}
.cs-wechat-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #1a1a2e);
    margin-bottom: 8px;
}
.cs-wechat-id {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent, #8b5cf6);
    margin-bottom: 6px;
}
.cs-wechat-tip {
    font-size: 13px;
    color: var(--text-muted, #999);
}
.cs-wechat-qr {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}
.cs-qr-placeholder {
    width: 120px;
    height: 120px;
    background: #f0f0f5;
    border: 1px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #999);
    font-size: 12px;
}

/* ==================== 反馈表单 ==================== */
.cs-form-card {
    /* extends cs-section */
}
.cs-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cs-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cs-form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary, #6c7293);
}
.cs-form-control {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary, #1a1a2e);
    background: #fafafa;
    transition: border-color 0.2s;
    outline: none;
}
.cs-form-control:focus {
    border-color: var(--accent, #8b5cf6);
    background: #fff;
}
.cs-textarea {
    resize: vertical;
    min-height: 100px;
}
.cs-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--accent, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 4px;
}
.cs-submit-btn:hover {
    background: var(--accent-secondary, #4ECDC4);
}
.cs-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== 反馈结果 ==================== */
.cs-result {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 12px;
}
.cs-result.cs-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.cs-result.cs-error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #f8bbd0;
}

/* ==================== 移动端响应式 ==================== */
@media (max-width: 768px) {
    .page-container {
        margin: 20px auto;
        padding: 0 12px 32px;
    }
    .cs-title {
        font-size: 18px;
        padding: 16px 0 12px;
    }
    .cs-section {
        padding: 16px;
        margin-bottom: 14px;
    }
    .cs-wechat-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .cs-wechat-qr {
        width: 100px;
        height: 100px;
    }
    .cs-qr-placeholder {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .cs-title {
        font-size: 16px;
    }
    .cs-section {
        padding: 14px;
    }
    .cs-form-control {
        padding: 8px 12px;
        font-size: 13px;
    }
}
