/* ArtVerse — แจ้งปัญหาผลงาน และปรับแต่งเล็ก ๆ
   ไฟล์นี้เป็นส่วนหนึ่งของ css/parts/*.css โหลดตามลำดับเลขหน้าไฟล์ (ลำดับมีผล: ไฟล์หลังทับไฟล์ก่อน) */

/* ============================================================
   แจ้งปัญหาผลงาน (ขอบเขตข้อ 1.3.4.4)
   ============================================================ */
.friendii-ref-title-tools{display:inline-flex;align-items:center;gap:10px}
.friendii-ref-title-tools button{background:transparent;border:0;color:#667085;font-size:13px;cursor:pointer;padding:4px 6px;border-radius:6px}
.friendii-ref-title-tools button:hover{background:#f2f4f7;color:var(--text)}
#reportProductBtn:hover{color:#e14d58}
.product-moderation-banner{display:grid;gap:4px;margin:0 0 16px;padding:13px 16px;border:1px solid #f4c7ca;border-left:4px solid #e14d58;border-radius:10px;background:#fdf2f3;color:#98343c;font-size:13.5px}
.product-moderation-banner.soft{border-color:#e6e9ed;border-left-color:#98a2b3;background:#f7f9fc;color:#475467}
.product-moderation-banner strong{font-size:14px}
.report-modal-target{margin:0 0 14px;color:#475467;font-size:13.5px}
.report-modal-note{margin:14px 0 0;color:#667085;font-size:12px;line-height:1.6}
.admin-tab-badge{margin-left:6px;padding:1px 6px;border-radius:999px;background:#fde3e4;color:#e14d58;font-style:normal;font-size:10px;font-weight:700}
.admin-list-card.report-card{display:grid;gap:12px}
.admin-list-card.report-card.has-open{border-left:3px solid #e14d58}
.report-card .report-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.report-card .table-btn.warn{background:#f9ebcf;border-color:#f9ebcf;color:#c78511}
.report-admin-note{display:block;margin-top:4px;color:#98343c}
.report-detail-list{border-top:1px solid var(--line);padding-top:10px}
.report-detail-list summary{cursor:pointer;color:#1677ff;font-size:12.5px}
.report-detail-row{margin-top:10px;padding:10px 12px;border-radius:8px;background:#f7f9fc;font-size:12.5px}
.report-detail-row.open{background:#fdf2f3}
.report-detail-row>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}
.report-detail-row span{color:#667085}
.report-detail-row p{margin:6px 0 4px;color:var(--text)}
.report-detail-row small{color:#667085}
/* ตรวจสอบความถูกต้องของยอดเหรียญ */
.wallet-audit-panel{margin-top:16px;padding:18px 20px}
.wallet-audit-hint{margin:10px 0 0;color:#667085;font-size:12.5px;line-height:1.6}
.wallet-audit-result:empty{display:none}
.wallet-audit-result{margin-top:14px}
.wallet-audit-ok{padding:12px 14px;border-radius:8px;background:#d9f4e7;color:#179c63;font-size:13px;font-weight:700}
.wallet-audit-bad{padding:12px 14px;border-radius:8px;background:#fde3e4;color:#e14d58;font-size:13px}
.wallet-audit-bad table{margin-top:10px;background:#fff;border-radius:8px;overflow:hidden}
/* จุดแสดงการแจ้งเตือนที่ยังไม่ได้อ่าน */
.chat-notif-item{position:relative}
.chat-notif-item.unread{background:rgba(245,158,11,.07)}
.chat-notif-dot{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:8px;height:8px;border-radius:50%;background:#f59e0b}
/* คำอธิบายขอบเขตของหน้าคำสั่งซื้อและการซื้อ */
.page-scope-note{flex-basis:100%;margin:6px 0 0;color:#667085;font-size:12.5px;line-height:1.6}
.page-scope-note a{color:#1677ff;font-weight:600}
.orders-empty-link{display:inline-block;margin-top:10px;color:#1677ff;font-size:13px;font-weight:600}
/* กระดิ่งแจ้งเตือน: ตัวนับ เวลา และแถบท้ายรายการ */
.chat-notif-head strong em{display:inline-block;margin-left:4px;padding:1px 7px;border-radius:999px;background:#fde3e4;color:#e14d58;font-style:normal;font-size:10.5px;font-weight:800;vertical-align:middle}
.chat-notif-body small{font-size:11px;color:#98a2b3}
.chat-notif-foot{padding:9px 16px;border-top:1px solid #eef0f4;text-align:center;font-size:11.5px;color:#98a2b3}
.chat-notif-item{padding-right:26px}
/* เหตุผลที่ผู้ดูแลระบบระงับบัญชี */
.account-reason{display:block;max-width:200px;margin-top:4px;color:#98343c;font-size:11px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-empty-cell{padding:28px 16px;text-align:center;color:#98a2b3;font-size:13px}
/* จัดหน้าเวลาสั่งพิมพ์รายงาน */
@media print{.site-header,.footer,.admin-sidebar,.admin-topbar,.admin-tab-row,.admin-action-group,.toast{display:none !important}
.admin-console-v2,.admin-main-panel{display:block;padding:0;margin:0;background:#fff}
.admin-panel,.admin-metric-card{break-inside:avoid;box-shadow:none;border:1px solid #dcdfe5}
body{background:#fff}}
