.form-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2010;
  display: none;
  opacity: 0;
  height: 560px;
}

.dialog-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  opacity: 0;
  z-index: 2000;
}

.dw-content {
  padding: 45px 50px;
  border-radius: 6px;
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.06);
  background-color: #fff;
}

.dialog-input,
.dialog-select {
  width: 400px;
  height: 44px;
  padding-left: 16px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  font-weight: 400;
  color: #000 !important;
}

.cf-item {
  margin-bottom: 24px;
}

.dw-content .cfi-label span {
  width: 80px;
  display: inline-block;
  text-align: right;
}

.dw-required {
  position: relative;
}
.dw-required::before {
  content: "*";
  display: block;
  position: absolute;
  right: -8px;
  top: 0;
  color: red;
}

.dw-primary-btn {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dcdfe6;
  color: #606266;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: 0.1s;
  font-weight: 500;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 4px;
  color: #fff;
  background-color: #2d7bff;
  border-color: #409eff;
  margin-left: 12px;
}

.dw-primary-btn:hover,
.dw-plain-btn:hover {
  background: #66b1ff;
  border-color: #66b1ff;
  color: #fff;
}

.dw-plain-btn {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dcdfe6;
  color: #606266;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: 0.1s;
  font-weight: 500;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 4px;
}

.dw-fade-in {
  animation: fadeIn 0.2s forwards;
}

.dw-fade-out {
  animation: fadeOut 0.2s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.crm-form-title {
  color: rgba(0, 0, 0, 0.9);
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 32px;
  text-align: center;
}

.dw-plain-btn,
.dw-primary-btn {
  width: 120px;
  height: 44px;
  line-height: 44px;
  font-size: 16px;
  padding: 0;
}

.cf-btns {
  display: flex;
  justify-content: center;
}

.cfi-label {
  position: relative;
}

#crm-mobile-error,
#crm-remark-error,
#crm-companyName-error {
  position: absolute;
  bottom: -28px;
  left: 100px;
}

.modal-login-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.register-success {
  display: flex;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 14px 16px;
  border-radius: 4px;
  box-shadow: 0px 6px 30px 5px rgba(0, 0, 0, 0.05),
    0px 16px 24px 2px rgba(0, 0, 0, 0.04), 0px 8px 10px -5px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  display: none;
  animation: showTip 2s ease-in-out;
  z-index: 2000;
}
