/*
 * Copyright 2019 dialog LLC <info@dlg.im>
 */

@import '../../../styles/variables.css';

.empty {
  display: flex;
  height: 200px;
  padding: 0 50px;
  text-align: center;
  font-family: var(--default-font-family);
  font-size: 15px;
  flex-flow: row;
  align-items: center;
  align-content: center;
  justify-content: center;
  color: color-mod(#000 alpha(30%));
  @mixin no-select;
}

.inputField {
  padding-top: 0;
}

.input {
  all: initial;
  box-sizing: border-box;
  width: 100%;
  padding: 6px 12px;
  border-radius: var(--default-border-radius-small);
  box-shadow: inset 0 0 1px 0 color-mod(#000 alpha(38%));
  font-family: var(--default-font-family);
  font-size: 16px;
  line-height: 32px;
}

.notFound {
  composes: empty;
}

.user {
  display: flex;
  flex-flow: row;
  align-items: center;
  align-content: center;
  justify-content: flex-start;

  &:hover {
    & .unblockButton {
      display: block;
    }
  }
}

.userInfo {
  display: flex;
  flex-direction: column;
  @mixin text-overflow-ellipsis;
}

.userMeta {
  display: flex;
  flex: 1 1 auto;
  flex-flow: row;
  align-items: center;
  align-content: center;
  justify-content: flex-start;
  @mixin flex-fix;
  @mixin no-select;
}

.userAvatar {
  margin-right: var(--default-padding);
  flex-shrink: 0;
}

.userName {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #000;
  @mixin text-overflow-ellipsis;
  margin: 0;
}

.userNick {
  color: color-mod(#000 alpha(50%));
  @mixin text-overflow-ellipsis;
  margin: 0;
}

.unblockButton {
  display: none;
  flex-shrink: 0;
}
