/* Styles extracted from your shortcode (cleaned, same classes) */

.ep-verify-status {
  font-size: 12px;
  display: inline-block;
  width: fit-content;
  border: 1px solid green;
  border-radius: 4px;
  padding: 3px;
  margin-top: 6px;
  margin-right: 10px;
}
.ep-verify-status.ok { color:#0a7a2b; }
.ep-verify-status.err { color:#b00020; border:1px solid #b00020; }

.ep-normalized-block {
  width: 100%;
  max-width: 520px;
  white-space: normal;
}

.ffda-inline-msg { font-size: 12px; padding: 2px 6px; border-radius: 4px; display:inline-block; }
.ffda-inline-msg.ok { color:#0a7a2b; border:1px solid #0a7a2b; }
.ffda-inline-msg.err { color:#b00020; border:1px solid #b00020; }

.label-printed-tag { margin-left: 6px; }
.table-listing { font-size: 14px; }
.table-listing td, .table-listing th { padding: 10px 15px!important; }

.ffda-refunded-alert { color: #b00020; font-weight: 700; }

/* Confirm modal */
.ffda-confirm-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,.45);
  display:none; align-items:center; justify-content:center;
  z-index: 99999;
  padding: 18px;
}
.ffda-confirm-box{
  background:#fff; border-radius:12px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  width:100%; max-width:460px; padding:18px;
}
.ffda-confirm-title{ font-weight:700; font-size:16px; margin:0 0 8px; }
.ffda-confirm-text{ font-size:14px; margin:0 0 14px; color:#444; }
.ffda-confirm-actions{ display:flex; gap:10px; justify-content:flex-end; }

.ffda-rate-group { margin-bottom: 10px; }
.ffda-rate-group-title { font-weight: 700; margin-bottom: 6px; }

/* Prototype layout */
.faip-wrap{ font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.faip-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin: 0 0 12px; }
.faip-title{ font-weight:800; font-size:18px; }
.faip-actions{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }

.faip-btn{
  font-size:14px;
  padding:8px 12px;
  border-radius:8px;
  border:1px solid #d0d7de;
  background:#fff;
  cursor:pointer;
}
.faip-btn:disabled{ opacity:.5; cursor:not-allowed; }
.faip-btn-primary{ border-color:#0d6efd; color:#0d6efd; }
.faip-btn-success{ border-color:#0a7a2b; color:#0a7a2b; }
.faip-btn-danger{ border-color:#b00020; color:#b00020; }

.faip-filters{
  display:flex;
  align-items:flex-end;
  gap:12px;
  flex-wrap:nowrap; /* всё в одну линию */
}

/* Общий блок фильтра */
.faip-filter{
  display:flex;
  flex-direction:column;
}

/* Entry ID + Order ID фиксированная ширина */
.faip-filter--narrow{
  width:150px;
  min-width:150px;
}

/* Чтобы input занимал всю ширину блока */
.faip-filter--narrow input{
  width:100%;
}
.faip-filter label{ display:block; font-size:12px; margin:0 0 6px; color:#444; font-weight:700; }
.faip-filter select, .faip-filter input{
  width:100%;
  border:1px solid #d0d7de;
  border-radius:8px;
  padding:8px 10px;
  font-size:14px;
  background:#fff;
}
.faip-statusbar{ margin: 0 0 10px; min-height: 20px; }
.faip-muted{ color:#666; font-size:12px; }

.faip-badges{ display:flex; gap:8px; flex-wrap:wrap; }
.faip-badge{
  font-size:12px; padding:2px 6px; border-radius:999px;
  border:1px solid #ddd; background:#fafafa;
}
.faip-badge.ok{ border-color:#0a7a2b; color:#0a7a2b; background:#f3fff7; }
.faip-badge.err{ border-color:#b00020; color:#b00020; background:#fff5f7; }

.faip-row-actions{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.faip-inline{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.faip-fieldmini{
  font-size:12px;
  border:1px dashed #ddd;
  border-radius:8px;
  padding:6px 8px;
  background:#fcfcfc;
  display:inline-flex;
  gap:6px;
  align-items:center;
}
.faip-fieldmini code{ font-size:11px; }

.faip-footer{
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; margin-top:10px;
}
.faip-pager{ display:flex; align-items:center; gap:10px; }
.faip-page{ font-size:12px; color:#444; }

@media (max-width: 980px){
  .faip-filters{ grid-template-columns: 1fr 1fr; }
}

.table-ai-photos td, .table-ai-photos th {
  text-align: left;
} 

img.original-image,
img.final-image {
  max-width:150px; 
  max-height:150px; 
  object-fit:contain; 
  border:1px solid #ddd; 
  border-radius:8px;
}

/* Compare button (small) */
.faip-btn-compare{
font-size:12px;
padding:4px 8px;
border-radius:8px;
}

/* Compare modal sizing */
.faip-compare-box{
width: 90vw;
height: 90vh;
max-width: 1200px;
max-height: 90vh;
overflow: auto;
position: relative;
}

/* Close X */
.faip-compare-close{
position:absolute;
top:10px;
right:12px;
width:32px;
height:32px;
border-radius:999px;
border:1px solid #d0d7de;
background:#fff;
cursor:pointer;
font-size:20px;
line-height:28px;
padding:0;
}

/* Two columns */
.faip-compare-grid{
display:grid;
grid-template-columns: 1fr 1fr;
gap:14px;
margin-top:10px;
}

@media (max-width: 900px){
.faip-compare-grid{ grid-template-columns: 1fr; }
}

/* Images */
.faip-compare-img{
width:100%;
height:auto;
max-height: calc(90vh - 140px);
object-fit: contain;
border:1px solid #ddd;
border-radius:12px;
background:#fafafa;
}

/* status colors */
.mrf-status-text{
display:inline-block;
padding:4px 10px;
border-radius:999px;
border:1px solid #d0d7de;
font-size:12px;
font-weight:700;
line-height:1.2;
}

.ffda-note-text {
margin-top: 6px;
font-size: 12px;
line-height: 1.35;
padding: 8px 10px;
border: 1px solid #eee;
border-radius: 8px;
background: #fafafa;
white-space: pre-line;
}

.mrf-st--processing{ background:#e7f1ff; border-color:#8cb6ff; color:#0b4aa2; } /* blue */
.mrf-st--issue{      background:#ffe8e8; border-color:#ff9b9b; color:#a10f0f; } /* red */
.mrf-st--hold{       background:#fff6d6; border-color:#ffd36b; color:#7a5a00; } /* yellow */
.mrf-st--complete{   background:#e8ffef; border-color:#8fe0a6; color:#116329; } /* green */
.mrf-st--default{    background:#f6f8fa; border-color:#d0d7de; color:#57606a; }