/* "Flag this image" dialog (assets/js/image-flag.js). Sits above every lightbox. */
.ppf-overlay { position: fixed; inset: 0; z-index: 20000; background: rgba(10,26,23,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ppf-overlay[hidden] { display: none; }
body.ppf-open { overflow: hidden; }
.ppf-box { width: 100%; max-width: 420px; background: #fff; color: #0a1a17; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.35); overflow: hidden; font-size: 14px; }
.ppf-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #ece6d8; }
.ppf-head .fa-flag { color: #c62828; }
.ppf-head h3 { margin: 0; flex: 1; font-size: 17px; font-weight: 700; }
.ppf-x { border: 0; background: none; font-size: 24px; line-height: 1; color: #6b6b6b; cursor: pointer; padding: 0 4px; }
.ppf-body { padding: 14px 16px 16px; }
.ppf-text { margin: 0 0 12px; color: #4a4a4a; line-height: 1.5; }
.ppf-ok { color: #0d7a4a; font-weight: 600; }
.ppf-form { display: flex; flex-direction: column; gap: 6px; }
.ppf-reason { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 12px; border: 1.5px solid #ece6d8; border-radius: 10px; cursor: pointer; font-weight: 500; }
.ppf-reason:has(input:checked) { border-color: #c62828; background: #fdf1f1; }
.ppf-reason input { margin: 0; accent-color: #c62828; }
.ppf-note { width: 100%; margin-top: 6px; padding: 9px 12px; border: 1.5px solid #ece6d8; border-radius: 10px; font: inherit; resize: vertical; box-sizing: border-box; }
.ppf-error { color: #c62828; font-size: 13px; }
.ppf-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.ppf-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; border: 1.5px solid #ddd5c4; background: #fff; color: #0a1a17; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.ppf-btn:hover { text-decoration: none; }
.ppf-btn[disabled] { opacity: .6; cursor: default; }
.ppf-primary { background: #0d7a4a; border-color: #0d7a4a; color: #fff; }
.ppf-primary:hover { color: #fff; }
.ppf-danger { background: #c62828; border-color: #c62828; color: #fff; }
