/*
 *  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-settings-video {
    width: calc(100% - 44px);
    max-height: 100px;
    background: black;
    transform: scaleX(-1);
    margin: 10px 22px;
    box-sizing: border-box;
}

.group-call-settings {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    z-index: 1;

    display: flex;
    justify-content: center;
    align-items: center;
}

.group-call-settings-device-select {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    z-index: 1;

    display: flex;
    justify-content: center;
    align-items: center;
}

.group-call-settings-panel {
    width: 320px;
    min-height: 320px;
    border-radius: 4px;
    background: var(--group-call-participants-panel);
    color: white;
    display: flex;
    flex-direction: column;
}

.group-call-settings-panel-switch-root {
    transform: translateX(12px);
}

.group-call-settings-panel-switch-base {
    color: var(--group-call-status-listening);
}

.group-call-settings-panel-switch-checked {

}

.group-call-settings-panel-switch-track {
    background: black;
}

.group-call-settings-panel-switch-color-secondary {

}

.group-call-settings-panel-switch-color-secondary.group-call-settings-panel-switch-checked:hover {
    background: rgba(255, 255, 255, 0.08);
}

.group-call-settings-panel-switch-base.group-call-settings-panel-switch-checked {
    color: var(--group-call-status-listening);
}

.group-call-settings-panel-switch-base.group-call-settings-panel-switch-checked + .group-call-settings-panel-switch-track {
    background: black;
}

.group-call-settings-panel-header {
    font: 20px / normal 'Product Sans', 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    height: 60px;
    flex-shrink: 0;
    padding: 0 22px;
}

.group-call-settings-panel-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.group-call-settings-panel-item {
    font-size: 14px;
    cursor: pointer;
    height: 38px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 22px;
    background: transparent;
}

.group-call-settings-panel-item-secondary {
    color: #c84b4a;
}

.group-call-settings-panel-item-title {
    flex: 1 1 auto;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 70px;
}

.group-call-settings-panel-item-subtitle {
    margin-left: 12px;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--group-call-status-listening);
}

.group-call-settings-panel-item:hover {
    background: var(--group-call-participants-item-hover);
}

.group-call-settings-panel-buttons {
    flex-shrink: 0;
    height: 52px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.group-call-settings-panel-done {
    font-size: 14px;
    height: 36px;
    margin: 8px;
    border-radius: 3px;
    text-transform: uppercase;
    color: var(--group-call-status-listening);
    cursor: pointer;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-call-settings-panel-done:hover {
    background: var(--group-call-participants-item-hover);
}