.finder-progress {
  width: 100%;
  height: 10px;
  background: #ddd;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 0 20px 0;
}

#finder-progress-bar {
  width: 0;
  height: 100%;
  background: #5b2d83;
  transition: width 0.3s ease;
}

/* Selected choices */

.selected-tags-container {
  margin: 15px 0 25px 0;
}

.selected-tags {
  margin-top: 8px;
}

.finder-change-help {
  margin: 6px 0 0 0;
  color: #666;
  font-size: 13px;
}

/* Clickable selection badges */

.finder-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  background: #e9e1f2;
  color: #32373c;

  padding: 6px 12px;
  margin: 3px 6px 3px 0;

  border: 1px solid #d5c4e3;
  border-radius: 20px;

  font-size: 14px;
  line-height: 1.4;

  cursor: pointer;
}

.finder-badge:hover {
  background: #ded0e9;
}

.finder-badge:focus {
  outline: 3px solid #5b2d83;
  outline-offset: 2px;
}

.finder-badge-remove {
  font-weight: bold;
  font-size: 16px;
}

/* Question choices */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.finder-option {
  background: #5b2d83;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 15px;
  cursor: pointer;
  font-size: 16px;
}

.finder-option:hover,
.finder-option:focus {
  background: #49246a;
}

/* Navigation buttons */

.finder-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.finder-back,
.finder-reset {
  border: 0;
  border-radius: 6px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 15px;
}

.finder-back {
  background: #666;
  color: #fff;
}

.finder-reset {
  background: #5b2d83;
  color: #fff;
}

.finder-back:hover,
.finder-back:focus {
  background: #444;
}

.finder-reset:hover,
.finder-reset:focus {
  background: #49246a;
}

/* Results */

.card {
  background: #fff;
  border-left: 6px solid #5b2d83;
  padding: 16px;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-top: 0;
  color: #5b2d83;
}
