.search-header {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;

  .search-field {
    width: 100%;
    max-width: 600px;
  }
}

.empty-state {
  opacity: 0.6;
  font-style: italic;
}

.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-row {
  display: flex;
  align-items: center;
  gap: var(--s);
  padding: var(--s) 0;
  border-bottom: 1px solid var(--divider-color);

  &:last-child {
    border-bottom: none;
  }
}

.project-link {
  display: flex;
  align-items: center;
  gap: var(--s);
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-radius: var(--s-half);
  padding: var(--s-half);
  margin: calc(var(--s-half) * -1);

  &:hover,
  &:focus-visible {
    background: var(--state-hover);
  }
}

.project-icon {
  opacity: 0.5;
  flex-shrink: 0;
}

.project-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.completed-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-half);
  flex-shrink: 0;
  font-size: 12px;
  opacity: 0.7;

  mat-icon {
    font-size: 18px;
    width: 18px;
    height: 18px;
  }
}
