@import "../../styles/global.scss";

.ai-dropdown {
  transition: 1s ease-in-out;
  width: fit-content;
}

.ai-dropdown-menu {
  margin: $size-spacing-xxxs;
  position: absolute;
  z-index: 2;
  background-color: $color-core-white;
  transform-origin: 0% 0%;
  box-shadow: 0px 2px 6px $color-core-grey-light;
  border-radius: 4px;
  padding: 1px $size-spacing-s;
  transition: 0.15s ease-in-out;
}

.ai-dropdown-animation-enter {
  opacity: 0;
  transform: scale(0.75);
}
.ai-dropdown-animation-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: 200ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.ai-dropdown-animation-exit {
  opacity: 1;
}
.ai-dropdown-animation-exit-active {
  opacity: 0;
  transform: scale(0.75);
  transition: 200ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
