.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
}

.company-card {
  border: 1px solid rgba(128, 128, 128, 0.573);
  padding: 6px 10px;
  border-radius: 3px;
  transition: 0.3s ease;
}

.company-card:hover {
  background: #cc336646;
  cursor: pointer;
}

.company-card a {
  text-decoration: none!important;
  color: black;
}

.list-services > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-services {
  margin-right: 1rem;
}

.list-services-header {
  position: sticky;
  top: 0;
  background: white;
}

.service-card {
  display: flex;
  justify-content: space-between;
}

.stat-tooltip {
  display: flex;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  color: #cc3366;
  font-weight: bolder;
  text-align: center;
  margin-left: 8px;
}

/* Tooltip text */
.tooltiptext {
  visibility: hidden;
  width: 300px;
  background-color: white;
  color: #cc3366;
  text-align: center;
  border-radius: 6px;
  padding: 5px 10px;
  font-weight: lighter;
  border: #cc3366 dotted 1px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  left: 100%; /* Place the tooltip to the right of the tooltip */
  top: 50%;
  /* transform: translateY(-50%); */
  margin-left: 0;

   /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltiptext::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  margin-left: -5px;
  border-width: 5px;
  border: #cc3366 dotted 1px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.button-tooltip {
  /* margin-left: 0px !important; */
  position: relative;
  display: inline-block;
}

.button-tooltiptext {
  width: auto !important;
  font-weight: normal;
  margin-left: -60px !important;

}

.review-text {
  top: 100% !important;
  left: 65% !important;
  /* margin-left: -60px !important; */
}

.complaint-text {
  top: 100% !important;
  left: 53% !important;
}

.button-tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.button-tooltiptext::after {
  content: "";
  position: absolute;
  left: 50% !important;
  top: 100% !important;
}

.success-message {
  color: green;
  background-color: #dfd;
  padding: 10px;
  margin-bottom: 10px;
  width: 400px;
}
