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

.roomButton,
.headerButton,
.dropdownButton {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
}

.roomButton {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  background-color: #394049;
}

.roomButton:hover {
  background-color: #8d97a5;
}

.roomButton:active {
}

.roomButton.on {
  background-color: #ffffff;
}

.headerButton svg * {
  fill: #8e99a4;
}

.headerButton:hover svg * {
  fill: #8d97a5;
}

.headerButton.on svg * {
  fill: #0dbd8b;
}

.hangupButton,
.hangupButton:hover {
  background-color: #ff5b55;
}

.screenshareButton.on svg * {
  fill: #0dbd8b;
}

.dropdownButtonContainer {
  position: relative;
}

.dropdownButton {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  background-color: #394049;
  position: absolute;
  bottom: 0;
  right: 0;
  cursor: pointer;
}

.dropdownButton:hover {
  background-color: #8d97a5;
}

.dropdownButton:hover svg * {
  fill: #8d97a5;
}

.dropdownContainer {
  position: absolute;
  left: 50%;
  transform: translate(0, -100%);
  top: -5px;
  background-color: var(--bgColor4);
  border-radius: 8px;
  overflow: hidden;
}

.dropdownContainer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdownContainer li {
  padding: 12px;
  width: 200px;
  cursor: pointer;
}

.dropdownContainer li:hover {
  background-color: var(--bgColor5);
}

.dropdownActiveItem {
  color: #0dbd8b;
}
