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

.pttButton {
  width: 100vw;
  aspect-ratio: 1;
  max-height: min(232px, calc(100vh - 16px));
  max-width: min(232px, calc(100vw - 16px));
  border-radius: 116px;
  color: var(--primary-content);
  border: 6px solid var(--accent);
  background-color: #21262c;
  position: relative;
  padding: 0;
  margin: 4px;
  cursor: pointer;
}

.micIcon {
  max-height: 50%;
}

.avatar {
  /* Remove explicit size to allow avatar to scale with the button */
  width: 100% !important;
  height: 100% !important;
}

.talking {
  background-color: var(--accent);
  cursor: unset;
}

.networkWaiting {
  background-color: var(--tertiary-content);
  border-color: var(--tertiary-content);
  cursor: unset;
}

.error {
  background-color: var(--alert);
  border-color: var(--alert);
}
