.panel {
  pointer-events: none;
  position: fixed;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  padding: 3.5em 0 3.5em 0;
  z-index: 101;
  max-width: 500px;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.5s;
}

.icon-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.close-button {
  display: inline-block;
  font-size: 0.5em;
  pointer-events: all;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.modal-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.modal {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-clip: padding-box;
  padding: 1em;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-top-left-radius: 0.3rem;
  outline: 0;
  max-height: 100%;
  overflow: auto;
  & .modal-header {
    display: block;
  }
  @mixin light {
    background: #fff;
  }
  @mixin dark {
    background: var(--mantine-color-dark-6);
  }
}
