/* searched.html 搜索保存文章页样式（公共样式见 css/common.css） */
body { padding: 28px 16px; }

.wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 32px;
}

.search-bar {
  margin-bottom: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.search-bar input { width: auto; padding: 10px 14px; }
.search-bar button {
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(135deg, #1677ff 0%, #4080ff 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.24s ease;
}
.search-bar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.28);
}

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border: 1px solid #e5e7eb; padding: 12px 10px; font-size: 13px; vertical-align: top; }
th { background-color: #f9fafb; color: #374151; font-weight: 500; }
tr:hover { background-color: #f3f4f6; }
table a { color: #1677ff; text-decoration: none; }
table a:hover { text-decoration: underline; }

.btn-danger {
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: #ff4d4f;
  color: #fff;
  transition: 0.2s;
}
.btn-danger:hover { background: #dc3545; }

#status { margin-top: 16px; font-size: 14px; color: #4b5563; min-height: 20px; }

.pagination {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pagination button {
  padding: 8px 14px;
  border: 1px solid #d2d6dc;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  color: #374151;
  transition: 0.2s;
}
.pagination button:hover:not(:disabled) { border-color: #1677ff; color: #1677ff; }
.pagination button:disabled { opacity: 0.45; cursor: not-allowed; }
.pagination .page-info { color: #4b5563; font-size: 14px; }

/* 移动端适配 */
@media (max-width: 768px) {
  .card { padding: 20px 16px; }
  .page-header h2 { font-size: 22px; }
  .search-bar { flex-direction: column; align-items: stretch; }
  .search-bar input { width: 100%; }
}
