/* Report a job ad (good.php, js/ad_report.js, class/AdReport.php) */
.ad-report { margin: 6px 0; position: relative; }
.ad-report [hidden] { display: none !important; }
.ad-report-open { background: none; border: 1px solid #e0b4b4; color: #a33; border-radius: 4px; padding: 3px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.ad-report-open:hover { background: #fdf3f3; }
.ad-report-box { position: absolute; left: 0; top: 100%; z-index: 60; width: 440px; max-width: 92vw; box-sizing: border-box; margin-top: 6px; padding: 10px 12px; border: 1px solid #d5dce8; border-radius: 6px; background: #fbfcfe; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); font-size: 13px; line-height: 1.9; text-align: right; direction: rtl; }
.ad-report-note { margin: 0 0 8px; padding: 6px 8px; background: #fff8e5; border-right: 3px solid #e0a030; color: #5d4500; }
.ad-report-reasons { border: 0; margin: 0 0 6px; padding: 0; }
.ad-report-reasons legend { font-weight: bold; margin-bottom: 2px; }
.ad-report-reasons label { display: flex; align-items: center; gap: 6px; cursor: pointer; margin: 2px 0; }
.ad-report-reasons input[type=radio] { width: auto; height: auto; margin: 0; padding: 0; float: none; flex: none; }
.ad-report-label { display: block; margin: 6px 0; }
.ad-report-label small { color: #777; }
.ad-report-label textarea, .ad-report-label input { display: block; width: 100%; box-sizing: border-box; margin-top: 2px; font: inherit; }
.ad-report-send { margin-top: 6px; padding: 4px 18px; font: inherit; cursor: pointer; }
.ad-report-msg.is-ok { color: #2e7d32; }
.ad-report-msg.is-error { color: #b71c1c; }
@media (max-width: 768px) {
    .ad-report-box { position: static; width: auto; max-width: none; box-shadow: none; }
}
