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

.selectInput {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
  max-width: 444px;
}

.label {
  font-weight: 600;
  font-size: var(--font-size-subtitle);
  margin-top: 0;
  margin-bottom: 12px;
}

.selectTrigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background-color: var(--background);
  border-radius: 8px;
  border: 1px solid var(--quinary-content);
  font-size: var(--font-size-body);
  color: var(--primary-content);
  height: 40px;
  max-width: 100%;
  width: 100%;
}

.selectTrigger:focus {
  outline: auto;
}

.selectedItem {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 20px;
}

.popover {
  position: absolute;
  margin-top: 5px;
  width: 100%;
  z-index: 1;
}
