/*
 *  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.
 */

.group-call-status {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--panel-background);
    overflow: hidden;
    /*will-change: transform;*/
    /*transform: translateZ(0);*/
}

.group-call-status-icon {
    background: transparent;
    width: 100%;
    height: 100%;
    padding: 2px;
    box-sizing: border-box;
}

.group-call-status-indicator {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--online-indicator);
    color: white;
    fill: currentColor;
}

@keyframes bar-animation-transform-1 {
    0%   { transform: scaleY(0.33); }
    12.5%  { transform: scaleY(1.66); }
    25%  { transform: scaleY(0.33); }
    37.5%  { transform: scaleY(1); }
    50%  { transform: scaleY(0.33); }
    62.5%  { transform: scaleY(1.66); }
    75%  { transform: scaleY(0.33); }
    87.5% { transform: scaleY(1.66); }
    100%   { transform: scaleY(0.33); }
}

@keyframes bar-animation-transform-2 {
    0%   { transform: scaleY(1); }
    12.5%  { transform: scaleY(0.33); }
    25%  { transform: scaleY(1.66); }
    37.5%  { transform: scaleY(0.33); }
    50%  { transform: scaleY(1); }
    62.5%  { transform: scaleY(0.33); }
    75%  { transform: scaleY(1.66); }
    87.5% { transform: scaleY(0.33); }
    100%   { transform: scaleY(1); }
}

.group-call-status-bar {
    width: 2px;
    height: 6px;
    background: white;
    border-radius: 1px;
    margin: 1px;
    will-change: transform;
    /*transform: translateZ(0);*/
}

.group-call-status-bar2 {
}

.group-call-status-active .group-call-status-bar {
    /*animation: bar-animation-transform-2 3.2s normal infinite;*/
}

.group-call-status-active .group-call-status-bar2 {
    /*animation: bar-animation-transform-1 3.2s normal infinite;*/
}