.baihe_third_app {
    position: fixed;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.baihe_third_app_item {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: var(--color-primary);
    border-radius: 5px 0 0 5px;
    padding: 10px;
}

.baihe_third_app_item img {
    width: 40px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.baihe_third_app_text{
    width: 0;
    height: 0;
    opacity: 0;
    font-size: var(--text-flag-size);
    color: var(--color-primary);
    line-height: 1.5;
    font-weight: 700;
    transition: opacity 0.3s ease, height 0.5s ease, width 0.5s ease;
}

.baihe_third_app_arrow_close,
    .baihe_third_app_arrow_open{
        width: 40px;
        height: auto;
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    .baihe_third_app_arrow_open{
        display: none;
    }
    .baihe_third_app_arrow.active .baihe_third_app_arrow_open{
        display: block;
    }
    .baihe_third_app_arrow.active .baihe_third_app_arrow_close{
        display: none;
    }
    .baihe_third_app_item {
        transition: all 0.3s ease;
    }

    .baihe_third_app_item.active ~ .baihe_third_app_item{
        transform: translateX(150%);
    }

    .baihe_third_app_arrow.active{
      width: 30px;
      height: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 6px;
    }

@media screen and (min-width: 992px) {
    .baihe_third_app_item:hover .baihe_third_app_text{
    width: fit-content;
    height: auto;
    opacity: 1;
    color: #fff;
    margin-left: 10px;
    }
    
}

@media screen and (max-width: 992px) {
    .baihe_third_app_item {
        width: 40px;
    }

    .baihe_third_app_arrow.active{
      width: 20px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 4px;
    }
}

@media screen and (max-width: 480px) {
    .baihe_third_app_item {
        width: 30px;
        padding: 6px;
    }

    .baihe_third_app {
        right: 2px;
    }
}