/* ReptiRep - Board of Inquiry */
.reptirep { --rr-good: #2e7d32; --rr-bad: #c62828; --rr-inq: #1565c0; --rr-neutral: #666; }
.reptirep a.rr-back { font-size: .9em; }
.reptirep .rr-muted, .reptirep .rr-help { color: #777; font-size: .9em; }
.reptirep .rr-req { color: #c62828; }

/* pills */
.rr-pill { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: .78em; font-weight: 700; color: #fff; line-height: 1.6; white-space: nowrap; }
.rr-pill.rr-good { background: #2e7d32; }
.rr-pill.rr-bad { background: #c62828; }
.rr-pill.rr-inquiry { background: #1565c0; }
.rr-pill.rr-neutral { background: #888; }
.rr-status { font-size: .85em; font-weight: 600; }
.rr-status-open { color: #1565c0; }
.rr-status-responded { color: #6a1b9a; }
.rr-status-resolved { color: #2e7d32; }
.rr-status-unresolved { color: #c62828; }
.rr-status-dismissed { color: #888; }
.rr-verified { color: #2e7d32; font-weight: 700; margin-left: 4px; font-size: .9em; }
.rr-tag { display: inline-block; background: #eef; color: #335; border-radius: 4px; padding: 0 6px; font-size: .75em; margin-left: 4px; }
.rr-tag-staff { background: #e8f5e9; color: #2e7d32; }

/* intro / stats */
.rr-intro { margin-bottom: 20px; }
.rr-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.rr-stats .rr-pill { font-size: .9em; padding: 4px 12px; }
.rr-submit-btn { margin-left: auto; }
.rr-seller-card { background: #fafafa; border: 1px solid #e5e5e5; border-radius: 6px; padding: 14px 18px; margin-bottom: 18px; }
.rr-seller-card h2 { margin: 0 0 6px; font-size: 1.3em; }

/* filters */
.rr-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; }
.rr-filters input[type=text] { flex: 2 1 220px; }
.rr-filters select { flex: 1 1 140px; }
.rr-filters .rr-clear { font-size: .9em; }
.rr-count { color: #777; font-size: .9em; margin: 0 0 6px; }

/* table */
.rr-table-wrap { overflow-x: auto; }
.rr-table { width: 100%; border-collapse: collapse; font-size: .95em; }
.rr-table th { text-align: left; font-size: .8em; text-transform: uppercase; letter-spacing: .03em; color: #777; padding: 8px 10px; border-bottom: 2px solid #e5e5e5; }
.rr-table td { padding: 10px; border-bottom: 1px solid #eee; vertical-align: top; }
.rr-table tr.rr-cat-bad td:first-child { border-left: 4px solid #c62828; }
.rr-table tr.rr-cat-good td:first-child { border-left: 4px solid #2e7d32; }
.rr-table tr.rr-cat-inquiry td:first-child { border-left: 4px solid #1565c0; }
.rr-table tr.rr-pending { background: #fffbe6; }
.rr-table .rr-title a { font-weight: 600; }
.rr-table .rr-num { text-align: center; }
.rr-table .rr-date { white-space: nowrap; color: #777; }
.rr-pagination { display: flex; gap: 6px; justify-content: center; margin: 18px 0; }
.rr-pagination a, .rr-pagination .rr-current { padding: 4px 10px; border: 1px solid #ddd; border-radius: 4px; }
.rr-pagination .rr-current { background: #333; color: #fff; border-color: #333; }
.rr-empty { text-align: center; padding: 30px 10px; background: #fafafa; border: 1px dashed #ddd; border-radius: 6px; }

/* report view */
.rr-report-card { border: 1px solid #e5e5e5; border-left-width: 5px; border-radius: 6px; padding: 16px 20px; margin-bottom: 16px; background: #fff; }
.rr-report-card.rr-cat-good { border-left-color: #2e7d32; }
.rr-report-card.rr-cat-bad { border-left-color: #c62828; }
.rr-report-card.rr-cat-inquiry { border-left-color: #1565c0; }
.rr-report-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 18px; font-size: .92em; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.rr-label { display: block; font-size: .72em; text-transform: uppercase; letter-spacing: .04em; color: #999; }
.rr-report-body { line-height: 1.6; }
.rr-seller-strip { background: #f5f5f5; border-radius: 6px; padding: 8px 14px; margin-bottom: 16px; font-size: .92em; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rr-subject-response { background: #f3f0ff; border: 1px solid #d9d0ff; border-radius: 6px; padding: 14px 18px; margin-bottom: 18px; }
.rr-subject-response h3 { margin: 0 0 4px; font-size: 1.05em; color: #4527a0; }
.rr-no-response { background: #fafafa; border: 1px dashed #ddd; border-radius: 6px; padding: 10px 14px; margin-bottom: 18px; color: #777; font-size: .92em; }
.rr-replies-title { font-size: 1.1em; margin: 20px 0 10px; }
.rr-reply { border: 1px solid #eee; border-radius: 6px; padding: 12px 16px; margin-bottom: 10px; }
.rr-reply-subject { border-color: #d9d0ff; background: #faf8ff; }
.rr-reply-staff { border-color: #c8e6c9; background: #f6fbf6; }
.rr-reply-meta { font-size: .85em; color: #666; margin-bottom: 6px; }
.rr-reply-meta .rr-date { margin-left: 8px; }
.rr-reply-body { white-space: normal; line-height: 1.55; }
.rr-reply-form { margin-top: 20px; }
.rr-reply-form textarea { margin-bottom: 10px; }
.rr-login-note { margin-top: 16px; }

/* submit form */
.rr-guidelines { background: #fff8e1; border: 1px solid #ffe08a; border-radius: 6px; padding: 12px 18px; margin-bottom: 20px; font-size: .95em; }
.rr-guidelines h3 { margin: 0 0 6px; font-size: 1.05em; }
.rr-guidelines ul { margin: 0; padding-left: 18px; }
.rr-form fieldset { border: 1px solid #e5e5e5; border-radius: 6px; padding: 14px 18px; margin-bottom: 18px; }
.rr-form legend { font-weight: 700; font-size: 1em; padding: 0 6px; width: auto; }
.rr-form .form-group { margin-bottom: 12px; }
.rr-radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.rr-radio { flex: 1 1 150px; display: flex; align-items: center; gap: 8px; border: 2px solid #ddd; border-radius: 6px; padding: 10px 14px; cursor: pointer; font-weight: 600; margin: 0; }
.rr-radio input { margin: 0; }
.rr-radio.rr-good:has(input:checked) { border-color: #2e7d32; background: #e8f5e9; }
.rr-radio.rr-bad:has(input:checked) { border-color: #c62828; background: #ffebee; }
.rr-radio.rr-inquiry:has(input:checked) { border-color: #1565c0; background: #e3f2fd; }
.rr-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 14px; }
.rr-agree { display: flex; gap: 10px; align-items: flex-start; font-weight: normal; margin: 0; }
.rr-agree input { margin-top: 4px; }

/* homepage block */
.rr-home { margin: 30px 0; }
.rr-home-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.rr-home-list { list-style: none; padding: 0; margin: 10px 0; }
.rr-home-list li { padding: 8px 10px; border-bottom: 1px solid #eee; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rr-home-list li a { font-weight: 600; flex: 1 1 200px; }
.rr-home-meta { color: #888; font-size: .85em; }
.rr-home-cta { font-size: .95em; }

/* seller badge (use {reptirep_badge id_seller=X} in theme) */
.reptirep-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 14px; padding: 2px 10px 2px 8px; font-size: .8em; font-weight: 700; text-decoration: none !important; border: 1px solid #ccc; color: #333; background: #fafafa; }
.reptirep-badge .rr-b-name { color: #555; font-weight: 600; }
.reptirep-badge .rr-b-good { color: #2e7d32; }
.reptirep-badge .rr-b-bad { color: #c62828; }
.reptirep-badge.rr-badge-good { border-color: #a5d6a7; background: #f1f8f1; }
.reptirep-badge.rr-badge-warn { border-color: #ef9a9a; background: #fff3f3; }

/* disclaimer */
.rr-disclaimer { margin-top: 28px; padding: 12px 16px; background: #f7f7f7; border-radius: 6px; font-size: .82em; color: #666; line-height: 1.5; }
