/* Phase 2: 用量说明模态框样式 */

.usage-info-modal .ant-modal-body {
  padding: 24px;
}

.usage-modal-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.usage-info {
  padding: 16px;
  background: #f0f8ff;
  border-radius: 8px;
  border-left: 4px solid #1890ff;
}

.usage-desc {
  font-size: 15px;
  color: #262626;
  margin: 0 0 8px 0;
}

.usage-desc strong {
  color: #1890ff;
  font-weight: 600;
  font-size: 16px;
}

.usage-reason {
  font-size: 13px;
  color: #595959;
  margin: 0;
}

.usage-capacity {
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
}

.usage-docs {
  /* 文献列表容器 */
}

.usage-docs-title {
  font-size: 15px;
  font-weight: 600;
  color: #262626;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.usage-doc-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  background: #fafafa;
}

.usage-doc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 13px;
  transition: background 0.2s;
}

.usage-doc-item:last-child {
  border-bottom: none;
}

.usage-doc-item:hover {
  background: #f0f8ff;
}

.doc-index {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1890ff;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
}

.doc-icon {
  flex-shrink: 0;
  font-size: 16px;
}

.doc-name {
  flex: 1;
  color: #262626;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
}

.doc-tokens {
  flex-shrink: 0;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 11px;
  color: #52c41a;
  background: #f6ffed;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #b7eb8f;
}

.usage-tips {
  padding: 16px;
  background: #fffbe6;
  border-radius: 8px;
  border-left: 4px solid #faad14;
}

.tips-title {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
  margin: 0 0 12px 0;
}

.tips-list {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

.tips-list li {
  font-size: 13px;
  color: #595959;
  line-height: 1.8;
  margin-bottom: 4px;
}

.tips-list li:last-child {
  margin-bottom: 0;
}

/* 滚动条样式 */
.usage-doc-list::-webkit-scrollbar {
  width: 8px;
}

.usage-doc-list::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.usage-doc-list::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 4px;
}

.usage-doc-list::-webkit-scrollbar-thumb:hover {
  background: #8c8c8c;
}









