/* Component Scope Root */
.HospitalCard {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.HospitalCard .hospital_card_head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.HospitalCard .hospital_thumb {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #e5e7eb;
}

.HospitalCard .hospital_head_text {
  flex: 1;
  min-width: 0;
}

.HospitalCard .hospital_name {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.HospitalCard .hospital_location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #4b5563;
  margin: 0;
}

.HospitalCard .hospital_location .loc_icon {
  font-size: 9px;
}

.HospitalCard .btn_favorite {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 15px;
  color: #ef4444;
  cursor: pointer;
}

.HospitalCard .hospital_desc {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.45;
  margin: 0 0 8px 0;
}

.HospitalCard .hospital_services {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #1e3a8a;
  margin: 0 0 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.HospitalCard .services_icon {
  font-size: 11px;
}

.HospitalCard .btn_view_details {
  margin-top: auto;
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 4px;
  background-color: #e8eefc;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.HospitalCard .btn_view_details:hover {
  background-color: #d6e0fa;
}

@media (min-width: 0px) and (max-width: 767.98px) {
  .HospitalCard .hospital_thumb {
    width: 32px;
    height: 32px;
  }

  .HospitalCard .hospital_name {
    font-size: 10.5px;
  }

  .HospitalCard .hospital_location {
    font-size: 7.5px;
  }

  .HospitalCard .btn_favorite {
    font-size: 11px;
  }

  .HospitalCard .hospital_desc,
  .HospitalCard .hospital_services {
    font-size: 8px;
  }

  .HospitalCard .services_icon {
    font-size: 8px;
  }

  .HospitalCard .btn_view_details {
    height: 22px;
    font-size: 8px;
  }
}
