.location_card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.location_card .image_wrapper {
  position: relative;
  height: 110px;
  width: 100%;
  background-color: #f8fafc;
}

.location_card .card_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.location_card .placeholder_img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.location_card .badge_top_rated {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #fadb14e0;
    color: #0a2540;
    font-size: 12px;
    font-weight: 700;
    padding: 1px 13px;
    border-radius: 7px;
}

.location_card .badge_rating {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.location_card .card_body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.location_card .location_title {
  font-size: 13px;
  font-weight: 700;
  color: #0a2540;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.location_card .location_desc {
  font-size: 11px;
  color: #64748b;
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.location_card .distance_info {
  font-size: 11px;
  color: #475569;
  font-weight: 500;
  margin-bottom: 10px;
}

.location_card .action_btn {
  margin-top: auto;
  width: 100%;
  background: linear-gradient(0deg, #017ff8, #044bb8);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.location_card .action_btn:hover {
  background: linear-gradient(180deg, #017ff8, #044bb8);
}