/* 容器定位 */
.backtipcontainer {
    position: fixed;
    left: 20px;
    bottom: 30%;
    z-index: 1000;
}

/* 圆形按钮样式 */
.backtipcircle {
    display: none;
      width: 50px;
      height: 50px;
      line-height: 50px;
      text-align: center;
      background-color: #526d7b; /* 按钮的背景颜色 */
      color: white;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
      font-weight: bold;
      cursor: pointer;
      /* 固定定位，将按钮固定在左下角 */
      position: fixed;
      bottom: 30%;
      left: 20px;
      transition: transform 0.3s ease; /* 平滑过渡效果 */
      border-radius: 50%;
}

.backtipcircle:hover {
    background-color: #0e3db1; /* 悬停时的背景颜色 */
transform: scale(1.05) translateY(-3px); /* 放大并上浮 */
}

/* 菜单样式 */
.backtipmenu {
    position: absolute;
    left: 50px;
    bottom: 5px;  /* 与圆形对齐 */
    background: white;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 菜单项样式 */
.backtipmenu-item {
    list-style: none;
    padding: 8px 0;
    transition: background-color 0.2s;
    text-align: center;
}

.backtipmenu-item a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: block;
}

.backtipmenu-item:hover {
    background-color: #f8f9fa;
}

.backtipmenu-item a:hover {
    color: #244fb8;
}

/* 悬停显示菜单 */
.backtipcontainer:hover .backtipmenu {
    opacity: 1;
    visibility: visible;
    left: 50px;
}

/* 菜单箭头 */
.backtipmenu::before {
    content: "";
    position: absolute;
    left: -8px;
    bottom: 12px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent white transparent transparent;
}