/* portal.css — styles added for the User Portal (loaded by /user pages and the admin review pages) */

/* status pills */
.st-pill { display:inline-flex; align-items:center; padding:3px 10px; border-radius:99px; font-size:11.5px; font-weight:600; white-space:nowrap; }
.st-draft      { background:#e2e8f0; color:#475569; }
.st-pending,
.st-publishing { background:#fef3c7; color:#b45309; }
.st-approved   { background:#dcfce7; color:#15803d; }
.st-rejected   { background:#fee2e2; color:#b91c1c; }

/* reviewer feedback shown under a rejected title */
.reject-hint { font-size:12px; color:#b91c1c; margin-top:3px; max-width:340px; white-space:normal; }

/* sidebar badge (pending count) */
.nav-badge { margin-left:auto; background:#f59e0b; color:#fff; border-radius:99px; font-size:11px; font-weight:700; padding:1px 8px; }

/* content preview on the admin review page */
.review-content { border:1px solid var(--card-border); border-radius:var(--radius-sm); padding:18px 20px; background:#fff; max-height:620px; overflow:auto; line-height:1.75; }
.review-content img { max-width:100%; height:auto; }
.review-content table { border-collapse:collapse; max-width:100%; }
.review-content td, .review-content th { border:1px solid #cbd5e1; padding:4px 8px; }
.review-content blockquote { border-left:3px solid #cbd5e1; margin-left:0; padding-left:14px; color:#475569; }

.author-line { display:flex; justify-content:space-between; gap:10px; padding:7px 0; border-bottom:1px solid #f1f5f9; font-size:13px; }
.author-line:last-child { border-bottom:none; }
.author-line span:first-child { color:var(--text-muted); }
.author-line span:last-child { text-align:right; word-break:break-word; font-weight:600; }
