
.customer-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10000;
  display: none;
}
.customer-modal .mask {
  background: #000000;
  opacity: 0.4;
  position: absolute;
  width: 100%;
  height: 100%;
}
.customer-modal .customer-modal-content {
  max-width: 500px;
  width: 85%;

  background: #FFFFFF;
  -webkit-box-shadow: 0px 2px 20px 0px rgba(0,0,0,0.07);
          box-shadow: 0px 2px 20px 0px rgba(0,0,0,0.07);
  border-radius: 18px;
  z-index: 1000;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;

  font-family: Inter-Medium, Inter;
  font-weight: 500;
  font-size: 12px;
  color: #757575;
  line-height: 14px;

}

.customer-modal .customer-modal-content .main {
  margin: 22px 20px 28px;
}

.customer-modal .customer-modal-content .modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
}

.customer-modal .customer-modal-content .modal-close img {
  width: 12px;
  height: 12px;
}

.customer-modal .customer-modal-content .main .top h4 {
  font-family: Inter-SemiBold, Inter;
  font-weight: 600;
  font-size: 15px;
  color: #000000;
  line-height: 20px;
  margin-bottom: 4px;
}

.customer-modal .customer-modal-content .main .top a {
  background: #1A2F5E;
  border-radius: 41px;
  font-size: 13px;
  font-family: Inter-SemiBold, Inter;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 13px;
  padding: 14px 20px;
  display: inline-block;
  margin: 24px auto 13px;
  text-decoration: none;
  cursor: pointer;
}
.customer-modal .customer-modal-content .main .top a img{ 
  height: 10px;
  margin: -1px 0 0 4px;
}

.customer-modal .customer-modal-content .main .detail {
  overflow: hidden;
}
/* Referral input styles */
.referral-input-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 12px;
  margin-top: 15px;
  margin-bottom: 15px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  background: #FFFFFF;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.referral-input {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0; /* 防止flex项目溢出 */
  height: 45px;
  border: none;
  font-size: 16px;
  font-family: Inter-Medium, Inter;
  font-weight: 500;
  color: #212121;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: transparent;
}

.referral-input::-webkit-input-placeholder {
  color: #BDBDBD;
}

.referral-input::-moz-placeholder {
  color: #BDBDBD;
}

.referral-input:-ms-input-placeholder {
  color: #BDBDBD;
}

.referral-input::-ms-input-placeholder {
  color: #BDBDBD;
}

.referral-input::placeholder {
  color: #BDBDBD;
}

.referral-input:focus {
  outline: none;
  border-color: none;
}

.paste-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 26px;
  padding: 0 8px;
  background: #EEF3FF;
  border: 1px solid #EEF3FF;
  border-radius: 8px;
  font-size: 12px;
  color: #547EFF;
  line-height: 11px;
  font-family: Inter-Medium, Inter;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  -ms-flex-negative: 0;
      flex-shrink: 0; /* 防止按钮被压缩 */
}

/* Submit button disabled state */
.customer-modal .customer-modal-content .btn-group button.primary:disabled {
  background: #E0E0E0;
  border-color: #E0E0E0;
  color: #9E9E9E;
  cursor: not-allowed;
}

.customer-modal .customer-modal-content .btn-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  padding: 20px 0 0 ;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

.customer-modal .customer-modal-content .btn-group button {
  height: 45px;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 16px;
  font-family: Inter-Medium, Inter;
  font-weight: 500;
  color: #212121;
  cursor: pointer;
  min-height: 45px;
  line-height: 1;
  margin: 0;
  padding: 0;
}
.customer-modal .customer-modal-content .btn-group button.left {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.customer-modal .customer-modal-content .btn-group button.right {
  -webkit-box-flex: 2;
      -ms-flex: 2;
          flex: 2;
}

.customer-modal .customer-modal-content .btn-group button.primary {
  background: #FFD600;
  border: 1px solid #FFD600;
  height: 45px;
  min-height: 45px;
}


@media screen and (max-width: 991px) {

}