/* Free stock photo checker (/stock-photo-metadata-checker/). The workspace comes from playground.css and
   description_generator.css, the content below it from keyword_generator.css, the AI panel from
   rejection_lab/submission_panel_styles.html. */

/* Left: what gets checked */
.pc-what-item { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--pg-border); font-size: 12.5px; line-height: 1.45; color: var(--pg-muted); }
.pc-what-item:first-of-type { border-top: 0; padding-top: 2px; }
.pc-what-item > i { flex: none; width: 18px; margin-top: 2px; color: var(--pg-accent); text-align: center; }
.pc-what-item strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--pg-text); font-size: 13px; margin-bottom: 2px; }
.pc-tag { font-size: 10.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--pg-soft); color: #9a3412; border: 1px solid #fed7aa; }
.pc-tag.is-free { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.pc-offline { display: block; margin-top: 2px; color: #b91c1c; font-style: normal; font-weight: 600; }
.pc-privacy { margin: -4px 0 0; font-size: 11.5px; color: var(--pg-muted); text-align: center; }
.pc-privacy i { margin-right: 3px; }

/* Thumbnails: click to show that photo; badge = things worth a look */
.pc-thumb { cursor: pointer; }
.pc-thumb.is-current { outline: 2px solid var(--pg-accent); outline-offset: 1px; }
.pc-thumb-badge { position: absolute; left: 3px; bottom: 3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; color: #fff; }
.pc-thumb-badge.is-ok { background: #15803d; }
.pc-thumb-badge.is-look { background: #d97706; }

/* Empty-state demo: what a result looks like */
.pc-demo-out { display: flex; flex-direction: column; gap: 6px; }
.pc-demo-row { display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 8px; border-radius: 8px; background: var(--pg-bg); }
.pc-demo-row span { width: 1em; text-align: center; }
.pc-demo-row em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 12px; color: var(--pg-muted); text-align: right; }
.pc-demo-row.is-ok span { color: #15803d; }
.pc-demo-row.is-look span { color: #d97706; }

/* Result: photo check next to metadata */
.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 12px; }
@media (max-width: 900px) { .pc-grid { grid-template-columns: minmax(0, 1fr); } }
.pc-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.pc-section-head h3 { margin: 0; font-size: 15px; font-weight: 700; }
.pc-section-head span { font-size: 11.5px; color: var(--pg-muted); }

.pc-state { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border: 1px dashed var(--pg-border); border-radius: 10px; background: var(--pg-bg); }
.pc-state p { margin: 0; line-height: 1.5; }
.pc-state small { color: var(--pg-muted); font-size: 12px; }
.pc-state.is-loading { align-items: center; text-align: center; padding: 28px 14px; }
.pc-state-error { color: #b91c1c; font-weight: 600; margin: 0 0 6px; }

.pc-issues { list-style: none; padding: 0; margin: 10px 0 0; }
.pc-issue { padding: 6px 0 6px 10px; border-left: 3px solid; margin-bottom: 6px; font-size: 13px; line-height: 1.45; }
.pc-issue.is-error { border-color: #dc2626; }
.pc-issue.is-warn { border-color: #f59e0b; }
.pc-issue-agency { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--pg-muted); }

.pc-meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 12px 0 0; font-size: 13px; }
.pc-meta dt { font-weight: 600; }
.pc-meta dd { margin: 0; overflow-wrap: anywhere; }
.pc-kw-label { margin: 10px 0 6px; font-size: 12px; color: var(--pg-muted); }

.pc-fix { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--pg-soft); border: 1px solid #fed7aa; font-size: 13px; }
.pc-fix a { color: var(--pg-accent-hover); font-weight: 600; }
