/* 投诉页面样式 */

.complaint-page {
    background: #f5f5f5;
    padding: 20px 0 40px;
}

.complaint-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 4px;
    padding: 25px 30px 30px;
}

.complaint-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.complaint-title {
    font-size: 20px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

/* 通用段落区域 */
.complaint-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.section-text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

.section-text.highlight {
    color: var(--theme-color, #ff1493);
}

/* 被举报信息卡片 */
.complaint-info-card {
    padding: 20px;
    border-radius: 4px;
    background: #fafafa;
    border: 1px solid #eee;
    margin-bottom: 25px;
}

.info-rows {
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.info-label {
    width: 90px;
    color: #999;
}

.info-value {
    flex: 1;
}

.tag {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 6px;
    margin-bottom: 4px;
    border-radius: 12px;
    background: #ffe8f0;
    color: var(--theme-color, #ff1493);
    font-size: 12px;
}

/* 主操作按钮 */
.complaint-main-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    border: 1px solid var(--theme-color, #ff1493);
    background: #fff;
    color: var(--theme-color, #ff1493);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.complaint-main-btn:hover {
    background: var(--theme-color, #ff1493);
    color: #fff;
}

/* 举报弹窗 */
.complaint-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 900;
}

.complaint-modal-backdrop.show {
    display: block;
}

.complaint-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 901;
    align-items: center;
    justify-content: center;
}

.complaint-modal.show {
    display: flex;
}

.complaint-modal-content {
    background: #fff;
    width: 520px;
    max-width: 95%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 25px 30px 30px;
    position: relative;
}

.complaint-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #999;
}

.complaint-modal-close:hover {
    color: #666;
}

.complaint-modal-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 20px 0;
}

/* 弹窗表单 */
.complaint-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.complaint-form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

.complaint-input,
.complaint-textarea {
    width: 100%;
    border: 1px solid #dde3ea;
    background: #f5f7fa;
    border-radius: 3px;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
}

.complaint-input:focus,
.complaint-textarea:focus {
    border-color: var(--theme-color, #ff1493);
    background: #fff;
}

.complaint-textarea {
    resize: vertical;
    min-height: 90px;
}

.complaint-form-actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 5px;
}

.complaint-submit-btn {
    padding: 8px 20px;
    border-radius: 3px;
    border: none;
    background: var(--theme-color, #ff1493);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.complaint-cancel-btn {
    padding: 8px 20px;
    border-radius: 3px;
    border: 1px solid #ccc;
    background: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.complaint-form-message {
    margin-top: 8px;
    font-size: 13px;
    color: #28a745;
}

/* 响应式 */
@media (max-width: 600px) {
    .complaint-container {
        padding: 20px 15px 25px;
    }

    .complaint-modal-content {
        padding: 20px 15px 25px;
        width: 95%;
    }
}
