
/* ========== zqz Panel UX — یکپارچه ========== */
.ux-empty{
  text-align:center;
  padding:36px 20px 32px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(79,70,229,.05), transparent);
  border:1px dashed var(--border);
  margin:8px 0 4px;
}
.ux-empty-icon{
  width:56px;height:56px;margin:0 auto 14px;border-radius:16px;
  background:rgba(79,70,229,.12);color:#4f46e5;
  display:flex;align-items:center;justify-content:center;
}
.ux-empty-icon svg{width:28px;height:28px}
.ux-empty h3{margin:0 0 8px;font-size:1.05rem;font-weight:900;color:var(--text)}
.ux-empty p{margin:0 auto 18px;max-width:420px;color:var(--text-muted);font-size:13.5px;line-height:1.85}
.ux-empty-steps{
  display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0 0 18px;padding:0;list-style:none;
}
.ux-empty-steps li{
  display:flex;align-items:center;gap:8px;
  background:var(--card);border:1px solid var(--border);border-radius:999px;
  padding:8px 14px;font-size:12.5px;font-weight:700;color:var(--text);
}
.ux-empty-steps .n{
  width:22px;height:22px;border-radius:50%;background:#4f46e5;color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;
}
.ux-empty-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}

.ux-notif-stack{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.ux-notif{
  display:flex;gap:12px;align-items:flex-start;
  padding:12px 14px;border-radius:14px;
  background:var(--card);border:1px solid var(--border);
  box-shadow:0 4px 14px rgba(15,23,42,.04);
}
.ux-notif-ico{
  width:36px;height:36px;border-radius:10px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:rgba(79,70,229,.1);color:#4f46e5;font-size:16px;
}
.ux-notif.warning .ux-notif-ico{background:rgba(245,158,11,.12);color:#d97706}
.ux-notif.success .ux-notif-ico{background:rgba(16,185,129,.12);color:#059669}
.ux-notif-body{flex:1;min-width:0}
.ux-notif-body strong{display:block;font-size:13.5px;margin-bottom:2px}
.ux-notif-body span{font-size:12.5px;color:var(--text-muted);line-height:1.6}
.ux-notif-actions{display:flex;gap:6px;flex-shrink:0;align-items:center}

/* جدول لینک‌ها → کارت موبایل */
@media (max-width:720px){
  .panel-table-wrap{border:0;overflow:visible}
  .panel-table-wrap table,
  .panel-table-wrap thead,
  .panel-table-wrap tbody,
  .panel-table-wrap th,
  .panel-table-wrap td,
  .panel-table-wrap tr{display:block;width:100%}
  .panel-table-wrap thead{display:none}
  .panel-table-wrap tr{
    background:var(--card);border:1px solid var(--border);border-radius:14px;
    padding:12px 14px;margin-bottom:10px;
    box-shadow:0 4px 12px rgba(15,23,42,.04);
  }
  .panel-table-wrap td{
    border:0 !important;padding:6px 0 !important;
    display:flex;justify-content:space-between;align-items:center;gap:10px;
    text-align:left !important;font-size:13px;
  }
  .panel-table-wrap td::before{
    content:attr(data-label);
    font-weight:800;font-size:11.5px;color:var(--text-muted);
    text-align:right;flex-shrink:0;
  }
  .panel-table-wrap td[data-label=""]{display:block}
  .panel-table-wrap td[data-label=""]::before{display:none}
  .panel-table-wrap td.ops{
    display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-start;padding-top:10px !important;
    border-top:1px dashed var(--border) !important;margin-top:6px;
  }
  .panel-table-wrap td.ops .btn{flex:1 1 auto;min-width:calc(50% - 6px);text-align:center;justify-content:center}
  .panel-table-wrap .link-check{width:18px;height:18px}
}

.panel-bulk-bar{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
  padding:10px 12px;margin-bottom:12px;border-radius:12px;
  background:var(--bg);border:1px solid var(--border);
}
@media (max-width:720px){
  .panel-bulk-bar .btn{flex:1 1 calc(50% - 8px);text-align:center}
}

.dash-quick-create{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;
  padding:14px 16px;margin-bottom:14px;border-radius:16px;
  background:linear-gradient(135deg,rgba(79,70,229,.08),rgba(124,58,237,.05));
  border:1px solid rgba(79,70,229,.18);
}
.dash-quick-create p{margin:0;flex:1;min-width:180px;font-size:13.5px;line-height:1.7;font-weight:600}
.dash-quick-create .btn{white-space:nowrap}
