@import 'base.css';
@font-face {
  font-family: SourceHanSansCN-Medium;
  src: url('../fonts/SourceHanSansCN-Medium.otf');
}
@font-face {
  font-family: SourceHanSansCN-Regular;
  src: url('../fonts/SourceHanSansCN-Regular.otf');
}

.contactUs-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 内容区域 */
.contact-content {
  flex: 1;
}

/* 中间图片区域 */
.imgBox {
  position: relative;
  margin-top: 44px;
}

.imgBox-background {
  height: 240px;
  background: url('../imgs/contact.png') no-repeat;
  background-size: 100% 100%;
}

.imgBox-title {
  position: absolute;
  left: 20px;
  top: 100px;
  font-family: 'SourceHanSansCN-Medium';
  font-size: 26px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--white);
}

.imgBox-phone {
  position: absolute;
  left: 20px;
  top: 146px;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0em;
  color: var(--white);
}

.imgBox-email {
  position: absolute;
  left: 20px;
  top: 173px;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0em;
  color: var(--white);
}

.imgBox-address {
  position: absolute;
  left: 20px;
  top: 203px;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: 17px;
  letter-spacing: 0em;
  color: var(--white);
}

/* 弹出层样式 */
.chooseCity {
  padding: 10px 0px 10px 16px;
  font-family: 'SourceHanSansCN-Regular';
  font-size: 16px;
  line-height: normal;
  letter-spacing: 0px;
  color: #333333;
  background-color: var(--white);
}

.vector {
  margin-left: 6px;
  margin-bottom: 2px;
}

.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.popup-contentBox {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 372px;
  background-color: white;
  overflow-y: auto; /* 添加内部滚动条 */
}

.popup-content {
  margin: 14px 20px 26px 20px;
}

.pop-content-top {
  display: flex;
  justify-content: space-between;
}

.pop-content-top-title {
  font-family: 'SourceHanSansCN-Medium';
  font-size: 16px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color);
}

.popup-content-cancel {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}

.pop-content-bottom {
  margin-top: 28px;
}

.chooseBox {
  position: relative;
  display: flex;
}

.chooseBox::before {
  position: absolute;
  content: '';
  bottom: -17px;
  left: 0;
  width: 45px;
  height: 2px;
  background-color: var(--primary-color);
  transition: left 0.3s ease; /* 添加过渡动画 */
}

.chooseBox::after {
  display: none;
  position: absolute;
  content: '';
  bottom: -17px;
  left: 57px;
  width: 45px;
  height: 2px;
  background-color: var(--primary-color);
  transition: left 0.3s ease; /* 添加过渡动画 */
}

.chooseBox.show-after::before {
  display: none; /* 隐藏 ::before */
}

.chooseBox.show-after::after {
  display: block; /* 显示 ::after */
}

.chooseBox-text {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 14px;
  line-height: normal;
  letter-spacing: 0em;
  color: #dfdfdf;
}

.vector-right {
  position: relative;
  width: 4px;
  height: 6px;
  margin-left: 12px;
  margin-bottom: 10px;
}

.vector-right img {
  position: absolute;
  top: 7px;
  left: 2px;
}

.chooseBox-text:last-child {
  margin-left: 13px;
}

.chooseBox-text.active {
  color: var(--text-color);
}

.area {
  margin-top: 48px;
}

.provinceArea-line:not(:first-child) {
  margin-top: 24px;
}

.cityArea-line:not(:first-child) {
  margin-top: 24px;
}

/* 底部内容区域 */
.contact-content {
  margin: 20px 20px 32px 20px;
}

.content-line {
  position: relative;
  display: flex;
  margin-bottom: 16px;
}

.content-line::before {
  position: absolute;
  content: '';
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 0.5px;
  background-color: var(--border-color-1);
}

.content-line:not(:first-child) {
  margin-top: 40px;
}

.content-line:last-child {
  margin-bottom: 16px;
}
.content-line-left img {
  width: 88px;
  height: 80px;
}

.content-line-right {
  display: flex;
  flex-direction: column;
  margin-left: 12px;
}

.content-line-right-bottom {
  margin-top: 21px;
}

.content-line-right-name {
  font-family: 'SourceHanSansCN-Medium';
  font-size: 13px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color);
}

.content-line-right-phone {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0em;
  color: var(--text-color-3);
}

.content-line-right-address {
  font-family: 'SourceHanSansCN-Regular';
  font-size: 12px;
  line-height: normal;
  letter-spacing: 0em;
  margin-top: 6px;
  color: var(--text-color-3);
}
