/*
Copyright 2022 New Vector Ltd

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.callTileSpacer,
.callTile {
  width: 329px;
}

.callTileSpacer {
  height: 0;
}

.callTile {
  height: 95px;
  padding: 12px;
  background-color: var(--cpd-color-bg-subtle-secondary);
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  user-select: none;
}

.callTileLink {
  display: flex;
  text-decoration: none;
  width: 100%;
  height: 100%;
  align-items: center;
}

.avatar,
.copyButtonSpacer {
  flex-shrink: 0;
}

.callInfo {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 16px;
  color: var(--cpd-color-text-primary);
  min-width: 0;
}

.callInfo > * {
  margin-bottom: 0;
}

.facePile {
  margin-top: 8px;
}

.copyButtonSpacer,
.copyButton {
  width: 16px;
  height: 16px;
}

.copyButton {
  position: absolute;
  top: 12px;
  right: 12px;
}

.callList {
  display: flex;
  flex-wrap: wrap;
  max-width: calc((329px + 24px) * 3);
  width: calc(100% - 48px);
  gap: 24px;
  padding: 0 24px;
  justify-content: center;
  margin-bottom: 24px;
}
