/* ============================================================
 * 雨果科技官网 - 公共布局样式（layout.css）
 * 覆盖：导航头、banner、需求表单、侧边工具栏、二维码弹窗、toast
 * 所有页面共用
 * ============================================================ */

/* ---------------- 导航头 ---------------- */
.header-bar {
  position: fixed;
  padding: 1.31rem 0;
  z-index: 5000;
  top: 0;
  left: 0;
  width: 100%;
  background: RGBA(26, 33, 54, .9);
}

.logo {
  width: 11.25rem;
  height: 3rem;
  margin-left: 16.19rem;
}

.banner {
  width: 100%;
  height: 40rem;
}

.banner.bgcolor {
  background: #fff;
}

.banner img {
  width: 100%;
  height: 100%;
}

.tabItem {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1.25rem;
  color: #FFFFFF;
  line-height: 1.25rem;
  opacity: 0.8;
  padding: 0.75rem 1.5rem;
  margin-right: 2rem;
  cursor: pointer;
  text-decoration: none;
}

.tabItem:hover {
  opacity: 1;
}

.tabItem.active {
  background: #3470FF;
  border-radius: 0.13rem;
  opacity: 1;
}

/* ---------------- 需求表单 ---------------- */
.form-container {
  width: 100%;
  height: 68rem;
  position: relative;
  padding-top: 7.88rem;
}

.sub-title {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1.13rem;
  color: #999999;
  position: relative;
  z-index: 1;
}

.form-image {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.form-body {
  background: #FFFFFF;
  position: relative;
  z-index: 1;
  margin-top: 3.81rem;
  padding: 5.63rem 18.25rem;
}

.form-title {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1.13rem;
  color: #333333;
  text-align: right;
}

.must-icon {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1.5rem;
  color: #E32020;
  margin-left: 0.63rem;
}

.form-item {
  margin-bottom: 1.88rem;
}

.form-title {
  margin-right: 3.75rem;
  width: 6.75rem;
}

.form-input {
  height: 3rem;
  width: 42.5rem;
}

.form-input input[type="text"] {
  height: 100%;
  width: 100%;
  background: #FFFFFF;
  border: .0625rem solid #CCCCCC;
  width: 100%;
  outline: 0;
  padding: 0 1.31rem;
}

.form-input input[type="text"]::placeholder {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1rem;
  color: #999999;
}

.form-bg-img {
  width: 16.63rem;
  height: 13.38rem;
  position: absolute;
  z-index: 0;
  bottom: 0;
  right: 0;
}

.form-input label {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1rem;
  color: #999999;
  margin-right: 3.69rem;
  white-space: nowrap;
  cursor: pointer;
}

input[type="radio"] {
  margin: 0;
  margin-right: 0.69rem;
  cursor: pointer;
  width: 1rem;
  height: 1rem;
}

input[type="checkbox"] {
  margin: 0;
  margin-right: 0.69rem;
  cursor: pointer;
  width: 1rem;
  height: 1rem;
}

.submit-btn {
  width: 15rem;
  height: 3rem;
  background: #3470FF;
  border-radius: 0.25rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1rem;
  color: #FFFFFF;
  cursor: pointer;
  margin: 0 auto;
  margin-top: 3.69rem;
}

/* ---------------- 侧边固定工具栏 ---------------- */
.fixed-toolbar {
  width: 3.75rem;
  height: 15rem;
  background: #FFFFFF;
  border-radius: 1.88rem;
  position: fixed;
  right: 5.94rem;
  bottom: 11.13rem;
  box-shadow: 0 0 .375rem 0rem #3470ff99;
  z-index: 10;
  padding: 0.25rem 0;
}

.tool-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tool-icon.active {
  background: #3470FF;
  border-radius: 50%;
}

.tool-icon img {
  width: 1.63rem;
}

.toolbar-detail {
  background: #FFFFFF;
  border-radius: 0.25rem;
  padding: 1.19rem 1.25rem;
  position: absolute;
  right: 5.18rem;
  box-shadow: 0 0 .375rem 0rem #3470ff99;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.tool-title {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1rem;
  color: #333333;
  margin-bottom: 1rem;
}

.tool-phone {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1rem;
  color: #3370FF;
}

.tool-title div:nth-child(2) {
  color: #999999;
}

.tool-click {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1rem;
  color: #3370FF;
}

.tool-click div {
  height: 2.5rem;
  line-height: 2.5rem;
  cursor: pointer;
  margin-left: -1.25rem;
  width: 100%;
  padding: 0 1.25rem;
}

.tool-click div.active,
.tool-click div:hover {
  background: #EAF0FF;
}

.tool-qr {
  margin-top: 0.56rem;
  text-align: center;
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1rem;
  color: #999999;
}

.tool-qr img {
  width: 10rem;
  height: 10rem;
}

/* ---------------- 二维码弹窗 ---------------- */
.bg-background {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #00000080;
  z-index: 100;
}

.service-container {
  position: relative;
  width: 30rem;
  height: 35rem;
}

.service-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.qr-code-box {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1.13rem;
  color: #333333;
  position: absolute;
  z-index: 1;
  bottom: 2.13rem;
}

.qr-code-box img {
  width: 18.75rem;
  height: 18.75rem;
  margin-bottom: 1.75rem;
}

.bg-close {
  height: 2.5rem;
  width: 2.5rem;
  position: absolute;
  top: -2.81rem;
  right: -3rem;
  cursor: pointer;
}

.triangle-right {
  width: 0;
  height: 0;
  position: absolute;
  right: -0.45rem;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-left: 0.5rem solid #ffffff;
}

/* ---------------- toast 提示 ---------------- */
.showToast {
  position: fixed;
  z-index: 1000;
  padding: 0.625rem 1.25rem;
  background: #000000ba;
  border-radius: 0.3125rem;
  color: #ffffff;
  font-size: 1.13rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.toastIcon {
  font-size: 3.125rem;
  padding: 1.25rem 1.875rem;
  padding-bottom: .625rem;
}
