/* contact-modal.css - 联系我们弹窗 */

.contact-modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.contact-modal {
  position: relative;
  width: 380px;
  max-width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 48px 32px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  text-align: center;
  box-sizing: border-box;
}

.contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.contact-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.contact-qr-wrap {
  width: 260px;
  height: 260px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-qr {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-tip {
 color: rgba(51, 51, 51, 1);
  font-family: "Noto Sans SC";
  font-style: Medium;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

/* 过渡动画 */
.contact-fade-enter-active,
.contact-fade-leave-active {
  transition: opacity 0.25s ease;
}
.contact-fade-enter-active .contact-modal,
.contact-fade-leave-active .contact-modal {
  transition: transform 0.25s ease;
}
.contact-fade-enter,
.contact-fade-leave-to {
  opacity: 0;
}
.contact-fade-enter .contact-modal,
.contact-fade-leave-to .contact-modal {
  transform: scale(0.92);
}

/* 响应式 */
@media (max-width: 560px) {
  .contact-modal {
    width: 300px;
    padding: 36px 24px 32px;
    border-radius: 20px;
  }
  .contact-qr-wrap {
    width: 220px;
    height: 220px;
    margin-bottom: 20px;
  }
  .contact-tip {
    font-size: 15px;
  }
}
