@import '../../../styles/abstracts/variables';

.module-shopify__tooltip {
  border-radius: 8px;
  max-width: 367px;
  padding-top: 2px;

  @include mobile {
    max-width: 339px;
  }

  &.ant-tooltip-placement-bottomLeft {
    .ant-tooltip-arrow {
      left: 6px;
    }
  }

  .ant-tooltip {
    &-inner {
      background: $white;
      border: 1px solid $grey2;
      border-radius: 8px;
      padding: 10px;
      font-size: $small;
      color: $text;
      margin-left: -28px;

      @include mobile {
        margin-left: 0;
      }
    }

    &-arrow {
      top: -10px;

      &-content {
        box-shadow: none;
        border: 1px solid $grey2;
        border-bottom-width: 0;
        width: 8px;
        height: 8px;
      }
    }
  }
}
.shopify-module__alert {
  .ant-alert-message {
    margin-bottom: 0;
  }
  .ant-alert-description {
    font-size: $xl-small;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.24px;
  }
}

.collection-list {
  display: flex;
  flex-direction: column;
  user-select: none;
  overflow: auto;
  &::-webkit-scrollbar:horizontal {
    width: 5px !important;
    height: 5px !important;
  }

  &::-webkit-scrollbar-thumb {
    background: $gray2;
    border-radius: 16px;
  }

  &::-webkit-scrollbar-track {
    background: $white;
  }

  &__container {
    flex-grow: 1;
    display: inline-flex;
  }

  &__dropzone {
    width: 100%;
    min-height: 60px;
  }

  &__item {
    margin-bottom: 20px;
    transition: border-box 0.1s ease;
    flex-shrink: 0;

    &:last-child {
      margin-bottom: 0;
    }

    &--dragging {
      .border-box {
        box-shadow: $boxShadow2;
      }
    }
  }
}
