/* NPC 工厂插件样式 */

/* 主面板标题 */
.tool-panel__title {
  background: linear-gradient(135deg, #0D9488, #2DD4BF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Tab 面板间距 */
.tool-panel .mantine-Tabs-panel {
  padding-top: 16px;
}

/* AG-Grid 自适应高度 */
.tool-panel__grid {
  width: 100%;
  min-height: 360px;
  position: relative;
}

.tool-panel__grid .ag-theme-alpine {
  width: 100%;
  min-height: 360px;
  height: 55vh;
}

/* 隐藏辅助 input */
.tool-hidden-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* 滑块面板 Paper */
.tool-panel .mantine-Paper-root {
  transition: box-shadow 0.2s ease;
}

.tool-panel .mantine-Paper-root:hover {
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.08);
}

/* Prompt 预览区 */
#npc-prompt-preview {
  border: 1px solid #e9ecef;
}

/* 上传区域悬停效果 */
.tool-panel [id*="upload"] > div {
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.tool-panel [id*="upload"] > div:hover {
  border-color: #0D9488 !important;
  background-color: #f0fdfa;
}

/* 反馈消息区域 */
.npc-action-message {
  margin-top: 12px;
}
