/* 浮层：左右浮动咨询条 + 商务通弹窗 */

.float-consult {
  position: fixed;
  top: 180px;
  width: 118px;
  z-index: 900;
  border: 3px outset #6699cc;
  background: #eaf4ff;
  text-align: center;
  box-shadow: 3px 3px 6px rgba(0,0,0,.35);
}
.float-left { left: calc(50% - 640px); }
.float-right { right: calc(50% - 640px); }

.float-head {
  background: linear-gradient(#66aaff, #0044aa);
  color: #ffff66;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  padding: 8px 0;
  letter-spacing: 4px;
  text-shadow: 1px 1px 0 #000;
}
.float-body { padding: 6px; }
.float-phone {
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #ff0000;
  margin-bottom: 6px;
}
.float-qq {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0;
  padding: 3px 4px;
  background: #ffffff;
  border: 1px solid #99bbdd;
  color: #003399;
  font-weight: bold;
  text-decoration: none;
}
.float-qq:hover { background: #ffffcc; }
.float-qq.offline { color: #999; cursor: not-allowed; }
.qq-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #33cc33;
  box-shadow: 0 0 4px #33cc33;
  animation: blinkSoft 1s ease-in-out infinite;
}
.float-qq.offline .qq-dot { background: #999; box-shadow: none; animation: none; }
.float-note { margin-top: 6px; color: #cc0000; font-weight: bold; line-height: 1.5; }

@media (max-width: 1400px) {
  .float-left { left: 4px; }
  .float-right { right: 4px; }
}

/* 商务通弹窗 */
.popup-mask {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 40, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.consult-popup {
  width: 420px;
  background: #f4f8ff;
  border: 2px outset #99bbee;
  box-shadow: 6px 6px 12px rgba(0,0,0,.5);
}
.popup-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(#6699ff, #003399);
  color: #ffffff;
  font-weight: bold;
  padding: 5px 8px;
}
.popup-close {
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border: 1px outset #99bbee;
  padding: 0 6px;
  background: #cc0000;
}
.popup-close:active { border-style: inset; }
.popup-body { display: flex; gap: 8px; padding: 8px; }
.popup-chat {
  flex: 1.2;
  height: 190px;
  overflow: hidden;
  background: #ffffff;
  border: 1px inset #99bbee;
  padding: 6px;
}
.chat-msg {
  background: #eaf4ff;
  border: 1px solid #b6d2f2;
  border-radius: 6px;
  padding: 4px 6px;
  margin-bottom: 6px;
  line-height: 1.5;
  color: #003366;
}
.chat-typing { color: #999; font-style: italic; }
.popup-form { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.popup-form input {
  font-family: SimSun, 宋体, serif;
  font-size: 12px;
  padding: 6px;
  border: 1px inset #99bbee;
}
.popup-error { color: #ff0000; font-weight: bold; }
.popup-submit {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  background: linear-gradient(#ff9933, #ff3300);
  border: 3px outset #ffcc66;
  padding: 8px 0;
  cursor: pointer;
}
.popup-submit:active { border-style: inset; }
.popup-links { text-align: center; }
