@import "mixins/mixins";
// @import "common/var";
@import "./popper";

@include b(popover) {
  position: absolute;
  background: $--popover-background-color;
  min-width: 150px;
  // max-width: 720px;
  // border-radius: 4px;
  border-radius: $--border-radius-small;
  // border: 1px solid $--popover-border-color;
  // padding: 12px 12px;
  padding: 12px;
  z-index: $--index-popper;
  // color: $--color-text-regular;
  line-height: 1.4;
  text-align: justify;
  font-size: $--font-size-body-3;
  // box-shadow: $--popover-shadow-light;
  box-shadow: $--shadow2-center;
  word-break: break-all;
  color:$--color-text-3;
  // max-height: 192px;
  // overflow:auto;
  @include m(plain) {
    //padding: $--popover-padding;
  }

  @include e(title) {
    color: $--color-text-1;
    font-size: $--font-size-title-1;
    margin-bottom: 4px;
    font-weight: $--font-weight-500;
    line-height: 24px;
  }
  @include e(content) {
    line-height: 22px;
    font-weight: $--font-weight-400;
    overflow: auto;
    // max-height: 152px;
  }
  @include e(reference) {
    &:focus:not(.focusing), &:focus:hover {
      outline-width: 0;
    }
  }

  &:focus:active, &:focus {
    outline-width: 0;
  }
}
