@import "../../app";

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(142, 142, 147, 0.3);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
}

.modal.fadeIn {
  opacity: 1;
  visibility: visible;
}

.modal .inner {
  width: 540rpx;
  background: #fff;
  border-radius: 20rpx;
  transform: scale(0) translateY(-100rpx);
  transition: transform 0.15s ease;
}

.modal .inner.fadeIn {
  transform: scale(1) translateY(-100rpx);
}

.modal .title {
  padding: 40rpx 0;
  line-height: 42rpx;
  font-size: 32rpx;
  font-weight: 420;
  text-align: center;
}

.modal .content {
  padding: 0 30rpx 30rpx;
  box-sizing: border-box;
}

.modal .input {
  padding: 0 30rpx;
  width: 100%;
  height: 74rpx;
  font-size: 30rpx;
  border: solid #e8e8e8 1rpx;
  box-sizing: border-box;
}

.modal .btnGroup {
  display: flex;
  align-items: center;
  border-top: solid #e8e8e8 1rpx;
}

.modal .btn {
  display: block;
  flex: 1;
  margin: 0;
  padding: 0;
  min-height: 0;
  height: 100rpx;
  line-height: 100rpx;
  font-size: 32rpx;
  text-align: center;
  background: #fff;
}

.modal .cancel {
  color: #999;
}

.button-hover {
  transform: scale(1);
}