/* ======= shortcuts.css ======= */

/* 快捷键卡片样式 */
.shortcuts-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb; /* Tailwind gray-200 */
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.shortcuts-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* 快捷键复制按钮 */
.copy-btn {
  background: none;
  border: none;
  color: #6b7280; /* Tailwind gray-500 */
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.375rem;
  transition: color 0.2s ease;
}

.copy-btn:hover {
  color: #3b82f6; /* Tailwind blue-500 */
}

/* 搜索框样式 */
#shortcuts-search {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  box-shadow: 0 0 0 2px transparent;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  display: block;
}

#shortcuts-search:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* 分类标题折叠按钮 */
.shortcuts-section-header {
  background-color: #f9fafb;
  padding: 0.75rem 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.shortcuts-section-header:hover {
  background-color: #f3f4f6;
}

/* 每个软件块的容器 */
.shortcuts-section {
  margin-bottom: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* 分类标签 */
.category-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: #eff6ff;
  color: #2563eb;
  border-radius: 9999px;
  margin-right: 0.5rem;
}

/* 无结果提示 */
.no-results {
  text-align: center;
  color: #9ca3af;
  font-style: italic;
  margin-top: 2rem;
  font-size: 0.95rem;
}