@import '../../scss/mixin';

.customCardGroup {
  @include containerNegative();

  :global(.swiper) {
    position: relative;
    overflow: visible;
    padding-top: size(10);
    padding-bottom: size(5);
  }

  :global(.swiper-slide) {
    height: auto;
  }
}

.customCardGroupNav {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--llm-color-foreground);
  display: flex;
  gap: size(3);

  @include bp(md) {
    right: 0;
    left: auto;
  }

  button {
    color: currentColor;
    pointer-events: auto;
    cursor: pointer;

    &.swiper-button-disabled {
      opacity: 0.2;
      cursor: pointer;
    }

    &.swiper-button-lock {
      display: none;
    }

    svg {
      width: 24px;
      height: 24px;
    }
  }
}

.customCardGroupSlide {
  height: auto;

  :global(.customCard) {
    height: 100%;
  }
}
