/*
 *  Copyright (c) 2018-present, Evgeny Nadymov
 *
 * This source code is licensed under the GPL v.3.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

#call-output-video {
    width: 348px;
    height: 348px;
    background: black;
}

.full-screen #call-output-video {
    max-width: unset;
    max-height: unset;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#call-input-video {
    transform: scaleX(-1);
    max-width: 100px;
    max-height: 100px;
    border-radius: 5px;
    position: absolute;
    right: 0;
    top: 0;
}

.full-screen #call-input-video {
    max-width: 200px;
    max-height: 200px;
    margin: 0 16px;
}

.group-call-panel {
    overflow: hidden;
    width: 380px;
    height: 600px;
    border-radius: 12px;
    background: var(--group-call-panel);
    display: flex;
    flex-direction: column;
    will-change: left, top;
}

.full-screen.group-call-panel {
    width: 100%;
    height: 100%;
}

.group-call-panel.full-screen {
    border-radius: 0;
}

.group-call-panel-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    flex-shrink: 0;
    padding: 0 14px;
}

.group-call-panel-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
}

.group-call-panel-caption-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--group-call-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.group-call-panel-caption-button:hover {
    /*background: var(--group-call-participants-item-hover);*/
}

.group-call-panel-participants {
    flex: 1 1 auto;
    overflow-y: auto;
    margin: 0 16px;
    border-radius: 5px;
    z-index: 1;
    position: relative;
}

.full-screen .call-panel-content {
    margin: 0;
    border-radius: 0;
    position: relative;
}

.call-panel-content {
    background: transparent;
    flex: 1 1 auto;
    overflow-y: hidden;
    margin: 0 16px;
    /*border-radius: 5px;*/
    z-index: 1;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /*align-items: center;*/
}

.group-call-panel-buttons {
    flex-shrink: 0;
    padding: 30px 40px 58px 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 192px;
    min-width: 348px;
    box-sizing: border-box;
    position: relative;
    align-self: center;
}

.group-call-panel-button-leave {
    border-radius: 50%;
    background: var(--group-call-button-leave);
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-call-panel-button-answer {
    border-radius: 50%;
    background: var(--group-call-button-answer);
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-call-panel-button {
    margin-top: 29px;
    z-index: 1;
}

.group-call-panel-button-text {
    margin: 8px -8px 0;
    font-size: 11px;
    line-height: normal;
    text-align: center;
}

.full-screen .group-call-settings {
    border-radius: 0;
}