.vote-page__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-5);
  text-align: center;
}

.search-wrap {
  position: relative;
  margin-bottom: var(--space-5);
}

.search-wrap__icon {
  position: absolute;
  top: 50%;
  right: var(--space-4);
  transform: translateY(-50%);
  color: var(--color-text-tertiary);
  pointer-events: none;
}

/* The icon sits at the physical `right` edge, which is the START of the
   text flow in RTL — so the input needs its reserved padding on that same
   (inline-start) side, not the end, or the icon sits on top of the text. */
.search-wrap .input--search {
  padding-inline-start: var(--space-7);
}

.add-profession-btn {
  margin-bottom: var(--space-6);
}

/* Live search result card (profession match / not-found) */
.search-result {
  margin-bottom: var(--space-6);
}

.search-result__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.search-result__name {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
}

.search-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.rank-section__title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
  padding-inline: var(--space-1);
}

@media (min-width: 640px) {
  .search-result__actions .btn { flex: none; }
}
