/* 投诉工单页（2026-11-02）
   自成一套 cmp-* 命名，不依赖 feedbacks.css / applications.css 的局部类，
   避免再出现「多个 css 都定义 .modal 谁后加载谁赢」那类互相覆盖问题。 */

.cmp-wrap { padding: 4px 2px 24px; }

.cmp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.cmp-head h2 { margin: 0 0 4px; font-size: 20px; font-weight: 700; color: #1f2329; }
.cmp-sub { margin: 0; font-size: 12.5px; color: #8a8f99; line-height: 1.6; }

.cmp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cmp-tab {
    padding: 6px 14px; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff;
    color: #5b6169; font-size: 13px; cursor: pointer; transition: all .15s;
}
.cmp-tab:hover { border-color: var(--primary-bg); color: var(--primary-color); }
.cmp-tab.on { background: var(--primary-bg); border-color: var(--primary-bg); color: var(--primary-color); font-weight: 600; }

.cmp-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.cmp-filters .form-control { min-width: 160px; }
.cmp-filters #cmp-keyword { flex: 1 1 260px; }

.cmp-table-wrap { background: #fff; border: 1px solid #eef0f3; border-radius: 10px; overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp-table th {
    text-align: left; padding: 11px 12px; background: #fafbfc; color: #6b7280;
    font-weight: 600; border-bottom: 1px solid #eef0f3; white-space: nowrap;
}
.cmp-table td { padding: 11px 12px; border-bottom: 1px solid #f4f5f7; color: #2b2f36; vertical-align: top; }
.cmp-table tbody tr:hover { background: #fbfbff; }
.cmp-table .cmp-content { color: #4b5563; }
.cmp-empty { text-align: center; color: #9aa0a6; padding: 26px 12px; }
.cmp-table td .btn { margin-right: 4px; }

.cmp-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; line-height: 1.6; white-space: nowrap; }
.cmp-pending { background: var(--warning-bg); color: var(--warning-color); }
.cmp-handling { background: var(--cat-info-bg); color: var(--cat-info-color); }
.cmp-resolved { background: var(--success-bg); color: var(--success-color); }
.cmp-rejected { background: #f2f3f5; color: #6b7280; }

.cmp-pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 0 4px; }
.cmp-pager-info { font-size: 12.5px; color: #8a8f99; }

.cmp-detail { font-size: 13px; color: #2b2f36; }
.cmp-detail-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cmp-meta { font-size: 12px; color: #8a8f99; }
.cmp-field { margin-bottom: 12px; }
.cmp-field > label { display: block; font-size: 12px; color: #8a8f99; margin-bottom: 4px; }
.cmp-pre { white-space: pre-wrap; line-height: 1.7; background: #fafbfc; border: 1px solid #eef0f3; border-radius: 8px; padding: 10px 12px; }
.cmp-detail hr { border: none; border-top: 1px dashed #e5e7eb; margin: 16px 0; }
.cmp-tip { margin: 6px 0 0; font-size: 12px; color: var(--warning-color); background: var(--warning-bg); border: 1px solid var(--warning-border); border-radius: 8px; padding: 8px 10px; }
