// 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 Sucursal en España SL

@use "refactor/common-refactor.scss" as deprecated;

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

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

  width: deprecated.$s-368;
}

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

.modal-title {
  @include deprecated.uppercase-title-typography;

  color: var(--modal-title-foreground-color);
}

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

.modal-content {
  @include deprecated.flex-column;
  @include deprecated.body-small-typography;

  gap: deprecated.$s-24;
  max-height: deprecated.$s-400;
  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;
}

.links {
  position: relative;
}

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

  span {
    text-align: center;
    font-size: deprecated.$fs-14;
    color: var(--modal-text-foreground-color);
    margin-top: deprecated.$s-12;
  }

  a {
    @extend %button-secondary;

    height: deprecated.$s-40;
    text-transform: uppercase;
    font-size: deprecated.$fs-11;
  }
}
