.floating-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 16px;
    min-width: 250px;
    z-index: 1002;
    transition: box-shadow 0.3s ease;
    height: fit-content;
}

.floating-menu.collapsed {
    min-width: auto;
    width: 200px;
}

.floating-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    cursor: move;
    user-select: none;
}

.floating-menu-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.collapse-button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.collapse-button:hover {
    color: #333;
}

.collapse-button.collapsed {
    transform: rotate(180deg);
}

.floating-menu-content-group {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.floating-menu-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.floating-menu.collapsed .floating-menu-content {
    display: none;
}

.floating-menu-content:last-child {
    margin-bottom: 0;
}

.floating-menu button {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-menu button:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.floating-menu button.not-implemented {
    opacity: 0.6;
    cursor: not-allowed;
}

.floating-menu button.not-implemented:hover {
    background: #f8f9fa;
    border-color: #e9ecef;
}