// 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 "ds/typography.scss" as t;
@use "ds/_sizes.scss" as *;
@use "ds/_borders.scss" as *;
@use "refactor/common-refactor.scss" as deprecated;

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

.modal-dialog {
  --modal-width: 32rem;
  --modal-padding: var(--sp-xxxl);
  --container-max-height: 16rem;

  @extend %modal-container-base;

  user-select: none;
  width: var(--modal-width);
  max-width: 100%;
}

.close-btn {
  position: absolute;
  inset-block-start: var(--sp-s);
  inset-inline-end: var(--sp-s);
}
