.ek-search-widget {
  position: relative;
  width: 100%;
}

.ek-search-input-wrapper {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.ek-search-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.ek-search-input:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.ek-search-btn {
  padding: 10px 15px;
  background: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ek-search-btn:hover {
  background: #005a87;
}

.ek-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
}

.ek-search-result-item {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
}

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

.ek-search-result-item:hover {
  background: #f5f5f5;
}

.ek-search-result-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.ek-search-result-excerpt {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.ek-search-result-meta {
  font-size: 11px;
  color: #999;
  margin-top: 5px;
}

.ek-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.ek-search-suggestion {
  padding: 5px 10px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.ek-search-suggestion:hover {
  background: #e8e8e8;
  border-color: #999;
}

.ek-search-loading {
  text-align: center;
  padding: 20px;
  color: #999;
}

.ek-search-no-results {
  padding: 20px 15px;
  text-align: center;
  color: #666;
}
