// 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/_sizes.scss" as *;
@use "ds/_borders.scss" as *;
@use "ds/_utils.scss" as *;
@use "ds/z-index.scss" as *;

.token-modal-wrapper {
  border-radius: $br-4;
  background-color: var(--color-background-primary);
  border: $b-2 solid var(--color-background-quaternary);
  min-height: $sz-192;
  max-width: $sz-512;
  max-height: $sz-512;
  box-shadow: 0 0 $sz-12 0 var(--color-shadow-dark);
  position: absolute;
  width: auto;
  min-width: auto;
  z-index: var(--z-index-set);
  overflow: hidden auto;
  padding: var(--sp-xxxl);

  &.token-modal-large {
    max-block-size: 95vh;
  }
}

.close-btn {
  position: absolute;
  top: px2rem(6);
  right: px2rem(6);
}
