@import url("./normalize.css");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 28rem;
  font-family: "Source Han Sans CN-Medium, Source Han Sans CN";
}

/* 按钮 */
.checkBtn {
  width: 590rem;
  height: 80rem;
  background: #385ae8;
  box-shadow: 0rem 2rem 6rem 0rem rgba(0, 0, 0, 0.25);
  border-radius: 12rem;
  font-size: 34rem;
  font-weight: 400;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 公司模糊匹配 */
.companyWrap {
  position: relative;
  margin-bottom: 20rem;
}

.companyWrap .companyInputWrap {
  display: flex;
  align-items: center;
  width: 590rem;
  height: 80rem;
  background: #ffffff;
  border-radius: 10rem;
  border: 1rem solid #1f348c;
  padding: 0 20rem;
}

.companyWrap .companyIcon {
  width: 40rem;
  height: 40rem;
}

.companyWrap .companyLine {
  width: 2rem;
  height: 28rem;
  background: #1f348c;
  margin: 0 20rem;
}

.companyWrap .companyInput {
  flex: 1;
  height: 100%;
  border: 0;
  outline: none;
  font-size: 28rem;
  font-weight: 400;
  color: #000000;
}

.companyWrap .companyInput::-webkit-input-placeholder,
.companyWrap .companyInput::-moz-placeholder,
.companyWrap .companyInput:-moz-placeholder,
.companyWrap .companyInput:-ms-input-placeholder {
  font-size: 24rem;
  color: #a6a6a6;
}

.companyWrap .companyList {
  width: 590rem;
  position: absolute;
  left: 0;
  top: 80rem;
  padding: 10px 20px;
  box-sizing: border-box;
  background-color: #ffffff;
  box-shadow: 0px 6px 12px 2px rgba(0, 0, 0, 0.16);
  border-radius: 12px;
  max-height: 200px;
  overflow-x: hidden;
  overflow-y: auto;
  display: none;
}

.companyWrap .companyItem {
  width: 100%;
  padding: 8px 0;
  line-height: 1.2;
}

.companyWrap .companyItem:active {
  color: #1f348c;
}

.companyWrap .companyItem.active {
  color: #1f348c;
}

/* 验证码 */
.codeWrap {
  display: flex;
  align-items: center;
  width: 590rem;
  height: 80rem;
  background: #ffffff;
  border-radius: 10rem;
  border: 1rem solid #1f348c;
  padding: 0 20rem;
}

.codeWrap .codeInput {
  width: 280rem;
  height: 100%;
  border: 0;
  outline: none;
  font-size: 28rem;
  font-weight: 400;
  color: #000000;
}

.codeWrap .codeInput::-webkit-input-placeholder,
.codeWrap .codeInput::-moz-placeholder,
.codeWrap .codeInput:-moz-placeholder,
.codeWrap .codeInput:-ms-input-placeholder {
  font-size: 24rem;
  color: #a6a6a6;
}

.codeWrap .codeLine {
  flex: none;
  width: 2rem;
  height: 28rem;
  background: #1f348c;
  margin: 0 10rem 0 20rem;
}

.codeWrap .code {
  flex: none;
  width: 180rem;
  height: 100%;
  color: #ffffff;
  overflow: hidden;
}

.codeWrap .code #canvas {
  transform: scale(0.5);
  transform-origin: left top;
}

.codeWrap .refresh {
  flex: none;
  width: 48rem;
  height: 48rem;
}

/* 授权码输入框 */
.empowerCodeWrap {
  margin: 130rem 0 20rem;
  display: flex;
  align-items: center;
  width: 590rem;
  height: 80rem;
  background: #ffffff;
  border-radius: 10rem;
  border: 1rem solid #1f348c;
  padding: 0 10rem 0 20rem;
}

.empowerCodeWrap .empowerCodeIcon {
  width: 40rem;
  height: 40rem;
}

.empowerCodeWrap .empowerCodeLine {
  width: 2rem;
  height: 28rem;
  background: #1f348c;
  margin: 0 10rem 0 15rem;
}

.empowerCodeWrap .empowerCodeInput {
  flex: 1;
  height: 100%;
  position: relative;
}

.empowerCodeWrap .empowerCodeInput #hiddenInput {
  border: 0;
  outline: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 80rem;
  z-index: 1;
  opacity: 0;
}

.empowerCodeWrap .empowerCodeInput #showWrap {
  font-size: 28rem;
  color: #000000;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 80rem;
  line-height: 80rem;
  display: flex;
  align-items: center;
}

.empowerCodeWrap .empowerCodeInput .empty {
  display: inline-block;
  width: 16rem;
  height: 80rem;
}

/* 结果页面 */
.resultPage {
  width: 100vw;
  height: 100vh;
  background: linear-gradient(360deg, #ebeff8 0%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50rem;
}

.resultPage .logo {
  width: 300rem;
  height: 120rem;
  margin-bottom: 40rem;
}

.resultPage .date {
  font-size: 32rem;
  color: #1f348c;
  font-weight: bold;
  margin-bottom: 28rem;
}

.resultPage .company {
  font-size: 32rem;
  font-weight: bold;
  color: #000000;
}

.resultPage .tip {
  font-size: 24rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.8);
  line-height: 28rem;
  margin-bottom: 40rem;
}
/* 结果页中心区域 */
.resultPage .resultWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 经销商/代理商查询 */
.resultPage .resultWrap .merchantSuccess {
  width: 200rem;
  height: 200rem;
  margin-bottom: 22rem;
}
.resultPage .resultWrap .merchantFail {
  width: 284rem;
  height: 232rem;
  margin-bottom: 22rem;
}
.resultPage .resultWrap .merchantDesc {
  font-size: 32rem;
  font-weight: bold;
  color: #000000;
  line-height: 38rem;
}

.homeBtn {
  position: absolute;
  left: 40rem;
  top: 80rem;
  width: 48rem;
  height: 48rem;
}
