.search-container {
  position: relative;
  max-width: 500px;
  margin: 0px 20px;
  float: right;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#search {
  width: 100%;
  padding: 10px 10px;
  font-size: 10;
  border: 1px solid #ccc;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

#search:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.6);
}

.search-results {
  position: absolute;
  width: 100%;
  max-height: 280px;
  margin-top: 11px;
  background: #fafafa;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  overflow-y: auto;
  z-index: 20;
  display: none;
}

.search-results ul {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-results li {
  padding: 10px 10px;
  border-bottom: 1px solid #e4e4e4;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-results li:last-child {
  border-bottom: none;
}

.search-results li:hover,
.search-results li:focus {
  background-color: #e6f0ff;
  outline: none;
}

.search-results a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  display: block;
}

.search-results small {
  color: #7f8c8d;
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}
