.modal-fade-enter-active {
  animation: dialog-fade-in .3s;
}

.modal-fade-leave-active {
  animation: dialog-fade-out .3s;
}

@keyframes dialog-fade-in {
  0% {
    transform: translate3d(0, -20px, 0);
    opacity: 0;
  }

  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes dialog-fade-out {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  100% {
    transform: translate3d(0, -20px, 0);
    opacity: 0;
  }
}

.m-modal__wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  margin: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 999;
}

.m-modal__container {
  width: 25%;
  position: relative;
  margin: 0 auto 50px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  box-sizing: border-box;
  margin-top: 15vh;
  padding: 32px;
  animation: dialog-fade-in .3s;
}

.m-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.m-modal__title {
  line-height: 24px;
  font-size: 18px;
  color: #303133;
}

button {
  -webkit-appearance: button;
  -webkit-writing-mode: horizontal-tb !important;
  text-rendering: auto;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: center;
  align-items: flex-start;
  cursor: default;
  box-sizing: border-box;
  margin: 0;
}
.m-modal__headerbtn {
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 16px;
}

.m-modal__close {
  color: #909399;
}

.m-modal__headerbtn:hover .m-modal__close {
  color: #409EFF;
}

.m-modal__body {
  padding: 16px 0 40px 0;
}

.m-modal__footer {
  text-align: right;
  box-sizing: border-box;
}

.m-modal-button {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dcdfe6;
  color: #606266;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: .1s;
  font-weight: 500;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 4px;
}

.m-modal-button+.m-modal-button {
  margin-left: 10px;
}

.m-modal--primary {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(38, 82, 160, 1);
  border-radius: 4px;
  text-align: center;
  color: #fff;
  font-family: PingFangSC-Regular;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}
.m-modal--primary:focus {
  color: #fff;
  background: rgb(75 103 154);
}
.input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 40px;
  padding: 7px 12px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #232e3c;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dadcde;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 4px;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.input::placeholder{
    color: rgba(0, 0, 0, 0.25);
}


.smscode {
  font-family: PingFangSC-Regular;
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.65);
  
  background-color: #fff;
  background-clip: padding-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}

.smscode:not(.btned):hover {
  color: #5e9fff;
  border-color: #5e9fff;
}
.btned {
  color: #00000040;
  border-color: #eaedf7;
  background: #f5f5f5;
  text-shadow: none;
  box-shadow: none;
  cursor: not-allowed;
}
.areaCode {
  box-sizing: border-box;
  width: 64px;
  height: 40px;
  line-height: 40px;
  font-family: PingFangSC-Regular;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  border-width: 1px 0px 1px 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.15)
}


.m-modal--primary-loading {
  opacity: 0.65;
  cursor: default;
}
.loading {
    box-sizing: border-box;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-left: 1px solid #fff;
    animation: loading 1s linear infinite;
    margin-left: 7px;
    
}


@keyframes loading {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

.input-focused {
  border-color: #5e9fff;
  box-shadow: 0 0 0 2px #357cfa33;
  border-right-width: 1px !important;
  outline: 0;
}

.input-error {
  border-color: #faa19d;
  box-shadow: 0 0 0 2px #ed6f6f33;
  border-right-width: 1px !important;
  outline: 0;
}
.input-error:hover {
  border-color: #faa19d;
  box-shadow: 0 0 0 2px #ed6f6f33;
  border-right-width: 1px !important;
  outline: 0;
}

input:hover {
  border-color: #5e9fff;
  border-right-width: 1px !important;
}


