/* 管理台补充样式（Tailwind 之外的少量自定义原子） */

/* 提示词占位符徽章 */
.ph-chip {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 9999px;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #eef2ff;
  color: #4f46e5;
}

/* 提示词分类 Tab */
.tab-btn { border-bottom: 2px solid transparent; line-height: 1.25; }
.tab-btn.tab-on { color: #4f46e5; border-color: #6366f1; }

/* 监控筛选输入 */
.filter-input {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 13px;
  color: #334155;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.filter-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* 分页按钮 */
.pager-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid #e2e8f0;
  color: #475569;
  background: #fff;
  transition: background 0.15s, opacity 0.15s;
}
.pager-btn:hover:not(:disabled) { background: #f8fafc; }
.pager-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* 详情全文 pre */
.detail-pre {
  max-height: 300px;
  overflow: auto;
  padding: 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  font-size: 12px;
  line-height: 1.7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #475569;
  white-space: pre-wrap;
  word-break: break-all;
}

/* 弹窗动画 */
.modal-mask { animation: fadeIn 0.15s ease-out; }
.modal-panel { animation: slideDown 0.18s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

/* toast 动画 */
.toast-in { animation: toastIn 0.2s ease-out; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 细滚动条 */
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
*::-webkit-scrollbar-track { background: transparent; }
