.container {
  position: relative;
}

.searchInput {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: var(--bg-inset);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: "Alegreya", Georgia, serif;
}

.searchInput:focus {
  outline: none;
  border-color: var(--gold);
}

.dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background-color: var(--bg-modal);
  background-image: var(--texture-surface);
  background-size: 256px 256px;
  background-repeat: repeat;
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  border-radius: 4px;
  margin-bottom: 0.25rem;
  z-index: 200;
  box-shadow:
    0 -4px 20px rgba(var(--shadow-rgb), 0.5),
    0 -2px 8px rgba(var(--shadow-rgb), 0.4);
}

.group {
  padding: 0.25rem 0;
}

.groupLabel {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.3);
}

.item {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
}

.item:hover {
  background: rgba(var(--gold-rgb), 0.12);
}

.itemName {
  color: var(--text-primary);
}

.itemMeta {
  color: var(--text-tertiary);
  font-size: 0.75rem;
}

.customOption {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  border-top: 1px solid rgba(var(--gold-rgb), 0.1);
}

.customOption:hover {
  background: rgba(var(--gold-rgb), 0.12);
  color: var(--gold);
}
