/* fixed-tool */
.fixed-tool {
    position: fixed;
    display: flex;
    flex-direction: column;
    bottom: 48px;
    right: 24px;
    gap: 32px;
    z-index: 1100;
}

.fixed-tool > div {
    border-radius: var(--radius-sm);
    overflow: visible;
}

.fixed-tool > div .fixed-tool-btn:first-child {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.fixed-tool > div .fixed-tool-btn:last-child {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.fixed-tool > div .fixed-tool-btn:only-child {
    border-radius: var(--radius-sm);
}

.fixed-tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px 8px;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: var(--black-100);
    color: #fff;
}
.fixed-tool-btn i {
    font-size: 18px;
}
.fixed-tool-btn .label {
    position: absolute;
    right: calc(100% + 8px);
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    background: var(--black-100);
    border-radius: var(--radius-sm);
    transition: max-width 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.fixed-tool-btn:hover .label {
    padding: 6px 12px;
    max-width: 200px;
}

@media (max-width: 767px) {
    .fixed-tool {
        bottom: calc(60px + 16px);
    }
}
