// Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// 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.
.market-participants-dropup-container {
  background-color: var(--watt-color-neutral-white);
  max-height: 512px;
  min-width: 312px;
  border-radius: 4px;
  overflow-y: auto;
}

.market-participant-group-container:not(:last-child) {
  padding-bottom: var(--watt-space-m);
}

.organization-name-header {
  color: var(--watt-color-neutral-black);
  padding-top: var(--watt-space-s);
  padding-right: var(--watt-space-m);
  padding-left: var(--watt-space-m);
}

.market-participant-container {
  padding: var(--watt-space-s) var(--watt-space-m);
  cursor: pointer;
}

.market-participant-container-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.market-participant-selected-icon {
  margin-left: auto;
  color: var(--watt-color-primary);
}

.market-participant-container:hover {
  background-color: var(--watt-color-primary-ultralight);
}

.selected-market-participant-container {
  display: flex;
  flex-direction: column;
  background-color: var(--watt-on-light-low-emphasis);
  padding: var(--watt-space-s) var(--watt-space-m);
  border-radius: 8px;
  cursor: pointer;
}

.selected-market-participant-container-spinner {
  align-self: center;
  padding: var(--watt-space-s) var(--watt-space-m);
}

.selected-organization-name-label {
  color: var(--watt-on-dark-medium-emphasis);
}

.selected-gln-label {
  color: var(--watt-on-dark-high-emphasis);
}

.selected-market-participant-name-label {
  color: var(--watt-on-dark-high-emphasis);
  font-weight: 400;
  text-transform: none;
}

.market-participant-name-label {
  color: var(--watt-on-light-medium-emphasis);
}

.gln-label {
  color: var(--watt-color-neutral-black);
  font-weight: 400;
}
