.iv-bar {
  display: flex;
  gap: 2px;
  margin: 6px 0;
}

.iv-block {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #ffb366;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  border: 1px solid #fff3e0;
}

.iv-block.selected {
  opacity: 1;
  box-shadow: 0 0 0 2px #ff9800;
}

.iv-value {
  margin-left: 10px;
  font-weight: bold;
  color: #ff9800;
  font-size: 1.1em;
}

/* Search dropdown styles */
/* #pokemonList, #pokemonList .dropdown-item, #pokemonList button, #pokemonList img, #pokemonList .text-gray-900, #pokemonList span { ... } */

/* Position relative for input group */
.input-group.position-relative {
  position: relative;
}

/* Ensure dropdown appears above other elements */
.input-group.position-relative #pokemonList {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
}

/* Add styles from compare.css for dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.search-result-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s ease;
    color: #333;
    font-weight: 500;
    background: white;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item span {
    color: #333;
    font-weight: 500;
    font-size: 1rem;
}

.search-no-results {
    padding: 15px;
    text-align: center;
    color: #333;
    font-style: italic;
    font-weight: 500;
    background: white;
}

.pokemon-input-container {
    position: relative;
}

.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}
.search-results-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.search-results-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}
.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
