@import 'modules/app/viewports';

$color-ccc: #ccc;

:host {
  position: relative;
  display: flex;
}

.spacer {
  width: 300px;
}

app-cmf-icon {
  display: flex;
}

.search__block {
  overflow: hidden;
  display: flex;
  flex-direction: column;

  width: 360px;
  margin: 0;
  padding: 0 10px;

  background: var(--color-gray-fff);
  border: 1px solid var(--color-gray-eee);
  border-radius: 4px;

  .search-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    height: 30px;

    app-cmf-icon {
      cursor: pointer;
    }

    .search-input {
      flex: 1 1 0;

      input {
        width: 100%;
        font-size: 14px;
        border: none;
        outline: none;

        &::placeholder {
          color: #b1abab;
        }
      }
    }
  }

  .search-count {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    div {
      flex: 0 0 auto;
      font-size: 12px;
      line-height: 12px;
      color: #485872;
    }

    .number {
      display: flex;
      align-items: center;
      justify-content: center;

      min-width: 16px;
      height: 16px;
      margin-left: 10px;
      padding: 0 5px;

      font-size: 10px;
      font-weight: 700;

      background-color: #dee0e4;
      border-radius: 8px;
    }
  }

  .all-search {
    cursor: pointer;

    display: flex;
    align-items: center;

    height: 24px;
    padding: 0 15px 0 12px;

    background-color: #f4f5f7;

    span {
      margin-right: auto;
      font-size: 10px;
      color: #485872;
    }

    .return-icon-wrapper {
      display: flex;

      width: 20px;
      height: 12px;

      background-color: #eaebef;
      border-radius: 2px;

      app-cmf-icon {
        margin: auto;
      }
    }
  }
}
