@import '../../../../scss/mixins';

.modalInner {
  width: 1200px;
  max-width: 90vw;
  min-height: 200px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  color: $textColorLight;

  p {
    @include copy;

    > a {
      color: $textColorLight;
      text-decoration: underline;
    }
  }
}

.modalHeader {
  align-items: center;
  background-color: #26292c;
  display: flex;
  flex-direction: row;
  padding: 7px 13px;
}

$leftRightGutter: 240px;

.modalLogo {
  flex: 0 0 $leftRightGutter;
}

.headerNav {
  color: #fff;
  display: flex;
  font-size: 15px;
  margin: auto;
  text-align: center;
}

.headerActions {
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  flex: 0 0 $leftRightGutter;
}

.closeButton {
  cursor: pointer;
  color: #919191;
  border: 0;
  background: transparent;
  margin-left: 12px;
  padding-right: 6px;
  display: flex;

  [dir='rtl'] & {
    margin-left: 0;
    margin-right: 12px;
  }

  &::before {
    content: '';
    display: inline-block;
    border-left: 1px solid #a5afb7;
    color: #fff;
    margin-right: 10px;
    height: 20px;
    opacity: 0.3;

    [dir='rtl'] & {
      margin-right: 0;
      margin-left: 10px;
    }
  }
}

.dismissIcon {
  @include dismiss;
}

.magicModalInner {
  margin: auto 0;
  height: 100%;
  padding: 20px;
}
