/* ----------------------------------------------------------------------- Media Audit — Admin styles ----------------------------------------------------------------------- */ /* Stats strip */ .mra-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 20px; } .mra-stat-box { background: #fff; border: 1px solid #dcdcde; border-radius: 4px; padding: 12px 20px; text-align: center; min-width: 100px; } .mra-stat-box strong { display: block; font-size: 26px; line-height: 1.2; color: #1d2327; } .mra-stat-box span { display: block; font-size: 13px; color: #50575e; margin-top: 2px; } .mra-stat-box small { display: block; font-size: 11px; color: #787c82; margin-top: 2px; } /* Thumbnail */ .mra-thumb { display: block; width: 40px; height: 40px; object-fit: cover; border-radius: 2px; } /* Usage list inside table cell */ .mra-usage-list { margin: 0; padding: 0; list-style: none; } .mra-usage-list li { margin-bottom: 3px; } /* Filters row */ .mra-filters select, .mra-filters input[type="checkbox"] { margin-right: 6px; } /* External status badges */ .mra-badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap; } .mra-badge-pending { background: #e8e8e8; color: #50575e; } .mra-badge-queued { background: #cce5ff; color: #004085; } .mra-badge-scanned { background: #d4edda; color: #155724; } .mra-badge-matches { background: #f8d7da; color: #721c24; } .mra-badge-error { background: #fff3cd; color: #856404; } .mra-picrisk-high { background: #f8d7da; color: #721c24; } .mra-picrisk-medium { background: #fff3cd; color: #856404; } .mra-picrisk-low { background: #d4edda; color: #155724; } .mra-badge-alert { background: #f8d7da; color: #721c24; } .mra-badge-dismissed { background: #e8e8e8; color: #50575e; } .mra-badge-match-count { background: #721c24; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 10px; } /* Modal overlay */ .mra-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.55); z-index: 100000; display: none; align-items: center; justify-content: center; } .mra-modal-overlay.is-open { display: flex; } /* Modal box */ .mra-modal { background: #fff; border-radius: 4px; max-width: 720px; width: 90%; max-height: 80vh; overflow: auto; box-shadow: 0 6px 32px rgba(0, 0, 0, 0.28); position: relative; } .mra-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #dcdcde; position: sticky; top: 0; background: #fff; z-index: 1; } .mra-modal-header h3 { margin: 0; font-size: 15px; font-weight: 600; } .mra-modal-close { background: none; border: none; cursor: pointer; font-size: 22px; line-height: 1; color: #50575e; padding: 0 4px; } .mra-modal-close:hover { color: #1d2327; } .mra-modal-body { padding: 16px 20px; } .mra-modal-body .widefat { border: none; } /* Usages table inside modal */ .mra-usages-table th { font-weight: 600; } /* Section headings inside modal (usage + external results) */ .mra-section-heading { margin: 16px 0 8px; font-size: 13px; font-weight: 600; color: #1d2327; border-bottom: 1px solid #dcdcde; padding-bottom: 4px; } .mra-section-heading:first-child { margin-top: 0; } /* Provider result row */ .mra-provider-result { margin: 8px 0 6px; font-size: 13px; } .mra-provider-result small { color: #787c82; } /* Domains table inside modal */ .mra-domains-table { margin-bottom: 12px; } .mra-domains-table th { font-weight: 600; } /* ----------------------------------------------------------------------- Tools & Status page ----------------------------------------------------------------------- */ /* Status table */ .mra-status-table td.mra-status-dot-col { width: 24px; padding-right: 4px; } .mra-status-table th { white-space: nowrap; width: 180px; font-weight: 600; } .mra-status-table td.mra-status-hint { color: #50575e; font-size: 12px; } /* Status indicator dots */ .mra-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; } .mra-dot-ok { background: #00a32a; } .mra-dot-warn { background: #dba617; } .mra-dot-error { background: #d63638; } /* Job status labels in the scheduled-jobs row */ .mra-job-label { display: inline-block; margin-right: 18px; } /* WP-CLI hint below status table */ .mra-cli-hint { margin-top: 8px; } .mra-cli-hint code { margin-right: 8px; } /* Operations section */ .mra-ops-heading { margin-top: 2em; } .mra-destructive-heading { margin-top: 1.5em; color: #b32d2e; font-size: 14px; font-weight: 600; } .mra-ops-grid { display: flex; flex-wrap: wrap; gap: 16px; margin: 12px 0 20px; } .mra-op-card { background: #fff; border: 1px solid #dcdcde; border-radius: 4px; padding: 16px 20px; width: 280px; max-width: 100%; display: flex; flex-direction: column; } .mra-op-card-title { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #1d2327; } .mra-op-card-desc { flex: 1; margin-bottom: 12px; font-size: 12px; line-height: 1.5; } /* Pricing reference table (settings page) */ .mra-pricing-table { margin-top: 8px; border-collapse: collapse; font-size: 12px; color: #50575e; } .mra-pricing-table th, .mra-pricing-table td { padding: 3px 16px 3px 0; text-align: left; white-space: nowrap; } .mra-pricing-table thead th { font-weight: 600; border-bottom: 1px solid #dcdcde; } /* ----------------------------------------------------------------------- Direct scan runner ----------------------------------------------------------------------- */ .mra-runner-progress { margin: 8px 0 10px; } .mra-runner-bar { height: 8px; background: #dcdcde; border-radius: 4px; overflow: hidden; margin-bottom: 4px; } .mra-runner-bar-fill { height: 100%; width: 0; background: #2271b1; border-radius: 4px; transition: width 0.25s ease; } .mra-runner-label { display: block; font-size: 12px; color: #50575e; min-height: 1.4em; } .mra-runner-actions { display: flex; gap: 8px; align-items: center; margin-top: 4px; } /* Consensus block */ .mra-consensus { background: #f0f8e8; border: 1px solid #c3e6a0; border-radius: 3px; padding: 10px 14px; margin-top: 10px; font-size: 13px; } .mra-consensus strong { display: block; margin-bottom: 6px; } /* ----------------------------------------------------------------------- Alerts page ----------------------------------------------------------------------- */ /* Alert domain list in alerts table */ .mra-alert-domains { margin: 0; padding: 0; list-style: none; } .mra-alert-domains li { margin-bottom: 4px; font-size: 13px; } .mra-alert-domains small { color: #787c82; } /* Alerts table */ .mra-alerts-table { margin-top: 12px; } .mra-alerts-table th { font-weight: 600; } /* Dismiss inline form row */ .mra-dismiss-row td { background: #f6f7f7; padding: 12px 16px; } .mra-dismiss-form-inner { max-width: 600px; } .mra-dismiss-form-inner label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; } .mra-dismiss-form-inner textarea { display: block; width: 100%; box-sizing: border-box; }