// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC

@import "refactor/common-refactor.scss";

.modal-overlay {
  @extend .modal-overlay-base;
}

.modal-container {
  @extend .modal-container-base;
}

.modal-header {
  margin-bottom: $s-24;
}

.modal-title {
  @include uppercaseTitleTipography;
  color: var(--modal-title-foreground-color);
}

.modal-close-btn {
  @extend .modal-close-btn-base;
}

.modal-content {
  @include flexColumn;
  @include bodySmallTypography;
  gap: $s-24;
  max-height: $s-400;
  width: $s-368;
  overflow: hidden auto;
  form {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
  }
}

.form-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: $s-368;
}

.links {
  position: relative;
}

.link-entry {
  display: flex;
  flex-direction: column;
  gap: $s-12;

  span {
    text-align: center;
    font-size: $fs-14;
    color: var(--modal-text-foreground-color);
    margin-top: $s-12;
  }
  a {
    @extend .button-secondary;
    height: $s-40;
    text-transform: uppercase;
    font-size: $fs-11;
  }
}
