.search-button {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #4a7eff;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
}
.search-button:hover {
  background: #3a6be8;
}
.search-button:active {
  transform: translateY(-50%) scale(0.98);
}
.search-icon-text {
  display: flex;
  align-items: center;
  gap: 5px;
}
.breadcrumbs-container {
  position: relative;
  padding-right: 110px;
}
.close-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  z-index: 5;
}
.close-search:hover {
  background-color: #f0f0f0;
}
.search-container {
  margin: 1.5rem 0;
  width: 100%;
}
.search-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  z-index: 10;
}
#blog-search {
  width: 100%;
  padding: 12px 40px;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#blog-search:focus {
  outline: none;
  border-color: #4a7eff;
  box-shadow: 0 0 0 3px rgba(74, 126, 255, 0.2);
}
.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}
.search-stats {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  text-align: center;
}
.no-results {
  text-align: center;
  padding: 2rem;
  font-size: 18px;
  color: #666;
}
.hidden {
  display: none;
}
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 8px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
}
.dropdown-results {
  padding: 8px 0;
}
.dropdown-result-item {
  padding: 8px 16px;
  transition: background-color 0.2s;
}
.dropdown-result-item:hover {
  background-color: #f5f8ff;
}
.dropdown-result-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.dropdown-no-results {
  padding: 16px;
  text-align: center;
  color: #666;
}
.result-thumbnail {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-right: 12px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f0f0f0;
}
.result-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.result-info {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.result-date {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}
.result-title {
  font-weight: 500;
  color: #333;
}
.placeholder-thumbnail {
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
}
.sparkle-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
