.zpl-tooltip-container {
  /* Default */
  @apply relative inline-block w-max;

  /* hover */
  &:hover {
    .zpl-tooltip {
      @apply inline-block;
    }
  }
}

.zpl-tooltip-active {
  .zpl-tooltip {
    @apply inline-block;
  }
}

.zpl-tooltip {
  /* Default */
  @apply bg-surface-dark rounded-sm px-xs z-50 w-max	max-w-[328px] fixed;
  @apply dark:bg-surface;

  span {
    @apply flex text-text-dark text-right font-IRANYekanFaNum;
    @apply dark:text-text;
    direction: rtl;
  }

  &.small {
    @apply py-2xs text-ls-cp;
  }

  &.large {
    @apply py-[6px] text-b3;
  }
}
