/* Goods123 客服浮标 */
#g123-svc {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 99990;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
#g123-svc[data-position="left"] {
  right: auto;
  left: 20px;
}

#g123-svc .g123-svc-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #25d366;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#g123-svc .g123-svc-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

#g123-svc .g123-svc-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 300px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
#g123-svc[data-position="left"] .g123-svc-panel {
  right: auto;
  left: 0;
}

#g123-svc .g123-svc-head {
  background: #232323;
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#g123-svc .g123-svc-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

#g123-svc .g123-svc-body {
  padding: 14px;
}

#g123-svc .g123-svc-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 8px;
}
#g123-svc .g123-svc-wa {
  background: #25d366;
  color: #fff;
}
#g123-svc .g123-svc-wa:hover {
  background: #1eb857;
  color: #fff;
}
#g123-svc .g123-svc-mail {
  background: #f3f4f6;
  color: #232323;
}
#g123-svc .g123-svc-mail:hover {
  background: #e5e7eb;
  color: #232323;
}
/* 纯展示邮箱：不可点击 */
#g123-svc .g123-svc-static {
  cursor: default;
  user-select: all;
}
#g123-svc .g123-svc-static:hover {
  background: #f3f4f6;
  color: #232323;
}
/* 提交成功感谢块 */
#g123-svc .g123-svc-thanks {
  text-align: center;
  padding: 18px 6px 10px;
}
#g123-svc .g123-svc-thanks .thanks-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
}
#g123-svc .g123-svc-thanks .thanks-title {
  font-size: 15px;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 6px;
}
#g123-svc .g123-svc-thanks .thanks-text {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

#g123-svc .g123-svc-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 12px;
  margin: 10px 0;
}
#g123-svc .g123-svc-divider::before,
#g123-svc .g123-svc-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

#g123-svc #g123-svc-form input,
#g123-svc #g123-svc-form textarea,
#g123-svc #g123-svc-form select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  margin-bottom: 8px;
  box-sizing: border-box;
  outline: none;
}
#g123-svc #g123-svc-form input:focus,
#g123-svc #g123-svc-form textarea:focus,
#g123-svc #g123-svc-form select:focus {
  border-color: #232323;
}

#g123-svc .g123-svc-submit {
  width: 100%;
  background: #232323;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#g123-svc .g123-svc-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#g123-svc .g123-svc-tip {
  font-size: 12px;
  margin-top: 8px;
  min-height: 16px;
}
#g123-svc .g123-svc-tip.ok {
  color: #16a34a;
}
#g123-svc .g123-svc-tip.err {
  color: #dc2626;
}

@media (max-width: 480px) {
  #g123-svc {
    right: 12px;
    bottom: 60px;
  }
  #g123-svc[data-position="left"] {
    left: 12px;
  }
}
