.dropdown-tooltip {
  z-index: 90;
  min-width: 12.5rem;
  display: none;

  border-radius: 16px;
  border: 1px solid var(--Neutral-Stroke, #e9ebec);
  background: #fff;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06);

  flex-direction: column;
  align-items: flex-start;
}

.dropdown-tooltip[data-show] {
  display: flex;
}

.dropdown-tooltip div {
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  padding: 14px 16px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  color: var(--Neutral-Dark-Grey, #4f4f4f);
  font-family: Inter;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.125rem;
  letter-spacing: -0.00875rem;
}

.dropdown-tooltip div:first-child {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.dropdown-tooltip div:last-child {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.dropdown-tooltip div:hover {
  background-color: #fffaeb;
}

.dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.drop-down .btn {
  transition: transform 0.3s ease-in-out;
}

.drop-down .btn[data-rotate] {
  animation: rotateBtn 0.3s ease-in-out forwards;
}

.drop-down {
  display: flex;
  padding: 0.875rem 1rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--Neutral-Stroke, #e9ebec);
  background: #fff;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.dropdown-wrapper .drop-down.active{
  border: 1px solid #FDC517;
  background-color: #FFFAEB;
}

.drop-down .text {
  color: var(--Neutral-Dark-Grey, #4f4f4f);
  font-family: Inter;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: -0.01rem;
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-tooltip-item.active {
  background-color: #fffaeb;
}

@keyframes rotateBtn {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}
@media screen and (max-width: 768px) {
  .dropdown-tooltip {
    min-width: 200px;
    max-width: 90vw;
    border-radius: 12px;
    background: white;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
  }

  .dropdown-tooltip div {
    padding: 12px;
    font-size: 0.875rem;
    line-height: 1.125rem;
  }

  .drop-down {
    padding: 0.6875rem 0.75rem;
  }

  .drop-down .text {
    font-size: 0.875rem;
    line-height: 1.125rem;
    letter-spacing: -0.00875rem;
  }

  .drop-down .btn {
    width: 0.875rem;
    height: 0.875rem;
  }

  .dropdown-wrapper {
    position: relative;
    margin-right: 0.5rem;
  }
}
