@import 'modules/app/viewports';

.search__block {
  position: relative;
  z-index: 6;

  display: flex;
  flex-direction: row;
  align-items: center;

  width: calc(72% - 10px);
  margin: 0 20px;
}

.search-input-wrapper {
  display: flex;
}

.cmf-body-search-input {
  /* padding-right: 35px; */

  @include viewport-mobile {
    width: 60%;
    margin-left: 5px;
  }

  @include viewport-laptop {
    width: 50%;
  }

  user-select: none;

  width: 100%;
  min-width: 500px;
  min-height: 50px;
  margin-left: 0;
  padding-left: 48px;

  font-size: 16px;

  border: none;
  border-radius: 7px;
  outline: none;

  &::placeholder {
    color: #b1abab;
  }

  &:focus {
    background: var(--color-gray-fff);
    box-shadow:
      0 1px 2px 0 rgb(60 64 67 / 10.2%),
      0 1px 2px 1px rgb(60 64 67 / 10.9%);
  }

  &:hover {
    background-color: #fafbfb;
  }
}

.search__count {
  position: absolute;
  z-index: 10;
  top: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-left: 24px;
  padding: 5px 20px;

  font-size: 12px;
  line-height: 1;
  color: #fff;

  background: #1a3d60;
}

.search-icon-input-wrapper {
  position: relative;
  right: 30px;
  left: 36px;

  max-width: 22px;
  max-height: 22px;

  border-radius: 50%;
}

.search-input-items {
  position: relative;
  left: -24px;
  padding-right: 10px;

  .search-full-button {
    cursor: pointer;

    position: absolute;
    right: 60px;

    width: 120px;

    font-size: 16px;
  }

  .search-close-icon {
    cursor: pointer;
  }
}
