.search-bar-container {
  margin-bottom: 2.5rem;
  width: 100%;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0.45rem 1.25rem;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-ring), var(--glass-shadow);
}

.search-icon {
  font-size: 1.2rem;
  margin-right: 0.85rem;
  opacity: 0.45;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.65;
}

.clear-button {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin-left: 0.5rem;
}

.clear-button:hover {
  background: var(--surface-card);
  color: var(--text-main);
  transform: rotate(90deg);
}
