/* SearchHorse.css */

.searchTableContainer {
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #1961acb8 #f1f1f1;
}

.searchHorseContainer {
  padding-left: 20px;
  padding-top: 20px;
  padding-bottom: 0px;
  padding-right: 20px;
}

.searchBar {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: baseline;
}

.searchInput {
  padding: 8px;
  width: 450px;
}

.searchButton {
  padding: 8px 16px;
  background-color: #1961ac;
}

.suggestionDropdown {
  list-style-type: none;
  padding-left: 0;
  border: 1px solid #ddd;
  width: 220px;
  max-height: 150px;
  overflow-y: auto;
  background-color: white;
}

.suggestionItem {
  padding: 8px;
  cursor: pointer;
}

.suggestionItem:hover {
  background-color: #f0f0f0;
}

/* .horseBreed {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: space-around;
  padding-bottom: 20px;
}

.breedItem {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #333;
  list-style-type: none;
} */

.horseBreed {
  margin-top: 20px; /* Reduced from 40px */
  display: flex;
  gap: 10px;        /* Smaller gap than 20px */
  justify-content: space-around; /* Maybe center them; or keep space-around if you prefer */
  padding-bottom: 10px;    /* Reduced from 20px */
}

/* We’ll reduce bullet size & spacing */
.breedItem {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.9rem;     /* Slightly smaller than 1rem */
  color: #333;
  list-style-type: none;
  padding: 4px 6px;      /* Some small padding for clickable area */
  line-height: 1.2;      /* Tighter line-height */
  border-radius: 6px;    /* optional if you want a subtle rounding */
  transition: background-color 0.2s;
  height: 40px;
  width: 130px;
}

.breedItem:nth-child(1)::before {
  content: "•";
  color: #4bb4e4;
  font-weight: bold;
  padding-right: 5px;
  font-size: 45px;
}

.breedItem:nth-child(2)::before {
  content: "•";
  color: #8b4513;
  font-weight: bold;
  padding-right: 5px;
  font-size: 45px;
}

.breedItem:nth-child(3)::before {
  content: "•";
  color: #228b22;
  font-weight: bold;
  padding-right: 5px;
  font-size: 45px;
}

.resultTable {
  margin-top: 20px;
  width: 100%;
  border-collapse: collapse;
}
.resultTable > thead > tr {
  background-color: #1961ac;;
}
.resultTable th,
.resultTable td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

.resultTable td {
  height: 50px;
}
.noResult {
  margin-top: 20px;
  color: red;
}

.activeBreed {
  background-color: #1961ac;
  color: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  transition: background-color 0.3s ease;
}

@media (min-width: 319px) and (max-width: 768px) {
  .horseBreed {
    flex-direction: column;
  }
  .searchHorseContainer {
    padding: 8px;
  }
}
