
.float-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px 10px;
    background: transparent;
    border: none;
    border-radius: 20px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.float-nav-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.float-nav-item::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: var(--text-color-secondary);
    opacity: 0.7;
}

.float-nav-item:hover {
    color: var(--primary);
    transform: translateX(-8px) scale(1.1);
}

.float-nav-item:hover::after {
    background: var(--primary);
    opacity: 1;
}

.float-nav-item.active {
    color: var(--primary);
    box-shadow: none;
}

.float-nav-item.active::after {
    background: var(--primary);
    opacity: 1;
    height: 2px;
}

.float-nav-item:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    border: 1px solid var(--card-border);
    box-shadow: none;
    z-index: 1000;
    pointer-events: none;
}

[data-theme="light"] .float-nav-item:hover::after {
    background: rgba(255, 255, 255, 0.95);
    color: #333333;
    border-color: rgba(255, 152, 0, 0.15);
}

.float-nav-item.active:hover::after {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: none;
}