@charset "UTF-8";
/* CSS Document */
/* 页面基础样式 */
 #contact-btn {
      position: fixed;
      bottom: 50px; /* 改为距离底部50px */
      right: 0; /* 紧贴页面最右侧 */
      width: 30px; /* 平时显示30px宽 */
      height: 150px; /* 修改高度为150px */
      background: linear-gradient(to bottom, #ff6b6b, #d63031); /* 红色渐变增加立体感 */
      border-top-left-radius: 15px; /* 左上圆角 */
      border-bottom-left-radius: 15px; /* 左下圆角 */
      border-top-right-radius: 0; /* 右侧无圆角 */
      border-bottom-right-radius: 0; /* 右侧无圆角 */
      color: white;
      font-size: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      overflow: visible; /* 改为visible以确保文字可见 */
      transition: width 0.3s ease;
      z-index: 1000;
      box-shadow: 5px 4px 8px rgba(0, 0, 0, 0.8);
     transition: width 0.3s ease, box-shadow 0.3s ease;
    }

    #contact-btn:hover {
      width: 160px; /* 展开后的宽度 */
    }

    .contact-text {
      writing-mode: vertical-rl; /* 文字竖排 */
      text-orientation: mixed;
      font-weight: bold;
      letter-spacing: 3px; /* 加大行间距 */
      position: absolute; /* 绝对定位确保始终可见 */
      left: 0;
      top: 0;
      width: 30px;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .content-wrapper {
      display: flex;
      align-items: center;
      height: 100%;
      padding-left: 20px; /* 给左边文字留空间 */
      opacity: 0;
      transition: opacity 0.3s ease 0.1s; /* 延迟出现 */
    }

    #contact-btn:hover .content-wrapper {
      opacity: 1;
    }

    .divider {
      width: 1px;
      height: 110px; /* 调整竖线高度 */
      background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5), transparent);
      box-shadow: 1px 0 3px rgba(0, 0, 0, 0.2);
      margin: 0 5px; /* 向左移动竖线 */
    }

    .info-section {
      color: white;
      font-size: 12px;
      display: flex;
      flex-direction: column;
      align-items: center; /* 内容居中 */
      width: 125px; /* 调整信息区域宽度 */
    }

    .wechat-title, .phone-title {
      margin-bottom: 8px;
      font-weight: bold;
      text-align: center; /* 文字居中 */
    }

    .qr-code {
      width: 60px;
      height: 60px;
      background-color: white;
      border-radius: 3px;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

   

    .phone-number {
      margin-top: -5px;
      text-align: center; /* 文字居中 */
    }
      
      #contact-btn {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: width 0.3s ease, box-shadow 0.3s ease;
}
