/* ===== SUB-TABS ===== */
.rrm-subtabs { display:flex; gap:0; border-bottom:2px solid #e5e7eb; margin-bottom:24px; }
.rrm-subtab-btn { background:none; border:none; border-bottom:3px solid transparent; margin-bottom:-2px; padding:12px 22px; font-size:15px; font-weight:500; color:#6b7280; cursor:pointer; transition:all .15s; display:flex; align-items:center; gap:6px; }
.rrm-subtab-btn:hover { color:#1d2327; }
.rrm-subtab-btn.active { color:#1d2327; border-bottom-color:#cf2e2e; font-weight:600; }
.rrm-subtab-count { display:inline-flex; align-items:center; justify-content:center; background:#f3f4f6; color:#374151; border-radius:12px; font-size:12px; font-weight:600; min-width:22px; height:22px; padding:0 6px; }
.rrm-subtab-btn.active .rrm-subtab-count { background:#cf2e2e; color:#fff; }

/* ===== REPLY CSKH trên review WooCommerce ===== */
.rrm-woo-reply { margin:10px 0 4px; padding:10px 14px; background:#f0fdf4; border-left:3px solid #10b981; border-radius:0 6px 6px 0; font-size:14px; color:#166534; line-height:1.6; }
.rrm-woo-reply-label { font-weight:600; margin-right:4px; }

/* ===== FORM ĐẶT CÂU HỎI ===== */
.rrm-fe-heading { font-size:17px; font-weight:600; color:#1d2327; margin:0 0 14px; }
.rrm-fe-ask-box { background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; padding:20px; margin-bottom:28px; }
.rrm-fe-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
.rrm-fe-ask-box input, .rrm-fe-ask-box textarea { width:100%; box-sizing:border-box; border:1px solid #d1d5db; border-radius:6px; padding:10px 14px; font-size:14px; font-family:inherit; color:#1d2327; background:#fff; }
.rrm-fe-ask-box input:focus, .rrm-fe-ask-box textarea:focus { border-color:#cf2e2e; outline:none; box-shadow:0 0 0 2px rgba(207,46,46,.1); }
.rrm-fe-ask-box textarea { resize:vertical; margin-bottom:12px; }
.rrm-fe-ask-box button { background:#cf2e2e; color:#fff; border:none; padding:11px 24px; border-radius:6px; font-size:14px; font-weight:500; cursor:pointer; transition:background .15s; }
.rrm-fe-ask-box button:hover { background:#b91c1c; }
.rrm-fe-msg { margin-top:10px; padding:10px 14px; border-radius:6px; font-size:14px; }
.rrm-fe-msg.rrm-fe-success { background:#d1fae5; color:#065f46; border:1px solid #6ee7b7; }
.rrm-fe-msg.rrm-fe-error { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; }

/* ===== DANH SÁCH Q&A ===== */
.rrm-fe-qa-item { border:1px solid #e5e7eb; border-radius:8px; overflow:hidden; margin-bottom:14px; }
.rrm-fe-q, .rrm-fe-a { display:flex; gap:14px; padding:14px 16px; }
.rrm-fe-q { background:#fff; border-bottom:1px solid #f0f0f0; }
.rrm-fe-a { background:#f0fdf4; }
.rrm-fe-q-icon, .rrm-fe-a-icon { font-size:20px; flex-shrink:0; line-height:1.5; }
.rrm-fe-q-body strong, .rrm-fe-a-body strong { display:block; font-size:13px; font-weight:600; color:#374151; margin-bottom:4px; }
.rrm-fe-q-body p, .rrm-fe-a-body p { margin:0; font-size:14px; color:#374151; line-height:1.6; }
.rrm-fe-a-body strong { color:#065f46; }
.rrm-fe-empty, .rrm-fe-loading { color:#9ca3af; font-style:italic; padding:8px 0; }

@media(max-width:600px){
    .rrm-fe-fields { grid-template-columns:1fr; }
    .rrm-subtab-btn { padding:10px 14px; font-size:13px; }
}
