
.green-pill {
    border: 1px solid #305a4a;
    background-color: #CEFBE3;
    color: #305a4a;
}

.yellow-pill {
    border: 1px solid #704818;
    background-color: #FFF3C0;
    color: #704818;
}

.grey-pill {
    border: 1px solid #484c52;
    background-color: #F2F5FB;
    color: #484c52;
}

.red-pill {
    border: 1px solid #ff0000;
    background-color: #fac8c8;
    color: #ff0000;
}

.pill {
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 0.2rem 0.7rem;
    margin-right: 1rem;
    position: relative;
    cursor: pointer;
    margin-top: 1rem;
}

.sales-insights-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
}

.pill .tooltip-text {
  visibility: hidden;
  width: 100%;   
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  border-radius: 4px;
  position: absolute;
  z-index: 1;
  bottom: 135%; /* lo coloca arriba del texto */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.pill .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* parte inferior del tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.pill:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.price-green-text {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  background: linear-gradient(to right, #1C4323, #76db60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;      
  background-size: 100%;
  background-repeat: no-repeat;
  background-clip: text;
  color: transparent; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);   
  margin-bottom: 0;
  margin-left: 0.3rem;
}