


/* ==================== 精选智能体加载状态样式 ==================== */

/* 加载状态 */
.agents-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  gap: 16px;
  color: var(--text-muted);
}

.agents-loading .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.agents-loading p {
  font-size: 14px;
  color: var(--text-muted);
}

/* 空数据状态 */
.agents-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  gap: 12px;
  color: var(--text-muted);
  padding: 40px 20px;
  text-align: center;
}

.agents-empty svg {
  opacity: 0.3;
  color: var(--text-light);
}

.agents-empty p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  margin: 0;
}

.agents-empty p.sub {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: normal;
}

/* 错误状态 */
.agents-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  gap: 16px;
  padding: 40px 20px;
  text-align: center;
}

.agents-error p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  margin: 0;
}

.agents-error .btn {
  margin-top: 8px;
  padding: 10px 24px;
  font-size: 14px;
}

/* 上架状态样式 */
.agent-meta .shelf-active {
  color: #EAB308;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .agents-loading,
  .agents-empty,
  .agents-error {
    min-height: 250px;
    padding: 30px 15px;
  }
  
  .agents-empty svg,
  .agents-error svg {
    width: 48px;
    height: 48px;
  }
  
  .agents-empty p,
  .agents-error p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .agents-loading,
  .agents-empty,
  .agents-error {
    min-height: 200px;
    gap: 10px;
  }
  
  .agents-empty svg,
  .agents-error svg {
    width: 40px;
    height: 40px;
  }
}
