@charset "UTF-8";
/* ==================================================
   右侧悬浮服务栏（参照 alpapowder.cn 的 wsc-fixBar）
   图标沿用官方 CDN：static.westarcloud.com/.../images/fix-*.png
   ================================================== */
/* 右侧边缘把手组：在线客服 / 方案定制（收缩态常驻，悬停分别触发对应面板） */
.fb-handles {
  position: fixed;
  right: 0;
  top: 50%;
  margin-top: -74px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.fb-handle {
  width: 36px;
  height: 72px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 2px;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.fb-hd-online { background: linear-gradient(180deg, #E5555E, #C42F38); box-shadow: -4px 4px 16px rgba(196, 47, 56, 0.35); }
.fb-hd-fa     { background: linear-gradient(180deg, #6477A8, #1558a0); box-shadow: -4px 4px 16px rgba(21, 88, 160, 0.35); }
/* 方案定制把手：悬停后被弹出的录入框接管，自身隐藏；关闭录入框后恢复显示 */
.fb-hd-fa { transition: opacity 0.25s ease, visibility 0.25s ease; }
.fb-hd-fa.hide { opacity: 0; visibility: hidden; pointer-events: none; }

/* 服务栏：默认滑出屏幕外，悬停「在线客服」把手时由 JS 加 .expand 滑出 */
.wsc-fixBar {
  position: fixed;
  right: 0;
  top: 50%;
  margin-top: -93px;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.45s ease;
}
.wsc-fixBar.expand { transform: translateX(0); }
.wsc-fixBar .fix-item {
  width: 76px;
  height: 62px;
  position: relative;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #E1E8F4;
  transition: 0.36s;
  margin-top: -1px;
}
.wsc-fixBar .fix-item a {
  display: block;
  width: 74px;
  height: 100%;
  box-sizing: border-box;
  font-size: 12px;
  line-height: 1;
  padding-top: 35px;
  text-align: center;
  color: #6F7FA0;
}

/* 图标（默认态） */
.fb-online a { background: url(https://static.westarcloud.com/5ee2dbe86dd387003f5e4d50/images/fix-online.png) no-repeat center 11px; }
.fb-fa a     { background: url(https://static.westarcloud.com/5ee2dbe86dd387003f5e4d50/images/fix-fa.png) no-repeat center 12px; }
.fb-bj a     { background: url(https://static.westarcloud.com/5ee2dbe86dd387003f5e4d50/images/fix-bj.png) no-repeat center 12px; }
.fb-tel a    { background: url(https://static.westarcloud.com/5ee2dbe86dd387003f5e4d50/images/fix-tel.png) no-repeat center 12px; }
.fb-sq a     { background: url(https://static.westarcloud.com/5ee2dbe86dd387003f5e4d50/images/fix-sq.png) no-repeat center 14px; }
.fb-top a    { background: url(https://static.westarcloud.com/5ee2dbe86dd387003f5e4d50/images/fix-top.png) no-repeat center center; }

/* 图标（悬停态） */
.fb-fa:hover a   { background-image: url(https://static.westarcloud.com/5ee2dbe86dd387003f5e4d50/images/fix-fah.png); }
.fb-bj:hover a   { background-image: url(https://static.westarcloud.com/5ee2dbe86dd387003f5e4d50/images/fix-bjh.png); }
.fb-tel:hover a  { background-image: url(https://static.westarcloud.com/5ee2dbe86dd387003f5e4d50/images/fix-telh.png); }
.fb-sq:hover a   { background-image: url(https://static.westarcloud.com/5ee2dbe86dd387003f5e4d50/images/fix-sqh.png); }
.fb-top:hover a  { background-image: url(https://static.westarcloud.com/5ee2dbe86dd387003f5e4d50/images/fix-toph.png); }

/* 在线客服：红底白字 */
.wsc-fixBar .fix-item.fb-online { background-color: #E5555E; border-color: #E5555E; }
.wsc-fixBar .fix-item.fb-online a { color: #fff; }

/* 悬停变色（企业蓝；在线客服红钮加深） */
.wsc-fixBar .fix-item:hover {
  background-color: #1558a0;
  border-color: #1558a0;
}
.wsc-fixBar .fix-item.fb-online:hover {
  background-color: #C42F38;
  border-color: #C42F38;
}
.fb-fa:hover a, .fb-bj:hover a, .fb-online:hover a,
.fb-tel:hover a, .fb-sq:hover a {
  color: #ffffff;
}

/* 回到顶部：独立按钮，位于 fp-nav（首页屏幕指示条）下方，滚动后由 floatbar.js 加 .show 显示 */
.fb-topbtn {
  position: fixed;
  right: 30px;
  bottom: 0.9rem;
  z-index: 100;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #E1E8F4;
  border-radius: 50%;
  box-shadow: 0 6px 18px -8px rgba(13, 35, 88, 0.35);
  display: none;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.fb-topbtn.show { display: block; }
.fb-topbtn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #1558a0;
  transition: color 0.3s;
}
.fb-topbtn svg { width: 20px; height: 20px; display: block; }
.fb-topbtn a:hover { color: #fff; }
.fb-topbtn:hover { background: #1558a0; border-color: #1558a0; box-shadow: 0 8px 22px -8px rgba(21, 88, 160, 0.55); }

/* 咨询热线：悬停向左展开号码面板 */
.fbarCon {
  height: 62px;
  line-height: 62px;
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  position: absolute;
  right: 76px;
  top: 0;
  z-index: 10;
  white-space: nowrap;
}
.fb-tel .fbarCon { width: 165px; }
.fb-tel { overflow: hidden; }
.fb-tel a { position: absolute; right: 0; top: 0; }
.fb-tel:hover {
  width: 241px;
  margin-left: -165px;
}

/* 移动端隐藏 */
@media (max-width: 768px) {
  .wsc-fixBar { display: none; }
  .fb-handles { display: none; }
}

/* ==================================================
   悬浮留言表单（悬浮栏左侧，默认展开，可关闭）
   ================================================== */
.fb-form-panel {
  position: fixed;
  right: 0;
  top: calc(50% + 2px);
  bottom: auto;
  width: 300px;
  z-index: 1002;
  max-height: calc(50vh - 14px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E1E8F4;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 12px 40px -12px rgba(13, 35, 88, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateX(60px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.fb-form-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.fb-form-head { flex: none; }
.fb-form-body { flex: 1 1 auto; overflow-y: auto; }

/* 顶部标题条（拖拽手柄） */
.fb-form-head {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #7B8BB8 0%, #6477A8 60%, #55699E 100%);
  padding: 0 74px 0 16px;
  height: 40px;
  cursor: move;
  user-select: none;
  -webkit-user-select: none;
}
.fb-form-panel.dragging { transition: none; opacity: 1; visibility: visible; }
.fb-form-panel.dragging .fb-form-head { cursor: move; }
.fb-form-head .fb-form-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}
.fb-form-min,
.fb-form-close {
  position: absolute;
  top: 0;
  width: 34px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.fb-form-min { right: 37px; font-size: 26px; }
.fb-form-close { right: 0; }
.fb-form-min:hover { color: #fff; }
.fb-form-close:hover { color: #fff; }

/* 表单区 */
.fb-form-body { padding: 10px 14px 12px; }
.fb-field { margin-bottom: 8px; }
.fb-field label {
  display: block;
  font-size: 13px;
  color: #556;
  margin-bottom: 3px;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}
.fb-field label i { color: #E5555E; font-style: normal; margin-right: 2px; }
.fb-field input[type="text"],
.fb-field select,
.fb-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #D8DFEC;
  background: #F7F9FC;
  padding: 5px 9px;
  font-size: 13px;
  color: #333;
  outline: none;
  border-radius: 3px;
  font-family: inherit;
}
.fb-field textarea { resize: none; min-height: 44px; }
.fb-field input:focus,
.fb-field select:focus,
.fb-field textarea:focus {
  border-color: #6477A8;
  background: #fff;
}
.fb-form-submit {
  display: block;
  width: 130px;
  margin: 2px auto 0;
  padding: 7px 0;
  border: none;
  border-radius: 999px;
  background: #E5555E;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.25s;
}
.fb-form-submit:hover { background: #C42F38; }
.fb-form-submit:disabled { cursor: default; letter-spacing: 0; }

/* 窄屏：与悬浮栏同步隐藏 */
@media (max-width: 768px) {
  .fb-form-panel { display: none; }
}
