/*
 * Copyright (c) 2016-present, Parse, LLC
 * All rights reserved.
 *
 * This source code is licensed under the license found in the LICENSE file in
 * the root directory of this source tree.
 */
@import 'stylesheets/globals.scss';

.wrap {
  display: inline-block;
}

.entry {
  height: 30px;
  padding: 8px;

  svg {
    fill: #66637A;
  }

  &:hover svg {
    fill: white;
  }

  &.disabled {
    cursor: not-allowed;
    color: #66637A;

    &:hover svg {
      fill: #66637A;
    }
  }
}

.entry.active {
  background: $blue;
  border-radius: 5px;

  svg {
    fill: white;
  }
}

.active .title, .active .body {
  background: $blue;
}

.title {
  background: #797691;
  padding: 8px;
  border-radius: 5px 5px 0 0;

  svg {
    fill: white;
  }
}

.entry, .title {
  @include NotoSansFont;
  position: relative;
  bottom: -4px;
  font-size: 14px;
  color: #ffffff;
  cursor: pointer;

  svg {
    vertical-align: top;
    margin-right: 6px;
  }

  span {
    display: inline-block;
    vertical-align: top;
    height: 14px;
    line-height: 14px;
  }
}

.objectPickerContent {
  .entry svg {
    fill: rgba(0, 0, 0, 0.3);
  }
}

.body {
  position: absolute;
  display: flex;
  flex-direction: column;
  max-height: 500px;
  overflow: hidden;
  top: 30px;
  right: 0;
  border-radius: 5px 0 5px 5px;
  background: #797691;
  width: 685px;
  font-size: 14px;
}

.footer {
  background: rgba(0,0,0,0.2);
  padding: 11px 16px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  > button {
    margin-right: 10px;

    &:last-child {
      margin-right: 0;
    }
  }
}

.row {
  padding: 8px 15px;

  > * {
    margin-right: 10px;

    &:nth-last-child(2) {
      margin-right: 0;
    }
  }

  input {
    @include MonospaceFont;
    height: 30px;
    width: 140px;
    background: #343445;
    border: none;
    outline: none;
    border-radius: 5px;
    vertical-align: top;
    padding: 0 8px;
    color: white;
    font-size: 14px;
  }
}

.active .row input {
  background: #0E69A1;
}

.remove {
  @include buttonReset;
  display: inline-block;
  height: 14px;
  margin: 8px;
}

.date {
  display: inline-block;
  vertical-align: top;
}

.flex{
  display: flex;
  align-items: center;
}

.btnFlex{
  display: flex;
  gap: 12px;
}