@import '../../../styles/vars/breakpoints.css';

.tabbler {
  position: relative;
  &.bottomLine {
    .tab:not(.active) {
      border-top: unset;
      border-bottom: 2px solid rgb(255, 255, 255, 0);
    }
    .active {
      border-top: unset;
      border-bottom: 2px solid var(--primary-color);

    }
  }
  :global(.swiper-button-disabled) {
    pointer-events: none;
    opacity: 0.35;
  }
}

.container {
  width: 100%;
  margin: 0;
  @media (--ms-and-down) {
    /* margin: 0 30px; */
    width: calc(100% - 60px);
    margin: 0 auto;
  }
}


.line {
  display: flex;
}

.tab {
  font-size: 18px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: 0.43px;
  box-sizing: border-box;
  width: auto;
  cursor: pointer;
  color: rgba(#1b1c1f, 0.5);
  box-sizing: border-box;
  transition: color 0.3s ease-in;
  border-top: 2px solid rgb(255, 255, 255, 0);

  &:hover {
    color: rgba(#1b1c1f, 1);
  }

  &.disabled {
    pointer-events: none;
    color: rgba(#1b1c1f, 0.35);
  }

  &.active {
    color: rgba(#1b1c1f, 1);
    border-color: var(--primary-color);
  }
  @media (--ms-and-down) {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.38px;
    line-height: 19px;
  }
}

.content {
  margin-bottom: -2px;
  @media (--ms-and-down) {
    margin-bottom: 1px;
  }
}


.iconLeft,
.iconRight {
  position: absolute;
  top: 0;
  color: #b2b2b2;
  cursor: pointer;
  outline: 0;
  font-size: 17px;
  transition: color 0.3s ease-in;
  &:hover {
    color: var(--primary-color);
  }
  @media (--sm-and-up) {
    display: none;
  }
  /* &.disabledBtn {
    pointer-events: none;
    opacity: 0.45;
  } */
}

.iconRight {
  transform: rotate(-180deg) translate(0px, -4px);
  right: -5px;
  @media (--md-and-down) {
    right: 0;
  }
}

.iconLeft {
  transform: translate(0px, 1px);
  left: -5px;
  @media (--xs-only) {
    left: 0;
  }
}