/*
 * Copyright 2019 dialog LLC <info@dlg.im>
 */
@import '../../styles/variables.css';

.container {
  width: 100%;
  padding: var(--default-padding);
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
  z-index: calc(var(--z-index-call) + 10);
  transition: opacity 150ms ease-out;
}

.hide {
  opacity: 0;
}

.withVideo {
  position: absolute;
  top: 0;
  right: 0;
  padding: var(--default-padding-small) var(--default-padding);
  background-color: color-mod(#000 alpha(45%));
}

.lockWrapper {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 100;
  line-height: 0;
}

.lock {
  margin: 4px;
}

.body {
  flex: 1 1 auto;
  overflow: hidden;
  margin-left: var(--default-padding);
  margin-right: var(--default-padding);
  @mixin flex-fix;
  position: relative;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
}

.info {
  position: absolute;
  left: 0;
}

.fingerprintWrapper {
  position: absolute;
  left: 0;
}

/* Animation */
.enter {
  opacity: 0.01;
  transform: translateY(-10px);
}

.enterActive {
  transition: all 150ms ease;
  transform: translateY(0);
  opacity: 1;
}

.leave {
  opacity: 1;
  transform: translateY(0);
}

.leaveActive {
  transition: all 150ms ease;
  transform: translateY(10px);
  opacity: 0.01;
}
