/* rem 基准：rem.js（1rem = clientWidth / 10，上限 750），即 375 视口下 1rem = 37.5px，换算规则 px ÷ 37.5 */
:root {
  --primary-color: #1d64ff;
}

div {
  display: block;
  box-sizing: border-box;
}

/* ===== 顶部 logo 与广告 ===== */
.asus_icon_adv_content {
  display: flex;
  padding-top: 2rem;
  margin-bottom: .5rem;
}

.asus_icon_img {
  width: 3.73rem;
  height: 1.49rem;
}

.adv {
  width: 3.73rem;
  height: 1.49rem;
  font-size: 0.4rem;
  text-align: center;
  color: #707070;
  padding: 0.2rem 0;
}

/* ===== 表单 ===== */
.register_form {
  width: 100%;
  padding: 0 6%;
  margin: auto;
}

.register_form_item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 0.4rem;
}

.register_form_item_select {
  position: relative;
  width: 45%;
}

.register_form_item_input {
  outline: none;
  width: 100%;
  height: 1.33rem;
  background-color: #F6F6F6;
  border-color: transparent !important;
  border-radius: 0.13rem;
  font-size: 0.4rem;
  padding-left: 0.53rem;
  margin: 0;
  box-sizing: border-box;
}

.register_form_item_input.code {
  width: 60%;
}

.register_form_item_input::-webkit-input-placeholder {
  color: #B8B8B8;
}

.register_form_item_address_select {
  outline: none;
  width: 100%;
  height: 1.33rem;
  line-height: 1.33rem;
  background-color: #F6F6F6;
  border-color: transparent !important;
  border-radius: 0.13rem;
  font-size: 0.4rem;
  padding-left: 0.53rem;
  box-sizing: border-box;
  color: #B8B8B8;
}

/* 员工编号/姓名：仅华硕员工展示（含编号类型下拉） */
.employee_field {
  display: none;
}

.employee_field.on {
  display: block;
}

.employee_field .register_form_item {
  background-color: #F6F6F6;
  border-radius: 0.13rem;
}

/* 验证码按钮 */
.border_button.btn_code {
  width: 35%;
  font-size: 0.41rem;
}

.btn_code.disabled {
  border-color: #B8B8B8;
  color: #B8B8B8;
}

/* ===== 注册类型选择 ===== */
.type_select_item {
  position: relative;
  display: block;
}

.type_select {
  width: 100%;
  height: 1.33rem;
  line-height: 1.33rem;
  background-color: #F6F6F6;
  border: 1px solid transparent;
  border-radius: 0.13rem;
  font-size: 0.4rem;
  padding-left: 0.53rem;
  box-sizing: border-box;
  color: #B8B8B8;
  position: relative;
}

.type_select:after {
  content: '';
  position: absolute;
  right: 0.43rem;
  top: 50%;
  margin-top: -0.11rem;
  border-left: 0.13rem solid transparent;
  border-right: 0.13rem solid transparent;
  border-top: 0.16rem solid #999;
}

.type_select.selected {
  color: #333;
}

.type_options {
  display: none;
  position: absolute;
  left: 0;
  width: 100%;
  border-radius: 0.13rem;
  background: #F6F6F6;
  box-shadow: 0 0 2px rgba(0, 0, 0, .2);
  z-index: 3;
}

.type_option {
  height: 1.17rem;
  line-height: 1.17rem;
  font-size: 0.4rem;
  color: #333;
  padding: 0 0.53rem;
  box-sizing: border-box;
}

.type_option:not(:last-child) {
  border-bottom: 1px solid #E5E5E5;
}

.type_option.check {
  background: #EAF1FF;
  color: var(--primary-color);
  font-weight: 600;
}

/* 注册站点下拉（站点较多时内部滚动） */
.site_options {
  max-height: 6.4rem;
  overflow-y: auto;
}

/* ===== 按钮 ===== */
.button {
  width: 100%;
  height: 1.33rem;
  line-height: 1.33rem;
  text-align: center;
  border-radius: 0.13rem;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #fff;
  font-size: 0.46rem;
}

.border_button {
  width: 100%;
  height: 1.33rem;
  line-height: 1.33rem;
  font-size: 0.46rem;
  text-align: center;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  background: #fff;
  border-radius: 0.13rem;
}

/* ===== 协议 ===== */
.agree_img {
  width: 0.53rem;
  height: 0.53rem;
  display: inline-block;
}

.agreement_text {
  display: inline-block;
  font-size: 0.4rem;
  margin-left: 0.32rem;
}

.agreement_text span,
.agreement_text a {
  color: #FA972A;
  text-decoration: none;
}

/* ===== 提示弹层 ===== */
body .message_form .layui-m-layercont {
  opacity: 0.75;
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 0.38rem;
  padding: 0.31rem 0.26rem;
  border-radius: 0.13rem;
}

/* ===== 地址选择弹层 ===== */
.modal_shade {
  display: none;
  position: fixed;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, .5);
  z-index: 20;
}

.address_popup {
  display: none;
  width: 100%;
  height: 10.82rem;
  background: #fff;
  font-size: 0.46rem;
  z-index: 21;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.3rem 0;
}

.address_popup .title_content {
  display: block;
  padding: 0;
  position: relative;
  text-align: center;
  margin-bottom: 0.5rem;
}

.address_popup .title_content .close_address_popup_icon {
  position: absolute;
  top: 5%;
  right: 5%;
}

.address_tab_list {
  display: flex;
  width: 9.62rem;
  height: 1.13rem;
  line-height: 1.13rem;
  padding: 0 0.4rem;
  background: #FFFFFF;
  border-bottom: 0.01rem solid #DCDEE0;
}

.address_tab_list_item {
  font-size: 0.38rem;
  width: 2.23rem;
  text-align: left;
}

.address_tab_list_item .tab_line {
  padding: 0.2rem;
}

.address_tab_list_item .tab_line.check {
  border-bottom: 0.1rem solid var(--primary-color);
}

.address_list {
  padding: 0 0.55rem;
  height: 7.82rem;
  overflow: scroll;
}

.address_list_item {
  display: flex;
  height: 1rem;
  justify-content: space-between;
  font-size: 0.41rem;
  padding: 0.2rem 0;
}

.address_list_item.check .address_name {
  color: var(--primary-color);
}

.address_list_item.check .btn_select_icon {
  display: block;
}

.btn_select_icon {
  display: none;
  width: 0.56rem;
  height: 0.56rem;
}

.btn_sit_icon,
.btn_unfold_icon {
  position: absolute;
  top: 30%;
  right: 5%;
  width: 0.56rem;
  height: 0.56rem;
}

.title_content {
  padding: 0.3rem;
  display: flex;
  justify-content: space-between;
}