@import "../../constants/index.scss";

.textMessage {
  @include textMessage;
  margin-bottom: 12px;
  &.active {
    background-color: $primary-color;
    color: #fff;
    border-color: darken($primary-color, 20);
    transition: 0.2s ease-out;
    input::placeholder {
      color: rgba(#fff, 1) !important;
    }
  }
}

.textMessagePopup {
  margin-left: auto;
  margin-right: auto;
}

.textMessageText {
  @include textMessageInput;
}

.textMessageTextPlaceholder {
  opacity: 0.3;
}

.carouselHeaderDropdowns {
  display: flex;
  padding: 0 12px;
  > div {
    flex: 1;
    &:first-child {
      flex: 1;
      margin-right: 8px;
    }
  }
}

.carouselElements {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  max-width: $width * 2;
  overflow: hidden;

  &Error {
    border: 1px solid #ef8b93;
  }
}

.carouselElementsArrow {
  width: 46px !important;
  height: 46px !important;
  z-index: 3;
  left: auto !important;
  right: -5px !important;
  transition: 0.2s ease-out;
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.1));
  svg > g {
    fill: #fff;
  }
  &:before {
    content: none !important;
  }
}

.carouselElementsArrowPrev {
  left: -5px !important;
  right: auto !important;
  transform: rotate(180deg) translateY(50%) !important;
}
