@import "../../variables";

.mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.5s ease;
  overscroll-behavior: none;
}

.mask.show {
  opacity: 1;
}
.mask.hide {
  opacity: 0;
}

.content {
  width: 100%;
  max-height: 90%;
  background: #fff;
  // background: linear-gradient(180deg, #edf0f7 0%, #e7ebf4 100%);
  // box-shadow: 0 28rpx 70rpx rgba(11, 18, 35, 0.18);
  border-top-left-radius: $primary-gap;
  border-top-right-radius: $primary-border-radius;
  padding: $primary-gap;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.content.show {
  transform: translateY(0);
}
.content.hide {
  transform: translateY(100%);
}
