.mainContainer {
  padding: 20px;
  font-family: Arial, sans-serif;
  margin-top: 80px;
}

.headingWrap {
display: flex;
justify-content: space-between;
align-items: center;
}

.horizontalLine {
  border: none;
  border-top: 2px solid #ccc;
  margin: 10px 0;
}

.horizontalScroll {
  display: flex;
  justify-content: center;
  overflow-x: auto; /* Enable horizontal scrolling */
  gap: 10px;
  width: 99%;
  padding: 10px 0;
  scrollbar-width: none; /* For Firefox: Hide scrollbar */
  -ms-overflow-style: none; /* For IE/Edge: Hide scrollbar */
}

.horizontalScroll::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera: Hide scrollbar */
}
.WrapperTarsfer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.subHeading {
  color: #1961acb8;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}
.horseCard,
.stableCard {
  background: #d8d9f3;
  padding: 4px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  transition: background 0.3s;
}

.horseCard:hover,
.stableCard:hover {
  background: #1961acb8;
}

.horseCard.selected,
.stableCard.selected {
  background: #1961acb8;
  color: white;
}
.classH31 {
  color: #1961acb8;
  text-align: center;
  font-size: 24px;
}
.classH3 {
  color: #1961acb8;
  font-size: 20px;
}

.detailsBox {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #a7c0d3d6;
}
.detailsBox p {
  margin: auto;
}

.transferButton {
  display: block;
  margin: 45px auto;
  padding: 10px 20px;
  background: #1961acb8;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.transferButton:hover {
  background: #2b6cb0;
}

.popupOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popupBox {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.popupActions {
  margin-top: 15px;
}

.confirmButton,
.cancelButton {
  padding: 8px 15px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.confirmButton {
  background: #1961acb8;
  color: white;
}

.cancelButton {
  background: #e53e3e;
  color: white;
}

.actionButton {
  margin-right: 16px !important;
}

@media (max-width: 598px) {
  .headingWrap {
    display: block;
    }
}