body {
  font-family: Arial, Helvetica, sans-serif;
}

.search-container {
  text-align: center;
  margin-left: 20px;
}

.search-input,
.search-button {
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 30px;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.search-input {
  width: 280px;
  border: 2px solid #4a73e8;
}

.search-input:focus {
  border-color: #4a73e8;
  box-shadow: 0 0 8px rgba(74, 115, 232, 0.5);
  outline: none;
}

.search-button {
  padding: 12px 20px;
  border: none;
  background-color: #4a73e8;
  color: white;
  cursor: pointer;
}

.results-container {
  max-width: 320px;
  margin: 20px auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(74, 115, 232, 0.2);
  display: none;
}

.result-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
}

.result-item:hover {
  background: #f0f4ff;
}

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

.article-list {
  max-width: 800px;
  margin: 20px auto;
  padding: 0;
  list-style: none;
}

.article-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(74, 115, 232, 0.2);
}

.article-item img {
  max-width: 100px;
  margin-right: 20px;
}

.article-content {
  flex: 1;
}

.article-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.article-description {
  font-size: 14px;
  margin-bottom: 10px;
}

.article-meta {
  font-size: 12px;
  color: #666;
}

.no-results {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-top: 20px;
}