/* Observation Card Container */
.observation-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: row; /* Ensure items are laid out horizontally */
  align-items: stretch; /* Ensure all items stretch to fill the same height */
  height: 100%; /* Ensures all cards are the same height */
}

/* Ensure that ListGroup items stretch and align correctly */
.observation-card > .list-group-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  height: 100%; /* Ensure all items have equal height */
}

/* Heart Icon Section */
.observation-card-heart {
  background-color: white;
  width: 80px;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column; /* Stack heart icon and like count vertically */
  border-right: 1px solid #ddd;
  font-size: 2rem;
  padding: 5px 0;
  flex-grow: 0; /* Prevents heart icon section from growing beyond its size */
}

.heart-icon {
  cursor: pointer;
  font-size: 2rem; /* Increased size */
  transition: color 0.3s ease;
}

.likes-count {
  font-size: 1rem; /* Smaller font size for the like count */
  color: black;
  font-weight: bold;
  text-align: center;
  margin-top: 5px; /* Space between the icon and the count */
}

/* Animal Image Section */
.observation-card-image {
  width: 80px;
  justify-content: center;
  align-items: center;
  display: flex;
  border-right: 1px solid #ddd;
}

.observation-card-animal-image {
  height: 60px;
  width: 60px;
  object-fit: cover;
}

/* Animal Details Section */
.observation-card-details {
  flex-grow: 1; /* Makes sure this section takes up available space */
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.observation-card-details p {
  margin: 0;
  font-size: 0.9rem;
}

/* View Button Section */
.observation-card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.Page-Title {
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Custom styles for the dropdown */
.custom-select {
  max-height: 200px; /* Set the maximum height for the dropdown */
  overflow-y: auto;  /* Enable vertical scrolling */
}

.centered-spinner-Observations {
  position: absolute;
  left: 50%;
  top: 50%; /* Optional: If you want to center vertically as well */
}

/* Optional: Add spacing and consistent height */
@media (min-width: 768px) {
  .observation-card {
    height: 100%; /* All cards in a row will have the same height */
  }
}
